Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_ACC_DOCUMENT_POST

former_member1125862
Participant
0 Likes
554

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

3 REPLIES 3
Read only

Former Member
0 Likes
476

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.

Read only

brad_bohn
Active Contributor
0 Likes
476

Why can't you implement any additional security within your program or transaction or attach it to the transaction itself?

Read only

former_member1125862
Participant
0 Likes
476

Not Required