Skip to Content
Former Member
Dec 05, 2008 at 06:27 PM

Setting date type value in Dynamic action


I have a dynamic action triggered of the Action infotype 0000. The dynamic action copies the date specifications infotype 0041. I wish to set a date type value to be 1 day less than the begin date on action record. I am trying to do this as follows

W P0041-DAR02='42'

W P0041-DAT02=(P0000-BEGDA)-1

the value (P0000-BEGDA)-1 does not set the dat02 value to 1 day less than the P0000-BEGDA.

How do I code the setting of the date to be 1 day less than P0000-BEGDA?