Solved

IDOCTYPE_READ_COMPLETE throws an exception OBJECT_UNKNOWN

Posted on 2007-11-15
5
1,756 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
ID: 20322523
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
ID: 20325306
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
ID: 20348645
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
ID: 20370478
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
ID: 20372627
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

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…
Hello All, In previous article we used Hortonworks sandbox to work with Hadoop. Now, lets think to create own single node Hadoop on Linux. Here we Install and Configure Apache Hadoop on UI based Oracle Linux. I assume, you have VMware installe…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 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

23 Experts available now in Live!

Get 1:1 Help Now