We have built the dynamic action below to default values from infotypes 0007 and 0008 behind the screnes in infotype 0491 Payroll Outsourcing. The issue that we are having is that the dynamic action will not work for field P0008-DIVGV, but will work with all the other fields.
The only difference between the DIVGV field and the rest of the other fields mentioned in this dynamic ation is that it seems to be a free text field (which you can modify), even though the values are pulled from the work schedule rule in infotype 0007. We have also hidden the DIVGV field in 0007 per client requirement.
Does anyone have any suggestions on how to get this working. Do we need to populate these values in any of thh HR tables first?
06 10 * *** COP 0491 US PAYROLL OUTSOURCING ***
06 12 P T001P-MOLGA='10'
06 14 I COP,0491,,,(P0008-BEGDA),(P0008-ENDDA)/D
06 16 W P0491-OTF06='PS TYPE'
06 18 W P0491-OTV06=P0008-TRFAR
06 20 W P0491-OTF07='PS AREA'
06 22 W P0491-OTV07=P0008-TRFGB
06 24 W P0491-OTF08='WORK SCHEDULE RULE'
06 26 W P0491-OTV08=P0007-SCHKZ
06 27 W P0491-OTV09='WORK HOURS/PERIOD'
06 28 W P0491-OTV09=P0008-DIVGV