‎2014 Nov 19 7:01 AM
Hi,
Please check the report that i have written for getting list of open sales order item .while executing it is getting dump.Here i am attaching the screenshot and my code.Please check and suggest me what is the wrong i have done.
‎2014 Nov 19 7:09 AM
Hi Kumar,
Please give Field names in capital letters when filling Field Catalog.
FORM build_fcat .
*Build field catalog
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'vbeln'. --- this should be Capital letters 'VBELN'
wa_fieldcat-tabname = 'IT_FINAL'.
wa_fieldcat-seltext_m = 'Sales document no'. " Column description
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
thanks
sri
‎2014 Nov 19 7:09 AM
Hi Kumar,
Please give Field names in capital letters when filling Field Catalog.
FORM build_fcat .
*Build field catalog
wa_fieldcat-col_pos = 1.
wa_fieldcat-fieldname = 'vbeln'. --- this should be Capital letters 'VBELN'
wa_fieldcat-tabname = 'IT_FINAL'.
wa_fieldcat-seltext_m = 'Sales document no'. " Column description
APPEND wa_fieldcat TO t_fieldcat.
CLEAR wa_fieldcat.
thanks
sri
‎2014 Nov 19 7:14 AM
Kumar,
Also make it a practice to do ALV consistency check as explained in the below link.
K.Kiran.
‎2014 Nov 19 7:15 AM