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: 

I want to make one mandatory field "PRPS-USR01" field from CJ20N trans

Former Member
0 Kudos

Dear All,

I want to make mandatory for "PRPS-USR01" field from CJ20N transaction.

How can i made it mandatory??

pls guide me

Urgent.

Regards,

Karthik.

3 REPLIES 3

Former Member
0 Kudos

CJ20N is an standard t-code so u have to get acess code and add (obligatory) in select-option.....eg: s_werks FOR viqmel-arbplwerk OBLIGATORY.

Former Member
0 Kudos

Hi Karthik,

You can use userexit 'EXIT_SAPLCJWB_001'. Write the code for PRPS-USR01.

If SAP_PRPS-usr01 is initial.

Message e000(ZMNR) with 'hai'.

endif.

Use this code in the include 'ZXCN1U0' mentioned in the user exit.

Reward points it it resolved your issue

Regards,

Kiran I

0 Kudos

Hi Kiran,

Thanks for yur clarification.

If SAP_PRPS-usr01 is initial.

Message e000(ZMNR) with 'hai'.

endif.

This above logic is working after you keep cursor in USR01.

If you do not go to USR01 , then it is not mandatory. You can still save it without any value in the field. Any other exit is there on saving.

Regards,

Karthik.