07-31-2007 9:10 AM
hi friends,
I want to display a report with multiple characteristc values in different columns for each instance, For example there are 2 instances and they have multiple characteristics , so all characteristics of each instance should be displayed in multiple columns in one by one in the same row.
Thanks in advance.
RK
07-31-2007 5:47 PM
Hi!
You can try this code. Consider that you have characteristics stored in one internal table IT_CHAR and instances in another table IT_INST.
LOOP AT IT_INST.
WRITE:/ 'Instance'.
LOOP AT IT_CHAR WHERE <col_name> = IT_INST-<col_name>.
WRITE: IT_CHAR-<col_name>.
ENDLOOP.
ENDLOOP.
07-31-2007 5:47 PM
Hi!
You can try this code. Consider that you have characteristics stored in one internal table IT_CHAR and instances in another table IT_INST.
LOOP AT IT_INST.
WRITE:/ 'Instance'.
LOOP AT IT_CHAR WHERE <col_name> = IT_INST-<col_name>.
WRITE: IT_CHAR-<col_name>.
ENDLOOP.
ENDLOOP.
08-01-2007 5:53 AM
hi,
You are right ,but I want display output in ALV, so In Runtime a dynamic INTERNAL table and its corresponding FIELDCAT should be generated ,
but I don't know the logic to develop such output