CATT_OBJECT_GET is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CATT_OBJECT_GET into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
KKC2
Released Date:
Not Released
Processing type: Remote-Enabled
CALL FUNCTION 'CATT_OBJECT_GET' "CATT Test Data Memory
EXPORTING
pre_item = " catdo-ablnr
act_item = " catdo-ablnr
* cycleold = '0001' " catdo-cycle
* cyclenew = '0001' " catdo-cycle
* environ = 'A' " tcwb_objects-environ
* pre_variante = " catdo-variante Layout
* act_variante = " catdo-variante Layout
process = " titems-process
* pre_id_item = " tcwb_item_pool-id_item Output Length
act_id_item = " tcwb_item_pool-id_item Output Length
* cattuser = " tprocesses-cattuser Logon Name of User
id_datagrp = " tdatagroups-id_datagrp ID
IMPORTING
cobj_id = " tcwb_objects-cobj_id CATT obj number
rcode = " sy-subrc Return Code
lockowner = " sy-msgv1
. " CATT_OBJECT_GET
The ABAP code below is a full code listing to execute function module CATT_OBJECT_GET including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| ld_cobj_id | TYPE TCWB_OBJECTS-COBJ_ID , |
| ld_rcode | TYPE SY-SUBRC , |
| ld_lockowner | TYPE SY-MSGV1 . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_cobj_id | TYPE TCWB_OBJECTS-COBJ_ID , |
| ld_pre_item | TYPE CATDO-ABLNR , |
| ld_rcode | TYPE SY-SUBRC , |
| ld_act_item | TYPE CATDO-ABLNR , |
| ld_lockowner | TYPE SY-MSGV1 , |
| ld_cycleold | TYPE CATDO-CYCLE , |
| ld_cyclenew | TYPE CATDO-CYCLE , |
| ld_environ | TYPE TCWB_OBJECTS-ENVIRON , |
| ld_pre_variante | TYPE CATDO-VARIANTE , |
| ld_act_variante | TYPE CATDO-VARIANTE , |
| ld_process | TYPE TITEMS-PROCESS , |
| ld_pre_id_item | TYPE TCWB_ITEM_POOL-ID_ITEM , |
| ld_act_id_item | TYPE TCWB_ITEM_POOL-ID_ITEM , |
| ld_cattuser | TYPE TPROCESSES-CATTUSER , |
| ld_id_datagrp | TYPE TDATAGROUPS-ID_DATAGRP . |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CATT_OBJECT_GET or its description.