Reply from JG-SAPHR on Jan 19 at 8:09 PM The function routine needs to do as follows: Retrieve IT 41 with start date equal to or earlier than the start date of the pers action. If record exists, -if the start date is same - - if the date type 92 exists, update it else add the date type with the value. -else delimit or copy the record from the pers action start date. Do as above for the date type 92 If no record exists create IT 41 with the details as required. This is normal functional logic any analyst or programmer should be able to understand. To scan through the dar01, etc, display the IT 41 program module MP00410000, search for DAR01, and find where it is processing the update.
| | | ---------------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. __.____._ | _.____.__ |