on 04-11-2006 10:10 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Looks like spelling mistake in SERNR field of the field catalog.
Regards,
Ravi
Note : please mark the helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Check Spelling and all field should be in uppercase.
Regards
vinod
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Spelling mistake..
Use s_fieldcat-fieldname = 'SERNR'.
instead of
s_fieldcat-fieldname = 'SERNER'.
Hope it helps.
Regards,
Shashank
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
Just check if the variable for Serial Number in the internal table I_MATNRS is SERNER or something else.?
Whatever variable you declare in the internal table should be specified in the "fieldname" component of the field catalog.
If you don't mind, can you just copy paste the program so that we can find the error...
Regards,
SP.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I hope the fieldname is <b>SERNR</b>
s_fieldcat-reptext_ddic = 'Serial Number '.
<b>s_fieldcat-fieldname = 'SERNR'.</b>
s_fieldcat-tabname = 'I_MATNRS'.
Regards,
Wenceslaus.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
SELECT matnr <b>SERNR MAKTX</b> 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 = '<b>SERNR</b>'.
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.
Message was edited by: kishan negi
Message was edited by: kishan negi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.