SAP RSA1_SINGLE_OLTPSOURCE_GET Function Module for









RSA1_SINGLE_OLTPSOURCE_GET is a standard rsa1 single oltpsource get 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 rsa1 single oltpsource get FM, simply by entering the name RSA1_SINGLE_OLTPSOURCE_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function RSA1_SINGLE_OLTPSOURCE_GET 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 'RSA1_SINGLE_OLTPSOURCE_GET'"
EXPORTING
* I_WITH_BUF = ' ' "
* I_GET_SWITCH = ' ' "
* I_CHECK_SWITCH = "
I_OLTPSOURCE = "
* I_OBJVERS = 'A' "
* I_RLOGSYS = "
* I_T_LANGU = "
* I_NO_TEXT = ' ' "
* I_NO_AUTHORITY = RSAOT_C_FLAG-ON "
* I_LEANMODE = RSAOT_C_FLAG-ON "
* I_NEW_HANDLE = RSAOT_C_FLAG-ON "

IMPORTING
E_S_OLTPSOURCE = "
E_T_FIELDT = "
E_T_SEGMENTS = "
E_T_SEGTEXTS = "
E_T_SEGFIELDS = "
E_T_SEGFIELDT = "
E_T_OHIECOM = "
E_T_ROOSPRMSF = "
E_T_ROIST = "
E_S_MDDELTA = "
E_S_GENDELTA = "
E_S_OHIECAT = "
E_T_OHIECOMTECH = "
E_T_APPFD = "
E_T_DD03P = "
E_LANGUAGE_KEY = "
E_S_OSESRHDMAP = "
E_T_OSESRFDMAP = "
E_S_OSESRMAP = "
E_S_DELTAINFO_GEN = "
E_S_ROIS = "
E_S_RODCHABAS = "
E_S_ROHIEBAS = "
E_S_RSMDDELTA = "
E_T_ROOSGEN = "
E_T_FIELDS = "
E_T_TEXTS = "

EXCEPTIONS
NO_AUTHORITY = 1 NOT_EXIST = 2 INCONSISTENT = 3
.



IMPORTING Parameters details for RSA1_SINGLE_OLTPSOURCE_GET

I_WITH_BUF -

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

I_GET_SWITCH -

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

I_CHECK_SWITCH -

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

I_OLTPSOURCE -

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

I_OBJVERS -

Data type: RSAOT_OBJVERS
Default: 'A'
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RLOGSYS -

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

I_T_LANGU -

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

I_NO_TEXT -

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

I_NO_AUTHORITY -

Data type: RSAOT_FLAG
Default: RSAOT_C_FLAG-ON
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_LEANMODE -

Data type: RSAOT_FLAG
Default: RSAOT_C_FLAG-ON
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_NEW_HANDLE -

Data type: RSAOT_FLAG
Default: RSAOT_C_FLAG-ON
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXPORTING Parameters details for RSA1_SINGLE_OLTPSOURCE_GET

E_S_OLTPSOURCE -

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

E_T_FIELDT -

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

E_T_SEGMENTS -

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

E_T_SEGTEXTS -

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

E_T_SEGFIELDS -

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

E_T_SEGFIELDT -

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

E_T_OHIECOM -

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

E_T_ROOSPRMSF -

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

E_T_ROIST -

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

E_S_MDDELTA -

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

E_S_GENDELTA -

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

E_S_OHIECAT -

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

E_T_OHIECOMTECH -

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

E_T_APPFD -

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

E_T_DD03P -

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

E_LANGUAGE_KEY -

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

E_S_OSESRHDMAP -

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

E_T_OSESRFDMAP -

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

E_S_OSESRMAP -

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

E_S_DELTAINFO_GEN -

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

E_S_ROIS -

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

E_S_RODCHABAS -

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

E_S_ROHIEBAS -

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

E_S_RSMDDELTA -

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

E_T_ROOSGEN -

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

E_T_FIELDS -

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

E_T_TEXTS -

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

EXCEPTIONS details

NO_AUTHORITY -

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

NOT_EXIST -

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

INCONSISTENT -

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

