Description of the Interfaces
Dependencies
If you use a remote function call, SID support has to be switched off and the hierarchy restrictions have to be expanded.
Different variants are allowed for the interface of the user-defined function module. These variants depend on the options you have chosen for the VirtualProvider:
-
If Pack RFC is switched on, choose variant 1
-
If SID Support is switched off, choose variant 2
-
Otherwise, choose variant 3
Variant 1:
IMPORTING
infocube LIKE bapi6200-infocube
keydate LIKE bapi6200-keydate
return LIKE bapiret2
TABLES
selection STRUCTURE bapi6200sl
characteristics STRUCTURE bapi6200fd
keyfigures STRUCTURE bapi6200fd
data STRUCTURE bapi6100da
EXCEPTIONS
communication_failure
system_failure
This variant is the most general and the most straightforward. It is described in the documentation for function module BAPI_INFOCUBE_READ_REMOTE_DATA.
Variant 2:
IMPORTING
i_infoprov TYPE rsinfoprov
i_keydate TYPE rrsrdate
i_th_sfc TYPE rsdri_th_sfc
i_th_sfk TYPE rsdri_th_sfk
i_t_range TYPE rsdri_t_range
i_tx_rangetab TYPE rsdri_tx_rangetab
i_first_call TYPE rs_bool
i_packagesize TYPE i
i_maxrows TYPE i
i_use_aggregation TYPE rs_bool
i_show_statement TYPE rs_bool
EXPORTING
e_t_data TYPE standard table
e_end_of_data TYPE rs_bool
e_t_msg TYPE rs_t_msg
This variant is described in the function module documentation for RSDRI_VPROV_READ_TEMPLATE.
Alternatively, the name of a class that implements interface IF_RSDRV_VPROV_LOC_NOSID_QUERY can also be entered here. The name is used to differentiate between them. If the name begins with CL, this is interpreted as a class. (Class name such as ZCL*, YCL* or namespace prefixes are not supported). This interface can only be used in internal SAP applications.
Variant 3:
i_infoprov TYPE rsinfoprov
i_keydate TYPE rrsrdate
i_th_sfc TYPE rsdd_th_sfc
i_th_sfk TYPE rsdd_th_sfk
i_tsx_seldr TYPE rsdd_tsx_seldr
i_caller TYPE rsdrs_caller
i_first_call TYPE rs_bool
i_packagesize TYPE i
EXPORTING
e_t_data TYPE standard table
e_end_of_data TYPE rs_bool
e_t_msg TYPE rs_t_msg