We want to create a dynamic action to be automatically triggered to maintain Infotype 8 if Infotype 7 is changed, copied or created in PA30 directly instead of using the Change in Pay action.
for the above action i have created the following code.
02 400 * ****CREATE IT0008 WHEN UPDATE IT0007 ****
02 401 P T001P-MOLGA='08'
02 402 P PSPAR-BUKRS='1000'
02 403 P PSPAR-SCHKZ=' '
06 404 I INS,0008
Please let me know what's wrong with this code , iam not able to get the result.