SAP BWSD_RFC_LOAD Function Module for









BWSD_RFC_LOAD is a standard bwsd rfc load 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 bwsd rfc load FM, simply by entering the name BWSD_RFC_LOAD into the relevant SAP transaction such as SE37 or SE38.

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



Function BWSD_RFC_LOAD 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 'BWSD_RFC_LOAD'"
EXPORTING
I_S_KEY = "

IMPORTING
E_SUBRC = "
E_RECORDS = "
E_SIZE = "
E_S_BLOCK_FIX = "
E_S_BLOCK = "
E_FORMAT = "
E_LEN = "
E_LEN_INFO = "

TABLES
E_T_MSG = "
E_T_DATA = "
E_T_XDATA = "
E_T_INFO = "
E_T_PROCESS = "
.



IMPORTING Parameters details for BWSD_RFC_LOAD

I_S_KEY -

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

EXPORTING Parameters details for BWSD_RFC_LOAD

E_SUBRC -

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

E_RECORDS -

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

E_SIZE -

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

E_S_BLOCK_FIX -

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

E_S_BLOCK -

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

E_FORMAT -

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

E_LEN -

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

E_LEN_INFO -

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

TABLES Parameters details for BWSD_RFC_LOAD

E_T_MSG -

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

E_T_DATA -

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

E_T_XDATA -

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

E_T_INFO -

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

E_T_PROCESS -

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

Copy and paste ABAP code example for BWSD_RFC_LOAD 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_e_subrc  TYPE SYSUBRC, "   
lt_e_t_msg  TYPE STANDARD TABLE OF RSTT_S_MSG, "   
lv_i_s_key  TYPE BWSD_S_KEY, "   
lt_e_t_data  TYPE STANDARD TABLE OF BWSD_S_DATAROW, "   
lv_e_records  TYPE I, "   
lv_e_size  TYPE ABAP_MSIZE, "   
lt_e_t_xdata  TYPE STANDARD TABLE OF RSTT_S_XCOMP, "   
lt_e_t_info  TYPE STANDARD TABLE OF RSTT_S_XCOMP, "   
lv_e_s_block_fix  TYPE BWSD_S_BLOCKINFO_STAT, "   
lv_e_s_block  TYPE BWSD_S_BLOCKINFO_DYN, "   
lt_e_t_process  TYPE STANDARD TABLE OF BWSD_S_PARAM_PROCESS, "   
lv_e_format  TYPE BWSD_FORMAT, "   
lv_e_len  TYPE INT4, "   
lv_e_len_info  TYPE INT4. "   

  CALL FUNCTION 'BWSD_RFC_LOAD'  "
    EXPORTING
         I_S_KEY = lv_i_s_key
    IMPORTING
         E_SUBRC = lv_e_subrc
         E_RECORDS = lv_e_records
         E_SIZE = lv_e_size
         E_S_BLOCK_FIX = lv_e_s_block_fix
         E_S_BLOCK = lv_e_s_block
         E_FORMAT = lv_e_format
         E_LEN = lv_e_len
         E_LEN_INFO = lv_e_len_info
    TABLES
         E_T_MSG = lt_e_t_msg
         E_T_DATA = lt_e_t_data
         E_T_XDATA = lt_e_t_xdata
         E_T_INFO = lt_e_t_info
         E_T_PROCESS = lt_e_t_process
. " BWSD_RFC_LOAD




ABAP code using 7.40 inline data declarations to call FM BWSD_RFC_LOAD

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!