2008 Jun 11 7:25 AM
Hi All,
I am using standard program RM07DOCS and i copied this to my ZRM07DOCS
Now according to requirement i want 4 additional fields to display in the ALV Output
I have added those field in the internal table , now want to display in ALV..
I tried to add in field catalog also but its taking the standard values not the values which i stored in my internal table(LIST)..
Can any one tell me how to link that internal table to field catalog so that i can see the added new fields in my alv report..
Please help its very urgent.
Hi All,
I am using standard program RM07DOCS and i copied this to my ZRM07DOCS
Now according to requirement i want 4 additional fields to display in the ALV Output
I have added those field in the internal table , now want to display in ALV..
I tried to add in field catalog also but its taking the standard values not the values which i stored in my internal table(LIST)..
Can any one tell me how to link that internal table to field catalog so that i can see the added new fields in my alv report..
Please help its very urgent.
2008 Jun 11 7:30 AM
You also need to change a content of Field Catlogue. It should refere an your Internal table rather than pointing standard Internal Table.
Hope it is helpful.
Thanks - Chetan
2008 Jun 11 7:35 AM
Hi Chetan ,
I know i have to change the content of field catalogue and refer my internal table.
but there they are asking for the ref field name and table
If i give my table name it gives a dump and if i give the reference field name of the standard one and table name of my internal table it display but picks the value from the standard table.
2008 Jun 11 8:13 AM
Tell me a line no where FM of displaying ALV you are touching on.
Thanks ,
Chetan.
2008 Jun 11 8:27 AM
i am trying to add the field of my internal table to the field catalogue
fc_flat
like
fc_flat-fieldname = 'LQUANT'.
fc_flat-ref_tabname = 'ZSTRUC_ALV'.
fc_flat-ref_fieldname = 'LQUANT'.
INSIDE THE PERFORM build_fieldcatalog.
AT LINE NUMBER...1176
but its giving dump as for Field Symbols..
not getting how to proceed .
2008 Jun 12 5:14 AM
Hi All,
My problem is solved now but these alll ways didnt helped.
Actually the change was required in the runtime table structure rtt.
I added my fileds there and it worked.
Thanks for ur help.
2008 Jun 11 7:39 AM
Hi,
In this program RM07DOCS, they were taken itab structure
itab structure declared in include program RM07DOCS_GENERATED .So u will also modified this include program.If u possible u will modify include program first.
2008 Jun 11 7:41 AM
hi monalisa,
after u add ur tables in list table ,ctreate 1 more internal table with tht fields and select data into tht fields based on ur condition thn move tht data into ur final internal table i.e list.
now define these in fieldcatelog for fc_hier or fc_flat.
reward points if hlpful.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |