Ansicht
Dokumentation

NUMBER_RANGE_OBJECT_READ - Number range: Read object

NUMBER_RANGE_OBJECT_READ - Number range: Read object

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
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 reads a number range object and makes its attributes and texts available in structures. The number range object read this way can be changed via NUMBER_RANGE_OBJECT_UPDATE or deleted via NUMBER_RANGE_OBJECT_DELETE.

In addition, it is determined whether intervals exist for the number range object. The determination is carried out for all clients.

When calling up a number range object for the first time, the attributes and the texts are read from the database and put into the local memory. When calling up subsequently, the status in the local memory is always read. The local memory always contains a consistent status.

Example:

TABLES: TNRO, TNROT.
DATA: IND(01) TYPE C:

CALL FUNCTION 'NUMBER_RANGE_OBJECT_READ'
EXPORTING OBJECT = 'HUGO'
IMPORTING OBJECT_ATTRIBUTES = TNRO
OBJECT_TEXT = TNROT
INTERVAL_EXISTS = IND
EXCEPTIONS OBJECT_NOT_FOUND = 1.

IF SY-SUBRC = 0.
* object found
IF IND = 'X'.
* the object has intervals
ELSE.
* the object has no intervals
ENDIF.
ELSE.
* object not found
ENDIF.





Parameters

INTERVAL_EXISTS
LANGUAGE
OBJECT
OBJECT_ATTRIBUTES
OBJECT_TEXT

Exceptions

OBJECT_NOT_FOUND

Function Group

SNR2

TXBHW - Original Tax Base Amount in Local Currency   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 2294 Date: 20240523 Time: 132203     sap01-206 ( 43 ms )