cancel
Showing results for 
Search instead for 
Did you mean: 

BAPI_ACC_DOCUMENT_POST - Need help!!

Former Member
0 Kudos

Hello experts...

I'm finding hard to accomplish the folowing case...

I want to make a payment and use that payment to clear AR accounts.. as follow:

-1 Payment to...

-Clear (compansate) 1:n Open AR Accounts

-If there is a difference in amount (Payment vs ARs).. create Resudial Item

I'm using BAPI_ACC_DOCUMENT_POST, but since I'm no ABAPer so I'ts getting really hard for me to understand how to fill the BAPI in order to accomplish the scenario I explained. I would be calling the BAPI from the Portal (EP7) in a WebDynpro App (JAVA), so far I can get customer's open Items and select which ones I want to clear but the thing gets really hard when filling the BAPI as I have no prior experience using that function.

Could you guys PLEASE give me some guidance on how to fill the BAPI, for this case -Stablish payment::Clear ARs::Create Residual Item if needed- examples would be great.

Thanks in advance...

JV

Accepted Solutions (0)

Answers (1)

Answers (1)

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

This question should not be posted in the Web Dynpro ABAP forum. It is not Web Dynpro ABAP related. I see that you have already also posted this same question in ABAP General (the correct forum). Please do not cross post your questions between forums.