Ansicht
Dokumentation
RSNDI_MD_XXL_ATTR_UPDATE_4 - Update of master data XXL attributes
PERFORM Short Reference CL_GUI_FRONTEND_SERVICES - Frontend ServicesThis documentation is copyright by SAP AG.
Functionality
Function module RSNDI_MD_XXL_ATTR_UPDATE_4 is used to write master data XXL attributes to an InfoObject which supports XXL attributes.
If XXL data records already exist for the key values submitted, the corresponding XXL attributes are overwritten. Otherwise, new data records are created.
With table I_T_DATA, XXL, data is also passed with function module RSNDI_MD_ATTRIBUTES_UPDATE.
Data is passed using table I_T_DATA. A separate entry is required in I_T_DATA for every XXL attribute value of a master data record. All entries in I_T_DATA with the same value in component RECORD_NO are bundled into a single master data record.
Example
Write string “HTTP://SAP.COM” in XXL attribute 'ZURL' with key A001 of InfoObject 'A':
* create the master data record
DATA:
l_s_data TYPE rsndi_s_xxl_chavl,
l_t_data TYPE TABLE OF rsndi_s_xxl_chavl.
l_s_data-record_no = 1.
l_s_data-iobjnm = 'A'.
l_s_data-value = 'A001'.
APPEND l_s_data TO l_t_data.
CLEAR l_s_data.
l_s_data-record_no = 1.
l_s_data-iobjnm = 'ZURL'.
l_s_data-value_string = 'HTTP://SAP.COM'
APPEND l_s_data TO l_t_data.
* write record to XXL master data tables
DATA l_t_messages TYPE STANDARD TABLE OF rsndi_s_message.
CALL FUNCTION 'RSNDI_MD_XXL_ATTR_UPDATE_4'
EXPORTING
i_iobjnm = 'A'
i_t_data = l_t_data
i_update_all_xxl_attr = 'X'
TABLES
e_t_messages = l_t_messages.
Further information
To load the master data text, use function module RSNDI_MD_TEXTS_UPDATE
Master data attributes can be loaded using function module RSNDI_MD_ATTRIBUTES_UPDATE.
Parameters
E_SUBRCE_T_MESSAGES
I_CHAVL_ENQUEUE
I_COMMIT_WORK
I_DB_COMMIT
I_IOBJNM
I_NO_APPL_LOGGING
I_PROTOCOL
I_T_DATA
I_T_XXL_ATTRIBUTES
I_UPDATE_ALL_XXL_ATTR
Exceptions
Function Group
RSNDI_MDGeneral Material Data BAL_S_LOG - Application Log: Log header data
This documentation is copyright by SAP AG.
Length: 3011 Date: 20240605 Time: 150427 sap01-206 ( 37 ms )