‎2010 May 24 7:16 AM
Hi experts,
I am working on the posting of the document using the BAPI
BAPI_ACC_DOCUMENT_POST.
Here i have to check for the authorization of the user while posting .
Can any one suggest me how to check the authorization in this BAPI.
Thanks,
Kruthik
‎2010 May 25 12:37 PM
Well,
you could put your code in the customer function or in the badi. If you fill in table it_return with an error message if the user has no authorisation, then in FORM document_post this will be picked up and the bapi returns with that error without posting.
Or maybe you can work with the implicit enhancements that are always available.
Regards,
Geert.
‎2010 May 25 2:17 PM
Why can't you implement any additional security within your program or transaction or attach it to the transaction itself?
‎2010 Oct 11 1:44 PM