SAP RSAU_UPDR_USAGE Function Module for Where-used list for TLOGO objects in update rules









RSAU_UPDR_USAGE is a standard rsau updr usage SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Where-used list for TLOGO objects in update rules 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 rsau updr usage FM, simply by entering the name RSAU_UPDR_USAGE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSAU_UPDR_USAGE 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 'RSAU_UPDR_USAGE'"Where-used list for TLOGO objects in update rules
EXPORTING
* I_S_UPDR_SEND_DATA_TO = "BW Repository: TLOGO Object, type and type of association
* I_S_UPDR_RECEIVE_DATA_FROM = "BW Repository: TLOGO Object, type and type of association
* I_S_DATA = "BW Repository: TLOGO Object, type and type of association
* I_OBJVERS = "Object Version

IMPORTING
E_T_USED_BY = "BI Repository: Table of Objects and Association Type

EXCEPTIONS
USED_REL_NOT_DEFINED = 1 OBJVERS_NOT_ALLOWED = 2 ILLEGAL_INPUT = 3
.



IMPORTING Parameters details for RSAU_UPDR_USAGE

I_S_UPDR_SEND_DATA_TO - BW Repository: TLOGO Object, type and type of association

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

I_S_UPDR_RECEIVE_DATA_FROM - BW Repository: TLOGO Object, type and type of association

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

I_S_DATA - BW Repository: TLOGO Object, type and type of association

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

I_OBJVERS - Object Version

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

EXPORTING Parameters details for RSAU_UPDR_USAGE

E_T_USED_BY - BI Repository: Table of Objects and Association Type

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

EXCEPTIONS details

USED_REL_NOT_DEFINED -

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

OBJVERS_NOT_ALLOWED -

Data type:
Optional: No
Call by Reference: Yes

ILLEGAL_INPUT -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for RSAU_UPDR_USAGE 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_t_used_by  TYPE RSO_T_TLOGO_ASC, "   
lv_used_rel_not_defined  TYPE RSO_T_TLOGO_ASC, "   
lv_i_s_updr_send_data_to  TYPE RSO_S_TLOGO_ASC, "   
lv_objvers_not_allowed  TYPE RSO_S_TLOGO_ASC, "   
lv_i_s_updr_receive_data_from  TYPE RSO_S_TLOGO_ASC, "   
lv_i_s_data  TYPE RSO_S_TLOGO_ASC, "   
lv_illegal_input  TYPE RSO_S_TLOGO_ASC, "   
lv_i_objvers  TYPE RSOBJVERS. "   

  CALL FUNCTION 'RSAU_UPDR_USAGE'  "Where-used list for TLOGO objects in update rules
    EXPORTING
         I_S_UPDR_SEND_DATA_TO = lv_i_s_updr_send_data_to
         I_S_UPDR_RECEIVE_DATA_FROM = lv_i_s_updr_receive_data_from
         I_S_DATA = lv_i_s_data
         I_OBJVERS = lv_i_objvers
    IMPORTING
         E_T_USED_BY = lv_e_t_used_by
    EXCEPTIONS
        USED_REL_NOT_DEFINED = 1
        OBJVERS_NOT_ALLOWED = 2
        ILLEGAL_INPUT = 3
. " RSAU_UPDR_USAGE




ABAP code using 7.40 inline data declarations to call FM RSAU_UPDR_USAGE

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!