Ansicht
Dokumentation

SIMG_CFMENUOLSDVN01F - Define Number Ranges for Billing Documents

SIMG_CFMENUOLSDVN01F - Define Number Ranges for Billing Documents

BAL_S_LOG - Application Log: Log header data   BAL Application Log Documentation  
This documentation is copyright by SAP AG.
SAP E-Book

Create and maintain additional number range intervals from which the system draws billing document numbers when flexible billing document numbering is active.

You can define the intervals of the number ranges from which billing document numbers are drawn. Each interval is represented by an alphanumeric number range key (for example, A1).

When the system creates a billing document, it assigns a unique document number that identifies the new billing document. The number is drawn from the number range interval, which is defined as an interval between a from-number and a to-number, and is assigned to each billing document type. When a billing document of a given billing type is created, the next consecutive document number is drawn from the number range interval that has been assigned.

Number assignment for billing documents can only be carried out internally, that is, the system automatically assigns a consecutive number from the defined number range. By default, all billing documents are assigned to number range interval 19 in number range object RV_BELEG.

You transport number range objects as follows:

  1. On the Edit Intervalsscreen, choose Interval → Transport.
  2. You can now select the intervals that you want to transport.

All intervals for the selected number range object are deleted in the target system first. After the import, only the intervals you export are present. The number statuses are imported with their values at the time of export.

Dependent tables are not transported or converted.

  1. Decide whether the default number range assignments for billing documents are sufficient for your business needs. If not, you can create your own.
  2. If you want to make use of alphanumeric number range prefixes, perform the activity Define Number Range Prefixes for SD Documents.
  3. To define a number range, you must create a new number range interval:
  • Specify an alphanumeric key with up to 2 characters.

  • Specify the limits of the number range interval. The individual number range intervals are not permitted to overlap. Thus, every number can occur only once.

  1. For each billing document type, specify the key of the number range interval that you want the system to use for this billing document type. You can make this assignment in the Define Billing Types activity.
  2. If you want the system to flexibly allocate your new number range intervals to newly created billing documents, you must either implement the BAdI Flexible Billing Document Numbering(SD_BIL_FLEX_NUMBERING) or implement flexible billing document numbering through Configurable Parameters and Formulas (CPF).
For more information about these implementation options, search for Flexible Billing Document Numberingin your version of SAP S/4HANA on SAP Help Portal.

You can define the number range intervals from which new billing document numbers are drawn when flexible billing document numbering is implemented. Each interval is represented by an alphanumeric number range key (for example, A1).

When the system creates a billing document, it assigns a unique document number that identifies the new billing document. The number is drawn from the number range interval, which is defined as an interval between a from-number and a to-number. By default, billing document numbers are drawn from number range interval 19.

When flexible billing document numbering is active and a billing document of a given type is created, the next consecutive document number is drawn from the number range interval that the system has dynamically determined. The system makes this determination by evaluating specific header fields of the billing document that is being created. For more information about flexible billing document numbering, search for Flexible Billing Document Numberingin the relevant version of SAP S/4HANA Cloud on SAP Help Portal.

Carefully consider the following before changing an existing interval:

  • Except in very rare cases, changing an existing interval should be avoided. Revising an interval is a critical change that could cause considerable correction efforts.
  • You cannot change predelivered number range intervals (that is, SAP best practice content).
  • You may only change the lower limit of an interval if that interval has not been used.
  • You may only change the upper limit of an interval if this will not create an overlap with other intervals.
  • You cannot delete an existing interval. Therefore, ensure that you only create new number range intervals after careful consideration.

You can combine the number range intervals that you define in the current configuration activity with alphanumeric prefixes to easily create many additional number ranges. For more information about assigning prefixes for billing document numbering, see the configuration activity Define Number Range Prefixes for SD Documents. You can open this activity by searching for its name in your configuration environment.

  1. Decide whether the default number range assignments for billing documents are sufficient for your business needs. If not, you can create your own and assign them dynamically by using flexible billing document numbering.
  2. To define a number range, you must create a new number range interval:
  • Specify an alphanumeric key with up to 2 characters.

  • Specify the limits of the number range interval. The individual number range intervals are not permitted to overlap. Thus, every number can occur only once.

  1. To be able to assign custom numbering routines that allocate your new number range intervals to newly created billing documents, you must decide whether to implement flexible billing document numbering using the BAdI Flexible Billing Document Numbering(SD_BIL_FLEX_NUMBERING) or the Configurable Parameters and Formulas (CPF) framework. For more information, search for Flexible Billing Document Numberingin the relevant version of SAP S/4HANA Cloud on SAP Help Portal.
  • If you want to implement flexible billing document numbering using CPF, continue with the Define Formulas for Flexible Billing Document Numbering configuration activity.

  • If you want to implement flexible billing document numbering through the BAdI, continue with the Define Custom Routines for Flexible Billing Document Numbering configuration activity.






ABAP Short Reference   General Material Data  
This documentation is copyright by SAP AG.

Length: 7933 Date: 20240523 Time: 213601     sap01-206 ( 145 ms )