• SAP FBN1 Number Range In Financial Accounting & Table Name NRIV, OBJ RF_BELEG


    Number Range

    Purpose 

    The purpose of this page is to clarify the understanding of the system logic of the Number Range in Accounting Documents

    Overview 

    The number range is responsible for generate the document number (BELNR) and is defined by document type. It can be year depended or as well as buffered or no.

    Defining Number Ranges in Financial Accounting

    The number range is linked to a company code and document type. The intervals are year depended or no. So, the document numbers begin of each year or no. For non-year dependent intervals should be used year ‘9999’.

    Transaction OBA7:

    Please note that the same Number Range (51 in this example) can be used for more than one document type. This depends of the business requirement. 

     

    The bellow screen can be reached by transaction FBN1 or SNRO also:

    The above screen informs that the actual document number for number range 01 in 2013 for company code 1000 is 5100000151. This values refers to  field BELNR in FI tables (BKPF, BSEG, BSIS, BSIK, BSID …).

    Table and Number Range Object

    Accounting documents uses Object Type RF_BELEG.

    Transaction SNRO or SNUM:

    NRIV table stored the number range intervals. The document number is assigned in chronologically ascending order based on the table NRIV. For this, the table NRIV is locked until the COMMIT WORK or ROLLBACK is done.  This lock guarantees a chronologically ascending assignment of the document number without gaps.

    After a COMMIT WORK and the document number is assigned permanently. In the case of a rollback, the document number that was just used is not assigned and is available for the next posting in NRIV again.

    But the NRIV lock could cause performance problems (SAP Note 678501). The performance problem occurs specially in the case of parallel batch processes. Buffering was creating as a solution for this scenario.

    There are two solutions for this:

    • No parallel processing
    • Buffering of the number range object RF_BELEG

    T.code FBN1: which table is managed by this transaction code?

    NRIV , 

    • Buffering of the number range object RF_BELEG, SUB OBJ = Company Code 
  • 相关阅读:
    JDBC
    「题解」:串串香
    「题解」:树
    「题解」:最近公共祖先
    「题解」:集合论
    「题解」:位运算
    「题解」:序列
    「总结」浅谈主席树
    $My$ $template$(持续更新)
    「题解」:毛三琛
  • 原文地址:https://www.cnblogs.com/SlashOut/p/13456985.html
Copyright © 2020-2023  润新知