SAP RS_BCT_XA_GET_ADMIN_VALUES Function Module for Get settings out of RSXAADMIN









RS_BCT_XA_GET_ADMIN_VALUES is a standard rs bct xa get admin values SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Get settings out of RSXAADMIN 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 rs bct xa get admin values FM, simply by entering the name RS_BCT_XA_GET_ADMIN_VALUES into the relevant SAP transaction such as SE37 or SE38.

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



Function RS_BCT_XA_GET_ADMIN_VALUES 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 'RS_BCT_XA_GET_ADMIN_VALUES'"Get settings out of RSXAADMIN
EXPORTING
* I_FILENAME = "xA Filename
* I_GET_SUPPORT_SETTINGS = "Boolean
* I_GETPATH = 'X' "Boolean
* I_GETPACKSIZE = 'X' "Boolean
* I_GETSERVER = 'X' "Boolean
* I_GETCTOREQUEST = "Boolean
* I_GETPACKAGE_DEFAULT = "Boolean
* I_GETTREX_VALUES = "Boolean
* I_GETDQM_VALUES = "Boolean
* I_GETCURRENCY = "Boolean

IMPORTING
E_PATHWITHFILE = "xA path and Filename concatenated
E_TREX_INDEX_PKG = "TREX Indexing Package Size
E_TREX_INDEX = "TREX RFC Destination
E_TREX_RFC_DEST = "TREX Index for Document Search
E_DQM_DELIMITER = "DQM Delimiter
E_DQM_ESCAPESIGN = "DQM Escapesign
E_DQM_TDATA_ACTIVE = "DQM Classification for transactional data active
E_CURRENCY = "Target Currency for BI
E_USE_EXT_LOG = "Use the extended log
E_DEBUG_MODE = "Debug Mode is on/off
E_SUBRC = "Return Value of ABAP Statements
E_PATHIMPORT_WITHFILE = "xa import path and filename concatenated
E_PATH = "xA Filename
E_PATH_IMPORT = "Path for imported files
E_PATH_EXPORT = "Value
E_PACKSIZE = "package size
E_SERVER = "default server
E_CTOREQUEST = "Default request number for transporting xa objects
E_PACKAGE_DEFAULT = "Default package for xa objects
.



IMPORTING Parameters details for RS_BCT_XA_GET_ADMIN_VALUES

I_FILENAME - xA Filename

Data type: RSXAFILE
Optional: Yes
Call by Reference: Yes

I_GET_SUPPORT_SETTINGS - Boolean

Data type: RS_BOOL
Optional: Yes
Call by Reference: Yes

I_GETPATH - Boolean

Data type: RS_BOOL
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_GETPACKSIZE - Boolean

Data type: RS_BOOL
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_GETSERVER - Boolean

Data type: RS_BOOL
Default: 'X'
Optional: Yes
Call by Reference: Yes

I_GETCTOREQUEST - Boolean

Data type: RS_BOOL
Optional: Yes
Call by Reference: Yes

I_GETPACKAGE_DEFAULT - Boolean

Data type: RS_BOOL
Optional: Yes
Call by Reference: Yes

I_GETTREX_VALUES - Boolean

Data type: RS_BOOL
Optional: Yes
Call by Reference: Yes

I_GETDQM_VALUES - Boolean

Data type: RS_BOOL
Optional: Yes
Call by Reference: Yes

I_GETCURRENCY - Boolean

Data type: RS_BOOL
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for RS_BCT_XA_GET_ADMIN_VALUES

E_PATHWITHFILE - xA path and Filename concatenated

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

E_TREX_INDEX_PKG - TREX Indexing Package Size

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

E_TREX_INDEX - TREX RFC Destination

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

E_TREX_RFC_DEST - TREX Index for Document Search

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

E_DQM_DELIMITER - DQM Delimiter

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

E_DQM_ESCAPESIGN - DQM Escapesign

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

E_DQM_TDATA_ACTIVE - DQM Classification for transactional data active

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

E_CURRENCY - Target Currency for BI

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

E_USE_EXT_LOG - Use the extended log

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

E_DEBUG_MODE - Debug Mode is on/off

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

E_SUBRC - Return Value of ABAP Statements

Data type: SY-SUBRC
Optional: No
Call by Reference: Yes

E_PATHIMPORT_WITHFILE - xa import path and filename concatenated

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

E_PATH - xA Filename

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

E_PATH_IMPORT - Path for imported files

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

E_PATH_EXPORT - Value

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

E_PACKSIZE - package size

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

E_SERVER - default server

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

E_CTOREQUEST - Default request number for transporting xa objects

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

