04-06-2012 10:40 PM
Dear All,
I have a requirement to write data into the InfoObject, I used 'RSNDI_MD_ATTRIBUTES_UPDATE' function module in my Program with below parameters.
{code}
CALL FUNCTION 'RSNDI_MD_ATTRIBUTES_UPDATE'
EXPORTING
i_iobjnm = 'InfoObjectName'
IMPORTING
e_subrc = lv_subrc
TABLES
i_t_attributes = lt_attr
i_t_data = lt_chavl
e_t_messages = lt_message. {code}
The issue is when the InfoObject attributes are 'Display' attributes then my program is writing data, but when they are changed into 'Navgaional' attributes then Program is throwing Dump. (MESSAGE_TYPE_X, No fiscal variant specified).
Is there any other function module which can write data into 'Navigational attributes' or is there a way i can make the same ''RSNDI_MD_ATTRIBUTES_UPDATE'' FM work?
Any help would be highly appreciated.
Thanks in advance,
DC
04-10-2012 11:49 AM
Hi,
You need to use the method UPDATE_ATTRIBUTES_STATIC of the class CL_RSDMD_UPDATE_MASTER_DATA to change the NAV attributes.
Please see the generated program for inobject maintainance from RSDMD transaction.
Thanks,
Ramesh