Hi all,
Please help me to solve this problem.I am using this code in my report i want to add as_output fields to the end of gs_output.Please tell me what value i have to use as the index in the below code.
data: gt_output type table of zztr_loan_property_guarantees,
af_output type table of zztr_loan_property_guarantees,
as_output type zztr_loan_property_guarantees,
gs_output type zztr_loan_property_guarantees.
*-Select Property Guarantees
select *
from ztgtee
into corresponding fields of table gt_output
where bukrs in s_bukrs
and ranl in s_ranl
and zpgtee in s_zpgtee
and zpgtee_legacy in s_legacy
and zpgtee_type in s_type
and zdate in s_zdate
and zpgtee_ie in s_ie.
*-Select Property Guarantees for Annex/Frontier Refno
loop at i_vdarl.
select *
from ztgtee
into corresponding fields of table af_output
where bukrs in s_bukrs
and ranl eq i_vdarl-refer
and zpgtee in s_zpgtee
and zpgtee_legacy in s_legacy
and zpgtee_type in s_type
and zdate in s_zdate
and zpgtee_ie in s_ie.
loop at af_output into as_output.
modify gt_output from as_output index .
endloop.
endloop.
WHERE zztr_loan_property_guarantees is the alv structure for the program.
Thanx in Advance.
Regards,
Mamatha