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 the InfoType field value

Former Member
0 Likes
581

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

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
Read only

Former Member
0 Likes
522

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

Read only

0 Likes
522

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