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

Former Member
0 Likes
3,150

Hi Experts,

I am using the BAPI BAPI_ACC_DOCUMENT_POST to post the Vendor Open Line Items. To the BAPI, I am passing the Business Trasaction as 'RFBU' . The document is getting posted successfully but the PAYMENT TERMS is not getting populated.

PAYMENT TERM is not present in my Flat file.

Will it not populate the PAYMENT TERMS by Default? Do I need to pass the PAYMENT TERMS in the flat file?

Thanks

Farhana

6 REPLIES 6
Read only

rvinod1982
Contributor
0 Likes
2,014

Hi,

Maintain the payment terms in the vendor master and then try to post the Vendor Open Line Items

using the BAPI BAPI_ACC_DOCUMENT_POST.

Regards,

Vinod

Read only

0 Likes
2,014

Hi,

Payment Terms is maintained in the Vendor Master table.

Regards,

Farhana

Read only

Former Member
0 Likes
2,014

Hello,

You can populate the payment terms using the ACCOUNTPAYABLE table of the BAPI, field PMNTTRMS. Of course I'm assuming that you are creating lines in this table for your Vendor amount.

Regards,

Joã

Read only

0 Likes
2,014

Hi,

I am exactly doing this but when I display the document the payment term is filled but the days and percentage values are empty even if the paymant term is filled in the master data correctly.

What can be wrong if the payment term field is filled but the corresponding values for days and percentage is not being filled?

Greetings, Vanessa

Read only

ElsaM
Explorer
0 Likes
2,014

Have you found a solution to this?

We are facing the same problem here.

Thanks in advance.

Elsa

Read only

2,014

Hi Elsa,

Try to populate '*' in ACCOUNTPAYABLE-PMNTTRMS in case of vendor invoices or ACCOUNTRECEIVABLE-PMNTTRMS in case of customer invoices. If still it is not working then try to pass 'RMRP' to DOCUMENTHEADER-BUS_ACT.

Murali