cancel
Showing results for 
Search instead for 
Did you mean: 

reports

Former Member
0 Kudos

hi all ,

data: itab like table of LFA1,

JTAB LIKE SORTED TABLE OF EKKO WITH UNIQUE KEY TABLE LINE.

SELECT LIFNR NAME1 EBELN AEDAT FROM EKKO INTO TABLE JTAB FOR ALL ENTRIES IN ITAB WHERE LIFNR = ITAB-LIFNR.

LOOP AT JTAB.

WRITE:/ JTAB-LIFNR,JTAB-NAME1,JTAB-EBELN,JTAB-AEDAT.

ENDLOOP.

ERROR: COLUMN NAME1 UNKNOWN.

CAN ANYBODY RESOLVE THIS IF THERE IS ANY ERROR.

REGARDS,

YATEENDRA.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

EKKO database table doesn't contain the Name1 field, so thats why it saying column name1 unknown.

former_member556603
Active Contributor
0 Kudos

Hi Tirumuru,

*data: itab like table of LFA1,*

*JTAB LIKE SORTED TABLE OF EKKO WITH UNIQUE KEY TABLE LINE.*

*SELECT LIFNR NAME1 EBELN AEDAT FROM EKKO INTO TABLE JTAB FOR ALL ENTRIES IN ITAB WHERE LIFNR = ITAB-LIFNR.*

*LOOP AT JTAB.*

*WRITE:/ JTAB-LIFNR,JTAB-NAME1,JTAB-EBELN,JTAB-AEDAT.*

*ENDLOOP.*

*ERROR: COLUMN NAME1 UNKNOWN.*

NAME1 Filed is not available is EKKO Table..

You can find those filed i.e NAME1 in LFA1 Table..

Thats why it shows ERROR: COLUMN NAME1 UNKNOWN

Thanks,

Satya Kumar

former_member181962
Active Contributor
0 Kudos

Hi,

1) YOu have posted in the wrong forum

Post here:

2) Do not use all CAPS. It is treated as though you are Shouting.

3) The table EKKO does not have the field NAME1 in it.

That is the reason for the error.

Regards,

ravi