Ansicht
Dokumentation

DDIF_DOMA_GET - DD: Interface for reading a domain from the ABAP Dictionary

DDIF_DOMA_GET - DD: Interface for reading a domain from the ABAP Dictionary

rdisp/max_wprun_time - Maximum work process run time   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can read the Dictionary sources of a domain with this function module. The name of the domain to be read is passed in parameter NAME.

The sources of the domain are read according to STATE where STATE = 'A' (read the active version) and STATE = 'M' (read the latest version) are possible. If parameter LANGU is defined, the corresponding text is read in the language specified by LANGU.

Parameter GOTSTATE defines the status in which the object was read. If STATE = 'A', GOTSTATE can have the values 'A' (object has an active version) and ' ' (no active version of the object exists). If STATE = 'M', GOTSTATE can have the values ' ' (object does not exist in the ABAP Dictionary), 'N' (object is in status "new" in the ABAP Dictionary), 'A' (object is in status "active" in the ABAP Dictionary) and 'M' (object is in status "revised" in the ABAP Dictionary).

Example

Notes

  1. Do not use this module to read information about the domain fixed values during running operation. Instead, use the much more efficient function module DDIF_FIELDINFO_GET. This function module reads the runtime information. With a domain, only the fixed values are available as runtime information. For this reason, it is possible to determine these by calling the function module for a data element that is defined by the corrsponding domain. A direct call of the function module DDIF_FIELDINFO_GET with the name of the domain did not return any information.
  2. TABLE parameter DD07V_TAB is optional (as is the EXPORT parameter). The function module only obtains those parts of the sources which are requested by the caller. Unnecessary read operations can be avoided by calling only those parameters which are actually needed for further processing. Therefore, if the fixed values of the domain to be read are not required, you should not define parameter DD07V_TAB.

Further information





Parameters

DD01V_WA
DD07V_TAB
GOTSTATE
LANGU
NAME
STATE

Exceptions

ILLEGAL_INPUT

Function Group

SDIF

CL_GUI_FRONTEND_SERVICES - Frontend Services   PERFORM Short Reference  
This documentation is copyright by SAP AG.

Length: 2498 Date: 20240523 Time: 114619     sap01-206 ( 90 ms )