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

Function Module - Payment Term

Former Member
0 Likes
7,841

Hi All,

In transaction FBL1n i find that the program calculates the due date for payment for a vendor invoice based on the baseline date & the payment term maintained for the vendor.

Eg: Baseline date - 15.4.2008, payment terms is 30 days

The due date shows 15.5.2008

Is there a FM which does this calculation, if so which one? I checked in the program of FBL1n (RFITEMAP) but was unable to find out the same.

If there is no standard FM, can anyone let me know how i can manage this logic? The problem is there are several payment terms & each has a different logic, so it would be helpful if there is a FM which reads this payment term & translate it into number of days atleast.

Hope my question is clear.

Vivek

1 ACCEPTED SOLUTION
Read only

vinod_vemuru2
Active Contributor
0 Likes
3,319

Hi Vivek,

Check th FMs

SD_PRINT_TERMS_OF_PAYMENT for single payment term

SD_PRINT_TERMS_OF_PAYMENT_SPLI for multiple payment terms.

Thanks,

Vinod.

6 REPLIES 6
Read only

JackGraus
Active Contributor
0 Likes
3,319

Function module NET_DUE_DATE_GET

Best regards Jack

Read only

Former Member
0 Likes
3,319

Jack,

Thanks for your inputs. This FM is OK, if i have an entry of days in the table as it reads ZBD1T - ZBD3T, but my need is, to read the payment term maintained for the vendor & then translate that into days, so i can then add it to my date for net due date calculation. This is for a very specific need. I hope am clear.

Await inputs.

Vivek

Read only

Former Member
0 Likes
3,319

Hi,

Use FM DETERMINE_DUE_DATE.

Thanks,

Sriram Ponna.

Read only

0 Likes
3,319

Mr. Sriram,

Thanks for the quick inputs, just to understand better, is it possible to test this FM, before actually using it in the program, as i notice that the input is a structure.

Vivek

Read only

vinod_vemuru2
Active Contributor
0 Likes
3,320

Hi Vivek,

Check th FMs

SD_PRINT_TERMS_OF_PAYMENT for single payment term

SD_PRINT_TERMS_OF_PAYMENT_SPLI for multiple payment terms.

Thanks,

Vinod.

Read only

0 Likes
3,319

Mr. Vinod,

Thanks for your inputs, i think the 1st FM should solve my problem, will test for different payment terms & if it is ok, will assign full points to you & close the thread.

Vivek