2006 Dec 06 8:12 PM
Hi,
I need to display the report PO RELEASE TO INVOICE TIME TRACKING. I have strucked in finding the 'payment due date'. Could any one help me out.
Regards
Chandu
2006 Dec 06 8:28 PM
Hi
The payment due date isn't stored in a SAP database table - instead it is dynamically calculated every time you run a report
the function module available for calucating net due date.
please check with "DETERMINE_DUE_DATE", you can apply this in the program
please check, hope it helps.
regards
Srinivas
Hi,
I need to display the report PO RELEASE TO INVOICE TIME TRACKING. I have strucked in finding the 'payment due date'. Could any one help me out.
Regards
Chandu
2006 Dec 06 8:28 PM
Hi
The payment due date isn't stored in a SAP database table - instead it is dynamically calculated every time you run a report
the function module available for calucating net due date.
please check with "DETERMINE_DUE_DATE", you can apply this in the program
please check, hope it helps.
regards
Srinivas
2006 Dec 06 9:16 PM
Thanks for assisting. But, I was not able to give the correct input parameters to the structure. Please, could you tell what all the things I need give.
Regards
Chandu
2006 Dec 06 9:18 PM
Hi
please check below whether it helps
if it_bseg-koart = c_k or it_bseg-koart = c_d.
if it_bseg-zfbdt is initial.
it_bseg-zfbdt = it_bkpf-bldat.
endif.
if not it_bseg-zbd3t is initial.
w_refe = it_bseg-zbd3t.
else.
if not it_bseg-zbd2t is initial.
w_refe = it_bseg-zbd2t.
else.
w_refe = it_bseg-zbd1t.
endif.
endif.
it_data-zfbdt = it_bseg-zfbdt + w_refe.
endif.
regards
Srinivas
2006 Dec 06 9:24 PM
Hi
It can be calculated via baseline date and payment terms. Baseline date is stored in RBKP table (RBKP-ZFBDT).
please check this too.
regards
Srinivas
2006 Dec 06 8:36 PM
Hi Chandu,
Please check FM J_1A_SD_CI_DUEDATE_GET perhaps it may help.
Regards,
Ferry Lianto