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: 

Erro in Screen Exit on ME51N

Former Member
0 Kudos
192

Hi there,

I'm implemente a screen exit on ME51N, the exit MEREQ001, I'm new in screen exits.

It's implemented, but I got the following error message when trying to access the screen "Customer Data" in the transaction

<b>

"Screen SAPLXM02 0111 must be an Include screen (screen error)"</b>

Thanks a lot.

Alexandre

3 REPLIES 3

Former Member
0 Kudos
83

Hello Alexandre,

I am new in screen exits too and the error you get is because of the fact that SAPLXM012 with subscreen 0111 is a function pool:

*******************************************************************

  • System-defined Include-files. *

*******************************************************************

INCLUDE LXM02TOP. " Global Data

INCLUDE LXM02UXX. " Function Modules

*******************************************************************

INCLUDE LXM02F00.

" SAP-Formpool for Customer-Use

INCLUDE ZXM02ZZZ. " Subprograms and Modules

Within the include INCLUDE ZXM02ZZZ yo ucan generate includes for your own purpose with source code for PAI and PBO; my tric is to get a control on costcenters in tc ME51N for authorizations and I am also figuring out how to manage this.

Hopes this helps a little bit and if you can give feed back on my issue ...be my guest...;-)

Kind regards ,

René

0 Kudos
83

Hi René,

Actualy, my question is solved, the problem was very simple, my scree 111 was not defined as a subscreen in its atributes... only this.

Alexandre

Former Member
0 Kudos
83

Hi Alexandre

Since you have solved your issue may I asl for the way how you did it .....step by step and perhaps the source code you have used in order to transform this code for my costcenter authorization check.

Thanks in advance and kind regards.

Ciao,

René