cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST in BTE

Madjid_Khanevadegi
Participant
1,416

Dear Experts,

i am using the 'BAPI_ACC_DOCUMENT_POST' in BTE(Event "SAMPLE_INTERFACE_00001050")

for generate new fi document when incoming invoice is posted in MIR7 tcode. but this made a loop with the 1050 event and bapi_acc_document_post

Is it possible to call this event when calling the above mentioned BAPI.If not, which event will be called when the above BAPI is called.
Would be nice if any one could offer me some tips on this.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

Gustavo_Vazquez
Active Contributor

H iMadjied,

BAPI_ACC_DOCUMENT_POST is for FI documents. try BAPI_INCOMINGINVOICE_PARK for MIR7.

Why do you need BTE 1050 ? Can't you make it work in you program logic ?

Kind Regards

Madjid_Khanevadegi
Participant
0 Kudos

Hi Gustavo

i want generate automaticaly a new fi document when post invoice in mir7 tcode . therfore i used BAPI_ACC_DOCUMENT_POST in BTE 1050

thanks

Gustavo_Vazquez
Active Contributor

Nope 🙂 .

MIR7 posts preliminary documents for logistics (MM). BAPI_ACC_DOCUMENT_POST posts documents in GL.

Check BAPI_INCOMINGINVOICE_CREATE (MIRO) & BAPI_INCOMINGINVOICE_PARK (MIR7) for MM.

Check sap note 2092366 for posting parked documents in GL.

Kind Regards

Gustavo_Vazquez
Active Contributor

If you want to post a parked document in MM you could use BAPI_INCOMINGINVOICE_POST