Application Development 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: 

Default the InfoType field value

Former Member
0 Kudos
156

How to Default the InfoType field value, I got the user Exit ZXPADU01 but I want to update an infotype(0416) field, any one give the idea how to do it.

Thanks in Advance

2 REPLIES 2

Former Member
0 Kudos
97

Hi,

Well in the user exit add a new WHEN '0416' in the existing case staement' and set the a default value to the request filed.

Don't forget to get the value of you infotype like the following

CLEAR P0416.

MOVE innnn TO P0416.

Regards

0 Kudos
97

Hi

I am following code

.

.

.

WHEN '0416'.

CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn

EXPORTING

prelp = innnn

IMPORTING

pnnnn = i0416.

i0416-wgtyp = '5004'.

I moved the value wgtyp field, but the screen field not updated.

regards