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 -> pmnttrms

former_member184588
Active Participant
0 Likes
1,418

Hi.

I am creating parked invoices with the bapi_acc_document_post with the  pmnttrms. When I display the created invoice the field is filled but the depending fields (days ,.. ) of the payment terms are not filled. How do I do this?

Thanks, Vanessa

1 ACCEPTED SOLUTION
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
936

Which days/fields are not getting filled... Did you check in BAPI are there any fields for the same for example

Days for first cash discount

Days for second cash discount

Nabheet

2 REPLIES 2
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
937

Which days/fields are not getting filled... Did you check in BAPI are there any fields for the same for example

Days for first cash discount

Days for second cash discount

Nabheet

Read only

0 Likes
936

Hi.

I am filling the IT_ACCOUNTPAYABLE Parameter. I just fill the field PMNTTRMS.

Is it really neccessary to fill also the fields:

DSCT_DAYS1

DSCT_DAYS2

NETTERMS

DSCT_PCT1

DSCT_PCT2

or is there a way that the systems is doing a lookup at its own and populates the fields?

Till now I haven't seen a code that calls BAPI_ACC_DOCUMENT_POST and fills the above mentioned fields. Everywhere is just populated the pmnttrms-Field.

Thanks