Sie sind auf Seite 1von 10

types:

begin of struct_t_copa_agg,
comp_code type /bi0/oicomp_code ,
material type /bi0/oimaterial ,

pcompany type /bi0/oipcompany ,


g_cwwmr type /bi0/oig_cwwmr ,
fiscvarnt type /bi0/oifiscvarnt ,
fiscper type /bi0/oifiscper ,
/BIC/ZG_AVVACO type /BIC/OIZG_AVVACO,
g_avv520 type /bi0/oig_avv520 ,
g_avv510 type /bi0/oig_avv510 ,
g_avv3sf type /bi0/oig_avv3sf ,
g_avv3fp type /bi0/oig_avv3fp ,
g_avvaci type /bi0/oig_avvaci ,
g_avvavp type /bi0/oig_avvavp ,
g_avvdpr type /bi0/oig_avvdpr ,
g_avvene type /bi0/oig_avvene ,
g_avven1 type /bi0/oig_avven1 ,
g_avvexc type /bi0/oig_avvexc ,
g_avvifp type /bi0/oig_avvifp ,
g_avvisf type /bi0/oig_avvisf ,
g_avvinm type /bi0/oig_avvinm ,
g_avvlab type /bi0/oig_avvlab ,
g_avvmnt type /bi0/oig_avvmnt ,
g_avvna type /bi0/oig_avvna ,
g_avvpac type /bi0/oig_avvpac ,
g_avvpro type /bi0/oig_avvpro ,
g_avvqco type /bi0/oig_avvqco ,
g_avvsbc type /bi0/oig_avvsbc ,
g_avv006 type /bi0/oig_avv006 ,
g_avv110 type /bi0/oig_avv110 ,
g_avv632 type /bi0/oig_avv632 ,
g_avv040 type /bi0/oig_avv040 ,
g_avv041 type /bi0/oig_avv041 ,
g_avv042 type /bi0/oig_avv042 ,
g_avv043 type /bi0/oig_avv043 ,
vol_rebate type /bi0/oivol_rebate ,
g_avvot type /bi0/oig_avvot ,
g_avvsko type /bi0/oig_avvsko ,
g_avv004 type /bi0/oig_avv004 ,
g_avv012 type /bi0/oig_avv012 ,
g_avv613 type /bi0/oig_avv613 ,
g_avv031 type /bi0/oig_avv031 ,
g_avv230 type /bi0/oig_avv230 ,
g_avvdpf type /bi0/oig_avvdpf ,
g_avvdpv type /bi0/oig_avvdpv ,
g_avvdo type /bi0/oig_avvdo ,
g_avv22f type /bi0/oig_avv22f ,
g_avv220 type /bi0/oig_avv220 ,
g_avvenf type /bi0/oig_avvenf ,
g_avvenv type /bi0/oig_avvenv ,
g_avv120 type /bi0/oig_avv120 ,
g_avv005 type /bi0/oig_avv005 ,
g_avv064 type /bi0/oig_avv064 ,
g_avvdbo type /bi0/oig_avvdbo ,
g_avvdcd type /bi0/oig_avvdcd ,
g_avvdre type /bi0/oig_avvdre ,
g_avvfgd type /bi0/oig_avvfgd ,
g_avvfgf type /bi0/oig_avvfgf ,
g_avvfgp type /bi0/oig_avvfgp ,
g_avvfc type /bi0/oig_avvfc ,
g_avvfl type /bi0/oig_avvfl ,
g_avv062 type /bi0/oig_avv062 ,
g_avv061 type /bi0/oig_avv061 ,
g_avvfr type /bi0/oig_avvfr ,
g_avv001 type /bi0/oig_avv001 ,
g_avv420 type /bi0/oig_avv420 ,
g_avv410 type /bi0/oig_avv410 ,
g_avv011 type /bi0/oig_avv011 ,
g_avv010 type /bi0/oig_avv010 ,
g_avv611 type /bi0/oig_avv611 ,
g_avv240 type /bi0/oig_avv240 ,
g_avvint type /bi0/oig_avvint ,
g_avv910 type /bi0/oig_avv910 ,
g_avvsrk type /bi0/oig_avvsrk ,
g_avvlbf type /bi0/oig_avvlbf ,
g_avvlbv type /bi0/oig_avvlbv ,
g_avv612 type /bi0/oig_avv612 ,
g_avv210 type /bi0/oig_avv210 ,
g_avv032 type /bi0/oig_avv032 ,
g_avv633 type /bi0/oig_avv633 ,
g_avv630 type /bi0/oig_avv630 ,
g_avv250 type /bi0/oig_avv250 ,
g_avvmg type /bi0/oig_avvmg ,
g_avvmk type /bi0/oig_avvmk ,
g_avv020 type /bi0/oig_avv020 ,
g_avv021 type /bi0/oig_avv021 ,
g_avv999 type /bi0/oig_avv999 ,
g_arabat type /bi0/oig_arabat ,
g_avv050 type /bi0/oig_avv050 ,
g_avv051 type /bi0/oig_avv051 ,
g_avv008 type /bi0/oig_avv008 ,
g_aausfr type /bi0/oig_aausfr ,
g_avvohs type /bi0/oig_avvohs ,
g_avv130 type /bi0/oig_avv130 ,
g_avvpcd type /bi0/oig_avvpcd ,
g_avvpcf type /bi0/oig_avvpcf ,
g_avvpcp type /bi0/oig_avvpcp ,
g_avv065 type /bi0/oig_avv065 ,
g_avv060 type /bi0/oig_avv060 ,
g_avv610 type /bi0/oig_avv610 ,
g_avvpm type /bi0/oig_avvpm ,
g_avv620 type /bi0/oig_avv620 ,
g_avv260 type /bi0/oig_avv260 ,
g_avvohp type /bi0/oig_avvohp ,
g_avvpr type /bi0/oig_avvpr ,
g_avv270 type /bi0/oig_avv270 ,
g_avvqc type /bi0/oig_avvqc ,
g_avv007 type /bi0/oig_avv007 ,
g_avv030 type /bi0/oig_avv030 ,
g_avvrmd type /bi0/oig_avvrmd ,
g_avvrmf type /bi0/oig_avvrmf ,
g_avvrmp type /bi0/oig_avvrmp ,
g_avvrma type /bi0/oig_avvrma ,
g_avvrd type /bi0/oig_avvrd ,
g_avv009 type /bi0/oig_avv009 ,
g_aerlos type /bi0/oig_aerlos ,
g_avvima type /bi0/oig_avvima ,
g_avvrnd type /bi0/oig_avvrnd ,
g_avv852 type /bi0/oig_avv852 ,
g_avv851 type /bi0/oig_avv851 ,
g_avv811 type /bi0/oig_avv811 ,
g_avv823 type /bi0/oig_avv823 ,
g_avv822 type /bi0/oig_avv822 ,
g_avv82f type /bi0/oig_avv82f ,
g_avv812 type /bi0/oig_avv812 ,
g_avv842 type /bi0/oig_avv842 ,
g_avv841 type /bi0/oig_avv841 ,
g_avv824 type /bi0/oig_avv824 ,
g_avv821 type /bi0/oig_avv821 ,
g_avv825 type /bi0/oig_avv825 ,
g_avv99s type /bi0/oig_avv99s ,
g_avv813 type /bi0/oig_avv813 ,
g_avv826 type /bi0/oig_avv826 ,
g_avv827 type /bi0/oig_avv827 ,
g_avv832 type /bi0/oig_avv832 ,
g_avvsl type /bi0/oig_avvsl ,
g_avv100 type /bi0/oig_avv100 ,
g_avv022 type /bi0/oig_avv022 ,
g_avv023 type /bi0/oig_avv023 ,
g_avv631 type /bi0/oig_avv631 ,
g_avv003 type /bi0/oig_avv003 ,
g_avrprs type /bi0/oig_avrprs ,
g_avv320 type /bi0/oig_avv320 ,
g_avvsub type /bi0/oig_avvsub ,
g_avv063 type /bi0/oig_avv063 ,
g_avv002 type /bi0/oig_avv002 ,
g_qabsmg type /bi0/oig_qabsmg ,
g_uabsmg type /bi0/oig_uabsmg,

