SAP已用信贷额度计算

信贷风险总额 即 已用信贷额计算方法:

 

应收总额   +    特别往来债务 在表KNKK中

(SKFOR)   (SSOBL) ~~~~

↓                ↓
信贷风险总额==应收总额+销售值+(-特别往来债务)
                          ↓↓
                      (销售值= 未清订单+未清交货+未记账发票)

                     ~~~~~~~~~~~~~~↓~~~~~~~~~~~~~~~~~~~~~~
                               S066-OEIKW

未清交货  +  未记账发票  在表S067

              (OLIKW)       (OFAKW)

-------------------------------------------------------------
OBLIG = KNKK-SKFOR + KNKK-SSOBL + KNKK-SAUFT
KNKK-SAUFT = SD_CREDIT_EXPOSURE 
的3个返回值相加

--------------------------------------------------------------------------------------------------------------------------

SELECT KKBER KNKLI OEIKW

    INTO CORRESPONDING FIELDS OF TABLE IT_S066

    FROM S066

    FOR ALL ENTRIES IN IT_KNB1

    WHERE KKBER = IT_KNB1-BUKRS

    AND   KNKLI = IT_KNB1-KUNNR.

  SELECT KKBER KNKLI OLIKW OFAKW

    INTO CORRESPONDING FIELDS OF TABLE IT_S067

    FROM S067

    FOR ALL ENTRIES IN IT_KNB1

    WHERE KKBER = IT_KNB1-BUKRS

AND   KNKLI = IT_KNB1-KUNNR.

T-CODE:FD33

SAP已用信贷额度计算_第1张图片

 

http://blog.csdn.net/wangjolly/article/details/8267520

你可能感兴趣的:(SAP已用信贷额度计算)