SAP ARFC_DEST_CONFIRM Function Module for









ARFC_DEST_CONFIRM is a standard arfc dest confirm SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, 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 arfc dest confirm FM, simply by entering the name ARFC_DEST_CONFIRM into the relevant SAP transaction such as SE37 or SE38.

Function Group: ARFC
Program Name: SAPLARFC
Main Program: SAPLARFC
Appliation area: S
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function ARFC_DEST_CONFIRM 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 'ARFC_DEST_CONFIRM'"
EXPORTING
CALLID = "
* ERRORSTATUS = 0 "
* RETUDATA = ' ' "Internal
* RS_SERVER_RESOURCES_REQUESTED = "
* RS_SYSTEM_IDENTITY_REQUESTED = "
* RS_SERVER_GROUP_TYPE = "
* RS_SERVER_GROUP_NAME = "
* RS_SERVER_GROUP_TRACE = "

IMPORTING
HOLD_DELETE = "
RS_SYSTEM_IDENTITY = "
RS_SERVER_RESOURCES_RC = "

TABLES
RS_SERVER_GROUP_RESOURCES = "
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLARFC_001 Asynchronous RFC: Parameter Settings

IMPORTING Parameters details for ARFC_DEST_CONFIRM

CALLID -

Data type: ARFCCALLID
Optional: No
Call by Reference: No ( called with pass by value option)

ERRORSTATUS -

Data type: SY-SUBRC
Optional: Yes
Call by Reference: No ( called with pass by value option)

RETUDATA - Internal

Data type: SY-INPUT
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

RS_SERVER_RESOURCES_REQUESTED -

Data type: SYINPUT
Optional: Yes
Call by Reference: No ( called with pass by value option)

RS_SYSTEM_IDENTITY_REQUESTED -

Data type: RFC_IDENTITY_REQUESTED
Optional: Yes
Call by Reference: No ( called with pass by value option)

RS_SERVER_GROUP_TYPE -

Data type: RFC_RESOURCE_GROUP_TYPE
Optional: Yes
Call by Reference: No ( called with pass by value option)

RS_SERVER_GROUP_NAME -

Data type: RFC_RESOURCE_GROUP_NAME
Optional: Yes
Call by Reference: No ( called with pass by value option)

RS_SERVER_GROUP_TRACE -

Data type: I
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for ARFC_DEST_CONFIRM

HOLD_DELETE -

Data type: SY-INPUT
Optional: No
Call by Reference: No ( called with pass by value option)

RS_SYSTEM_IDENTITY -

Data type: RFC_SYSTEM_IDENTITY
Optional: No
Call by Reference: No ( called with pass by value option)

RS_SERVER_RESOURCES_RC -

Data type: SYSUBRC
Optional: No
Call by Reference: No ( called with pass by value option)

TABLES Parameters details for ARFC_DEST_CONFIRM

RS_SERVER_GROUP_RESOURCES -

Data type: RFC_SERVER_GROUP_RESOURCE
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for ARFC_DEST_CONFIRM 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:
lv_callid  TYPE ARFCCALLID, "   
lv_hold_delete  TYPE SY-INPUT, "   
lt_rs_server_group_resources  TYPE STANDARD TABLE OF RFC_SERVER_GROUP_RESOURCE, "   
lv_errorstatus  TYPE SY-SUBRC, "   0
lv_rs_system_identity  TYPE RFC_SYSTEM_IDENTITY, "   
lv_retudata  TYPE SY-INPUT, "   SPACE
lv_rs_server_resources_rc  TYPE SYSUBRC, "   
lv_rs_server_resources_requested  TYPE SYINPUT, "   
lv_rs_system_identity_requested  TYPE RFC_IDENTITY_REQUESTED, "   
lv_rs_server_group_type  TYPE RFC_RESOURCE_GROUP_TYPE, "   
lv_rs_server_group_name  TYPE RFC_RESOURCE_GROUP_NAME, "   
lv_rs_server_group_trace  TYPE I. "   

  CALL FUNCTION 'ARFC_DEST_CONFIRM'  "
    EXPORTING
         CALLID = lv_callid
         ERRORSTATUS = lv_errorstatus
         RETUDATA = lv_retudata
         RS_SERVER_RESOURCES_REQUESTED = lv_rs_server_resources_requested
         RS_SYSTEM_IDENTITY_REQUESTED = lv_rs_system_identity_requested
         RS_SERVER_GROUP_TYPE = lv_rs_server_group_type
         RS_SERVER_GROUP_NAME = lv_rs_server_group_name
         RS_SERVER_GROUP_TRACE = lv_rs_server_group_trace
    IMPORTING
         HOLD_DELETE = lv_hold_delete
         RS_SYSTEM_IDENTITY = lv_rs_system_identity
         RS_SERVER_RESOURCES_RC = lv_rs_server_resources_rc
    TABLES
         RS_SERVER_GROUP_RESOURCES = lt_rs_server_group_resources
. " ARFC_DEST_CONFIRM




ABAP code using 7.40 inline data declarations to call FM ARFC_DEST_CONFIRM

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 INPUT FROM SY INTO @DATA(ld_hold_delete).
 
 
"SELECT single SUBRC FROM SY INTO @DATA(ld_errorstatus).
 
 
"SELECT single INPUT FROM SY INTO @DATA(ld_retudata).
DATA(ld_retudata) = ' '.
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!