E_PACKAGE_DEFAULT - Default package for xa objects

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

Copy and paste ABAP code example for RS_BCT_XA_GET_ADMIN_VALUES 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_filename  TYPE RSXAFILE, "   
lv_e_pathwithfile  TYPE RSXAFILE, "   
lv_e_trex_index_pkg  TYPE RSXAVALUE, "   
lv_i_get_support_settings  TYPE RS_BOOL, "   
lv_e_trex_index  TYPE RSXAVALUE, "   
lv_e_trex_rfc_dest  TYPE RSXAVALUE, "   
lv_e_dqm_delimiter  TYPE RSXAVALUE, "   
lv_e_dqm_escapesign  TYPE RSXAVALUE, "   
lv_e_dqm_tdata_active  TYPE RSXAVALUE, "   
lv_e_currency  TYPE RSXAVALUE, "   
lv_e_use_ext_log  TYPE RSXAVALUE, "   
lv_e_debug_mode  TYPE RSXAVALUE, "   
lv_e_subrc  TYPE SY-SUBRC, "   
lv_i_getpath  TYPE RS_BOOL, "   'X'
lv_e_pathimport_withfile  TYPE RSXAFILE, "   
lv_e_path  TYPE RSXAVALUE, "   
lv_i_getpacksize  TYPE RS_BOOL, "   'X'
lv_i_getserver  TYPE RS_BOOL, "   'X'
lv_e_path_import  TYPE RSXAVALUE, "   
lv_e_path_export  TYPE RSXAVALUE, "   
lv_i_getctorequest  TYPE RS_BOOL, "   
lv_e_packsize  TYPE RSXAVALUE, "   
lv_i_getpackage_default  TYPE RS_BOOL, "   
lv_e_server  TYPE RSXAVALUE, "   
lv_i_gettrex_values  TYPE RS_BOOL, "   
lv_e_ctorequest  TYPE RSXAVALUE, "   
lv_i_getdqm_values  TYPE RS_BOOL, "   
lv_i_getcurrency  TYPE RS_BOOL, "   
lv_e_package_default  TYPE RSXAVALUE. "   

  CALL FUNCTION 'RS_BCT_XA_GET_ADMIN_VALUES'  "Get settings out of RSXAADMIN
    EXPORTING
         I_FILENAME = lv_i_filename
         I_GET_SUPPORT_SETTINGS = lv_i_get_support_settings
         I_GETPATH = lv_i_getpath
         I_GETPACKSIZE = lv_i_getpacksize
         I_GETSERVER = lv_i_getserver
         I_GETCTOREQUEST = lv_i_getctorequest
         I_GETPACKAGE_DEFAULT = lv_i_getpackage_default
         I_GETTREX_VALUES = lv_i_gettrex_values
         I_GETDQM_VALUES = lv_i_getdqm_values
         I_GETCURRENCY = lv_i_getcurrency
    IMPORTING
         E_PATHWITHFILE = lv_e_pathwithfile
         E_TREX_INDEX_PKG = lv_e_trex_index_pkg
         E_TREX_INDEX = lv_e_trex_index
         E_TREX_RFC_DEST = lv_e_trex_rfc_dest
         E_DQM_DELIMITER = lv_e_dqm_delimiter
         E_DQM_ESCAPESIGN = lv_e_dqm_escapesign
         E_DQM_TDATA_ACTIVE = lv_e_dqm_tdata_active
         E_CURRENCY = lv_e_currency
         E_USE_EXT_LOG = lv_e_use_ext_log
         E_DEBUG_MODE = lv_e_debug_mode
         E_SUBRC = lv_e_subrc
         E_PATHIMPORT_WITHFILE = lv_e_pathimport_withfile
         E_PATH = lv_e_path
         E_PATH_IMPORT = lv_e_path_import
         E_PATH_EXPORT = lv_e_path_export
         E_PACKSIZE = lv_e_packsize
         E_SERVER = lv_e_server
         E_CTOREQUEST = lv_e_ctorequest
         E_PACKAGE_DEFAULT = lv_e_package_default
. " RS_BCT_XA_GET_ADMIN_VALUES




ABAP code using 7.40 inline data declarations to call FM RS_BCT_XA_GET_ADMIN_VALUES

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 SUBRC FROM SY INTO @DATA(ld_e_subrc).
 
DATA(ld_i_getpath) = 'X'.
 
 
 
DATA(ld_i_getpacksize) = 'X'.
 
DATA(ld_i_getserver) = 'X'.
 
 
 
 
 
 
 
 
 
 
 
 


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!