SAP Function Modules

ECATT_OBJECT_COPY_POPUP SAP Function module







ECATT_OBJECT_COPY_POPUP 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 ECATT_OBJECT_COPY_POPUP into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: ECATT_GUI_POPUP
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM ECATT_OBJECT_COPY_POPUP - ECATT OBJECT COPY POPUP





CALL FUNCTION 'ECATT_OBJECT_COPY_POPUP' "
  EXPORTING
*   im_start_column = 25        " sycucol       Screens, horizontal cursor position at PAI
*   im_start_row = 6            " sycurow       Screens, vertical cursor position at PAI
*   im_mode = 'COPY'            " etobj_mode
    im_object_name =            " etobj_name    eCATT Object
    im_object_version =         " etobj_ver     eCATT Object Version
    im_object_type =            " etobj_type    eCATT Object Type (Test Data, Script, Configuration, etc.)
*   im_object_version_new =     " etobj_ver
*   im_toc_instance =           " cl_gui_test_operation_center  Test Operation Center (Initial Screen eCATT)
  IMPORTING
    ex_fcode =                  " syucomm       Screens, Function Code Triggered by PAI
    ex_object_name_new =        " etobj_name    eCATT Object
    ex_object_version_new =     " etobj_ver     eCATT Object Version
  EXCEPTIONS
    CX_ECATT_APL = 1            "               Basis Class for eCATT Middleware Exceptions
    .  "  ECATT_OBJECT_COPY_POPUP

ABAP code example for Function Module ECATT_OBJECT_COPY_POPUP





The ABAP code below is a full code listing to execute function module ECATT_OBJECT_COPY_POPUP 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).

DATA:
ld_ex_fcode  TYPE SYUCOMM ,
ld_ex_object_name_new  TYPE ETOBJ_NAME ,
ld_ex_object_version_new  TYPE ETOBJ_VER .

DATA(ld_im_start_column) = '123 '.
DATA(ld_im_start_row) = '123 '.
DATA(ld_im_mode) = 'Check type of data required'.
DATA(ld_im_object_name) = 'Check type of data required'.
DATA(ld_im_object_version) = 'Check type of data required'.
DATA(ld_im_object_type) = 'Check type of data required'.
DATA(ld_im_object_version_new) = 'Check type of data required'.
DATA(ld_im_toc_instance) = 'Check type of data required'. . CALL FUNCTION 'ECATT_OBJECT_COPY_POPUP' EXPORTING * im_start_column = ld_im_start_column * im_start_row = ld_im_start_row * im_mode = ld_im_mode im_object_name = ld_im_object_name im_object_version = ld_im_object_version im_object_type = ld_im_object_type * im_object_version_new = ld_im_object_version_new * im_toc_instance = ld_im_toc_instance IMPORTING ex_fcode = ld_ex_fcode ex_object_name_new = ld_ex_object_name_new ex_object_version_new = ld_ex_object_version_new EXCEPTIONS CX_ECATT_APL = 1 . " ECATT_OBJECT_COPY_POPUP
IF SY-SUBRC EQ 0. "All OK ELSEIF SY-SUBRC EQ 1. "Exception "Add code for exception here ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_ex_fcode  TYPE SYUCOMM ,
ld_im_start_column  TYPE SYCUCOL ,
ld_ex_object_name_new  TYPE ETOBJ_NAME ,
ld_im_start_row  TYPE SYCUROW ,
ld_ex_object_version_new  TYPE ETOBJ_VER ,
ld_im_mode  TYPE ETOBJ_MODE ,
ld_im_object_name  TYPE ETOBJ_NAME ,
ld_im_object_version  TYPE ETOBJ_VER ,
ld_im_object_type  TYPE ETOBJ_TYPE ,
ld_im_object_version_new  TYPE ETOBJ_VER ,
ld_im_toc_instance  TYPE CL_GUI_TEST_OPERATION_CENTER .

ld_im_start_column = '123 '.
ld_im_start_row = '123 '.
ld_im_mode = 'Check type of data required'.
ld_im_object_name = 'Check type of data required'.
ld_im_object_version = 'Check type of data required'.
ld_im_object_type = 'Check type of data required'.
ld_im_object_version_new = 'Check type of data required'.
ld_im_toc_instance = 'Check type of data required'.

Contribute (Add Comments)

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 ECATT_OBJECT_COPY_POPUP or its description.