Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Need to subtract one day from the date appearing

Hi, I am modifying a script in such a way that for an output type there is an invoice date appearing. This invoice date should be back dated to 1 date less to the actually date that is appearing currently.

For ex the date is 2007.08.30 it should appear as 2007.08.29.

While debugging I found that it is picking up the data for the date from the structure vbdkr and the field is fkdat. From the following code in the script.

/: DEFINE &SALES_ORDER& := &VBDKR-VBELN_VAUF&

/: INVOICE DATE,, : &VBDKR-FKDAT&

What changes do I need to make the changes in the script or in the driver program?

Can you please suggest?

Thanks.

Tags:
Former Member
Not what you were looking for? View more on this topic or Ask a question