2008 May 29 2:40 PM
Hi can any one plz tell me what is fieldcatalog and what are the parameters and use....?
Regards
BAlu
Hi can any one plz tell me what is fieldcatalog and what are the parameters and use....?
Regards
BAlu
2008 May 29 2:44 PM
Hi
The fieldcatalog is a structure containing all chararteristics of the fields have to be display in ALV.
U can see all informations you need by the documentations of fm REUSE_ALV_LIST_DISPLAY
Max
2008 May 29 2:51 PM
Hi Balu,
What is Field Catalog?
It is a container in which it displays the output in a formatted way. Field catalog containing descriptions of the list output fields. You can use fields of the catalog to determine the number format and column properties of the list to be displayed.
Please go through this link.,
http://abap-gallery.blogspot.com/2007/07/field-catalog-in-alv.html
Reward points if useful.
Cheers,
Swamy Kunche
2008 May 29 2:52 PM
hi check this..
the simple fieldcatalog is like this..
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-reptext_ddic = 'Descrition'.
append wa_fieldcat to it_fieldcat .
clear wa_fieldcat .
or use this..
wa_fieldcat-fieldname = 'MATNR'.
wa_fieldcat-reptext_ddic = 'Descrition'.
wa_fieldcat-tabname = 'ITAB'.
wa_fieldcat-col_pos = 1 .
append wa_fieldcat to it_fieldcat .
clear wa_fieldcat .
regards,
venkat
2008 May 29 3:10 PM
2009 Aug 22 10:31 PM
Hello Balu
In order to display some tabular data in an ALV, the ALV needs some information about the columns/ fields which will be displayed in the ALV. Field catalog is basically the internal table which carries information about each of the columns/ fields with which ALV has to deal with. It need not necessarily contain information about each of the columns/ fields in the data table used as data source of ALV. Only the fields which are important for display or of some technical use for ALV need to be informed to ALV through field catalog.
You can get some more details by following the link:
[http://www.how2sap.com/blog/alv/using-reuse_alv_-function-modules-field-catalog-slis_t_fieldcat_alv/]
Best regards
Anand.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |