Fonction SAP TYPE_CHECK -

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
WI_E071 E071 u 180 Header entry for table E071
WI_EDITINTFLAG TRPARI-W_EDT_CALL C 1 ' ' X Editor flag: Error vector DDERR is being served

Paramètre Reférence Type Long. Description
EV_CASE_SENSITIVE TRPARI-S_CHECKED C 1
EV_INVALID_LANGUAGE_FIELD TRPARI-S_CHECKED C 1
EV_NAMESPACE TRNSPACE-NAMESPACE C 10 Namespace
EV_NO_OBJECT_NAME TRPARI-S_CHECKED C 1 X - no object name transferred
EV_OBJLEN TLOCK-LEN I 4
P_CATEGORY E070-KORRDEV C 4 Request category ('CUST','CUSY','SYST')
P_CHECKED TRPARI-S_CHECKED C 1 Check result flag (syntax, editable, TADIR..
P_CLI_DEP TRPARI-W_CLI_DEP C 1 X-object client-dependent
P_COMPLETE_ONLY TRPARI-W_COMPLETE C 1 X - only complete object can be transported -> R3TR
P_CURR_SETTING OBJH-CURSETTING C 1 X - object belongs to current settings
P_CUSTOM TRPARI-W_CUSTOM C 1 Flag: customizing object
P_DDERR DDERR u 116 Error vector (only served with P_editint flag)
P_E071 E071 u 180 Header entry of table E071
P_EXIST TRPARI-S_EXISTS C 1 Existence flag (whether any hits were found)
P_LKEY TLOCK_INT u 252 Correction locking argument restriction
P_LOCAL_ONLY TRPARI-W_LOCAL C 1 Flag: Only local object
P_TABLE_CONTFLAG DD02L-CONTFLAG C 1 Table delivery class
P_TABLE_TYP DD02L-TABCLASS C 8 Table type(inttab,pool,cluster,transp,view..)
P_TADIR TADIR u 232 TADIR key

Functionality
The function module TYPE_CHECK can also be called up outside of theCorrection and Transport System since no database update is performed.
The function analyses an E071 or E071K entry to check

  • syntactical correctness,

  • transportability

  • the TADIR entry (only key)

  • and the required lock entry (correction lock)

  • The analysis covers all object types (type "L") that are defined asproductive in the tables OBJH/OBJT/OBJSL. The P_EXIST parameterspecifies whether the object type has been defined.
    The P_CHECKED parameter then allocates one of the following categories:
    P_CHECKED syntax transport TADIR TLOCK
    SPACE - - - -
    S X - - -
    R X X - -
    T X X X -
    L X X X X
    P system object or illegal name selection
    Depending on the category assigned, the parameters P_TADIR and P_LKEYare then filled.
    A further parameter, P_CUSTOM, is used to indicate that an object is acustomer object.