ZFI19135逐行循环科目+维度的期初数和期末数

SORT IT_KMYE BY XH GKKMBH HKONT ERP_ZZFI02 ERP_ZZFI03 ERP_ZZFI04 ERP_ZZFI09 ERP_ZZFI10 ERP_ZDNLX ERP_ZRZLX ERP_ZYHZH ERP_ZZHSX. " SAP科目和管控科目存在多对一
DELETE ADJACENT DUPLICATES FROM IT_KMYE COMPARING XH GKKMBH HKONT ERP_ZZFI02 ERP_ZZFI03 ERP_ZZFI04 ERP_ZZFI09 ERP_ZZFI10 ERP_ZDNLX ERP_ZRZLX ERP_ZYHZH ERP_ZZHSX.

"获取所有带科目余额的SAP科目
REFRESH IT_GK_KMYE .
REFRESH IT_HKONT.

LOOP AT IT_KMYE .
IT_HKONT-HKONT = IT_KMYE-HKONT .

  • "获取科目余额 it_kmye-sapqmye
    CLEAR ITAB_WA .
    READ TABLE ITAB INTO ITAB_WA WITH KEY SAKNR = IT_KMYE-HKONT
    ZZFI09 = IT_KMYE-ERP_ZZFI09
    ZZFI10 = IT_KMYE-ERP_ZZFI10
    ZZFI02 = IT_KMYE-ERP_ZZFI02
    ZZFI03 = IT_KMYE-ERP_ZZFI03
    ZZFI04 = IT_KMYE-ERP_ZZFI04
    ZYHZH = IT_KMYE-ERP_ZYHZH
    ZZHSX = IT_KMYE-ERP_ZZHSX
    ZZFIELD1 = IT_KMYE-ERP_ZDNLX
    ZZFIELD2 = IT_KMYE-ERP_ZRZLX.
    IT_KMYE-SAPQMYE = ITAB_WA-ENDINGBALANCE.
    IT_KMYE-SAPQCYE = ITAB_WA-OPENINGBALANCE.
    MODIFY IT_KMYE .
    ENDLOOP.
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值