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: 

CONTROL_NOT_FOUND in VA01(Short Dump)

Former Member
0 Kudos

The termination occurred in the ABAP program "SAPMV45A" in

"USEREXIT_MOVE_FIELD_TO_KOMKG".

The main program was "SAPMV45A ".

The termination occurred in line 106 of the source code of the (Include)

program "LV45FFUV"

of the source code of program "LV45FFUV" (when calling the editor 1060).

Check the following Code

IF SY-SUBRC NE 0 AND XVUVF-MSGKZ = 'X' AND DIALOG = 'X'.

CLEAR DA_DFIES.

DA_DFIES-LFIELDNAME = XVUVF-FDNAM.

CALL FUNCTION 'DDIF_FIELDINFO_GET'

EXPORTING

TABNAME = TBNAM

FIELDNAME = XVUVF-FDNAM

LANGU = SY-LANGU

LFIELDNAME = DA_DFIES-LFIELDNAME

ALL_TYPES = ' '

IMPORTING

DFIES_WA = DA_DFIES

EXCEPTIONS

NOT_FOUND = 1

INTERNAL_ERROR = 2

OTHERS = 3.

SET CURSOR FIELD DA_FIELD LINE SY-STEPL.

IF SY-SUBRC = 0.

DA_FIELD = DA_DFIES-SCRTEXT_L.

ENDIF.

<b> MESSAGE W001 WITH MESSAGETEXT DA_FIELD.

VBUV_DIA = VBUV_TAB.

APPEND VBUV_DIA.</b>

ENDIF.

ENDIF.

Please Check the Bold Statements

Thansk & regards

Sreenivas

1 ACCEPTED SOLUTION

Former Member
0 Kudos

It is probably your SET CURSOR that is causing the issue. Comment it and see if the dump doesn't occur.

4 REPLIES 4

Former Member
0 Kudos

Paste the Error Analysis part of the short dump.

The form USEREXIT_MOVE_FIELD_TO_KOMKG and USEREXIT_MOVE_FIELD_TO_KOMPG are used for the preparation of article listing and exclusion. The data communication area KOMKG and KOMPG are filled in these routines.

May be the variable VBUV_DIA is not available in the form.

-Kiran

Message was edited by: Kiran Raorane

Former Member
0 Kudos

Just a Guess.. Make it as..

<b>MESSAGE E001 WITH MESSAGETEXT DA_FIELD.</b>

I will halt there without proceeding furthere where as <b>W</b> will allow the control to proceed.

rgds,

TM.

0 Kudos

Hai Thomas

we don't know the input given by the user in the Tcode VA01

we got the error at after the Message

<b>VBUV_DIA = VBUV_TAB.</b>

the dump raises due to the 'OKCODE' not by the user exit

Regards

Sreenivas

Former Member
0 Kudos

It is probably your SET CURSOR that is causing the issue. Comment it and see if the dump doesn't occur.