Code: Alles auswählen.
loop at lv_goods_partnr into wa_lv_goods_partnr.
case wa_lv_goods_partnr-partn_role.
when 'AG'.
move wa_lv_goods_partnr-partn_role to gt_order_partnr-partn_role.
move wa_lv_goods_partnr-partn_NUMB to gt_order_partnr-partn_NUMB.
append gt_order_partnr.
when 'RE'.
move wa_lv_goods_partnr-partn_role to gt_order_partnr-partn_role.
move wa_lv_goods_partnr-partn_NUMB to gt_order_partnr-partn_NUMB.
append gt_order_partnr.
when 'RG'.
move wa_lv_goods_partnr-partn_role to gt_order_partnr-partn_role.
move wa_lv_goods_partnr-partn_NUMB to gt_order_partnr-partn_NUMB.
append gt_order_partnr.
when 'SP'.
move wa_lv_goods_partnr-partn_role to gt_order_partnr-partn_role.
move wa_lv_goods_partnr-partn_NUMB to gt_order_partnr-partn_NUMB.
append gt_order_partnr.
when 'WE'.
move-corresponding wa_lv_goods_partnr to gt_order_partnr. "Franke, 01.2008
* move 'EN' to gt_order_partnr-langu. "Franke, 01.2008
* move lv_goods_header-langu_iso to gt_order_partnr-langu. "Franke, 01.2008
move wa_goods_header-langu_sap to gt_order_partnr-langu. "Franke, 01.2008
append gt_order_partnr.
endcase.
endloop.