SAP RSAR_ISOURCE_MD_HEADER_SAVE Function Module for Change the header information of an InfoSource for Master Data









RSAR_ISOURCE_MD_HEADER_SAVE is a standard rsar isource md header save SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Change the header information of an InfoSource for Master Data 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 rsar isource md header save FM, simply by entering the name RSAR_ISOURCE_MD_HEADER_SAVE into the relevant SAP transaction such as SE37 or SE38.

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



Function RSAR_ISOURCE_MD_HEADER_SAVE 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 'RSAR_ISOURCE_MD_HEADER_SAVE'"Change the header information of an InfoSource for Master Data
EXPORTING
* I_LANGU = SY-LANGU "Requested Language
I_OSOURCE = "InfoSource
* I_OBJVERS = RS_C_OBJVERS-ACTIVE "Requested object version
I_APPLNM = "New name of the application component
I_TXTSH = "New short text for the InfoSource
I_TXTMD = "New Text to InfoSource
I_TXTLG = "New for InfoSource long text

EXCEPTIONS
UNKNOWN_OSOURCE = 1 ILLEGAL_OSOURCE = 2 OBJECT_LOCKED = 3 UNAUTHORIZED = 4
.



IMPORTING Parameters details for RSAR_ISOURCE_MD_HEADER_SAVE

I_LANGU - Requested Language

Data type: SY-LANGU
Default: SY-LANGU
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_OSOURCE - InfoSource

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

I_OBJVERS - Requested object version

Data type: RS_OBJVERS
Default: RS_C_OBJVERS-ACTIVE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_APPLNM - New name of the application component

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

I_TXTSH - New short text for the InfoSource

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

I_TXTMD - New Text to InfoSource

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

I_TXTLG - New for InfoSource long text

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

EXCEPTIONS details

UNKNOWN_OSOURCE - InfoSource does not exist

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

ILLEGAL_OSOURCE - No manual maintenance for InfoSource permitted

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

OBJECT_LOCKED - The InfoSource is locked

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

UNAUTHORIZED -

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

Copy and paste ABAP code example for RSAR_ISOURCE_MD_HEADER_SAVE 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_langu  TYPE SY-LANGU, "   SY-LANGU
lv_unknown_osource  TYPE SY, "   
lv_i_osource  TYPE RSA_OSOURCE, "   
lv_illegal_osource  TYPE RSA_OSOURCE, "   
lv_i_objvers  TYPE RS_OBJVERS, "   RS_C_OBJVERS-ACTIVE
lv_object_locked  TYPE RS_OBJVERS, "   
lv_i_applnm  TYPE RSA_OBJECT, "   
lv_unauthorized  TYPE RSA_OBJECT, "   
lv_i_txtsh  TYPE RS_TXTSH, "   
lv_i_txtmd  TYPE RS_TXTMD, "   
lv_i_txtlg  TYPE RS_TXTLG. "   

  CALL FUNCTION 'RSAR_ISOURCE_MD_HEADER_SAVE'  "Change the header information of an InfoSource for Master Data
    EXPORTING
         I_LANGU = lv_i_langu
         I_OSOURCE = lv_i_osource
         I_OBJVERS = lv_i_objvers
         I_APPLNM = lv_i_applnm
         I_TXTSH = lv_i_txtsh
         I_TXTMD = lv_i_txtmd
         I_TXTLG = lv_i_txtlg
    EXCEPTIONS
        UNKNOWN_OSOURCE = 1
        ILLEGAL_OSOURCE = 2
        OBJECT_LOCKED = 3
        UNAUTHORIZED = 4
. " RSAR_ISOURCE_MD_HEADER_SAVE




ABAP code using 7.40 inline data declarations to call FM RSAR_ISOURCE_MD_HEADER_SAVE

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.

"SELECT single LANGU FROM SY INTO @DATA(ld_i_langu).
DATA(ld_i_langu) = SY-LANGU.
 
 
 
 
DATA(ld_i_objvers) = RS_C_OBJVERS-ACTIVE.
 
 
 
 
 
 
 


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!