Ansicht
Dokumentation

NUMBER_RANGE_ELEMENT_LIST - Number range: Provide elements for a number range

NUMBER_RANGE_ELEMENT_LIST - Number range: Provide elements for a number range

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book
Preliminary comment

This function module has been released.

The documentation is being revised so that it conforms to the requirements for released function modules.

The function module can only be used for the categories 2, 3, and 5 to 8.

This function module determines the elements allocated to an interval.

All exceptions are created with MESSAGE ... RAISING ... .

Example:

Object HUGO

DATA: BEGIN OF ELEM OCCURS 50 TIMES.
        INCLUDE STRUCTURE INREL.
DATA: END OF ELEM.
DATA: ELEM_LENGTH LIKE INTB-INTLEN.

   CALL FUNCTION 'NUMBER_RANGE_ELEMENT_LIST'
        EXPORTING

          OBJECT             = 'HUGO'
          NR_RANGE_NR        = '01'
        IMPORTING

          ELEMENT_LENGTH     = ELEM_LENGTH
        TABLES    

          ELEMENTS           = ELEM
        EXCEPTIONS

          ELEMENTS_NOT_FOUND = 1.

   IF SY-SUBRC = 0.
*     Elements are in the table ELEM
   ELSE.
*     No elements found
   ENDIF.





Parameters

ELEMENTS
ELEMENT_CONVEXIT
ELEMENT_LENGTH
ELEMENT_OUTPUTLEN
NR_RANGE_NR
OBJECT
SUBOBJECT

Exceptions

ELEMENTS_NOT_FOUND
NO_GROUP_DEFINED
OBJECT_NOT_FOUND
SUBOBJECT_MUST_BE_SPACE

Function Group

SNR1

Addresses (Business Address Services)   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.

Length: 3352 Date: 20240605 Time: 173046     sap01-206 ( 31 ms )