Hi Everyone,
Hope you all are doing good.
Just a quick one, hope you could share your thoughts on this. I'm trying to do some configuration in Dynamic Actions (V_T588Z) for IT0009, per the requirements of the Client -- the expected behavior is that IT0655 should be automatically created in background when the following conditions are met during New Hire and/or Rehire Actions:
1. US Employee belongs to Payroll Area "XX"
2. Payment Method in IT0009 should be "P" (Bank Transfer ACH PPD)
I chose to put the call function of IT0655 after creating a IT0009 (Stype 0 for Primary/Main Bank and Payment Method "P") since this comes after maintaining IT0000 (to create the Action Type for New Hire/Rehire) and IT0001 (to create/assign the Payroll Area). Below is my current configuration in Dynamic Actions, and with this, I'm able to create IT0655 in background; however, the two (2) conditions above are not met:
IType STy. Field FC No. S Variable function part 0009 0 06 05 *** CREATE IT0655 AND DEFAULTING iPAY FLAG TO 'X' FOR NEW/REHIRE ACTION *** 0009 0 06 10 P T001P-MOLGA='10' 0009 0 06 15 P PSPAR-MASSN='U1' 0009 0 06 20 P PSPAR-MASSN='U3' 0009 0 06 25 P INS,0655,,,(P0000-BEGDA),(P0000-ENDDA)/D 0009 0 06 30 P *** END DEFAULT ACTION *** 0009 0 06 35 I INS,0655,,,(P0000-BEGDA),(P0000-ENDDA)/D 0009 0 06 40 *** END DEFAULT ACTION ***For the plausibility check, I have initially coded the below, but to no avail; even used "T549A-ABKRS='XX'" to read the currently saved data for Payroll Area in IT0001 -- to no avail also:
IType STy. Field FC No. S Variable function part 0009 0 06 05 *** CREATE IT0655 AND DEFAULTING iPAY FLAG TO 'X' FOR NEW/REHIRE ACTION *** 0009 0 06 10 P T001P-MOLGA='10' 0009 0 06 15 P PSPAR-MASSN='U1'/X 0009 0 06 20 P PSPAR-MASSN='U3'/X 0009 0 06 25 P PSPAR-ABKRS='XX' 0009 0 06 30 P PSPAR-ZLSCH='P' 0009 0 06 35 I INS,0655,,,(P0000-BEGDA),(P0000-ENDDA)/D 0009 0 06 40 *** END DEFAULT ACTION ***I was thinking of using "PSPAR-TCLAS='A'" and/or call the FM "HR_FEATURE_BACKFIELD," but I'm just not sure where to place either in my configuration or if they'd be of any help -- was also thinking if I'd be needing an ABAPr to help out with the coding, yes?
Can you help me out what should be the setup for the two (2) conditions? I'm relatively new to SAP Functional so I could use the help of SAP Experts like you guys 😉.
Hope to receive a response from anyone.
Thanks a lot in advance!
* U1 refers to New Hire Action, while U3 is Rehire; Stype '0' is for Primary/Main Bank