Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

see in itab not in screen

i use this statment an i dont SEE data in SERNR why?

i see it in the debug.

*SELECT matnr FROM mara INTO TABLE i_matnrs.

s_fieldcat-reptext_ddic = 'Matnr Number '.

s_fieldcat-fieldname = 'MATNR'.

s_fieldcat-tabname = 'I_MATNRS'.

APPEND s_fieldcat TO i_fieldcat.

s_fieldcat-reptext_ddic = 'Serial Number '.

s_fieldcat-fieldname = 'SERNER'.

s_fieldcat-tabname = 'I_MATNRS'.

APPEND s_fieldcat TO i_fieldcat.

s_fieldcat-reptext_ddic = 'Description'.

s_fieldcat-fieldname = 'MAKTX'.

s_fieldcat-tabname = 'I_MATNRS'.

APPEND s_fieldcat TO i_fieldcat.

CALL FUNCTION 'REUSE_ALV_POPUP_TO_SELECT'

EXPORTING

i_checkbox_fieldname = 'CHECK'

i_tabname = 'I_MATNRS'

it_fieldcat = i_fieldcat

TABLES

t_outtab = i_matnrs

EXCEPTIONS

program_error = 1

OTHERS = 2.

Tags:
replied

Hi Yehiel,

I think you have given the Serial number as SERNER instead of SERNR.

s_fieldcat-fieldname = 'SERNER'.

should be changed to

<b>s_fieldcat-fieldname = 'SERNR'.</b>.

s_fieldcat-reptext_ddic = 'Serial Number '.

<b>s_fieldcat-fieldname = 'SERNR'.</b>

s_fieldcat-tabname = 'I_MATNRS'.

APPEND s_fieldcat TO i_fieldcat.

REgards,

Ravi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question