SAP Function Modules

ARFC_DEST_CONFIRM SAP Function module







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

Associated Function Group: ARFC
Released Date: Not Released
Processing type: Remote-Enabled
remote enabled module settings


Pattern for FM ARFC_DEST_CONFIRM - ARFC DEST CONFIRM





CALL FUNCTION 'ARFC_DEST_CONFIRM' "
  EXPORTING
    callid =                    " arfccallid
*   errorstatus = 0             " sy-subrc
*   retudata = SPACE            " sy-input      Internal
*   rs_server_resources_requested =   " syinput
*   rs_system_identity_requested =   " rfc_identity_requested
*   rs_server_group_type =      " rfc_resource_group_type
*   rs_server_group_name =      " rfc_resource_group_name
*   rs_server_group_trace =     " i
  IMPORTING
    hold_delete =               " sy-input
    rs_system_identity =        " rfc_system_identity
    rs_server_resources_rc =    " sysubrc
  TABLES
    rs_server_group_resources =   " rfc_server_group_resource
    .  "  ARFC_DEST_CONFIRM

ABAP code example for Function Module ARFC_DEST_CONFIRM





The ABAP code below is a full code listing to execute function module ARFC_DEST_CONFIRM 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_hold_delete  TYPE SY-INPUT ,
ld_rs_system_identity  TYPE RFC_SYSTEM_IDENTITY ,
ld_rs_server_resources_rc  TYPE SYSUBRC ,
it_rs_server_group_resources  TYPE STANDARD TABLE OF RFC_SERVER_GROUP_RESOURCE,"TABLES PARAM
wa_rs_server_group_resources  LIKE LINE OF it_rs_server_group_resources .

DATA(ld_callid) = 'Check type of data required'.
DATA(ld_errorstatus) = 'some text here'.
DATA(ld_retudata) = 'some text here'.
DATA(ld_rs_server_resources_requested) = 'some text here'.
DATA(ld_rs_system_identity_requested) = 'some text here'.
DATA(ld_rs_server_group_type) = 'some text here'.
DATA(ld_rs_server_group_name) = 'some text here'.
DATA(ld_rs_server_group_trace) = 'some text here'.

"populate fields of struture and append to itab
append wa_rs_server_group_resources to it_rs_server_group_resources. . CALL FUNCTION 'ARFC_DEST_CONFIRM' EXPORTING callid = ld_callid * errorstatus = ld_errorstatus * retudata = ld_retudata * rs_server_resources_requested = ld_rs_server_resources_requested * rs_system_identity_requested = ld_rs_system_identity_requested * rs_server_group_type = ld_rs_server_group_type * rs_server_group_name = ld_rs_server_group_name * rs_server_group_trace = ld_rs_server_group_trace IMPORTING hold_delete = ld_hold_delete rs_system_identity = ld_rs_system_identity rs_server_resources_rc = ld_rs_server_resources_rc TABLES rs_server_group_resources = it_rs_server_group_resources . " ARFC_DEST_CONFIRM
IF SY-SUBRC EQ 0. "All OK 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_hold_delete  TYPE SY-INPUT ,
ld_callid  TYPE ARFCCALLID ,
it_rs_server_group_resources  TYPE STANDARD TABLE OF RFC_SERVER_GROUP_RESOURCE ,
wa_rs_server_group_resources  LIKE LINE OF it_rs_server_group_resources,
ld_rs_system_identity  TYPE RFC_SYSTEM_IDENTITY ,
ld_errorstatus  TYPE SY-SUBRC ,
ld_rs_server_resources_rc  TYPE SYSUBRC ,
ld_retudata  TYPE SY-INPUT ,
ld_rs_server_resources_requested  TYPE SYINPUT ,
ld_rs_system_identity_requested  TYPE RFC_IDENTITY_REQUESTED ,
ld_rs_server_group_type  TYPE RFC_RESOURCE_GROUP_TYPE ,
ld_rs_server_group_name  TYPE RFC_RESOURCE_GROUP_NAME ,
ld_rs_server_group_trace  TYPE I .

ld_callid = 'some text here'.

"populate fields of struture and append to itab
append wa_rs_server_group_resources to it_rs_server_group_resources.
ld_errorstatus = 'some text here'.
ld_retudata = 'some text here'.
ld_rs_server_resources_requested = 'some text here'.
ld_rs_system_identity_requested = 'some text here'.
ld_rs_server_group_type = 'some text here'.
ld_rs_server_group_name = 'some text here'.
ld_rs_server_group_trace = 'some text here'.

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