Ansicht
Dokumentation

/IXOS/DC_I_DDIF_TABL_GET - RFC enabled 'DDIF_TABL_GET'

/IXOS/DC_I_DDIF_TABL_GET - RFC enabled 'DDIF_TABL_GET'

ABAP Short Reference   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module reads the Dictionary sources of a table. The name of the table to be read is passed in parameter NAME.

The sources of the table are read as defined by STATE. STATE = 'A' (read the active version) and STATE = 'M' (read the latest version) are possible. If paramaeter LANGU is filled, the corresponding text is also read in the language defined 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

All TABLE parameters are optional (as are the EXPORT parameters). The function module only supplies the source parts which are requested by the caller. Avoid unnecessary read operations by only supplying the parameters which are really needed for further processing. For example, if the indexes of a table are not required, do not define paramters DD12V_TAB and DD17V_TAB.

The following sections are only relevant if the table which was read includes other structures.

If GOTSTATE has the value 'A', an expanded version of the table is returned. This means that all the included structures as well as their foreign keys and search help assignments were expanded. This also affects the append structures which were already appended to the table (these are normally all the active append structures for this table).
Fields within an included structure are recognized because field ADMINFIELD of DD03P_TAB has a value from '1' to '9'.

If GOTSTATE has the value 'M' or 'N', the table will be returned in compressed form. This means that fields which lie within included structures (or in append structures) do not appear in the field list (DD03P_TAB).
For foreign keys, this means that foreign keys whose check field lies in an included structure are only specified if their definition differs from the definition for the structure. You can recognize such foreign key definitions because field NOINHERIT has the value 'Y' or 'N' in its header (DD08V_TAB).
NOINHERIT = 'Y' means that all the attributes of the foreign key can be overwritten. In this case, CHECKTABLE = '*' means that there is no foreign key hanging on the particular field, not even if the field in the included structure is the check field of a foreign key. Otherwise CHECKTABLE contains the valid check table for this field and DD05M_TAB contains the field assignments.
NOINHERIT = 'N', on the other hand, means that the field assignments were accepted by the included table and only the other attributes (text, screen behavior, semantic attributes) are overwritten by the specified definition. For this reason, there are no corresponding entries in DD05M_TAB in this case.

Search help assignments for included fields only have to be defined in the compressed version if their definition differs from the definition in the structure with which they are included. The expanded version, however, contains such search help assignments which were copied from an included structure. You can see this because field SHLPINHER has the value 'X' in its header (DD35V_TAB).

An entry in the DD03P_TAB indicates an included structure only if PRECFIELD <> is ' '.

Further information





Parameters

DD02V_WA
DD03P_TAB
DD05M_TAB
DD08V_TAB
DD09L_WA
DD12V_TAB
DD17V_TAB
DD35V_TAB
DD36M_TAB
GOTSTATE
LANGU
NAME
PE_TARGET_SAPRELEASE
STATE

Exceptions

ILLEGAL_INPUT

Function Group

S/SAPLDC_I

General Material Data   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 4973 Date: 20240329 Time: 163854     sap01-206 ( 109 ms )