2014 Jan 08 3:08 PM
Hi All
I am passing obj-ID into FM and i am getting gt_history,
gt_history having fields goods receipt(GR) & subtype.
GR subtype
4000 CF
4001 CF
4003 IV
In my alv output i am getting only 4000 CF row.I want 4001 also display in the same row of alv like 4000/4001 CF.
In feature this GR can have more values for same subtype,
OR
is it possible to dispaly rows as it is in internal table in output alv?
Please help on this
Thanks
Vamsi
2014 Jan 08 3:14 PM
2014 Jan 08 5:13 PM
Hi Neal
Sorry i am passing header data to FM and getting item data
2014 Jan 08 6:53 PM
2014 Jan 08 5:49 PM
Hi Mohan,
data: field(100) type c.
Can you write a code like below.
Loop at Itab.
concatenate itab-gr '/' field into field.
at end of subtype.
final-gr = field.
final-subtype = itab-subtype.
append final.
clear: final, field.
endat.
Endloop.
Arivazhagan S
2014 Jan 08 5:54 PM
Use hierarchical ALV it will full fill your requirement. FM is REUSE_ALV_HIERSEQ_LIST_DISPLAY.
Else you can go with classical report also.
Cheers,
Prakash