SAP RSBBS_QUERY_REPORT_CALL Function Module for BW: Receiver Call from BW Query









RSBBS_QUERY_REPORT_CALL is a standard rsbbs query report call SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for BW: Receiver Call from BW Query 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 rsbbs query report call FM, simply by entering the name RSBBS_QUERY_REPORT_CALL into the relevant SAP transaction such as SE37 or SE38.

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



Function RSBBS_QUERY_REPORT_CALL 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 'RSBBS_QUERY_REPORT_CALL'"BW: Receiver Call from BW Query
EXPORTING
* I_WEB = RS_C_FALSE "Boolean
I_RECEIVER = "BW: Receiver's internal key
I_S_COMPKEY = "BW: Key of a Reporting Component
* I_BATCH = RS_C_FALSE "Boolean
* I_TO_MEMORY = RS_C_TRUE "Boolean

IMPORTING
E_RETURN_TYPE = "Internal Representation of Report Identifier
E_S_INTERNAL = "Parameters for the Internal Call
E_URL = "
E_HTML = "
E_N_WARNINGS = "List Processing, Page Length of List

CHANGING
C_THX_MAPPING = "

EXCEPTIONS
FOREIGN_CALL = 1 INVALID_HANDLE = 2 ERROR = 3 X_MESSAGE = 4
.




Customer Function user exits

Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.
EXIT_SAPLRSBBS_001 BW: RRI Field Mapping
EXIT_SAPLRSBBS_002 BW: RRI Customer Exit Called before Jump into R/3

IMPORTING Parameters details for RSBBS_QUERY_REPORT_CALL

I_WEB - Boolean

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

I_RECEIVER - BW: Receiver's internal key

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

I_S_COMPKEY - BW: Key of a Reporting Component

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

I_BATCH - Boolean

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

I_TO_MEMORY - Boolean

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

EXPORTING Parameters details for RSBBS_QUERY_REPORT_CALL

E_RETURN_TYPE - Internal Representation of Report Identifier

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

E_S_INTERNAL - Parameters for the Internal Call

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

E_URL -

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

E_HTML -

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

E_N_WARNINGS - List Processing, Page Length of List

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

CHANGING Parameters details for RSBBS_QUERY_REPORT_CALL

C_THX_MAPPING -

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

EXCEPTIONS details

FOREIGN_CALL - Call in External System

Data type:
Optional: No
Call by Reference: Yes

INVALID_HANDLE - Invalid Handle

Data type:
Optional: No
Call by Reference: Yes

ERROR - Error during mapping

Data type:
Optional: No
Call by Reference: Yes

X_MESSAGE - X Message

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSBBS_QUERY_REPORT_CALL 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_web  TYPE RS_BOOL, "   RS_C_FALSE
lv_foreign_call  TYPE RS_BOOL, "   
lv_c_thx_mapping  TYPE RSBBS_THX_MAPPING, "   
lv_e_return_type  TYPE CHAR1, "   
lv_i_receiver  TYPE RSBBSRECEIVER, "   
lv_e_s_internal  TYPE RSBBS_S_INTERNAL, "   
lv_invalid_handle  TYPE RSBBS_S_INTERNAL, "   
lv_error  TYPE RSBBS_S_INTERNAL, "   
lv_e_url  TYPE STRING, "   
lv_i_s_compkey  TYPE RSZCOMPKEY, "   
lv_e_html  TYPE STRING, "   
lv_i_batch  TYPE RS_BOOL, "   RS_C_FALSE
lv_x_message  TYPE RS_BOOL, "   
lv_i_to_memory  TYPE RS_BOOL, "   RS_C_TRUE
lv_e_n_warnings  TYPE SY-LINCT. "   

  CALL FUNCTION 'RSBBS_QUERY_REPORT_CALL'  "BW: Receiver Call from BW Query
    EXPORTING
         I_WEB = lv_i_web
         I_RECEIVER = lv_i_receiver
         I_S_COMPKEY = lv_i_s_compkey
         I_BATCH = lv_i_batch
         I_TO_MEMORY = lv_i_to_memory
    IMPORTING
         E_RETURN_TYPE = lv_e_return_type
         E_S_INTERNAL = lv_e_s_internal
         E_URL = lv_e_url
         E_HTML = lv_e_html
         E_N_WARNINGS = lv_e_n_warnings
    CHANGING
         C_THX_MAPPING = lv_c_thx_mapping
    EXCEPTIONS
        FOREIGN_CALL = 1
        INVALID_HANDLE = 2
        ERROR = 3
        X_MESSAGE = 4
. " RSBBS_QUERY_REPORT_CALL




ABAP code using 7.40 inline data declarations to call FM RSBBS_QUERY_REPORT_CALL

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_web) = RS_C_FALSE.
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_i_batch) = RS_C_FALSE.
 
 
DATA(ld_i_to_memory) = RS_C_TRUE.
 
"SELECT single LINCT FROM SY INTO @DATA(ld_e_n_warnings).
 


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!