cancel
Showing results for 
Search instead for 
Did you mean: 

Adding period to a date in Dynamic action

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

BradKrahe
Product and Topic Expert
Product and Topic Expert
0 Kudos

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

Answers (0)