end of struct_t_copa_agg.

types:
begin of struct_t_copa,
comp_code type /bi0/oicomp_code ,
material type /bi0/oimaterial ,
customer type /bi0/oicustomer,
country type /b43/oicountry ,
pcompany type /bi0/oipcompany ,
g_cwwmr type /bi0/oig_cwwmr ,
fiscvarnt type /bi0/oifiscvarnt ,
fiscper type /bi0/oifiscper ,
g_avv520 type /bi0/oig_avv520 ,
/BIC/ZG_AVVACO type /BIC/OIZG_AVVACO,
g_avv510 type /bi0/oig_avv510 ,
g_avv3sf type /bi0/oig_avv3sf ,
g_avv3fp type /bi0/oig_avv3fp ,
g_avvaci type /bi0/oig_avvaci ,
g_avvavp type /bi0/oig_avvavp ,
g_avvdpr type /bi0/oig_avvdpr ,
g_avvene type /bi0/oig_avvene ,
g_avven1 type /bi0/oig_avven1 ,
g_avvexc type /bi0/oig_avvexc ,
g_avvifp type /bi0/oig_avvifp ,
g_avvisf type /bi0/oig_avvisf ,
g_avvinm type /bi0/oig_avvinm ,
g_avvlab type /bi0/oig_avvlab ,
g_avvmnt type /bi0/oig_avvmnt ,
g_avvna type /bi0/oig_avvna ,
g_avvpac type /bi0/oig_avvpac ,
g_avvpro type /bi0/oig_avvpro ,
g_avvqco type /bi0/oig_avvqco ,
g_avvsbc type /bi0/oig_avvsbc ,
g_avv006 type /bi0/oig_avv006 ,
g_avv110 type /bi0/oig_avv110 ,
g_avv632 type /bi0/oig_avv632 ,
g_avv040 type /bi0/oig_avv040 ,
g_avv041 type /bi0/oig_avv041 ,
g_avv042 type /bi0/oig_avv042 ,
g_avv043 type /bi0/oig_avv043 ,
vol_rebate type /bi0/oivol_rebate ,
g_avvot type /bi0/oig_avvot ,
g_avvsko type /bi0/oig_avvsko ,
g_avv004 type /bi0/oig_avv004 ,
g_avv012 type /bi0/oig_avv012 ,
g_avv613 type /bi0/oig_avv613 ,
g_avv031 type /bi0/oig_avv031 ,
g_avv230 type /bi0/oig_avv230 ,
g_avvdpf type /bi0/oig_avvdpf ,
g_avvdpv type /bi0/oig_avvdpv ,
g_avvdo type /bi0/oig_avvdo ,
g_avv22f type /bi0/oig_avv22f ,
g_avv220 type /bi0/oig_avv220 ,
g_avvenf type /bi0/oig_avvenf ,
g_avvenv type /bi0/oig_avvenv ,
g_avv120 type /bi0/oig_avv120 ,
g_avv005 type /bi0/oig_avv005 ,
g_avv064 type /bi0/oig_avv064 ,
g_avvdbo type /bi0/oig_avvdbo ,
g_avvdcd type /bi0/oig_avvdcd ,
g_avvdre type /bi0/oig_avvdre ,
g_avvfgd type /bi0/oig_avvfgd ,
g_avvfgf type /bi0/oig_avvfgf ,
g_avvfgp type /bi0/oig_avvfgp ,
g_avvfc type /bi0/oig_avvfc ,
g_avvfl type /bi0/oig_avvfl ,
g_avv062 type /bi0/oig_avv062 ,
g_avv061 type /bi0/oig_avv061 ,
g_avvfr type /bi0/oig_avvfr ,
g_avv001 type /bi0/oig_avv001 ,
g_avv420 type /bi0/oig_avv420 ,
g_avv410 type /bi0/oig_avv410 ,
g_avv011 type /bi0/oig_avv011 ,
g_avv010 type /bi0/oig_avv010 ,
g_avv611 type /bi0/oig_avv611 ,
g_avv240 type /bi0/oig_avv240 ,
g_avvint type /bi0/oig_avvint ,
g_avv910 type /bi0/oig_avv910 ,
g_avvsrk type /bi0/oig_avvsrk ,
g_avvlbf type /bi0/oig_avvlbf ,
g_avvlbv type /bi0/oig_avvlbv ,
g_avv612 type /bi0/oig_avv612 ,
g_avv210 type /bi0/oig_avv210 ,
g_avv032 type /bi0/oig_avv032 ,
g_avv633 type /bi0/oig_avv633 ,
g_avv630 type /bi0/oig_avv630 ,
g_avv250 type /bi0/oig_avv250 ,
g_avvmg type /bi0/oig_avvmg ,
g_avvmk type /bi0/oig_avvmk ,
g_avv020 type /bi0/oig_avv020 ,
g_avv021 type /bi0/oig_avv021 ,
g_avv999 type /bi0/oig_avv999 ,
g_arabat type /bi0/oig_arabat ,
g_avv050 type /bi0/oig_avv050 ,
g_avv051 type /bi0/oig_avv051 ,
g_avv008 type /bi0/oig_avv008 ,
g_aausfr type /bi0/oig_aausfr ,
g_avvohs type /bi0/oig_avvohs ,
g_avv130 type /bi0/oig_avv130 ,
g_avvpcd type /bi0/oig_avvpcd ,
g_avvpcf type /bi0/oig_avvpcf ,
g_avvpcp type /bi0/oig_avvpcp ,
g_avv065 type /bi0/oig_avv065 ,
g_avv060 type /bi0/oig_avv060 ,
g_avv610 type /bi0/oig_avv610 ,
g_avvpm type /bi0/oig_avvpm ,
g_avv620 type /bi0/oig_avv620 ,
g_avv260 type /bi0/oig_avv260 ,
g_avvohp type /bi0/oig_avvohp ,
g_avvpr type /bi0/oig_avvpr ,
g_avv270 type /bi0/oig_avv270 ,
g_avvqc type /bi0/oig_avvqc ,
g_avv007 type /bi0/oig_avv007 ,
g_avv030 type /bi0/oig_avv030 ,
g_avvrmd type /bi0/oig_avvrmd ,
g_avvrmf type /bi0/oig_avvrmf ,
g_avvrmp type /bi0/oig_avvrmp ,
g_avvrma type /bi0/oig_avvrma ,
g_avvrd type /bi0/oig_avvrd ,
g_avv009 type /bi0/oig_avv009 ,
g_aerlos type /bi0/oig_aerlos ,
g_avvima type /bi0/oig_avvima ,
g_avvrnd type /bi0/oig_avvrnd ,
g_avv852 type /bi0/oig_avv852 ,
g_avv851 type /bi0/oig_avv851 ,
g_avv811 type /bi0/oig_avv811 ,
g_avv823 type /bi0/oig_avv823 ,
g_avv822 type /bi0/oig_avv822 ,
g_avv82f type /bi0/oig_avv82f ,
g_avv812 type /bi0/oig_avv812 ,
g_avv842 type /bi0/oig_avv842 ,
g_avv841 type /bi0/oig_avv841 ,
g_avv824 type /bi0/oig_avv824 ,
g_avv821 type /bi0/oig_avv821 ,
g_avv825 type /bi0/oig_avv825 ,
g_avv99s type /bi0/oig_avv99s ,
g_avv813 type /bi0/oig_avv813 ,
g_avv826 type /bi0/oig_avv826 ,
g_avv827 type /bi0/oig_avv827 ,
g_avv832 type /bi0/oig_avv832 ,
g_avvsl type /bi0/oig_avvsl ,
g_avv100 type /bi0/oig_avv100 ,
g_avv022 type /bi0/oig_avv022 ,
g_avv023 type /bi0/oig_avv023 ,
g_avv631 type /bi0/oig_avv631 ,
g_avv003 type /bi0/oig_avv003 ,
g_avrprs type /bi0/oig_avrprs ,
g_avv320 type /bi0/oig_avv320 ,
g_avvsub type /bi0/oig_avvsub ,
g_avv063 type /bi0/oig_avv063 ,
g_avv002 type /bi0/oig_avv002 ,
g_qabsmg type /bi0/oig_qabsmg ,
g_uabsmg type /bi0/oig_uabsmg,

