2009 May 13 3:06 PM
Hi all,
Can any one please let me know how to add a new field to the existing alv grid.
Thanks.
Hi all,
Can any one please let me know how to add a new field to the existing alv grid.
Thanks.
2009 May 13 3:52 PM
Are you using structure to display the fields. If yes, then in the PBO of the screen, set the visible property of the field to 'X'.
Regards,
Siva.
2009 May 13 5:44 PM
Hi,
Enhance the structure used to build the field catalog. Considering the structure of the table passed to the set_table_for_first_display method (parameter it_outtab) is also enhanced, fill the values in the for the field before calling the method.
If you are building the field catalog manually then add the new field to the field catalog table. Example:
ls_fcat-fieldname = 'FIELDNAME'.
ls_fcat-ref_table = 'TABLE NAME'.
ls_fcat-col_pos = 8 (which position you would like to add the column to)
append ls_fcat to lt_fcat.
George
2009 May 14 4:46 AM
Simple add the new field with all the details in exsisting Field Caltelog.
Example :
CLEAR W_FLDCAT.
W_FLDCAT-FIELDNAME = 'VBELN'. ( Field Name )
W_FLDCAT-COLTEXT = 'SALES ORDER'. ( Column Header )
APPEND W_FLDCAT TO IST_FLDCAT.
here W_FLDCAT is workarea of Field-Catelog type Itab.
IST_FLDCAT is Field-Catalog.
Regards,
Chintan.
Edited by: Chintan_SAP on May 14, 2009 9:16 AM
2009 May 14 11:52 AM
Hi,
" You can do this but only for limited Std reports like FBL5N especially in FI. Check out BTEs. Tcode for BTEs is FIBF."
use this link for more info abt BTE's
[http://help.sap.com/saphelp_erp2004/helpdata/en/ee/e87988027a11d5a7d60000e83dda02/content.htm]
2009 May 15 7:06 AM
Hi Ram ,
We can add a new field to an ALV grid by changing the fieldcatalog. Add a new column to the fieldcat interanal table with the new field you want. then a new column will be added to your alv grid.
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |