SAP RS_BEX_REPORT_BICS_XML_GET Function Module for Query/View Metadata via BICS









RS_BEX_REPORT_BICS_XML_GET is a standard rs bex report bics xml get SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Query/View Metadata via BICS 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 bex report bics xml get FM, simply by entering the name RS_BEX_REPORT_BICS_XML_GET into the relevant SAP transaction such as SE37 or SE38.

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



Function RS_BEX_REPORT_BICS_XML_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 'RS_BEX_REPORT_BICS_XML_GET'"Query/View Metadata via BICS
EXPORTING
* I_APPLY_SAMPLE_VARIABLE_VALUES = RS_C_TRUE "Use Sample Variable Values if Necessary

IMPORTING
E_DEFINITION = "Query meta data XML
E_MAX_MESSAGE_TYPE = "Message Type
E_HAS_INPUT_VARIABLES = "Input Variables Exist
E_REQUIRES_VARIABLE_INPUT = "You Must Enter a Variable

TABLES
E_T_MESSAGE = "Message
I_T_SERVICE_DESC_PROPERTIES = "Name-Value Pairs
.



IMPORTING Parameters details for RS_BEX_REPORT_BICS_XML_GET

I_APPLY_SAMPLE_VARIABLE_VALUES - Use Sample Variable Values if Necessary

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

EXPORTING Parameters details for RS_BEX_REPORT_BICS_XML_GET

E_DEFINITION - Query meta data XML

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

E_MAX_MESSAGE_TYPE - Message Type

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

E_HAS_INPUT_VARIABLES - Input Variables Exist

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

E_REQUIRES_VARIABLE_INPUT - You Must Enter a Variable

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

TABLES Parameters details for RS_BEX_REPORT_BICS_XML_GET

E_T_MESSAGE - Message

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

I_T_SERVICE_DESC_PROPERTIES - Name-Value Pairs

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

Copy and paste ABAP code example for RS_BEX_REPORT_BICS_XML_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:
lt_e_t_message  TYPE STANDARD TABLE OF BICS_PROV_T_MESSAGE, "   
lv_e_definition  TYPE XSTRING, "   
lv_i_apply_sample_variable_values  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_max_message_type  TYPE SYMSGTY, "   
lt_i_t_service_desc_properties  TYPE STANDARD TABLE OF RSER_X_QUERY_NAME, "   
lv_e_has_input_variables  TYPE RS_BOOL, "   
lv_e_requires_variable_input  TYPE RS_BOOL. "   

  CALL FUNCTION 'RS_BEX_REPORT_BICS_XML_GET'  "Query/View Metadata via BICS
    EXPORTING
         I_APPLY_SAMPLE_VARIABLE_VALUES = lv_i_apply_sample_variable_values
    IMPORTING
         E_DEFINITION = lv_e_definition
         E_MAX_MESSAGE_TYPE = lv_e_max_message_type
         E_HAS_INPUT_VARIABLES = lv_e_has_input_variables
         E_REQUIRES_VARIABLE_INPUT = lv_e_requires_variable_input
    TABLES
         E_T_MESSAGE = lt_e_t_message
         I_T_SERVICE_DESC_PROPERTIES = lt_i_t_service_desc_properties
. " RS_BEX_REPORT_BICS_XML_GET




ABAP code using 7.40 inline data declarations to call FM RS_BEX_REPORT_BICS_XML_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_apply_sample_variable_values) = RS_C_TRUE.
 
 
 
 
 


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!