SAP UPARM_IOBJ_DELETE Function Module for Deletes from the InfoObject









UPARM_IOBJ_DELETE is a standard uparm iobj 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 from the InfoObject 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 uparm iobj delete FM, simply by entering the name UPARM_IOBJ_DELETE into the relevant SAP transaction such as SE37 or SE38.

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



Function UPARM_IOBJ_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 'UPARM_IOBJ_DELETE'"Deletes from the InfoObject
EXPORTING
I_INFO_OBJ = "InfoObject
IT_IOBJ_SELECT = "BW Data Manager: Range List
IT_MD_DELETED_ROWS = "ID Row Values
* I_FLG_SIMULATION = ABAP_TRUE "Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

IMPORTING
ET_DELETE_ERROR = "Master Data Maintenance View - Error Messages
.



IMPORTING Parameters details for UPARM_IOBJ_DELETE

I_INFO_OBJ - InfoObject

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

IT_IOBJ_SELECT - BW Data Manager: Range List

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

IT_MD_DELETED_ROWS - ID Row Values

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

I_FLG_SIMULATION - Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')

Data type: BOOLE_D
Default: ABAP_TRUE
Optional: Yes
Call by Reference: Yes

EXPORTING Parameters details for UPARM_IOBJ_DELETE

ET_DELETE_ERROR - Master Data Maintenance View - Error Messages

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

Copy and paste ABAP code example for UPARM_IOBJ_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:
lv_i_info_obj  TYPE UPARM_Y_IOBJ, "   
lv_et_delete_error  TYPE UPARM_YT_RETURN, "   
lv_it_iobj_select  TYPE RSDRI_T_RANGE, "   
lv_it_md_deleted_rows  TYPE UPARM_YT_ID_ROW_VALUES, "   
lv_i_flg_simulation  TYPE BOOLE_D. "   ABAP_TRUE

  CALL FUNCTION 'UPARM_IOBJ_DELETE'  "Deletes from the InfoObject
    EXPORTING
         I_INFO_OBJ = lv_i_info_obj
         IT_IOBJ_SELECT = lv_it_iobj_select
         IT_MD_DELETED_ROWS = lv_it_md_deleted_rows
         I_FLG_SIMULATION = lv_i_flg_simulation
    IMPORTING
         ET_DELETE_ERROR = lv_et_delete_error
. " UPARM_IOBJ_DELETE




ABAP code using 7.40 inline data declarations to call FM UPARM_IOBJ_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_flg_simulation) = ABAP_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!