01-09-2007 8:25 AM
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.
01-09-2007 8:39 AM
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.
01-09-2007 9:57 AM
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
01-10-2007 4:35 AM
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.