SAP TR_APPEND_TO_COMM_OBJS_KEYS Function Module for Append and lock objects and keys to a task
TR_APPEND_TO_COMM_OBJS_KEYS is a standard tr append to comm objs keys SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Append and lock objects and keys to a task processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for tr append to comm objs keys FM, simply by entering the name TR_APPEND_TO_COMM_OBJS_KEYS into the relevant SAP transaction such as SE37 or SE38.
Function Group: STRI
Program Name: SAPLSTRI
Main Program: SAPLSTRI
Appliation area: S
Release date: 16-Apr-1998
Mode(Normal, Remote etc): Normal Function Module
Update:
Function TR_APPEND_TO_COMM_OBJS_KEYS pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS'"Append and lock objects and keys to a task.
EXPORTING
* WI_SIMULATION = ' ' "Flag, 'X' - no database update
* WI_SUPPRESS_KEY_CHECK = ' ' "Flag whether key syntax check is suppressed
WI_TRKORR = "Task to be added to
* IT_E071K_STR = "Table Key with String Field
TABLES
WT_E071 = "Table of objects to be added
WT_E071K = "Table of keys to be added
EXCEPTIONS
KEY_CHAR_IN_NON_CHAR_FIELD = 1 KEY_TABLE_HAS_NO_FIELDS = 10 KEY_TABLE_NOT_ACTIV = 11 KEY_UNALLOWED_KEY_FUNCTION = 12 KEY_UNALLOWED_KEY_OBJECT = 13 KEY_UNALLOWED_KEY_OBJNAME = 14 KEY_UNALLOWED_KEY_PGMID = 15 KEY_WITHOUT_HEADER = 16 OB_CHECK_OBJ_ERROR = 17 OB_DEVCLASS_NO_EXIST = 18 OB_EMPTY_KEY = 19 KEY_CHECK_KEYSYNTAX_ERROR = 2 OB_GENERIC_OBJECTNAME = 20 OB_ILL_DELIVERY_TRANSPORT = 21 OB_ILL_LOCK = 22 OB_ILL_PARTS_TRANSPORT = 23 OB_ILL_SOURCE_SYSTEM = 24 OB_ILL_SYSTEM_OBJECT = 25 OB_ILL_TARGET = 26 OB_INTTAB_TABLE = 27 OB_LOCAL_OBJECT = 28 OB_LOCKED_BY_OTHER = 29 KEY_INTTAB_TABLE = 3 OB_MODIF_ONLY_IN_MODIF_ORDER = 30 OB_NAME_TOO_LONG = 31 OB_NO_APPEND_OF_CORR_ENTRY = 32 OB_NO_APPEND_OF_C_MEMBER = 33 OB_NO_CONSOLIDATION_TRANSPORT = 34 OB_NO_ORIGINAL = 35 OB_NO_SHARED_REPAIRS = 36 OB_NO_SYSTEMNAME = 37 OB_NO_SYSTEMTYPE = 38 OB_NO_TADIR = 39 KEY_LONGER_FIELD_BUT_NO_GENERC = 4 OB_NO_TADIR_NOT_LOCKABLE = 40 OB_PRIVAT_OBJECT = 41 OB_REPAIR_ONLY_IN_REPAIR_ORDER = 42 OB_RESERVED_NAME = 43 OB_SYNTAX_ERROR = 44 OB_TABLE_HAS_NO_FIELDS = 45 OB_TABLE_NOT_ACTIV = 46 TR_ENQUEUE_FAILED = 47 TR_ERRORS_IN_ERROR_TABLE = 48 TR_ILL_KORRNUM = 49 KEY_MISSING_KEY_MASTER_FIELDS = 5 TR_LOCKMOD_FAILED = 50 TR_LOCK_ENQUEUE_FAILED = 51 TR_NOT_OWNER = 52 TR_NO_SYSTEMNAME = 53 TR_NO_SYSTEMTYPE = 54 TR_ORDER_NOT_EXIST = 55 TR_ORDER_RELEASED = 56 TR_ORDER_UPDATE_ERROR = 57 TR_WRONG_ORDER_TYPE = 58 OB_INVALID_TARGET_SYSTEM = 59 KEY_MISSING_KEY_TABLEKEY = 6 TR_NO_AUTHORIZATION = 60 OB_WRONG_TABLETYP = 61 OB_WRONG_CATEGORY = 62 OB_SYSTEM_ERROR = 63 OB_UNLOCAL_OBJEKT_IN_LOCAL_ORD = 64 TR_WRONG_CLIENT = 65 OB_WRONG_CLIENT = 66 KEY_WRONG_CLIENT = 67 KEY_NON_CHAR_BUT_NO_GENERIC = 7 KEY_NO_KEY_FIELDS = 8 KEY_STRING_LONGER_CHAR_KEY = 9
IMPORTING Parameters details for TR_APPEND_TO_COMM_OBJS_KEYS
WI_SIMULATION - Flag, 'X' - no database update
Data type: TRPARI-W_SIMULATDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_SUPPRESS_KEY_CHECK - Flag whether key syntax check is suppressed
Data type: TRPARI-W_NO_CHECKDefault: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)
WI_TRKORR - Task to be added to
Data type: E070-TRKORROptional: No
Call by Reference: No ( called with pass by value option)
IT_E071K_STR - Table Key with String Field
Data type: E071K_STRTYPOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for TR_APPEND_TO_COMM_OBJS_KEYS
WT_E071 - Table of objects to be added
Data type: E071Optional: No
Call by Reference: No ( called with pass by value option)
WT_E071K - Table of keys to be added
Data type: E071KOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
KEY_CHAR_IN_NON_CHAR_FIELD - Character in a non-character field in a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_TABLE_HAS_NO_FIELDS - Table has no fields for a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_TABLE_NOT_ACTIV - Table is not active for a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_UNALLOWED_KEY_FUNCTION - Invalid function in a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_UNALLOWED_KEY_OBJECT - Invalid object in the key of a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_UNALLOWED_KEY_OBJNAME - Invalid object name in the key of a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_UNALLOWED_KEY_PGMID - Invalid program ID in the key of a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_WITHOUT_HEADER - E071K entry without E071 header entry
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_CHECK_OBJ_ERROR - Syntax error in E071 entry (see message table)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_DEVCLASS_NO_EXIST - Development class does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_EMPTY_KEY - Select fields in LOCK_KEY are empty (system error)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_CHECK_KEYSYNTAX_ERROR - Syntax error in an E071K entry (-> message)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_GENERIC_OBJECTNAME - Generic object name only in command files
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_ILL_DELIVERY_TRANSPORT - Invalid transport to delivery system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_ILL_LOCK - Lock in task of another system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_ILL_PARTS_TRANSPORT - Single elements in original request
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_ILL_SOURCE_SYSTEM - Consolidation request only from integration system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_ILL_SYSTEM_OBJECT - Invalid system object
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_ILL_TARGET - Consolidation request not in consolidation system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_INTTAB_TABLE - Table is an internal table
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_LOCAL_OBJECT - Local private object
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_LOCKED_BY_OTHER - Locked by another task
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_INTTAB_TABLE - Table is internal table for a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_MODIF_ONLY_IN_MODIF_ORDER - Modifications only in tasks
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NAME_TOO_LONG - Invalid object name length
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_APPEND_OF_CORR_ENTRY - Invalid manual E071 correction entries
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_APPEND_OF_C_MEMBER - C-member not with append (but with sapsccs)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_CONSOLIDATION_TRANSPORT - Invalid transport in consolidation layer
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_ORIGINAL - Original request from non-original system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_SHARED_REPAIRS - No link of repairs possible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_SYSTEMNAME - System name cannot be determined or invalid length
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_SYSTEMTYPE - System type cannot be determined
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_TADIR - Missing TADIR entry, no lock necessary
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_LONGER_FIELD_BUT_NO_GENERC - Table key longer than E071K table key, but not generic
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_NO_TADIR_NOT_LOCKABLE - Missing TADIR entry, lock necessary
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_PRIVAT_OBJECT - Private object (in consolidation request)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_REPAIR_ONLY_IN_REPAIR_ORDER - Repairs only allowed in repair requests
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_RESERVED_NAME - Object in reserved name range
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_SYNTAX_ERROR - Incorrect object syntax
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_TABLE_HAS_NO_FIELDS - Table has no fields (does not exist)
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_TABLE_NOT_ACTIV - Table is not activated
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_ENQUEUE_FAILED - No short-term lock possible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_ERRORS_IN_ERROR_TABLE - Object error, exact error in WT_TRMESS_INT
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_ILL_KORRNUM - Task does not correspond to K
Data type: Optional: No
Call by Reference: No ( called with pass by value option)
KEY_MISSING_KEY_MASTER_FIELDS - Empty master field(s) in a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_LOCKMOD_FAILED - TLOCK modification not possible
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_LOCK_ENQUEUE_FAILED - Error in competing TLOCK access
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_NOT_OWNER - Task has another owner
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_NO_SYSTEMNAME - System name cannot be determined or invalid length
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_NO_SYSTEMTYPE - System type cannot be determined
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_ORDER_NOT_EXIST - Task does not exist
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_ORDER_RELEASED - Task already released
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_ORDER_UPDATE_ERROR - Error saving the task header E070
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_WRONG_ORDER_TYPE - Incorrect task type
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_INVALID_TARGET_SYSTEM - No application import in basis system
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_MISSING_KEY_TABLEKEY - Field table key empty in a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_NO_AUTHORIZATION - No authorization for this function
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_WRONG_TABLETYP - Identifier <-> object: table <-> view intermixed
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_WRONG_CATEGORY - Request and object categories conflict
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_SYSTEM_ERROR - System error in determined request/task
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_UNLOCAL_OBJEKT_IN_LOCAL_ORD - Transportable object not in local request
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TR_WRONG_CLIENT - Task editing in invalid client
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OB_WRONG_CLIENT - Object editing in invalid clients
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_WRONG_CLIENT - Key editing in invalid client
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_NON_CHAR_BUT_NO_GENERIC - Non-char key but no generic in task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_NO_KEY_FIELDS - Table: no key fields for a task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
KEY_STRING_LONGER_CHAR_KEY - Table string longer than char key begin for task key
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for TR_APPEND_TO_COMM_OBJS_KEYS Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.DATA: | ||||
lt_wt_e071 | TYPE STANDARD TABLE OF E071, " | |||
lv_wi_simulation | TYPE TRPARI-W_SIMULAT, " ' ' | |||
lv_key_char_in_non_char_field | TYPE TRPARI, " | |||
lv_key_table_has_no_fields | TYPE TRPARI, " | |||
lv_key_table_not_activ | TYPE TRPARI, " | |||
lv_key_unallowed_key_function | TYPE TRPARI, " | |||
lv_key_unallowed_key_object | TYPE TRPARI, " | |||
lv_key_unallowed_key_objname | TYPE TRPARI, " | |||
lv_key_unallowed_key_pgmid | TYPE TRPARI, " | |||
lv_key_without_header | TYPE TRPARI, " | |||
lv_ob_check_obj_error | TYPE TRPARI, " | |||
lv_ob_devclass_no_exist | TYPE TRPARI, " | |||
lv_ob_empty_key | TYPE TRPARI, " | |||
lt_wt_e071k | TYPE STANDARD TABLE OF E071K, " | |||
lv_wi_suppress_key_check | TYPE TRPARI-W_NO_CHECK, " ' ' | |||
lv_key_check_keysyntax_error | TYPE TRPARI, " | |||
lv_ob_generic_objectname | TYPE TRPARI, " | |||
lv_ob_ill_delivery_transport | TYPE TRPARI, " | |||
lv_ob_ill_lock | TYPE TRPARI, " | |||
lv_ob_ill_parts_transport | TYPE TRPARI, " | |||
lv_ob_ill_source_system | TYPE TRPARI, " | |||
lv_ob_ill_system_object | TYPE TRPARI, " | |||
lv_ob_ill_target | TYPE TRPARI, " | |||
lv_ob_inttab_table | TYPE TRPARI, " | |||
lv_ob_local_object | TYPE TRPARI, " | |||
lv_ob_locked_by_other | TYPE TRPARI, " | |||
lv_wi_trkorr | TYPE E070-TRKORR, " | |||
lv_key_inttab_table | TYPE E070, " | |||
lv_ob_modif_only_in_modif_order | TYPE E070, " | |||
lv_ob_name_too_long | TYPE E070, " | |||
lv_ob_no_append_of_corr_entry | TYPE E070, " | |||
lv_ob_no_append_of_c_member | TYPE E070, " | |||
lv_ob_no_consolidation_transport | TYPE E070, " | |||
lv_ob_no_original | TYPE E070, " | |||
lv_ob_no_shared_repairs | TYPE E070, " | |||
lv_ob_no_systemname | TYPE E070, " | |||
lv_ob_no_systemtype | TYPE E070, " | |||
lv_ob_no_tadir | TYPE E070, " | |||
lv_it_e071k_str | TYPE E071K_STRTYP, " | |||
lv_key_longer_field_but_no_generc | TYPE E071K_STRTYP, " | |||
lv_ob_no_tadir_not_lockable | TYPE E071K_STRTYP, " | |||
lv_ob_privat_object | TYPE E071K_STRTYP, " | |||
lv_ob_repair_only_in_repair_order | TYPE E071K_STRTYP, " | |||
lv_ob_reserved_name | TYPE E071K_STRTYP, " | |||
lv_ob_syntax_error | TYPE E071K_STRTYP, " | |||
lv_ob_table_has_no_fields | TYPE E071K_STRTYP, " | |||
lv_ob_table_not_activ | TYPE E071K_STRTYP, " | |||
lv_tr_enqueue_failed | TYPE E071K_STRTYP, " | |||
lv_tr_errors_in_error_table | TYPE E071K_STRTYP, " | |||
lv_tr_ill_korrnum | TYPE E071K_STRTYP, " | |||
lv_key_missing_key_master_fields | TYPE E071K_STRTYP, " | |||
lv_tr_lockmod_failed | TYPE E071K_STRTYP, " | |||
lv_tr_lock_enqueue_failed | TYPE E071K_STRTYP, " | |||
lv_tr_not_owner | TYPE E071K_STRTYP, " | |||
lv_tr_no_systemname | TYPE E071K_STRTYP, " | |||
lv_tr_no_systemtype | TYPE E071K_STRTYP, " | |||
lv_tr_order_not_exist | TYPE E071K_STRTYP, " | |||
lv_tr_order_released | TYPE E071K_STRTYP, " | |||
lv_tr_order_update_error | TYPE E071K_STRTYP, " | |||
lv_tr_wrong_order_type | TYPE E071K_STRTYP, " | |||
lv_ob_invalid_target_system | TYPE E071K_STRTYP, " | |||
lv_key_missing_key_tablekey | TYPE E071K_STRTYP, " | |||
lv_tr_no_authorization | TYPE E071K_STRTYP, " | |||
lv_ob_wrong_tabletyp | TYPE E071K_STRTYP, " | |||
lv_ob_wrong_category | TYPE E071K_STRTYP, " | |||
lv_ob_system_error | TYPE E071K_STRTYP, " | |||
lv_ob_unlocal_objekt_in_local_ord | TYPE E071K_STRTYP, " | |||
lv_tr_wrong_client | TYPE E071K_STRTYP, " | |||
lv_ob_wrong_client | TYPE E071K_STRTYP, " | |||
lv_key_wrong_client | TYPE E071K_STRTYP, " | |||
lv_key_non_char_but_no_generic | TYPE E071K_STRTYP, " | |||
lv_key_no_key_fields | TYPE E071K_STRTYP, " | |||
lv_key_string_longer_char_key | TYPE E071K_STRTYP. " |
  CALL FUNCTION 'TR_APPEND_TO_COMM_OBJS_KEYS' "Append and lock objects and keys to a task |