end of struct_t_copa.

types:
begin of struct_t_cust,
customer type /bi0/oicustomer ,
/b43/s_country type /b43/oicountry ,
end of struct_t_cust.

types:
begin of struct_t_cust_kosovo,
customer type /bi0/oicustomer ,
end of struct_t_cust_kosovo.

data: ls_data type _ty_s_tg_1.


data: lv_fiscper_to type rsfiscper.
data: lv_fiscper_from type rsfiscper.
data lt_copa type standard table of struct_t_copa.
data lt_copa_agg type standard table of struct_t_copa_agg.
data lt_cust type standard table of /bi0/pcustomer.
data lt_cust_kosovo type standard table of struct_t_cust_kosovo.
data ls_copa type struct_t_copa.
data ls_copa_agg type struct_t_copa_agg.
data ls_cust type /bi0/pcustomer.

field-symbols:
<fs_copa> type struct_t_copa,
<fs_copa_agg> type struct_t_copa_agg,
<fs_cust> type /bi0/pcustomer.

select fiscper from zfiscper into lv_fiscper_to.


endselect.

concatenate lv_fiscper_to+0(4) '001' into lv_fiscper_from.

select * from ZKOSOVO_CUST into corresponding fields of table


lt_cust_kosovo.

select * from /bi0/pcustomer into corresponding fields of table


