‎2010 Aug 26 3:33 PM
Hi Gurus;
I need multi level itab or multi level structure. I will use one-to-many relationship. For example ;
Name-Surname-Birthday-(School1)-Mather Name
(School2)
(School3)
One record but many school. or
House Number-Flat Number-(Billing Date1-Billing Number1)
(Billing Date2-Billing Number2)
(Billing Date3-Billing Number3)
If there are any info for this subject , pleace could she/he send me and share information?
Thanks.
Name Surname School Mather Name
N S S1 G
S2
S3
Z T S1 E
S2
S3
‎2010 Aug 26 5:46 PM
You can use Deep structures. Something like FCO_DOC_POSLIST which has an internal table within a structure.
‎2010 Aug 26 5:04 PM
Check this Blog my Marcin link:[http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/19958] [original link is broken] [original link is broken] [original link is broken];
‎2010 Aug 26 5:46 PM
You can use Deep structures. Something like FCO_DOC_POSLIST which has an internal table within a structure.
‎2010 Aug 26 7:33 PM
Hi ,
Check the sample code
TYPES:
Type for CVP pair GUID
begin of x_cvp_val,
zzcvpair type zcvpair, "CV Pair
charc type cu_charc, "Characteristic Name
value type cux_value, "Characteristic Value
end of x_cvp_val,
Type for Component table,
begin of x_compo_tab,
child_mat type matnr, "Material number
object_type type zobject_type, "OutPut Object Type
part_typ type zzparentparttype, "Part type
quantity type kmpmg, "Quantity
end of x_compo_tab,
Type for P-function
begin of x_p_func,
plant type werks_d, "Plant
zzkmat type matnr, "Material Number
proxy_mat type matnr, "Proxy Mat
cvp_guid type char32, "CVP pair GUID
compo_tab type x_compo_tab occurs 0, "Component Table
char_det type x_cvp_val occurs 0, "Charecteristic details table
end of x_p_func.
data: wa_p_func type x_p_func,
i_p_func type standard table of x_p_func.
Thanks
Subhankar