Solved

IDOCTYPE_READ_COMPLETE throws an exception OBJECT_UNKNOWN

Posted on 2007-11-15
5
1,746 Views
Last Modified: 2013-12-08
When I use a user in SAP which has minimal permissions, every call to IDOCTYPE_READ_COMPLETE returns the error OBJECT_UNKNOWN. If I use a user which is an admin on SAP, IDOCTYPE_READ_COMPLETE functions correctly.
I was hoping someone here could let me know exactly what permissions are required for being able to successfully execute IDOCTYPE_READ_COMPLETE
0
Comment
Question by:muskad202
  • 2
  • 2
5 Comments
 
LVL 6

Expert Comment

by:Twisteddk
Comment Utility
Have you tried running transaction SU53 after the unsuccessfull attempt ? Normally this will give you details of the name of the authorization object that is missing. Simply add this object to a new authorization, or find an authorization that includes the object, and add it to the user that needs the permission.
Reading/processing IDOCs can be dangerous, so dont give this permission to just anyone. Basically, you can do ANYTHING with an IDOC you can do with a financial (and some logistical aswell) transaction in SAP.
0
 
LVL 2

Author Comment

by:muskad202
Comment Utility
Hi!
The user I am using is a dialog user who does not have permission to log in through the SAP GUI, and hence I cannot use that user to access SU53. The user does have permissions to receive IDocs though. I am calling IDOCTYPE_READ_COMPLETE programmatically using the RFC SDK.
Thanks.
Mustansir
0
 
LVL 2

Expert Comment

by:BACR
Comment Utility
Hi!
Authorisation object S_IDOCDEFT, Fields:
EDI_TCD, value 'WE30'
ACTVT, value - 03 (display)
EDI_DOC, value - I-DOC type
EDI_CIM, value DUMMY (Not used)

Additional authorisations objects are required if extensions of I-DOC will be read.
Hope this helps.
BACR
 

0
 
LVL 2

Author Comment

by:muskad202
Comment Utility
Thanks a lot BACR !! This is the first real response I have got. I'll pass this information to my SAP developer to try out ..
Meanwhile, can you let me know what authorization I would need for IDoc extensions too? From the souce code of EXTTYPE_AUTHORITY_CHECK, I'm assuming most of information is the same as above, exception that EDI_DOC is DUMMY, and EDI_CIM is the extension type. Is the authorisation object the same?
Thanks,
Mustansir
0
 
LVL 2

Accepted Solution

by:
BACR earned 125 total points
Comment Utility
Hi!

Yes, that's correct, authorisations object for extensions is the same. The folowing authorisation object in profile should give you access to complete structure of I-DOC:
Authorisation object S_IDOCDEFT, Fields:
EDI_TCD, value 'WE30'
ACTVT, value - 03 (display)
EDI_DOC, value  *
EDI_CIM, value *

Hope this helps
BACR
0

Featured Post

Highfive Gives IT Their Time Back

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Supply Chain Event Management Supply chain visibility is the ability of a company to track its products and business processes in supply chain towards building operational excellence. The goal of supply chain visibility is to improve and strength…
Salesforce.com’s Console is a great tool to view activities, leads, contacts, accounts and opportunities all in one screen. It is particularly effective during call blocks and working numerous activities at a time in a quick, repetitive fashion (suc…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now