Application Development 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: 

BAPI_ACC_DOCUMENT_POST

Former Member
0 Kudos
1,882

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

rvinod1982
Contributor
0 Kudos
746

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

0 Kudos
746

Hi,

Payment Terms is maintained in the Vendor Master table.

Regards,

Farhana

former_member206632
Participant
0 Kudos
746

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ã

0 Kudos
746

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

ElsaM
Explorer
0 Kudos
746

Have you found a solution to this?

We are facing the same problem here.

Thanks in advance.

Elsa

746

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