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: 

Runtime Error - CONTROL variable not found

Former Member
0 Kudos

Hi friends,

Pls go thru the below runtime error and reply ur comments how to resolve it and how it happend.

Note: The client user donno when it happened actually and said nothing he did.

Runtime error****************

Report outputRuntime Errors CONTROL_NOT_FOUND

CONTROL variable not found

What happened?

Error in the ABAP Application Program

The current ABAP program "SAPLMEGUI" had to be terminated because it has

come across a statement that unfortunately cannot be executed.

What can you do?

Note down which actions and inputs caused the error.

To process the problem further, contact you SAP system

administrator.

Using Transaction ST22 for ABAP Dump Analysis, you can look

at and manage termination messages, and you can also

keep them for a long time.

Error analysis

The CONTROL "SUB0" was searched for but not found.

These is either an inconsistency between the screen and the program or

an incorrect ABAP statement (for example, REFRESH CONTROL .. FROM SCREEN

with incorrect control name).

User and Transaction

Client.............. 500

User................ "MM4MAGES"

Language key........ "E"

Transaction......... "ME51N "

Transactions ID..... "7A812CDD8FBFF12F80E60017A4ABA0FD"

Program............. "SAPLMEGUI"

Screen.............. "SAPLMEGUI 0014"

Screen line......... 0

Information on where terminated

Termination occurred in the ABAP program "SAPLMEGUI" - in "SYSTEM-EXIT".

The main program was "RM_MEREQ_GUI ".

In the source code you have the termination point in line 0

of the (Include) program "

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

Pls advise.

thanks & regards

sankar.

3 REPLIES 3

Former Member
0 Kudos

hi shankar,

you have created screens in your program in which you have created a table control..

for that table control in data declaration you have to write

controls 'tablecontrolname' type tableview using screen '9000'.

above is declaration...

hope this will help u out..

0 Kudos

Hi Manisha Badade ,

thanks for ur prompt reply.

Im not getting ur point and sorry for that.See,this is a std program running as a background when the user doing ME51N transaction.And its saying that it's happened at screen-exit time.

(what i understood is,its an unknown error like may happen when the user open more sessions or pressed some control icon buttons which not necessary )

One more thing, it's happened once and not we are not getting any errors in any related processing Tcodes of the same.

Pls advise.

regards

sankar,

0 Kudos

here which screen number will write and on which program ?

controls 'tablecontrolname' type tableview using screen '9000'. i am sking about this query??? its urgent