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

Due date calculation

Former Member
0 Likes
552

Hello,

I am developeing a BDC program to create the sales order, with the data given by the user in the selection screen.

In my selection screen i have fileds for Customer, sales area,and Invoice date.

My requirement is to get the due date depending on the sales area, customer and Invoice date as reference date to calculate the Due date.

I implemented Logic to read the field ZSTG1 from T052 by comparing the ZTERM obtained from KNVV.

Due date = Invoice date + T-052-ZSTG1.

this logic is not providing the correct due date.

is there any alternate way or FM to get the due date based on the information i had?

Thanks in advance for doing the needful.

Regards

Raj M

1 REPLY 1
Read only

andreas_mann3
Active Contributor
0 Likes
361

Hi Raj,

try fm DETERMINE_DUE_DATE

hope that helps

Andreas