SAP /UIF/LREP_DELETE_CONTENT_SYNC Function Module for Function module for DELETE_CONTENT









/UIF/LREP_DELETE_CONTENT_SYNC is a standard /uif/lrep delete content sync SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Function module for DELETE_CONTENT 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 /uif/lrep delete content sync FM, simply by entering the name /UIF/LREP_DELETE_CONTENT_SYNC into the relevant SAP transaction such as SE37 or SE38.

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



Function /UIF/LREP_DELETE_CONTENT_SYNC 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 '/UIF/LREP_DELETE_CONTENT_SYNC'"Function module for DELETE_CONTENT
EXPORTING
* IV_TROBJTYPE = 'LRCC' "Object Type
* IV_INCLUDE_LOGGING = ABAP_TRUE "enables the app log
* IT_MSG_TYPE = "Standard table of message types
* IT_LOAD_UPDATE = "Hashed table of LRep load updates
* IS_ATO_ITEM = "LRep ATO item structure
* IV_NO_LOAD_HANDLING = ABAP_FALSE "When true no load handling is performed
* IV_TMS = ABAP_TRUE "
* IV_TOLERANT = ABAP_FALSE "
* IV_PROP_CHANGE_MERGE_EXC = ABAP_TRUE "
* IO_LOAD_HANDLER = "LRep load handler
IV_TROBJNAME = "LRep object name of file
IS_CONT_ID = "LRep content Id
* IV_HIDDEN = ABAP_FALSE "True when file is hidden
* IV_USER = SY-UNAME "LRep user name
* IV_TRKORR = "Request/Task
* IV_PACKAGE = '$TMP' "Package
* IV_ORIG_LANG = SY-LANGU "Language ID
* IV_MASTERLANG = SY-LANGU "

EXCEPTIONS
/UIF/CX_LREP_ROOT = 1
.



IMPORTING Parameters details for /UIF/LREP_DELETE_CONTENT_SYNC

IV_TROBJTYPE - Object Type

Data type: TROBJTYPE
Default: 'LRCC'
Optional: Yes
Call by Reference: Yes

IV_INCLUDE_LOGGING - enables the app log

Data type: ABAP_BOOL
Default: ABAP_TRUE
Optional: No
Call by Reference: Yes

IT_MSG_TYPE - Standard table of message types

Data type: /UIF/LREP_MSG_TYPE_TAB
Optional: Yes
Call by Reference: Yes

IT_LOAD_UPDATE - Hashed table of LRep load updates

Data type: /UIF/LREP_LOAD_UPDATE_TAB
Optional: Yes
Call by Reference: Yes

IS_ATO_ITEM - LRep ATO item structure

Data type: /UIF/LREP_ATO_ITEM
Optional: Yes
Call by Reference: Yes

IV_NO_LOAD_HANDLING - When true no load handling is performed

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

IV_TMS -

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

IV_TOLERANT -

Data type: BOOLE_D
Default: ABAP_FALSE
Optional: No
Call by Reference: Yes

IV_PROP_CHANGE_MERGE_EXC -

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

IO_LOAD_HANDLER - LRep load handler

Data type: /UIF/IF_LREP_LOAD_HANDLER
Optional: Yes
Call by Reference: Yes

IV_TROBJNAME - LRep object name of file

Data type: /UIF/LREP_TROBJNAME
Optional: No
Call by Reference: Yes

IS_CONT_ID - LRep content Id

Data type: /UIF/LREP_CONT_ID
Optional: No
Call by Reference: Yes

IV_HIDDEN - True when file is hidden

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

IV_USER - LRep user name

Data type: /UIF/LREP_USER_NAME
Default: SY-UNAME
Optional: Yes
Call by Reference: Yes

IV_TRKORR - Request/Task

Data type: TRKORR
Optional: Yes
Call by Reference: Yes

IV_PACKAGE - Package

Data type: DEVCLASS
Default: '$TMP'
Optional: Yes
Call by Reference: Yes

IV_ORIG_LANG - Language ID

Data type: LANG
Default: SY-LANGU
Optional: Yes
Call by Reference: Yes

IV_MASTERLANG -

