Reply from JG-SAPHR on Jan 17 at 4:49 PM 1. Please note 1.1. IT 41 needs validity from/to dates. 1.2 Even if you configure the validity dates, if there is already a record for the start date, the insert action will not work. 1.3. It would be better to configure T588Z for IT 1 or later (in stead of IT 0), as the decision for IT41 may need other details like emp grp/subgrp, etc. Suggested changes: a. Call a subroutine passing in RP50D structure: pers action date in field DATE1 or DATE2, and any other values you may need in fields FIELD1 FLAG1. This structure is allowed to be extended for custom fields. b. You need to code the subroutine, which can be a very simple one. Display V_T588Z, look for T588Z-OPERA function char F which means function call. Display a couple of routines for IT 41 or any other IT. Copy/create a routine as per your needs. Also see link http://scn.sap.com/thread/603452
| | | ---------------Original Message--------------- From: nvpsrinivas Sent: Thursday, January 15, 2015 5:50 AM Subject: Dynamic Action for Date Specifications Hi Friends Please suggest the changes in the code for the below Dynamic Action P T001P-MOLGA='10' P PSPAR-MASSN='03' I MOD,0041,,, W P0041-DAR12='92' W P0041-DAT12=P0000-BEGDA My requirement is that, if an employee is executed with action '03' , the new IT41 record (copy of existing) is being displayed with BEGDA as BEGDA of IT0000, but the dates in each of the date type are modified with the same BEGDA. To be more precise, if the earlier record of IT41 has 3 date types (say 89,90,91 with some dates of say 01.01.2011,01.01.2011,01.05,2012) then the new IT41 record which was proposed to create/copy does have date types 89,90,91 and also 92 but with dates as the BEGDA of the action. What I wanted was only 92 date type to be filled new date and all other dates as original... Please suggest how to achieve this. NVP Srinivas | | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |