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: 

New screen in ME23N with BADI ME_GUI_PO_CUST

Former Member
0 Kudos

Hello to all developers,

I was able to add a new (sub-)screen in the header data ME23N.

All fields are shown.

When I switch the mode to "CHANGE", all fields disappear and of course no tab is shown.

If someone has an idea, please let me know.

Many thanks in advance.

H.-J. Schmidt

2 REPLIES 2

Former Member
0 Kudos

Hi,

Please check if in the PBO module of the custom subscreen you have set SCREEN-INVISIBLE = 1 or SCREEN-ACTIVE = 0.

Also check if the screen has been properly subscribed in method SUBSCRIBE (i.e., remove all transaction type checks from this method).

Since the screen and tab is being displayed in ME23N, it should also be displayed in ME21N (or create mode) and in ME22N (or change mode). The only condition under which the tab and screen might not appear is, if any checks based on the T-code or Transaction type is done and SCREEN-INVISIBLE = 1 or SCREEN-ACTIVE = 0 have been set.

And if you are using OOPS concept in handling the PBO and PAI, then check if the proper values are set using different methods of the class.

Hope this helps.

Regards,

Abhisek.

mvoros
Active Contributor
0 Kudos

Hi,

I do not know why but maybe SAP will help you. This BADI has Code example with nice comments so try to compare your implementation with this sample. It might give you some hints why it is not working.

Good luck