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: 

Disabling custom fields in display mode in CJ20N transaction using CNEX0006

0 Kudos

Dear All,

I have implemented exit CNEX0006 for CJ20N transaction to display custom fields in a new tab.The exit is working fine,But when i click display mode the custom fields still input enabled.I want to disable it when i click display button.I wrote a code to disable those fields in PBO subscreen 0600.But the code is not triggering,even hard coded BREAK-POINT also not triggering.I really appreciate your help.

Best Regards,

Abdul Hameed

4 REPLIES 4

Former Member
0 Kudos

Hi,

Try your code in EXIT_SAPLCJWB_002.

it should work.

Dhiraj.

0 Kudos

Dear Dhiraj,

Thank you for your reply.I have tried the as you suggest in EXIT_SAPLCJWB_002.My code is as follows

TABLES : proj.

MOVE-CORRESPONDING sap_proj_imp TO proj.

Line No. IF sy-ucomm EQ 'TOGGLE'.

1* MESSAGE I000(80) WITH 'You have clicked toggle button'.

2 LOOP AT SCREEN.

3 if screen-input = 1.

4 screen-input = 0.

5 ENDIF.

6 MODIFY SCREEN.

7 ENDLOOP.

8 ENDIF.

when i click display button its executing upto line 2.and skipping loop at screen statements.

Regards,

Abdul Hameed Hussain

0 Kudos

Hi,

Solved myself.

Regards,

Abdul Hameed

0 Kudos

hi,

I am also facing the same problem .Kindly share your solution to me.

regards,

padmaja.