lt_cust where objvers = 'A'.

loop at lt_cust assigning <fs_cust>.


READ TABLE lt_cust_kosovo WITH KEY CUSTOMER = <fs_cust>-CUSTOMER
TRANSPORTING NO FIELDS.
IF SY-SUBRC = 0.
<fs_cust>-/b43/s_country = 'XK'.
ENDIF.
if <fs_cust>-/b43/s_country = 'RS'.

<fs_cust>-/b43/s_country = 'CS'.
endif.
endloop.

select comp_code material customer country pcompany


g_cwwmr g_uabsmg
sum( g_aerlos ) as g_aerlos
sum( g_avvdre ) as g_avvdre
sum( g_avvint ) as g_avvint
sum( g_avv001 ) as g_avv001
sum( g_avv010 ) as g_avv010
sum( g_avv011 ) as g_avv011
sum( g_avv009 ) as g_avv009
sum( g_avv002 ) as g_avv002
sum( g_avv003 ) as g_avv003
sum( g_avv004 ) as g_avv004
sum( g_avv005 ) as g_avv005
sum( g_avv006 ) as g_avv006
sum( g_avv007 ) as g_avv007
sum( g_avv008 ) as g_avv008
sum( g_avv012 ) as g_avv012
sum( vol_rebate ) as vol_rebate
sum( g_arabat ) as g_arabat
sum( g_avvsrk ) as g_avvsrk
sum( g_avvsko ) as g_avvsko
sum( g_avvrnd ) as g_avvrnd
sum( g_avv520 ) as g_avv520
sum( g_avv510 ) as g_avv510
sum( g_avv420 ) as g_avv420
sum( g_avv410 ) as g_avv410
sum( g_avvot ) as g_avvot
sum( g_avv130 ) as g_avv130
sum( g_avv110 ) as g_avv110
sum( g_avv120 ) as g_avv120
sum( g_avv230 ) as g_avv230
sum( g_avv210 ) as g_avv210
sum( g_avv220 ) as g_avv220
sum( g_avv22f ) as g_avv22f
sum( g_avv250 ) as g_avv250
sum( g_avv999 ) as g_avv999
sum( g_avv260 ) as g_avv260
sum( g_avv3sf ) as g_avv3sf
sum( g_avv3fp ) as g_avv3fp
sum( g_avvifp ) as g_avvifp
sum( g_avvisf ) as g_avvisf
sum( g_avvpac ) as g_avvpac
sum( g_avv320 ) as g_avv320
sum( /BIC/ZG_AVVACO ) as /BIC/ZG_AVVACO
sum( g_qabsmg ) as g_qabsmg
sum( g_avvdpr ) as g_avvdpr
sum( g_avvlab ) as g_avvlab
sum( g_avvqco ) as g_avvqco
sum( g_avvpro ) as g_avvpro
sum( g_avvna ) as g_avvna
sum( g_avvmnt ) as g_avvmnt
sum( g_avvinm ) as g_avvinm
sum( g_avven1 ) as g_avven1
sum( g_avvene ) as g_avvene
sum( g_avvsbc ) as g_avvsbc
from /b43/acopa_it00
into CORRESPONDING FIELDS OF TABLE lt_copa where
curtype = '10' and
vtype = '010' and
co_area = '1000' and

