01-26-2009 9:56 AM
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
01-27-2009 4:15 AM
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.
01-29-2009 12:28 AM
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