Copy and paste ABAP code example for RSA1_SINGLE_OLTPSOURCE_GET 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_with_buf  TYPE RSAOT_FLAG, "   ' '
lv_no_authority  TYPE RSAOT_FLAG, "   
lv_e_s_oltpsource  TYPE RSAOT_S_OSOURCE, "   
lv_e_t_fieldt  TYPE RSAOT_T_FIELDT, "   
lv_i_get_switch  TYPE RSAOT_FLAG, "   ' '
lv_e_t_segments  TYPE RSAOT_T_OSSEGMENTS, "   
lv_i_check_switch  TYPE RSAOT_FLAG, "   
lv_e_t_segtexts  TYPE RSAOT_T_OSSEGTEXTS, "   
lv_e_t_segfields  TYPE RSAOT_T_OSSEGFIELDS, "   
lv_e_t_segfieldt  TYPE RSAOT_T_OSSEGFIELDT, "   
lv_e_t_ohiecom  TYPE RSAOT_T_OHIECOM, "   
lv_e_t_roosprmsf  TYPE RSAOT_T_ROOSPRMSF, "   
lv_e_t_roist  TYPE RSAOT_T_ROIST, "   
lv_e_s_mddelta  TYPE RSAOT_S_MDDELTA, "   
lv_e_s_gendelta  TYPE RSAOT_S_GENDELTA, "   
lv_not_exist  TYPE RSAOT_S_GENDELTA, "   
lv_e_s_ohiecat  TYPE RSAOT_S_OHIECAT, "   
lv_i_oltpsource  TYPE RSAOT_OLTPSOURCE, "   
lv_e_t_ohiecomtech  TYPE RSAOT_T_OHIECOMTECH, "   
lv_e_t_appfd  TYPE RSAOT_T_APPFD, "   
lv_e_t_dd03p  TYPE RSAOT_T_DD03P, "   
lv_e_language_key  TYPE DD03P-FIELDNAME, "   
lv_e_s_osesrhdmap  TYPE ROESRHDMAP, "   
lv_e_t_osesrfdmap  TYPE ROTESRFDMAP, "   
lv_e_s_osesrmap  TYPE ROOSESRMAP, "   
lv_e_s_deltainfo_gen  TYPE RSAF_S_DELTAINFO_GEN, "   
lv_e_s_rois  TYPE RSAOT_S_ROIS, "   
lv_i_objvers  TYPE RSAOT_OBJVERS, "   'A'
lv_inconsistent  TYPE RSAOT_OBJVERS, "   
lv_i_rlogsys  TYPE RSAOT_LOGSYS, "   
lv_e_s_rodchabas  TYPE RSAOT_S_RODCHABAS, "   
lv_i_t_langu  TYPE RSAOT_T_LANGU, "   
lv_e_s_rohiebas  TYPE RSAOT_S_ROHIEBAS, "   
lv_i_no_text  TYPE RSAOT_FLAG, "   ' '
lv_e_s_rsmddelta  TYPE RSAOT_S_RSMDDELTA, "   
lv_e_t_roosgen  TYPE RSAOT_T_ROOSGEN, "   
lv_i_no_authority  TYPE RSAOT_FLAG, "   RSAOT_C_FLAG-ON
lv_e_t_fields  TYPE RSAOT_T_OSFIELD, "   
lv_i_leanmode  TYPE RSAOT_FLAG, "   RSAOT_C_FLAG-ON
lv_e_t_texts  TYPE RSAOT_T_OSTEXT, "   
lv_i_new_handle  TYPE RSAOT_FLAG. "   RSAOT_C_FLAG-ON

  CALL FUNCTION 'RSA1_SINGLE_OLTPSOURCE_GET'  "
    EXPORTING
         I_WITH_BUF = lv_i_with_buf
         I_GET_SWITCH = lv_i_get_switch
         I_CHECK_SWITCH = lv_i_check_switch
         I_OLTPSOURCE = lv_i_oltpsource
         I_OBJVERS = lv_i_objvers
         I_RLOGSYS = lv_i_rlogsys
         I_T_LANGU = lv_i_t_langu
         I_NO_TEXT = lv_i_no_text
         I_NO_AUTHORITY = lv_i_no_authority
         I_LEANMODE = lv_i_leanmode
         I_NEW_HANDLE = lv_i_new_handle
    IMPORTING
         E_S_OLTPSOURCE = lv_e_s_oltpsource
         E_T_FIELDT = lv_e_t_fieldt
         E_T_SEGMENTS = lv_e_t_segments
         E_T_SEGTEXTS = lv_e_t_segtexts
         E_T_SEGFIELDS = lv_e_t_segfields
         E_T_SEGFIELDT = lv_e_t_segfieldt
         E_T_OHIECOM = lv_e_t_ohiecom
         E_T_ROOSPRMSF = lv_e_t_roosprmsf
         E_T_ROIST = lv_e_t_roist
         E_S_MDDELTA = lv_e_s_mddelta
         E_S_GENDELTA = lv_e_s_gendelta
         E_S_OHIECAT = lv_e_s_ohiecat
         E_T_OHIECOMTECH = lv_e_t_ohiecomtech
         E_T_APPFD = lv_e_t_appfd
         E_T_DD03P = lv_e_t_dd03p
         E_LANGUAGE_KEY = lv_e_language_key
         E_S_OSESRHDMAP = lv_e_s_osesrhdmap
         E_T_OSESRFDMAP = lv_e_t_osesrfdmap
         E_S_OSESRMAP = lv_e_s_osesrmap
         E_S_DELTAINFO_GEN = lv_e_s_deltainfo_gen
         E_S_ROIS = lv_e_s_rois
         E_S_RODCHABAS = lv_e_s_rodchabas
         E_S_ROHIEBAS = lv_e_s_rohiebas
         E_S_RSMDDELTA = lv_e_s_rsmddelta
         E_T_ROOSGEN = lv_e_t_roosgen
         E_T_FIELDS = lv_e_t_fields
         E_T_TEXTS = lv_e_t_texts
    EXCEPTIONS
        NO_AUTHORITY = 1
        NOT_EXIST = 2
        INCONSISTENT = 3
. " RSA1_SINGLE_OLTPSOURCE_GET




ABAP code using 7.40 inline data declarations to call FM RSA1_SINGLE_OLTPSOURCE_GET

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_with_buf) = ' '.
 
 
 
 
DATA(ld_i_get_switch) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
"SELECT single FIELDNAME FROM DD03P INTO @DATA(ld_e_language_key).
 
 
 
 
 
 
DATA(ld_i_objvers) = 'A'.
 
 
 
 
 
 
DATA(ld_i_no_text) = ' '.
 
 
 
DATA(ld_i_no_authority) = RSAOT_C_FLAG-ON.
 
 
DATA(ld_i_leanmode) = RSAOT_C_FLAG-ON.
 
 
DATA(ld_i_new_handle) = RSAOT_C_FLAG-ON.
 


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!