Given below is the step-by-step procedure in implementing the Screen Exit for CJ01 transaction that is provided in SAP Technical site:
First create a project in CMOD and attach the enhancement CNEX0006 to the project.
- Go to se11 and in the PROJ table u will find ci_proj include , in this add the required custom fields.
- Go to se51 give SAPLXCN1 in the program name with screen number 0600 , create the subscreen and in the layout choose Dictionary./Program fields and drag and drop in the screen .
- If u want to write any logic before the screen is displayed do it in PBO.
- Now in the function exit EXIT_SAPLCJWB_002 , go in the INCLUDE ZXCN1U11 and write this logic
move-corresponding sap_proj_imp to proj. - Now in the function exit EXIT_SAPLCJWB_003 , go in the INCLUDE ZXCN1U12. and write this logic
move-corresponding proj to cnci_proj_exp.
Activate the project .
Since you dont have to add new fields, you wont have to do steps 1 and 2.
Implement your screen logic for greying out the field in the PBO enhancement.