SAP RSA2_SERV_CHECK_OLTPSOURCE Function Module for









RSA2_SERV_CHECK_OLTPSOURCE is a standard rsa2 serv check oltpsource 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 rsa2 serv check oltpsource FM, simply by entering the name RSA2_SERV_CHECK_OLTPSOURCE into the relevant SAP transaction such as SE37 or SE38.

Function Group: RSA2
Program Name: SAPLRSA2
Main Program: SAPLRSA2
Appliation area: B
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RSA2_SERV_CHECK_OLTPSOURCE 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 'RSA2_SERV_CHECK_OLTPSOURCE'"
EXPORTING
I_S_OSOURCE = "
* I_S_GENDELTA = "
* I_S_OHIECAT = "
* I_T_OSSEGMENTS = "
I_T_OSFIELD = "
I_T_OSTEXT = "
* I_S_OSESRHDMAP = "
* I_T_OSESRFDMAP = "
* I_T_OHIECOM = "
* I_S_MDDELTA = "

IMPORTING
E_T_MESSAGES = "
.



IMPORTING Parameters details for RSA2_SERV_CHECK_OLTPSOURCE

I_S_OSOURCE -

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

I_S_GENDELTA -

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

I_S_OHIECAT -

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

I_T_OSSEGMENTS -

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

I_T_OSFIELD -

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

I_T_OSTEXT -

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

I_S_OSESRHDMAP -

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

I_T_OSESRFDMAP -

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

I_T_OHIECOM -

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

I_S_MDDELTA -

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

EXPORTING Parameters details for RSA2_SERV_CHECK_OLTPSOURCE

E_T_MESSAGES -

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

Copy and paste ABAP code example for RSA2_SERV_CHECK_OLTPSOURCE 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_s_osource  TYPE RSAOT_S_OSOURCE, "   
lv_e_t_messages  TYPE RSAOT_T_MESSAGES, "   
lv_i_s_gendelta  TYPE RSAOT_S_GENDELTA, "   
lv_i_s_ohiecat  TYPE RSAOT_S_OHIECAT, "   
lv_i_t_ossegments  TYPE RSAOT_T_OSSEGMENTS, "   
lv_i_t_osfield  TYPE RSAOT_T_OSFIELD, "   
lv_i_t_ostext  TYPE RSAOT_T_OSTEXT, "   
lv_i_s_osesrhdmap  TYPE ROESRHDMAP, "   
lv_i_t_osesrfdmap  TYPE ROTESRFDMAP, "   
lv_i_t_ohiecom  TYPE RSAOT_T_OHIECOM, "   
lv_i_s_mddelta  TYPE RSAOT_S_MDDELTA. "   

  CALL FUNCTION 'RSA2_SERV_CHECK_OLTPSOURCE'  "
    EXPORTING
         I_S_OSOURCE = lv_i_s_osource
         I_S_GENDELTA = lv_i_s_gendelta
         I_S_OHIECAT = lv_i_s_ohiecat
         I_T_OSSEGMENTS = lv_i_t_ossegments
         I_T_OSFIELD = lv_i_t_osfield
         I_T_OSTEXT = lv_i_t_ostext
         I_S_OSESRHDMAP = lv_i_s_osesrhdmap
         I_T_OSESRFDMAP = lv_i_t_osesrfdmap
         I_T_OHIECOM = lv_i_t_ohiecom
         I_S_MDDELTA = lv_i_s_mddelta
    IMPORTING
         E_T_MESSAGES = lv_e_t_messages
. " RSA2_SERV_CHECK_OLTPSOURCE




ABAP code using 7.40 inline data declarations to call FM RSA2_SERV_CHECK_OLTPSOURCE

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.

 
 
 
 
 
 
 
 
 
 
 


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!