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: 

function module

Former Member
0 Kudos

RSDMD_WRITE_ATTRIBUTES_TEXTS

What is this purpose of the FM..Can anyone say how is this used..Sample program is very useful..

3 REPLIES 3

Former Member
0 Kudos

The SAP function module

'RSDMD_WRITE_ATTRIBUTES_TEXTS' is used to update the master data attributes table directly. This works fine, but when we add these custom navigational attributes into an InfoCube, they are not populated.

Regards.

Former Member
0 Kudos

Hi, The FM 'RSDMD_WRITE_ATTRIBUTES_TEXTS' is used to update masterdata attribute.

Former Member
0 Kudos

Hi Mahesh,

RSDMD_WRITE_ATTRIBUTES_TEXTS to update / create master data record in the start routine

            • Code Starts from Hear****************

DATA: lt_pZACCT_MAP LIKE TABLE OF /BIC/PZACCT_MAP.

"My Iobj is ZACCT_MAP

DATA: l_s_minfo TYPE rssm_s_minfo.

"populate lt_pZACCT_MAP according to your need.

"this will post the lt_p table in your IObj

CALL FUNCTION 'RSDMD_WRITE_ATTRIBUTES_TEXTS'

EXPORTING

i_iobjnm = 'ZACCT_MAP'

i_tabclass = 'M' "here it is the master data table, use 'T' for texts

i_s_minfo = l_s_minfo

tables

i_t_table = lt_pZACCT_MAP

exceptions

attribute_name_error = 1

iobj_not_found = 2

generate_program_error = 3

others = 4.

"this will active your MD if possible.

CALL FUNCTION 'RSDMD_MD_ACTIVATE'

EXPORTING

i_chabasnm = 'ZACCT_MAP'.

            • Code Ends hear****************

if you give me brief i can help you out more.

REWARD POINTS

Thank you .

Regards

Ram