2014 Jun 25 2:53 PM
Hello Fellows!
I would like to know if you have any idea on how to do this requirement i got.
A table must be printed as an ALV.
This table must contain:
Customer
Customer Phone ( amount of phones = n)
Customer mail ( amount of mails = n)
Address ( 1 )
Gender ( 1 )
Number of sons ( amount of sons = n)
*This are not the real fields i must print, there are just as example
So, I need to create an ALV, and this ALV must have Dinamic amount of colums ( n ) JUST for some fields, and those fields are in the middle of the table.
My data table its created by PK (lets say for this example PK = Customer) and if there is a new phone, a new line its appended in a loop, if there is a new mail the same, and so.
If you can guide me on how to to this, or where I can find something related to this, it will be appreciated !
Thanks!
2014 Jun 25 3:23 PM
Hi Santiago,
Below link can help you with Dynamic table
http://scn.sap.com/docs/DOC-42525
Regards,
Ganesh Lathi.
Hello Fellows!
I would like to know if you have any idea on how to do this requirement i got.
A table must be printed as an ALV.
This table must contain:
Customer
Customer Phone ( amount of phones = n)
Customer mail ( amount of mails = n)
Address ( 1 )
Gender ( 1 )
Number of sons ( amount of sons = n)
*This are not the real fields i must print, there are just as example
So, I need to create an ALV, and this ALV must have Dinamic amount of colums ( n ) JUST for some fields, and those fields are in the middle of the table.
My data table its created by PK (lets say for this example PK = Customer) and if there is a new phone, a new line its appended in a loop, if there is a new mail the same, and so.
If you can guide me on how to to this, or where I can find something related to this, it will be appreciated !
Thanks!
2014 Jun 25 3:23 PM
Hi Santiago,
Below link can help you with Dynamic table
http://scn.sap.com/docs/DOC-42525
Regards,
Ganesh Lathi.
2014 Jul 01 1:56 PM
Thanks for your help Ganesh, i've finished the program and the Dynamic ALV worked great using Field Symbols!
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |