Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Authorization issues using BAPI_SALESORDER_SIMULATE

Hi All,

We are using BAPI_SALESORDER_SIMULATE to generate a report for pricing which is used to quote prices to the customers.A sales document type type (ZCR) has been hard coded in the report.Problem is that the report does not display results in case the user who is executing the report does not have authorization to create the sales doc type ZCR. We do not want to extend the authorization to create ZCR sales doc types all users.

We tried changing sy-uname parameter to a generic user (RFC_USER or something ) in report but during runtime,the BAPI changes it back to username of the user and authorization check fails.

I am wondering if there is any userexit which can used to by-bass this authorization check.

Please let me know if anybody has resolved this issue.

Thanks in advance for your help


PS : I posted the same thread in SD forum as well,I think this issue can be resolved by combined efforts of both.

Not what you were looking for? View more on this topic or Ask a question