Ansicht
Dokumentation

LESHP_ENH_REG_NRIV - Define Custom Routines for Flexible Delivery Document Numbering

LESHP_ENH_REG_NRIV - Define Custom Routines for Flexible Delivery Document Numbering

RFUMSV00 - Advance Return for Tax on Sales/Purchases   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Register new routine numbers and assign an enhancement ID (CPF formula ID) to them that represent custom formulas for flexible delivery document numbering.

In this configuration activity, you define routine numbers that identify CPF formulas which you can implement by creating formulas using the Configurable Parameters and Formulas (CPF) framework.

You can use these routines to flexibly determine the number range interval for internal number range assignment (and, optionally, the number range prefix) from which the delivery document number of a newly created delivery document is drawn. The routines evaluate delivery document header fields to select an appropriate number range interval as defined within the custom logic.

You define the routine numbers by performing the following two steps:

  1. On the Registration of a Routine Numberscreen, you enter a new routine number and provide a corresponding textual description to register it. Routine numbers must be in the number range from 3000000 to 3009999.
  2. On the Assign Enhancements IDs to a Routine Numberscreen, you then assign each created routine number to the enhancement ID that identifies the CPF formula that you want this routine number to point to.

When the system creates a new delivery document, it checks whether a custom routine number has been entered for the delivery document type of the new document. (Configuration experts can enter a routine number for each delivery document type in the next configuration activity Assign Custom Routines to Delivery Types.)

  • If no routine number has been entered for the relevant delivery document type, the standard numbering procedure of the delivery document type is applied.
  • If a routine number has been entered for the relevant delivery document type, the system uses the assignment between routine number and enhancement ID (CPF formula ID) that you create in the above two steps to call the appropriate CPF formula.

For more information, go to SAP Help Portal and search for 'Flexible Delivery Document Numbering' in the relevant version of SAP S/4HANA Cloud.

You have created a CPF formula for flexible delivery document numbering in the Define Formulas for Flexible Delivery Document Numberingconfiguration activity.

You create a CPF formula for flexible delivery document numbering with the formula ID 'MY_CPF_NUM_RANGE_FORM'. In the configuration activity Define Custom Routines for Flexible Delivery Document Numbering, you register routine number 3000001 and subsequently assign enhancement ID 'MY_CPF_NUM_RANGE_FORM' to it. In the configuration activity Assign Custom Routines to Delivery Document Types, you enter routine number 30000001 into the relevant field for the delivery document type LF (Outbound Delivery).

The next time a user creates a delivery of type LF (Outbound Delivery), the document number is drawn from one of the number range intervals that you have specified within your CPF formula 'MY_CPF_NUM_RANGE_FORM'.

Note: If no number range corresponds to the delivery attributes, the number range from delivery type LF is used instead.






SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 3766 Date: 20240523 Time: 203319     sap01-206 ( 122 ms )