Skip to Content
avatar image
Former Member

DD_INT_TABL_GET question

How can i recognize includes in DD_INT_TABL_GET result??

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • May 19, 2017 at 07:36 AM

    You should better use DDIF_TABL_GET, it acts more as an API. It's more frequently used in SAP Tools (like the one in SAP notes which generates programs to install the DDIC objects).

    If I remember well, it must be the same as in DD03L table : a DDIC include is defined in FIELDNAME with value starting with ".INCL" and the name of the DDIC include is in field PRECFIELD.

    Add comment
    10|10000 characters needed characters exceeded

  • May 19, 2017 at 07:57 AM

    Hi Shibinraj,

    The field 'FIELDNAME' holds the following values.

    1. Field name of the Table/structure
    2. .INCLUDE -> It represents the include structure
    3. .INCLU--AP -> It represents the append structure

    The Field 'ADMINFIELD' hold the hierarchical value. It contains value like 0, 1 & 2 etc.,

    0-> directly mapped in table/structure

    1-> nested field in main table included either via append structure/include

    2-> Nested field either in append structure/include

    Ex: In MARA table,

    1. The field MATNR is directly mapped in MARA table then ADMINFIELD field contains 0
    2. The field ERSDA is inserted in MARA table via structure EMARA, so the ADMINFIELD field contains 1. In the same manner, ADMINFIELD field value is incremented.

    The field 'PRECFIELD' holds the structure value which is either included using INCLUDE statement or APPEND STRUCTURE.

    Regards

    Rajkumar Narasimman

    Add comment
    10|10000 characters needed characters exceeded