Data type: LANG
Default: SY-LANGU
Optional: Yes
Call by Reference: Yes

EXCEPTIONS details

/UIF/CX_LREP_ROOT - LRep root exception class

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for /UIF/LREP_DELETE_CONTENT_SYNC 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_iv_trobjtype  TYPE TROBJTYPE, "   'LRCC'
lv_/uif/cx_lrep_root  TYPE TROBJTYPE, "   
lv_iv_include_logging  TYPE ABAP_BOOL, "   ABAP_TRUE
lv_it_msg_type  TYPE /UIF/LREP_MSG_TYPE_TAB, "   
lv_it_load_update  TYPE /UIF/LREP_LOAD_UPDATE_TAB, "   
lv_is_ato_item  TYPE /UIF/LREP_ATO_ITEM, "   
lv_iv_no_load_handling  TYPE BOOLE_D, "   ABAP_FALSE
lv_iv_tms  TYPE BOOLE_D, "   ABAP_TRUE
lv_iv_tolerant  TYPE BOOLE_D, "   ABAP_FALSE
lv_iv_prop_change_merge_exc  TYPE BOOLE_D, "   ABAP_TRUE
lv_io_load_handler  TYPE /UIF/IF_LREP_LOAD_HANDLER, "   
lv_iv_trobjname  TYPE /UIF/LREP_TROBJNAME, "   
lv_is_cont_id  TYPE /UIF/LREP_CONT_ID, "   
lv_iv_hidden  TYPE BOOLE_D, "   ABAP_FALSE
lv_iv_user  TYPE /UIF/LREP_USER_NAME, "   SY-UNAME
lv_iv_trkorr  TYPE TRKORR, "   
lv_iv_package  TYPE DEVCLASS, "   '$TMP'
lv_iv_orig_lang  TYPE LANG, "   SY-LANGU
lv_iv_masterlang  TYPE LANG. "   SY-LANGU

  CALL FUNCTION '/UIF/LREP_DELETE_CONTENT_SYNC'  "Function module for DELETE_CONTENT
    EXPORTING
         IV_TROBJTYPE = lv_iv_trobjtype
         IV_INCLUDE_LOGGING = lv_iv_include_logging
         IT_MSG_TYPE = lv_it_msg_type
         IT_LOAD_UPDATE = lv_it_load_update
         IS_ATO_ITEM = lv_is_ato_item
         IV_NO_LOAD_HANDLING = lv_iv_no_load_handling
         IV_TMS = lv_iv_tms
         IV_TOLERANT = lv_iv_tolerant
         IV_PROP_CHANGE_MERGE_EXC = lv_iv_prop_change_merge_exc
         IO_LOAD_HANDLER = lv_io_load_handler
         IV_TROBJNAME = lv_iv_trobjname
         IS_CONT_ID = lv_is_cont_id
         IV_HIDDEN = lv_iv_hidden
         IV_USER = lv_iv_user
         IV_TRKORR = lv_iv_trkorr
         IV_PACKAGE = lv_iv_package
         IV_ORIG_LANG = lv_iv_orig_lang
         IV_MASTERLANG = lv_iv_masterlang
    EXCEPTIONS
        /UIF/CX_LREP_ROOT = 1
. " /UIF/LREP_DELETE_CONTENT_SYNC




ABAP code using 7.40 inline data declarations to call FM /UIF/LREP_DELETE_CONTENT_SYNC

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_iv_trobjtype) = 'LRCC'.
 
 
DATA(ld_iv_include_logging) = ABAP_TRUE.
 
 
 
 
DATA(ld_iv_no_load_handling) = ABAP_FALSE.
 
DATA(ld_iv_tms) = ABAP_TRUE.
 
DATA(ld_iv_tolerant) = ABAP_FALSE.
 
DATA(ld_iv_prop_change_merge_exc) = ABAP_TRUE.
 
 
 
 
DATA(ld_iv_hidden) = ABAP_FALSE.
 
DATA(ld_iv_user) = SY-UNAME.
 
 
DATA(ld_iv_package) = '$TMP'.
 
DATA(ld_iv_orig_lang) = SY-LANGU.
 
DATA(ld_iv_masterlang) = SY-LANGU.
 


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!