Ansicht
Dokumentation
RSNDI_MD_TEXTS_UPDATE - Update of master data texts
CPI1466 during Backup Fill RESBD Structure from EBP Component StructureThis documentation is copyright by SAP AG.
Functionality
The function module RSNDI_MD_TEXTS_UPDATE is used to write master data texts to an InfoObject. The texts can be written in different languages and can also be time-specific.
With table I_T_DATA, data is passed in the same way as with function module RSNDI_MD_ATTRIBUTES_UPDATE.
Example
Write the time-specific English text “Article A001” for the master data record with the key A001 of InfoObject A:
* create the master data record
DATA:
l_s_data TYPE rsndi_s_chavl,
l_t_data TYPE TABLE OF rsndi_s_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.
l_s_data-record_no = 1.
l_s_data-iobjnm = '0DATETO'.
l_s_data-value = '20061231'.
APPEND l_s_data TO l_t_data.
l_s_data-record_no = 1.
l_s_data-iobjnm = '0DATEFROM'.
l_s_data-value = '20060101'.
APPEND l_s_data TO l_t_data.
l_s_data-record_no = 1.
l_s_data-iobjnm = '0TXTSH'.
l_s_data-value = 'Article A001'.
APPEND l_s_data TO l_t_data.
* write record to master data tables
DATA l_t_messages TYPE STANDARD TABLE OF rsndi_s_message.
CALL FUNCTION 'RSNDI_MD_TEXTS_UPDATE'
EXPORTING
i_iobjnm = 'A'
i_langu = 'E'
TABLES
i_t_data = l_t_data
e_t_messages = l_t_messages.
Notes
Short, medium and long texts must be passed using the InfoObjects 0TXTSH, 0TXTMD or 0TXTLG.
Warning: If parameter I_COMMIT_WORK is not set to 'rs_c_true' (to perform multiple function module calls in a LUW for example), a COMMIT WORK must be performed explicitly at the end of the LUW, in order to ensure that the master data is updated consistently.
Further information
Master data attributes can be loaded using the function module RSNDI_MD_ATTRIBUTES_UPDATE.
Parameters
E_SUBRCE_T_MESSAGES
I_CHAVL_ENQUEUE
I_COMMIT_WORK
I_DB_COMMIT
I_IOBJNM
I_LANGU
I_NO_APPL_LOGGING
I_PROTOCOL
I_T_DATA
Exceptions
Function Group
RSNDI_MDROGBILLS - Synchronize billing plans General Data in Customer Master
This documentation is copyright by SAP AG.
Length: 3018 Date: 20240523 Time: 145531 sap01-206 ( 47 ms )