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

Help

Former Member
0 Likes
601

Hai all,

I created PO item custom screen with fields using ME_GUI_PO_CUST

ME_PROCESS_PO_CUST Badi's and i used the following methods IF_EX_ME_GUI_PO_CUST~SUBSCRIBE,

IF_EX_ME_GUI_PO_CUST~MAP_DYNPRO_FIELDS.

IF_EX_ME_PROCESS_PO_CUST~FIELDSELECTION_ITEM.

My Problem is when i execute transaction ME23N or ME22N Fields which are in PO Item Custom Screen only in change mode.

Can Any one help me what is the process when i execute ME23N transaction the fields are in display mode and

when i execute ME22N the fields are in change mode .

Is available any BADI. Please Help me.

Thanks,

Nagaraju.

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
568

hi Naga,

you have to play with LOOP AT screen:

LOOP AT screen.

CASE sy-tcode.

WHEN 'ME22N'.

screen-input = '1'. ==> this will set to change

WHEN 'ME23N'.

screen-input = '0'. ==> this will set to display

ENDCASE.

MODIFY screen.

ENDLOOP.

4 REPLIES 4
Read only

JozsefSzikszai
Active Contributor
0 Likes
569

hi Naga,

you have to play with LOOP AT screen:

LOOP AT screen.

CASE sy-tcode.

WHEN 'ME22N'.

screen-input = '1'. ==> this will set to change

WHEN 'ME23N'.

screen-input = '0'. ==> this will set to display

ENDCASE.

MODIFY screen.

ENDLOOP.

Read only

0 Likes
568

In which part of the program shud we write this Eric

Read only

0 Likes
568

in the PBO of the screen.

Read only

0 Likes
568

Thanks Eric.