Solved

IDOCTYPE_READ_COMPLETE throws an exception OBJECT_UNKNOWN

Posted on 2007-11-15
5
1,803 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I showed you how to use console view (HERE (http://www.experts-exchange.com/articles/18379/Getting-Started-and-Using-the-Salesforce-com-Console.html)) -– but how do you set it up on the admin side of Salesforce? Note that you have to have Admin leve…
In our personal lives, we have well-designed consumer apps to delight us and make even the most complex transactions simple. Many enterprise applications, however, are a bit behind the times. For an enterprise app to be successful in today's tech wo…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this video you will find out how to export Office 365 mailboxes using the built in eDiscovery tool. Bear in mind that although this method might be useful in some cases, using PST files as Office 365 backup is troublesome in a long run (more on t…
Suggested Courses

623 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