Application Development Blog Posts
Learn and share on deeper, cross technology development topics such as integration and connectivity, automation, cloud extensibility, developing at scale, and security.
cancel
Showing results for 
Search instead for 
Did you mean: 
Former Member

Hello Folks,

           we can use BAPI_ACC_DOCUMENT_POST for creation of down payment request using F-47.

There is a trick involved so i am providing the steps herein.

1. Dont give Business Transaction ( BUS_ACT ) in the header ( document header ), we will derive it in the following steps.

2. i used extention2 of the BADI parameter to identify this kind of transaction.

3. i implemented ACC_DOCUMENT BADI with FILTER VALUE BKPFF, which i passed in document header OBJ_TYPE and in the CHANGE method i changed the     C_ACCHD-GLVOR = 'RFST' and the C_ACCIT-BSTAT = 'S' ( Noted Items ) if my extention2 value matches.

then i posted the document successfully using the BAPI.

Regards

Animesh Sundriyal

2 Comments