FI代替相関Oss Note

3563 ワード

FI substitution関連OSS Noteの閲覧時に自分が注目したポイントを記録します.翻訳や全文解読ではありません.
42615
会計証憑消込(FB 08/F.80)は代替をトリガーしません.消込証憑(reversal document)は、元の証憑が借入者のみであることとは逆である必要があります.その他は完全に同じです(もちろん、証憑日付にはいくつかの変更があります).
会計証明書の代替は3種類あり、headerの代替、line itemの代替、complete documentの代替があります.line itemの代わりにheaderのフィールドを変更することはできません.そうしないと、dump:PERFORM_PARAMETER_TOO_SHORTが生成されます.
重要なフィールドは、会計科目、金額、GSBERなど、代替されるべきではありません.
フィールドの置換を許可する方法
デフォルトでは、フィールドが置換できない場合は、次の方法でフィールドを置換可能に設定します(BSEG-MABERの例).
Step 1:GB 01表の修正:
BOOLCLASS CLASSTYPE BCLTAB     BCLFIELD   BEXCLUDE
009       S         BSEG       MABER      X

次のように変更します.
BOOLCLASS CLASSTYPE BCLTAB     BCLFIELD   BEXCLUDE
009       S         BSEG       MABER
bexcludespaceに変更されました.自分のよく知っている方法で修正します.例えばABAPのmodifyを使用します.
report z_modify_gb01.

data zgb01 like gb01.
select single * into zgb01 from gb01
  where boolclass = '009'
    and classtype = 'S'
    and bcltab = 'BSEG'
    and bclfield = 'MABER'
    and beclude = 'X' .

* bexclude     space
zgb01-bexclude = ''.

modify gb01 from zgb01.

説明:
BOOLCLASS - Specifies the Boolean class. This is determined in the application area and callup point in each case, for example:
008 - Document header (FI)
009 - Line item (FI)
015 - Complete document (FI)
016 - Cost of sales accounting
100 - Document header (CO)
CLASSTYPE - Specifies if the field can be used for validations (B), substitutions (S) or both (A).
BCLTAB - Table that is used
BLCFIELD - Field of this table
BEXCLUDE - Can be used ' ' or cannot be used 'X'.
  • complete document : boolclass = '015' .同時にGB 01の次の行を削除します:
  • BOOLCLASS CLASSTYPE BCLTAB     BCLFIELD   BEXCLUDE
    015       S         BSEG       *          X
    

    Step 2:substitution export routinesを再生成する
    プログラムRGUGBR00を使用してsubstitution export routinesを再生成します.
    Complete doucment代替の役割範囲
    At callup point 3, substitution is only carried out if the document is posted in FI (with program SAPMF05A or SAPF110S) or in MM invoice verification (with program SAPMM08R). When posting via the FI/CO interface, for example, with direct input (RFBIBL00 Mode 'D' or transfer billing document with Transaction VF01) no substitution is carried out.
    この点、386896には専門的な説明があります.
    386896
    FI完全証明書は、FI手動証明書およびMR 01にのみ適用されるLIV証明書に代わる.他のコンポーネントが行った資格証明では、FI代替は実行されません.
    他のコンポーネント業務がFIに伝達される会計証憑を実現するには、次の2つの方法があります.
  • BTE:process 1120およびprocess 1130
  • ERP 2004版以降、BADI:ac_document

  • 97557
    97557では、証明書変更(document change)時に代替(substitution)が機能するかどうかを説明します.簡単に言えば、証明書が変更された場合、証明書ヘッダを変更する場合は、証明書ヘッダにフィールドが変更されている必要があります.資格証明ライン・アイテムを変更すると、少なくともライン・アイテムのフィールドが変更されます.
    原文:
    When you change documents (Transaction FB02), a substitution is only carried out for callup point 1 (document header) if a field has been changed manually in the document header. When you change documents, a substitution is only carried out for callup point 2 (line item) if a field has been changed manually in the line in question.
    参考資料
    42615 - Substitution in FI 97557 - Substitution in FI for change document 386896 - Substitution at call-up point 3 ("Complete document") Substitution with BADI AC_DOCUMENT in FI transaction codes 842318 - Frequently asked questions about validations and substitutions