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