SAP RSDAS_X_PROCESS Function Module for Running a Data Access Service









RSDAS_X_PROCESS is a standard rsdas x process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Running a Data Access Service 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 rsdas x process FM, simply by entering the name RSDAS_X_PROCESS into the relevant SAP transaction such as SE37 or SE38.

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



Function RSDAS_X_PROCESS 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 'RSDAS_X_PROCESS'"Running a Data Access Service
EXPORTING
I_ID = "ID of a Data Access Service
* I_CHECK_ONLY = RS_C_FALSE "Only checking the call

IMPORTING
E_INTERFACE_VERSION = "Version of interface of function module
E_SUBRC = "Return Value from ABAP Statements

TABLES
I_T_INPUT = "Input Parameter with Values
I_T_REQUESTED_OUTPUT = "ParameterID
E_T_OUTPUT = "Output parameters with values
E_T_MESSAGE_X = "RFC: Message with Text
.



IMPORTING Parameters details for RSDAS_X_PROCESS

I_ID - ID of a Data Access Service

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

I_CHECK_ONLY - Only checking the call

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

EXPORTING Parameters details for RSDAS_X_PROCESS

E_INTERFACE_VERSION - Version of interface of function module

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

E_SUBRC - Return Value from ABAP Statements

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

TABLES Parameters details for RSDAS_X_PROCESS

I_T_INPUT - Input Parameter with Values

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

I_T_REQUESTED_OUTPUT - ParameterID

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

E_T_OUTPUT - Output parameters with values

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

E_T_MESSAGE_X - RFC: Message with Text

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

Copy and paste ABAP code example for RSDAS_X_PROCESS 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_i_id  TYPE RSDAS_SERVICE_ID, "   
lt_i_t_input  TYPE STANDARD TABLE OF RSDAS_S_SERVICE_INPUT, "   
lv_e_interface_version  TYPE I, "   
lv_e_subrc  TYPE SYSUBRC, "   
lv_i_check_only  TYPE RS_BOOL, "   RS_C_FALSE
lt_i_t_requested_output  TYPE STANDARD TABLE OF RSDAS_S_PARAMETER_ID, "   
lt_e_t_output  TYPE STANDARD TABLE OF RSDAS_S_SERVICE_OUTPUT, "   
lt_e_t_message_x  TYPE STANDARD TABLE OF RSRD_S_MESSAGE_X. "   

  CALL FUNCTION 'RSDAS_X_PROCESS'  "Running a Data Access Service
    EXPORTING
         I_ID = lv_i_id
         I_CHECK_ONLY = lv_i_check_only
    IMPORTING
         E_INTERFACE_VERSION = lv_e_interface_version
         E_SUBRC = lv_e_subrc
    TABLES
         I_T_INPUT = lt_i_t_input
         I_T_REQUESTED_OUTPUT = lt_i_t_requested_output
         E_T_OUTPUT = lt_e_t_output
         E_T_MESSAGE_X = lt_e_t_message_x
. " RSDAS_X_PROCESS




ABAP code using 7.40 inline data declarations to call FM RSDAS_X_PROCESS

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.

 
 
 
 
DATA(ld_i_check_only) = RS_C_FALSE.
 
 
 
 


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!