Skip to Content

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

Adding period to a date in Dynamic action

Hi Gurus,

We have a requirement where we need to create a IT2010 with a start date less than the action date.

For E.g If action is run on 02.07.2011 then IT 2010 should be created with 01.07.2011.

Please help.

Former Member
replied

Create program that can be called as a routine in Dynamic Action (table V_T588Z)

1. Within the dynamic action, the routine (ZXXXX) will be called (Configured by the functional consultant) with the GETDATE subroutine:

P2010-BEGDA=RP50D-DATE1

2. In the program, we need to minus 1 from the hire date.

Program ZXXXX

Tables : P0000, rp50d

Form getdate

Rp50d-date1 = p0000-begda u2013 1

Endform

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question