SAP RSBOLAP_WSP_PROV_DELETE Function Module for Deletes a local or composite provider
RSBOLAP_WSP_PROV_DELETE is a standard rsbolap wsp prov delete SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Deletes a local or composite provider 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 rsbolap wsp prov delete FM, simply by entering the name RSBOLAP_WSP_PROV_DELETE into the relevant SAP transaction such as SE37 or SE38.
Function Group: RSBOLAP_WORKSPACES
Program Name: SAPLRSBOLAP_WORKSPACES
Main Program: SAPLRSBOLAP_WORKSPACES
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function RSBOLAP_WSP_PROV_DELETE 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 'RSBOLAP_WSP_PROV_DELETE'"Deletes a local or composite provider.
EXPORTING
I_PROVIDER_NAME = "Name of Provider to be deleted
* I_DELETE_MY_PROVIDERS_ONLY = RS_C_TRUE "Force deletion
IMPORTING
E_WRONG_PROV_TYPE_FOR_DELETION = "This prov type can't be deleted
E_PROV_NOT_FOUND = "The provider name doesn't exist
E_MAX_MESSAGE_TYPE = "Message Type
E_USER_IS_NOT_CREATOR = "User can only delete his own provider if force=false
TABLES
* E_T_MESSAGE = "Message
* I_T_STATISTIC_INFO = "OLAP Statistics: Mass Insert of Event Data
IMPORTING Parameters details for RSBOLAP_WSP_PROV_DELETE
I_PROVIDER_NAME - Name of Provider to be deleted
Data type: RSBOLAP_WSP_PROV_NAMEOptional: No
Call by Reference: No ( called with pass by value option)
I_DELETE_MY_PROVIDERS_ONLY - Force deletion
Data type: RSBOLAP_WSP_FORCE_DELETIONDefault: RS_C_TRUE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RSBOLAP_WSP_PROV_DELETE
E_WRONG_PROV_TYPE_FOR_DELETION - This prov type can't be deleted
Data type: RS_BOOLOptional: No
Call by Reference: No ( called with pass by value option)
E_PROV_NOT_FOUND - The provider name doesn't exist
Data type: RS_BOOLOptional: No
Call by Reference: No ( called with pass by value option)
E_MAX_MESSAGE_TYPE - Message Type
Data type: SYMSGTYOptional: No
Call by Reference: No ( called with pass by value option)
E_USER_IS_NOT_CREATOR - User can only delete his own provider if force=false
Data type: RS_BOOLOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RSBOLAP_WSP_PROV_DELETE
E_T_MESSAGE - Message
Data type: BICS_PROV_MESSAGEOptional: Yes
Call by Reference: Yes
I_T_STATISTIC_INFO - OLAP Statistics: Mass Insert of Event Data
Data type: RSSTA_S_EVENTINPUTOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for RSBOLAP_WSP_PROV_DELETE 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_MESSAGE, " | |||
lv_i_provider_name | TYPE RSBOLAP_WSP_PROV_NAME, " | |||
lv_e_wrong_prov_type_for_deletion | TYPE RS_BOOL, " | |||
lv_e_prov_not_found | TYPE RS_BOOL, " | |||
lt_i_t_statistic_info | TYPE STANDARD TABLE OF RSSTA_S_EVENTINPUT, " | |||
lv_i_delete_my_providers_only | TYPE RSBOLAP_WSP_FORCE_DELETION, " RS_C_TRUE | |||
lv_e_max_message_type | TYPE SYMSGTY, " | |||
lv_e_user_is_not_creator | TYPE RS_BOOL. " |
  CALL FUNCTION 'RSBOLAP_WSP_PROV_DELETE' "Deletes a local or composite provider |
EXPORTING | ||
I_PROVIDER_NAME | = lv_i_provider_name | |
I_DELETE_MY_PROVIDERS_ONLY | = lv_i_delete_my_providers_only | |
IMPORTING | ||
E_WRONG_PROV_TYPE_FOR_DELETION | = lv_e_wrong_prov_type_for_deletion | |
E_PROV_NOT_FOUND | = lv_e_prov_not_found | |
E_MAX_MESSAGE_TYPE | = lv_e_max_message_type | |
E_USER_IS_NOT_CREATOR | = lv_e_user_is_not_creator | |
TABLES | ||
E_T_MESSAGE | = lt_e_t_message | |
I_T_STATISTIC_INFO | = lt_i_t_statistic_info | |
. " RSBOLAP_WSP_PROV_DELETE |
ABAP code using 7.40 inline data declarations to call FM RSBOLAP_WSP_PROV_DELETE
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_delete_my_providers_only) | = RS_C_TRUE. | |||
Search for further information about these or an SAP related objects