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 Customer Invoice Document through F-28

Former Member
0 Likes
2,129

fbl5n.jpg Dear Abap Experts,

When i'm using BAPI_ACC_DOCUMENT_POST for customer invoice adjustment the credit memo document(Posting 11) was generated but my requirement customer invoice amount adjusted document(Posting key 15) through particular Invoice Accounting document(Example:9000047592). Kindly provide suggestion. I have attached screen shot for your reference.

Thanks & Regards,

S.Sudhakar

fbl5n.jpg Dear Abap Experts,

When i'm using BAPI_ACC_DOCUMENT_POST for customer invoice adjustment the credit memo document(Posting 11) was generated but my requirement customer invoice amount adjusted document(Posting key 15) through particular Invoice Accounting document(Example:9000047592). Kindly provide suggestion. I have attached screen shot for your reference.

Thanks & Regards,

S.Sudhakar

3 REPLIES 3
Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,042

There are already some discussions/documents in the forum on how-to pass a "posting key" to those ACC BAPI

Which one did you already try?

Read only

0 Likes
1,042

Dear Raymond,

Thanks for your response.

I didn't tried above two options. Could you please share the logic of both and which is better..?

Thanks & Regards,

S.Sudhakar

Read only

0 Likes
1,042

Both logic are similar, add required information in some z-structure with at least POSNR field and in your case required posting key. map structure to extension parameter in BAPI call. In the implementation of BTE or BAdI read and map your fields to standard structure (some accit like structure) The BAdI is provided with a class sample, very easy to adapt.