12-29-2014 10:13 AM
Hi Experts,
Could some one help me to populate the dynamic alv using vendor and document number. my requirement is as in below screenshot..
12-29-2014 10:58 AM
hi siva,
I think you should try to make this report using alv hierarchical grid.
12-29-2014 10:59 AM
Hi Siva,
below is the process to create a dynamic internal table.
1. Create a variable LVC_T_FCAT.
2. Append the total No of Vendor Information and give a proper FIELD_NAME (like Vendore No).
parameters: fieldname
intlen
datatype
3. Use below class to create internal table
Cl_ALV_TABLE_CREATE=>create_dynamic_table
exporting
it_fi** = LVC_T_FCAT
importing
ep_tab** = t_table (type data)
4. assign T_table->* <it>
5. create data wa(type data) Like line of <IT>.
6. Assign wa->* <WA>.
after table to update the information in your dynamic table, use below statement (to read / update ).
ASSIGN COMPONENT (FIELD_NAME) of STRUCTURE <WA> to <VAL>
Hear <val> type any.
Regard.
Praveer.
12-29-2014 11:15 AM
Hi Siva,
How to create a dynamical internal table refer this link, http://wiki.scn.sap.com/wiki/display/Snippets/Example+-+create+a+dynamic+internal+table
And populated value to this dynamical itab, you need this grammar, 'ASSIGN COMPONENT fieldName OF STRUCTURE <dyn_wa> TO <fs>'.
regards,
Archer
12-30-2014 5:42 AM
Hi Experts,
Could you please let me know, how can I display the values as below in ALV?.
I have a vendor and quotation values in GT_EKKO table. please provide me if any code similar to this.
Vendor | 110004994 | 110004995 | 110004996 |
Quotation No. | 6000000715 | 6000000716 | 6000000717 |
12-30-2014 5:54 AM
Hi Siva,
You cannot change your requirement again n again and ask us to provide the solution every time.
Please check with your team and get the final requirement and then try to search yourself first, if not getting any solution then post here.
Regards.
Praveer.
12-30-2014 6:02 AM
Hi Praveer,
Thanks for your help, it is my actual requirement but I posted the wrong image earlier. I was not able find the solution, that is why I asked here and I don't have much knowledge on Dynamic ALV.
Sorry for the wrong image posting.
Help me to provide the solution.
12-30-2014 6:12 AM