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 to Calculate Due Date from Payment Terms?

Former Member
0 Likes
26,943

I'm writing an aged debtor report as the SAP standard one isn't quite right for our requirements. Is there a function module that will calculate the payment due date if I give it the payment terms and the base line date?

I did a search in SE37 but couldn't see one which fitted my requirements (I was searching on CALCDUEDATE and variantions of).

Any suggestions welcome, thanks.

Gill

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
8,238

Hi Gill,

Use FM DETERMINE_DUE_DATE for the same.

Refer the following link:

Hope this will help.

Regards,

Nitin.

I'm writing an aged debtor report as the SAP standard one isn't quite right for our requirements. Is there a function module that will calculate the payment due date if I give it the payment terms and the base line date?

I did a search in SE37 but couldn't see one which fitted my requirements (I was searching on CALCDUEDATE and variantions of).

Any suggestions welcome, thanks.

Gill

4 REPLIES 4
Read only

Former Member
0 Likes
8,239

Hi Gill,

Use FM DETERMINE_DUE_DATE for the same.

Refer the following link:

Hope this will help.

Regards,

Nitin.

Read only

Former Member
0 Likes
8,238

Hi,

Use the FM FI_TERMS_OF_PAYMENT_PROPOSE for calculating the Payment due date

call function 'FI_TERMS_OF_PAYMENT_PROPOSE'

exporting

i_bldat = gv_bldat

i_budat = gv_budat

i_cpudt = sy-datum

i_zfbdt = gv_zfbdt

i_zterm = gv_terms_paym

i_bukrs = gv_comp_code

importing

e_zbd1t = gv_zbd1t

e_zbd1p = gv_zbd1p

e_zbd2t = gv_zbd2t

e_zbd3t = gv_zbd3t.

Regards,

Dwaraka.S

Read only

Former Member
0 Likes
8,238

Dear Gill.

Check it out fm...

FM_RECERTIFIED_PAYMENT_DATE

Regards,

Flavya

Read only

Former Member
0 Likes
8,238

Hi

Check This FM's

FI_FIND_PAYMENT_CONDITIONS

FI_TERMS_OF_PAYMENT_PROPOSE

J_1A_SD_CI_DUEDATE_GET

ITEM_DERIVE_FIELDS

Ranga