cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Action for IT 207

Former Member
0 Kudos

Hello Guru's

I have a requirement to copy the Tax Area & Tax authority from IT 207 to IT 208, when the Employee group id XYZ(Remote). Please suggest.

Thanks,

NST

Accepted Solutions (0)

Answers (1)

Answers (1)

ShrutiJoshi
Active Contributor
0 Kudos

Hi Suri

What is the issue that you are facing? I see that your dynamic action is almost correct. If you want to trigger it based on Employee Group then in statement 8 you should use P0001-PERSG instead of WERKS.

Former Member
0 Kudos

Hi Sruthi,

The issue is the Tax Area field is not getting populated in IT 208

I changed the logic as shown below, still getting the same error.

Requirement: If personal Area = URT series then, information in IT 207 should be copied to IT 208.

ShrutiJoshi
Active Contributor
0 Kudos

Hi Suri,

Try making the below changes:

1. Change the FC to 4 for all statements.

2. In your statement no. 34, remove the /X. Since this is the last check statement, /X is not required after this.

3. The PA that you have mentioned from line no. 28 to 34 is the same (URTA). Remove the duplicate statements.

Apart from this ensure that a valid IT0207 exists for the employee that you are checking. And the tax area that you are trying to assign in It0208 is defined as a valid Work Tax Area.

Former Member
0 Kudos

Thanks Shruti for your response.

I made the changes as suggested by you. But IT0208 is not created at all. Please check the updated script for 0207.

I manually tried to create the IT 0208 for that employee and I was successful

Former Member
0 Kudos

Sruthi,

I added the /X back on line 34, then IT 0208 is getting created, but again without Tax Area.

Thanks,

Suri

Former Member
0 Kudos

Hi,

Is there a detailed joblog to view and verify when the Dynamic Action runs? So that we can verify and understand the error reason.

Thanks,

Suri

ShrutiJoshi
Active Contributor
0 Kudos

Hi Suri

Your dynamic action is correct. Just try adding 0207 in the S.Ty. field as a last try. If it still doesnt work, I suggest you to check on the data part.

You are trying to set the work tax area in IT0207 as the resident tax area in IT0208. So you need to check if this entry of work tax area in IT0207 (coming from T5UTB / V_T5UTW) is also configured under T5UTA / V_T5UTR as the resident tax area under the same tax authority. Additionally I am not too sure it this is allowed in the first place. As in if you check the technical properties of these fields, they have different data elements (RESAR and WTART). Till now when I have worked on dynamic actions the fields assignments have had the same domain. You can try getting it debugged from a abap consultant if possible.