Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

default values for IT0007 in dynamic actions

Former Member
0 Kudos
372

Hi

I would like to default the value for P0007-ZTERF for hiring action if

PSPAR-WERKS='CF02' and (PSPAR-PERSK='SZ' or

PSPAR-PERSK='SZ'). I have the following dynamic actions set up. But when I create hiring action, IT0041 are giving the correct values but not IT0007(ZTERF is not defaulting to 9 but begda and endda are correct). Can anyone tell me what is wrong??

0000 04 241 P P0000-MASSN='Z1'

0000 04 242 P T001P-MOLGA='25'

0000 04 243 I INS,0041,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 04 244 W P0041-DAR01='01'

0000 04 245 W P0041-DAT01=P0000-BEGDA

0000 04 246 W P0041-DAR02='Z1'

0000 04 247 W P0041-DAT02=P0000-BEGDA

0000 04 248 W P0041-DAR03='Z2'

0000 04 251 P P0001-WERKS='CF02'

0000 04 263 P P0001-PERSK='SZ'/X

0000 04 264 P P0001-PERSK='SY'

0000 04 265 I INS,0007,,,(P0000-BEGDA),(P0000-ENDDA)/D

0000 04 266 W P0007-ZTERF='9'

1 REPLY 1
Read only

former_member226519
Active Contributor
0 Kudos
213

usually this is done by an implementation of BAdI HRPAD00INFTY, BEFORE_OUTPUT and not by dynamic action.