Application Development 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: 

BAPI 'BAPI_ACC_DOCUMENT_CHECK' not validating the header properly.

Former Member
0 Kudos
83

Hi ,

i have 1 program for validating the lineitems for fb01 check using bapi 'BAPI_ACC_DOCUMENT_CHECK' , this document has 1 header lineitem i.e bkpf and remaining bseg .

Now the issue is my bapi is not validating the header data properly for eg : if the document in already posted with the same reference key i.e XBLNR then it not showing error in that .

do i have to do something so that it performs correct checks.

Thanks in advance.

Abhijeet

1 REPLY 1

former_member195402
Active Contributor
0 Kudos
47

Hi,

I think the checks within the BAPI will depend on DOCUMENTHEADER-OBJ_TYPE. Please read the documentation of the BAPI for further informations.

Regards,

Klaus