2014 Mar 03 8:16 AM
Runtime Errors GETWA_NOT_ASSIGNED
Date and Time 03.03.2014 13:11:56
Short text
Field symbol has not yet been assigned.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" 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
You attempted to access an unassigned field symbol
(data segment 93).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"GETWA_NOT_ASSIGNED" " "
"SAPLKKBL" or "LKKBLF99"
"GEN_FIELD_OUT2"
If you cannot solve the problem yourself and want to send an error
(data segment 93).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"GETWA_NOT_ASSIGNED" " "
"SAPLKKBL" or "LKKBLF99"
"GEN_FIELD_OUT2"
If you cannot solve the problem yourself and want to send an error
Operating system..... "HP-UX"
Release.............. "B.11.23"
Hardware type........ "ia64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "CFLDEV01"
Database type..... "ORACLE"
Database name..... "CD1"
Database user ID.. "SAPSR3"
Terminal.......... "CFINWL0115"
Char.set.... "C"
SAP kernel....... 701
created (date)... "Apr 2 2011 01:40:22"
create on........ "HP-UX B.11.23 U ia64"
Database version. "OCI_102 (10.2.0.4.0) "
Patch level. 137
Patch text.. " "
Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
SAP database version. 701
Operating system..... "HP-UX B.11"
Memory consumption
Roll.... 16192
EM...... 20949200
Heap.... 0
Page.... 122880
MM Used. 3677872
MM Free. 509344
User and Transaction
Client.............. 200
User................ "GUEST"
Language key........ "E"
Transaction......... "SE38 "
Transactions ID..... "5311AF68E99111BDE1000000C009C834"
Program............. "SAPLKKBL"
Screen.............. "SAPLKKBL 0500"
Screen line......... 3
Information on where terminated
Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
The main program was "ZTEST_11 ".
In the source code you have the termination point in line 2844
of the (Include) program "LKKBLF99".
Source Code Extract
Line SourceCde
2814 gs_sfc97 = gs_out_fieldcat.
2815 when 98.
2816 assign component gs_out_fieldcat-fieldname
2817 of structure t_outtab_slave to <fs98>.
2818 gs_sfc98 = gs_out_fieldcat.
2819 when 99.
2820 assign component gs_out_fieldcat-fieldname
2821 of structure t_outtab_slave to <fs99>.
2822 gs_sfc99 = gs_out_fieldcat.
2823 endcase.
2824 endform. "field_assign_hier_slave
2825 *---------------------------------------------------------------------*
2826 * FORM GEN_FIELD_OUT2 *
2827 *---------------------------------------------------------------------*
2828 * ........ *
2829 *---------------------------------------------------------------------*
2830 form gen_field_out2.
2831 field-symbols <l_initial>.
2832
2833 case gs_out-field_colcount.
2834 when 001.
2835 if gs_out_flags-slave ne 'X'.
2836 assign <fm01> to <field>.
2837 gs_fc = gs_mfc01.
2838 else.
2839 assign <fs01> to <field>.
2840 gs_fc = gs_sfc01.
2841 endif.
2842 when 002.
2843 if gs_out_flags-slave ne 'X'.
>>>>> assign <fm02> to <field>.
2845 gs_fc = gs_mfc02.
2846 else.
2847 assign <fs02> to <field>.
2848 gs_fc = gs_sfc02.
2849 endif.
2850 when 003.
2851 if gs_out_flags-slave ne 'X'.
2852 assign <fm03> to <field>.
2853 gs_fc = gs_mfc03.
2854 else.
2855 assign <fs03> to <field>.
2856 gs_fc = gs_sfc03.
2857 endif.
2858 when 004.
2859 if gs_out_flags-slave ne 'X'.
2860 assign <fm04> to <field>.
2861 gs_fc = gs_mfc04.
2862 else.
2863 assign <fs04> to <field>.
Contents of system fields
Name Val.
Name Val.
SY-SUBRC 4
SY-INDEX 2
SY-TABIX 0
SY-DBCNT 1
SY-FDPOS 80
SY-LSIND 0
SY-PAGNO 1
SY-LINNO 4
SY-COLNO 13
SY-PFKEY STANDARD
SY-UCOMM
SY-TITLE Sales nformation
SY-MSGTY I
SY-MSGID SF
SY-MSGNO 616
SY-MSGV1 ZTEST_11
SY-MSGV2 RE
SY-MSGV3 EN
SY-MSGV4
SY-MODNO 0
SY-DATUM 20140303
SY-UZEIT 131156
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXIT
Active Calls/Events
No. Ty. Program Include Line
Name
10 FORM SAPLKKBL LKKBLF99 2844
GEN_FIELD_OUT2
9 FORM SAPLKKBL LKKBLF99 797
GEN_LINE_OUT
8 FORM SAPLKKBL LKKBLF98 1359
DATA_OUT_SIMPLE
7 FORM SAPLKKBL LKKBLF01 457
LIST_OUTPUT_NEW
6 FORM SAPLKKBL LKKBLF01 6205
FIRST_LIST_DISPLAY
5 MODULE (PBO) SAPLKKBL LKKBLO01 11
LIST_DISPLAY
4 FUNCTION SAPLKKBL LKKBLU01 441
K_KKB_LIST_DISPLAY
3 FUNCTION SAPLSALV LSALVU07 504
REUSE_ALV_LIST_DISPLAY
2 FORM ZTEST_11 ZTEST_11 181
DISPLAY
1 EVENT ZTEST_11 ZTEST_11 103
START-OF-SELECTION
Chosen variables
Name
Val.
10 Ty. FORM
e GEN_FIELD_OUT2
SFC22
####
0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000
0000222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000
OUT-FIELD_COLCOUNT
2
0000
0002
UMMY$$
0000
0000
2222
0000
REPID
SAPLKKBL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454444422222222222222222222222222222222
310CBB2C00000000000000000000000000000000
OUT_FLAGS-SLAVE
0
0
2
0
PACE
0
0
2
0
FM01>
0000
0000
2222
0000
FIELD>
0000
0000
2222
0000
S_FC
####BSARK 1
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000454542222222222222222222222222322222222222222222222222222222222222222222222222222222222222
01012312B0000000000000000000000000100000000000000000000000000000000000000000000000000000000000
S_MFC01
####BSARK 1
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Runtime Errors GETWA_NOT_ASSIGNED
Date and Time 03.03.2014 13:11:56
Short text
Field symbol has not yet been assigned.
What happened?
Error in the ABAP Application Program
The current ABAP program "SAPLKKBL" 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
You attempted to access an unassigned field symbol
(data segment 93).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"GETWA_NOT_ASSIGNED" " "
"SAPLKKBL" or "LKKBLF99"
"GEN_FIELD_OUT2"
If you cannot solve the problem yourself and want to send an error
(data segment 93).
This error may occur if
- You address a typed field symbol before it has been set with
ASSIGN
- You address a field symbol that pointed to the line of an
internal table that was deleted
- You address a field symbol that was previously reset using
UNASSIGN or that pointed to a local field that no
longer exists
- You address a global function interface, although the
respective function module is not active - that is, is
not in the list of active calls. The list of active calls
can be taken from this short dump.
to correct the error
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"GETWA_NOT_ASSIGNED" " "
"SAPLKKBL" or "LKKBLF99"
"GEN_FIELD_OUT2"
If you cannot solve the problem yourself and want to send an error
Operating system..... "HP-UX"
Release.............. "B.11.23"
Hardware type........ "ia64"
Character length.... 16 Bits
Pointer length....... 64 Bits
Work process number.. 1
Shortdump setting.... "full"
Database server... "CFLDEV01"
Database type..... "ORACLE"
Database name..... "CD1"
Database user ID.. "SAPSR3"
Terminal.......... "CFINWL0115"
Char.set.... "C"
SAP kernel....... 701
created (date)... "Apr 2 2011 01:40:22"
create on........ "HP-UX B.11.23 U ia64"
Database version. "OCI_102 (10.2.0.4.0) "
Patch level. 137
Patch text.. " "
Database............. "ORACLE 10.1.0.*.*, ORACLE 10.2.0.*.*, ORACLE 11.2.*.*.*"
SAP database version. 701
Operating system..... "HP-UX B.11"
Memory consumption
Roll.... 16192
EM...... 20949200
Heap.... 0
Page.... 122880
MM Used. 3677872
MM Free. 509344
User and Transaction
Client.............. 200
User................ "GUEST"
Language key........ "E"
Transaction......... "SE38 "
Transactions ID..... "5311AF68E99111BDE1000000C009C834"
Program............. "SAPLKKBL"
Screen.............. "SAPLKKBL 0500"
Screen line......... 3
Information on where terminated
Termination occurred in the ABAP program "SAPLKKBL" - in "GEN_FIELD_OUT2".
The main program was "ZTEST_11 ".
In the source code you have the termination point in line 2844
of the (Include) program "LKKBLF99".
Source Code Extract
Line SourceCde
2814 gs_sfc97 = gs_out_fieldcat.
2815 when 98.
2816 assign component gs_out_fieldcat-fieldname
2817 of structure t_outtab_slave to <fs98>.
2818 gs_sfc98 = gs_out_fieldcat.
2819 when 99.
2820 assign component gs_out_fieldcat-fieldname
2821 of structure t_outtab_slave to <fs99>.
2822 gs_sfc99 = gs_out_fieldcat.
2823 endcase.
2824 endform. "field_assign_hier_slave
2825 *---------------------------------------------------------------------*
2826 * FORM GEN_FIELD_OUT2 *
2827 *---------------------------------------------------------------------*
2828 * ........ *
2829 *---------------------------------------------------------------------*
2830 form gen_field_out2.
2831 field-symbols <l_initial>.
2832
2833 case gs_out-field_colcount.
2834 when 001.
2835 if gs_out_flags-slave ne 'X'.
2836 assign <fm01> to <field>.
2837 gs_fc = gs_mfc01.
2838 else.
2839 assign <fs01> to <field>.
2840 gs_fc = gs_sfc01.
2841 endif.
2842 when 002.
2843 if gs_out_flags-slave ne 'X'.
>>>>> assign <fm02> to <field>.
2845 gs_fc = gs_mfc02.
2846 else.
2847 assign <fs02> to <field>.
2848 gs_fc = gs_sfc02.
2849 endif.
2850 when 003.
2851 if gs_out_flags-slave ne 'X'.
2852 assign <fm03> to <field>.
2853 gs_fc = gs_mfc03.
2854 else.
2855 assign <fs03> to <field>.
2856 gs_fc = gs_sfc03.
2857 endif.
2858 when 004.
2859 if gs_out_flags-slave ne 'X'.
2860 assign <fm04> to <field>.
2861 gs_fc = gs_mfc04.
2862 else.
2863 assign <fs04> to <field>.
Contents of system fields
Name Val.
Name Val.
SY-SUBRC 4
SY-INDEX 2
SY-TABIX 0
SY-DBCNT 1
SY-FDPOS 80
SY-LSIND 0
SY-PAGNO 1
SY-LINNO 4
SY-COLNO 13
SY-PFKEY STANDARD
SY-UCOMM
SY-TITLE Sales nformation
SY-MSGTY I
SY-MSGID SF
SY-MSGNO 616
SY-MSGV1 ZTEST_11
SY-MSGV2 RE
SY-MSGV3 EN
SY-MSGV4
SY-MODNO 0
SY-DATUM 20140303
SY-UZEIT 131156
SY-XPROG SAPCNVE
SY-XFORM CONVERSION_EXIT
Active Calls/Events
No. Ty. Program Include Line
Name
10 FORM SAPLKKBL LKKBLF99 2844
GEN_FIELD_OUT2
9 FORM SAPLKKBL LKKBLF99 797
GEN_LINE_OUT
8 FORM SAPLKKBL LKKBLF98 1359
DATA_OUT_SIMPLE
7 FORM SAPLKKBL LKKBLF01 457
LIST_OUTPUT_NEW
6 FORM SAPLKKBL LKKBLF01 6205
FIRST_LIST_DISPLAY
5 MODULE (PBO) SAPLKKBL LKKBLO01 11
LIST_DISPLAY
4 FUNCTION SAPLKKBL LKKBLU01 441
K_KKB_LIST_DISPLAY
3 FUNCTION SAPLSALV LSALVU07 504
REUSE_ALV_LIST_DISPLAY
2 FORM ZTEST_11 ZTEST_11 181
DISPLAY
1 EVENT ZTEST_11 ZTEST_11 103
START-OF-SELECTION
Chosen variables
Name
Val.
10 Ty. FORM
e GEN_FIELD_OUT2
SFC22
####
0000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000
0000222222222222222222222222222222222222222222222222222
0000000000000000000000000000000000000000000000000000000
OUT-FIELD_COLCOUNT
2
0000
0002
UMMY$$
0000
0000
2222
0000
REPID
SAPLKKBL
0000000000000000000000000000000000000000
0000000000000000000000000000000000000000
5454444422222222222222222222222222222222
310CBB2C00000000000000000000000000000000
OUT_FLAGS-SLAVE
0
0
2
0
PACE
0
0
2
0
FM01>
0000
0000
2222
0000
FIELD>
0000
0000
2222
0000
S_FC
####BSARK 1
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
0000454542222222222222222222222222322222222222222222222222222222222222222222222222222222222222
01012312B0000000000000000000000000100000000000000000000000000000000000000000000000000000000000
S_MFC01
####BSARK 1
0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
2014 Mar 03 8:21 AM
Hi,
Check the below lines.
2843 if gs_out_flags-slave ne 'X'.
>>>>> assign <fm02> to <field>.
2845 gs_fc = gs_mfc02.
2846 else.
Check the fieldname fm02.
Arivazhagan S
2014 Mar 03 8:25 AM
Check the field BSARK in the fieldcatalog definition. Something is wrong there.
2014 Mar 03 8:36 AM
this is a report n im getiing runtime error Runtime Errors GETWA_NOT_ASSIGNED give the solution
TABLES : VBAK , VBAP , KNA1.
TYPE-POOLS : SLIS.
TYPES : BEGIN OF TY_VBAP,
matnr type matnr,
vbeln type vbeln, " order no
ARKTX type ARKTX, "item name
KWMENG type KWMENG, " order qua.
audat type audat, " SD document item date (incoming or outgoing date)
posnr type posnr,
END OF TY_VBAP.
TYPES : BEGIN OF TY_KNA1,
NAME1 TYPE NAME1,
* KUNNR TYPE KUNNR,
END OF TY_KNA1.
TYPES : BEGIN OF TY_VBAK,
VTWEG type VTWEG, " Distribution Channel
BSARK type BSARK, "Customer purchase order type
END OF TY_VBAK.
TYPES : BEGIN OF TY_FINAL,
matnr type VBAP-matnr,
vbeln type VBAP-vbeln, " order no
ARKTX type VBAP-ARKTX, "item name
KWMENG type VBAP-KWMENG, " order qua.
audat type VBAP-audat, " SD document item date (incoming or outgoing date)
posnr type VBAP-posnr,
VTWEG type VBAK-VTWEG, " Distribution Channel
BSARK type VBAK-BSARK, "Customer purchase order type
NAME1 TYPE KNA1-NAME1,
* KUNNR TYPE KNA1-KUNNR,
END OF TY_FINAL.
DATA : IT_VBAP TYPE TABLE OF TY_VBAP,
IT_VBAK TYPE TABLE OF TY_VBAK,
IT_KNA1 TYPE TABLE OF TY_KNA1,
IT_FINAL1 TYPE TABLE OF TY_FINAL,
IT_FIELDCAT TYPE SLIS_T_FIELDCAT_ALV.
DATA : WA_VBAP LIKE LINE OF IT_VBAP,
WA_VBAK LIKE LINE OF IT_VBAK,
WA_KNA1 LIKE LINE OF IT_KNA1,
WA_FINAL LIKE LINE OF IT_FINAL1,
WA_FIELDCAT TYPE SLIS_FIELDCAT_ALV.
INITIALIZATION.
SELECTION-SCREEN BEGIN OF BLOCK BL WITH FRAME TITLE TEXT-001.
SELECT-OPTIONS :
SO_NO FOR VBAP-VBELN,
M_NO FOR VBAP-MATNR,
SO_DATE FOR VBAP-AUDAT OBLIGATORY.
SELECTION-SCREEN END OF BLOCK BL.
START-OF-SELECTION.
SELECT VBELN MATNR AUDAT ARKTX KWMENG POSNR
FROM VBAP INTO CORRESPONDING FIELDS OF TABLE IT_FINAL1 WHERE VBELN IN SO_NO
AND MATNR IN M_NO
AND AUDAT IN SO_DATE.
SELECT NAME1 FROM KNA1 INTO CORRESPONDING FIELDS OF TABLE IT_FINAL1 .
LOOP AT IT_FINAL1 INTO WA_FINAL.
SELECT SINGLE name1 FROM kna1 INTO WA_FINAL-name1 WHERE KUNNR = WA_FINAL-name1.
MODIFY IT_FINAL1 FROM WA_FINAL TRANSPORTING NAME1.
ENDLOOP.
SELECT VTWEG BSARK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE IT_FINAL1.
* SELECT VTWEG BSARK FROM VBAK INTO CORRESPONDING FIELDS OF TABLE IT_VBAK
* FOR ALL ENTRIES IN IT_FINAL1
* WHERE VTWEG = IT_FINAL1-VTWEG
* AND BSARK = IT_FINAL1-BSARK.
LOOP AT IT_FINAL1 INTO WA_FINAL.
READ TABLE IT_VBAK INTO WA_VBAK WITH KEY VTWEG = WA_FINAL-VTWEG.
READ TABLE IT_VBAK INTO WA_VBAK WITH KEY BSARK = WA_FINAL-BSARK.
IF SY-SUBRC EQ 0.
WA_FINAL-VTWEG = WA_VBAK-VTWEG.
WA_FINAL-BSARK = WA_VBAK-BSARK.
ENDIF.
MODIFY IT_FINAL1 FROM WA_FINAL TRANSPORTING VTWEG BSARK.
ENDLOOP.
PERFORM BUILD.
PERFORM DISPLAY.
*&---------------------------------------------------------------------*
*& Form BUILD
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
form BUILD .
*CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '1'.
WA_FIELDCAT-FIELDNAME = 'BSARK'.
WA_FIELDCAT-SELTEXT_L = 'Order type'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '2'.
WA_FIELDCAT-FIELDNAME = 'AUFNR'.
WA_FIELDCAT-SELTEXT_L = 'Order number'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '3'.
WA_FIELDCAT-FIELDNAME = 'POSNR'.
WA_FIELDCAT-SELTEXT_L = 'Line No.'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '4'.
WA_FIELDCAT-FIELDNAME = 'VTWEG'.
WA_FIELDCAT-SELTEXT_L = 'Dis Channel'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '5'.
WA_FIELDCAT-FIELDNAME = 'audat'.
WA_FIELDCAT-SELTEXT_L = 'Order Date'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '6'.
WA_FIELDCAT-FIELDNAME = 'audat'.
WA_FIELDCAT-SELTEXT_L = 'delivey date'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '7'.
WA_FIELDCAT-FIELDNAME = 'name1'.
WA_FIELDCAT-SELTEXT_L = 'Name'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '8'.
WA_FIELDCAT-FIELDNAME = 'ARKTX'.
WA_FIELDCAT-SELTEXT_L = 'Iem Name'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
CLEAR WA_FIELDCAT.
WA_FIELDCAT-COL_POS = '9'.
WA_FIELDCAT-FIELDNAME = 'KWMENG'.
WA_FIELDCAT-SELTEXT_L = 'Order quantitye'.
APPEND WA_FIELDCAT TO IT_FIELDCAT.
endform. " BUILD
*&---------------------------------------------------------------------*
*& Form DISPLAY
*&---------------------------------------------------------------------*
* text
*----------------------------------------------------------------------*
* --> p1 text
* <-- p2 text
*----------------------------------------------------------------------*
form DISPLAY .
CALL FUNCTION 'REUSE_ALV_LIST_DISPLAY'
EXPORTING
* I_INTERFACE_CHECK = ' '
* I_BYPASSING_BUFFER =
* I_BUFFER_ACTIVE = ' '
I_CALLBACK_PROGRAM = sy-repid
* I_CALLBACK_PF_STATUS_SET = ' '
* I_CALLBACK_USER_COMMAND = ' '
* I_STRUCTURE_NAME =
* IS_LAYOUT =
IT_FIELDCAT = IT_FIELDCAT[]
* IT_EXCLUDING =
* IT_SPECIAL_GROUPS =
* IT_SORT =
* IT_FILTER =
* IS_SEL_HIDE =
* I_DEFAULT = 'X'
* I_SAVE = ' '
* IS_VARIANT =
* IT_EVENTS =
* IT_EVENT_EXIT =
* IS_PRINT =
* IS_REPREP_ID =
* I_SCREEN_START_COLUMN = 0
* I_SCREEN_START_LINE = 0
* I_SCREEN_END_COLUMN = 0
* I_SCREEN_END_LINE = 0
* IR_SALV_LIST_ADAPTER =
* IT_EXCEPT_QINFO =
* I_SUPPRESS_EMPTY_DATA = ABAP_FALSE
* IMPORTING
* E_EXIT_CAUSED_BY_CALLER =
* ES_EXIT_CAUSED_BY_USER =
TABLES
t_outtab = IT_FINAL1.
* EXCEPTIONS
* PROGRAM_ERROR = 1
* OTHERS = 2
.
IF sy-subrc <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
endform. " DISPLAY
2014 Mar 03 8:44 AM
Hi Ganesh,
WA_FIELDCAT-COL_POS = '5'.
WA_FIELDCAT-FIELDNAME = 'audat'.
WA_FIELDCAT-FIELDNAME = 'AUDAT'.
Field name should be in capital letters.
Pl Check.
Arivazhagan S
2014 Mar 03 8:30 AM
Dear Ganesh,
The problem is due to the fieldcat. please check the fieldcat you have mapped correctly.
regards
Gunaseelan
2014 Mar 03 8:30 AM
2014 Mar 03 8:33 AM
Hi Ganesh
Please check the below thread:
https://scn.sap.com/thread/391815
Run time errors in ALV occur mostly from field catalog not defined properly. There are many suggestions given in the thread. Please check which one works out for you.
Regards
Sowbhagya.L
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |