cancel
Showing results for 
Search instead for 
Did you mean: 

Issue with Dynamic Action

Former Member
0 Kudos

Hello Frndz,

There's a requirement to calculate the number of days to the one of the date type from IT0041 and populate it in IT0019-TERMN

Apart from the function call routine in T588Z I would like to know is there any other way we can achieve it?

Below is the coding I have mentioned in T588Z, but instead of picking the DAT05 system is picking the start date 01.01.0001 and adding the number of days to it.

0016   04 10 I   INS,0019,XX

0016   04 11 W P0019-TERMN = P0041-DAT05

0016   04 12 W P0019-VTRAN = '30'

0016   04 13 W P0019-VTRZH = '010'

0016   04 14 W P0019-VTROP = '+'

Could you guys look into this, and let me know the correction.

Thanks & Regards

Pavani G

Accepted Solutions (0)

Answers (2)

Answers (2)

raghu_c
Active Contributor
0 Kudos

Note that No calculations can be performed in Dynamic actions. If at all it has to be done suggest that the dynamic action calls a program in which the calculation are performed and update the infotype-19.

Raghu

Former Member
0 Kudos

Raghu,

Yes, U r rite, But I am looking for options from config's perspective.

Thanks & Regards

Pavani G

Former Member
0 Kudos

Hi

Can you check wether the date is available in IT0041 for field DAT05

Dinesh

Former Member
0 Kudos

Hi Shan,

Of course, I had debugged it. somehow Date is not considering.

Thanks & Regards

Pavani G

Former Member
0 Kudos

Its working for me. im confuse why its not coming to you. can you put DAR05 insteat of DAT05.

0016   04 10 I   INS,0019,XX/D  (Background)

0016   04 11 W P0019-TERMN = P0041-DAR05

0016   04 12 W P0019-VTRAN = '30'

0016   04 13 W P0019-VTRZH = '010'

0016   04 14 W P0019-VTROP = '+'

Try this.

Former Member
0 Kudos

Hi Shan,

No, not working for me atleast.

Thanks & Regards

Pavani G