fiscper between lv_fiscper_from and lv_fiscper_to


group by comp_code material customer country pcompany
g_cwwmr g_uabsmg

loop at lt_copa assigning <fs_copa>.


clear ls_copa_agg.

READ TABLE lt_cust_kosovo WITH KEY CUSTOMER = <fs_copa>-CUSTOMER


TRANSPORTING NO FIELDS.
IF SY-SUBRC = 0.
<fs_copa>-country = 'XK'.
<fs_copa>-g_cwwmr = 'XK'.
ENDIF.

if <fs_copa>-g_cwwmr = 'RS'.

<fs_copa>-g_cwwmr = 'CS'.
endif.

clear ls_cust.
read table lt_cust into ls_cust with key customer =
<fs_copa>-customer .

if <fs_copa>-country is initial.
if <fs_copa>-g_cwwmr is initial.

<fs_copa>-g_cwwmr = ls_cust-/b43/s_country.
endif.

else.
<fs_copa>-g_cwwmr = <fs_copa>-country .
endif.

if <fs_copa>-pcompany is initial.
<fs_copa>-pcompany = ls_cust-pcompany.
endif.

<fs_copa>-fiscper = lv_fiscper_to.
<fs_copa>-fiscvarnt = 'K4'.

move-corresponding <fs_copa> to ls_copa_agg.


