Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FM to write data into BW InfoObject Navigational attributes

Former Member
0 Kudos

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

1 REPLY 1

ramesh_mahankali
Active Participant
0 Kudos

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