Ansicht
Dokumentation

RSDMD_API_XXL_ATTR_UPDATE - Update of master data XXL attributes

RSDMD_API_XXL_ATTR_UPDATE - Update of master data XXL attributes

RFUMSV00 - Advance Return for Tax on Sales/Purchases   PERFORM Short Reference  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Function module RSDMD_API_XXL_ATTR_UPDATE 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.

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 rsndi_t_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 rsndi_t_message.
CALL FUNCTION 'RSDMD_API_XXL_ATTR_UPDATE'
EXPORTING
i_iobjnm = 'A'
i_t_data = l_t_data
i_update_all_xxl_attr = 'X'
IMPORTING
e_t_messages = l_t_messages.

Further information

To load the master data text, use function module RSDMD_API_TEXTS_UPDATE.

Master data attributes can be loaded using function module RSDMD_API_ATTRIBUTES_UPDATE.





Parameters

E_SUBRC
E_T_MESSAGES
I_CHAVL_ENQUEUE
I_IOBJNM
I_NO_APPL_LOGGING
I_PROTOCOL
I_T_DATA
I_T_XXL_ATTRIBUTES
I_UPDATE_ALL_XXL_ATTR

Exceptions

Function Group

RSDMD_API_MD

BAL Application Log Documentation   Fill RESBD Structure from EBP Component Structure  
This documentation is copyright by SAP AG.

Length: 2673 Date: 20240523 Time: 135117     sap01-206 ( 33 ms )