collect ls_copa_agg into lt_copa_agg.

endloop.

loop at RESULT_PACKAGE assigning <result_fields>.


clear ls_data.
move-corresponding <result_fields> to ls_data.

<result_fields>-fiscper = lv_fiscper_to.
<result_fields>-fiscvarnt = 'K4'.

loop at lt_copa_agg into ls_copa_agg where


comp_code = <result_fields>-comp_code and
material = <result_fields>-material and
pcompany = <result_fields>-pcompany and
fiscper = <result_fields>-fiscper and
fiscvarnt = <result_fields>-fiscvarnt and
g_cwwmr = <result_fields>-/b43/s_hfmarket .

<result_fields>-/b43/s_rev_copa = ls_copa_agg-g_aerlos +
ls_copa_agg-g_avvdre
+ ls_copa_agg-g_avvint .

<result_fields>-/b43/s_dsc_copa = ls_copa_agg-g_avv001.

<result_fields>-/b43/s_dsc_ics = ls_copa_agg-g_avv010 +
ls_copa_agg-g_avv011.
<result_fields>-/b43/s_dsc_ret = ls_copa_agg-g_avv009.
<result_fields>-/b43/s_dsc_cn = ls_copa_agg-g_avv002 +
ls_copa_agg-g_avv003
+ ls_copa_agg-g_avv004
+ ls_copa_agg-g_avv005
+ ls_copa_agg-g_avv006
+ ls_copa_agg-g_avv007
+ ls_copa_agg-g_avv008

+ ls_copa_agg-g_avv012 + ls_copa_agg-vol_rebate +
ls_copa_agg-g_arabat +
ls_copa_agg-g_avvsrk +
ls_copa_agg-g_avvsko +
ls_copa_agg-g_avvrnd .

<result_fields>-/b43/s_purprice = ls_copa_agg-g_avv520 +
ls_copa_agg-g_avv510 +
ls_copa_agg-g_avv420 + ls_copa_agg-g_avv410 +
ls_copa_agg-g_avvot.
<result_fields>-/B43/S_RAW_MAT = ls_copa_agg-g_avv110 +
ls_copa_agg-g_avv120.

<result_fields>-/b43/s_pack = ls_copa_agg-g_avv130 .
ls_data-/b43/s_raw_mat = ls_copa_agg-g_avv110 +
ls_copa_agg-g_avv120 .
<result_fields>-/b43/s_depr = ls_copa_agg-g_avv230.
<result_fields>-/b43/s_labor = ls_copa_agg-g_avv210.
<result_fields>-/b43/s_poh = ls_copa_agg-g_avv220 +
ls_copa_agg-g_avv22f +
ls_copa_agg-g_avv240 + ls_copa_agg-g_avv250 +
ls_copa_agg-g_avv999 +
ls_copa_agg-g_avv270 + ls_copa_agg-g_avv260 .
<result_fields>-quantity = ls_copa_agg-g_qabsmg .
<result_fields>-unit = ls_copa_agg-g_uabsmg.

<result_fields>-/B43/S_PURPR_AVR = ls_copa_agg-g_avv3sf +
ls_copa_agg-g_avv3fp +
ls_copa_agg-g_avvifp + ls_copa_agg-g_avvisf.

<result_fields>-/B43/S_PACK_AVR = ls_copa_agg-g_avvpac.
<result_fields>-/B43/S_RMAT_AVR = ls_copa_agg-/BIC/ZG_AVVACO +
ls_copa_agg-g_avvexc.

<result_fields>-/B43/S_DEPR_AVR = ls_copa_agg-g_avvdpr .
<result_fields>-/B43/S_LABOR_AVR = ls_copa_agg-g_avvlab .
<result_fields>-/B43/S_POH_AVR = ls_copa_agg-g_avvqco +
ls_copa_agg-g_avvpro +
ls_copa_agg-g_avvna +
ls_copa_agg-g_avvmnt +
ls_copa_agg-g_avvinm +
ls_copa_agg-g_avven1 +
ls_copa_agg-g_avvene .

<result_fields>-/B43/S_SUBC = ls_copa_agg-g_avv320.
<result_fields>-/B43/S_SUBC_AVR = ls_copa_agg-g_avvsbc.

endloop.

endloop.

Das könnte Ihnen auch gefallen