EXPORTING | ||
WI_SIMULATION | = lv_wi_simulation | |
WI_SUPPRESS_KEY_CHECK | = lv_wi_suppress_key_check | |
WI_TRKORR | = lv_wi_trkorr | |
IT_E071K_STR | = lv_it_e071k_str | |
TABLES | ||
WT_E071 | = lt_wt_e071 | |
WT_E071K | = lt_wt_e071k | |
EXCEPTIONS | ||
KEY_CHAR_IN_NON_CHAR_FIELD = 1 | ||
KEY_TABLE_HAS_NO_FIELDS = 10 | ||
KEY_TABLE_NOT_ACTIV = 11 | ||
KEY_UNALLOWED_KEY_FUNCTION = 12 | ||
KEY_UNALLOWED_KEY_OBJECT = 13 | ||
KEY_UNALLOWED_KEY_OBJNAME = 14 | ||
KEY_UNALLOWED_KEY_PGMID = 15 | ||
KEY_WITHOUT_HEADER = 16 | ||
OB_CHECK_OBJ_ERROR = 17 | ||
OB_DEVCLASS_NO_EXIST = 18 | ||
OB_EMPTY_KEY = 19 | ||
KEY_CHECK_KEYSYNTAX_ERROR = 2 | ||
OB_GENERIC_OBJECTNAME = 20 | ||
OB_ILL_DELIVERY_TRANSPORT = 21 | ||
OB_ILL_LOCK = 22 | ||
OB_ILL_PARTS_TRANSPORT = 23 | ||
OB_ILL_SOURCE_SYSTEM = 24 | ||
OB_ILL_SYSTEM_OBJECT = 25 | ||
OB_ILL_TARGET = 26 | ||
OB_INTTAB_TABLE = 27 | ||
OB_LOCAL_OBJECT = 28 | ||
OB_LOCKED_BY_OTHER = 29 | ||
KEY_INTTAB_TABLE = 3 | ||
OB_MODIF_ONLY_IN_MODIF_ORDER = 30 | ||
OB_NAME_TOO_LONG = 31 | ||
OB_NO_APPEND_OF_CORR_ENTRY = 32 | ||
OB_NO_APPEND_OF_C_MEMBER = 33 | ||
OB_NO_CONSOLIDATION_TRANSPORT = 34 | ||
OB_NO_ORIGINAL = 35 | ||
OB_NO_SHARED_REPAIRS = 36 | ||
OB_NO_SYSTEMNAME = 37 | ||
OB_NO_SYSTEMTYPE = 38 | ||
OB_NO_TADIR = 39 | ||
KEY_LONGER_FIELD_BUT_NO_GENERC = 4 | ||
OB_NO_TADIR_NOT_LOCKABLE = 40 | ||
OB_PRIVAT_OBJECT = 41 | ||
OB_REPAIR_ONLY_IN_REPAIR_ORDER = 42 | ||
OB_RESERVED_NAME = 43 | ||
OB_SYNTAX_ERROR = 44 | ||
OB_TABLE_HAS_NO_FIELDS = 45 | ||
OB_TABLE_NOT_ACTIV = 46 | ||
TR_ENQUEUE_FAILED = 47 | ||
TR_ERRORS_IN_ERROR_TABLE = 48 | ||
TR_ILL_KORRNUM = 49 | ||
KEY_MISSING_KEY_MASTER_FIELDS = 5 | ||
TR_LOCKMOD_FAILED = 50 | ||
TR_LOCK_ENQUEUE_FAILED = 51 | ||
TR_NOT_OWNER = 52 | ||
TR_NO_SYSTEMNAME = 53 | ||
TR_NO_SYSTEMTYPE = 54 | ||
TR_ORDER_NOT_EXIST = 55 | ||
TR_ORDER_RELEASED = 56 | ||
TR_ORDER_UPDATE_ERROR = 57 | ||
TR_WRONG_ORDER_TYPE = 58 | ||
OB_INVALID_TARGET_SYSTEM = 59 | ||
KEY_MISSING_KEY_TABLEKEY = 6 | ||
TR_NO_AUTHORIZATION = 60 | ||
OB_WRONG_TABLETYP = 61 | ||
OB_WRONG_CATEGORY = 62 | ||
OB_SYSTEM_ERROR = 63 | ||
OB_UNLOCAL_OBJEKT_IN_LOCAL_ORD = 64 | ||
TR_WRONG_CLIENT = 65 | ||
OB_WRONG_CLIENT = 66 | ||
KEY_WRONG_CLIENT = 67 | ||
KEY_NON_CHAR_BUT_NO_GENERIC = 7 | ||
KEY_NO_KEY_FIELDS = 8 | ||
KEY_STRING_LONGER_CHAR_KEY = 9 | ||
. " TR_APPEND_TO_COMM_OBJS_KEYS |
ABAP code using 7.40 inline data declarations to call FM TR_APPEND_TO_COMM_OBJS_KEYS
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8."SELECT single W_SIMULAT FROM TRPARI INTO @DATA(ld_wi_simulation). | ||||
DATA(ld_wi_simulation) | = ' '. | |||
"SELECT single W_NO_CHECK FROM TRPARI INTO @DATA(ld_wi_suppress_key_check). | ||||
DATA(ld_wi_suppress_key_check) | = ' '. | |||
"SELECT single TRKORR FROM E070 INTO @DATA(ld_wi_trkorr). | ||||
Search for further information about these or an SAP related objects