cancel
Showing results for 
Search instead for 
Did you mean: 

FM to update or insert master data?

Former Member
0 Kudos

Hi Brothers,

I am looking for a FM that updates or inserts master data by a given structure.

I mean something like that:

DATA: table_to_update TYPE some_table.

LOOP thru table INTO structure.
 
CALL METHOD fm_i_am_looking_for
EXPORTING
infoobject_name = 'my_io'
struc_to_update = structure.

ENDLOOP.

FM should then update the values in structure

Thanks, Johannes

Accepted Solutions (1)

Accepted Solutions (1)

chemicala_srimallikarjuna
Active Contributor
0 Kudos

Hi,

Pls considered using FM RSDMD_WRITE_ATTRIBUTES_TEXTS .It's a Standard FM provided by SAP and mentioned in an How TO named "How to Update Master Data during an upload of transactional data" (search for it in service.sap.com/bw if you need some coding samples). This FM can be used to Update Texts (i_tabclass = 'T') and Attributes (i_tabclass = 'M') as well.Pls after Updating remember activating with FM RSDDS_ATTRIBUTES_ACTIVATE.

Hope this helps,

Regards

CSM Reddy

Former Member
0 Kudos

Hi,

for updating attributes you can also use FM RSNDI_MD_ATTRIBUTES_UPDATE.

check: http://help.sap.com/saphelp_nw2004s/helpdata/en/44/bd9b2916fd08cfe10000000a155369/content.htm

excample call:

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Johannes,

did you already try fm RSDMD_WRITE_ATTRIBUTES_TEXTS?

May be that is of some help.

regards

Siggi

Former Member
0 Kudos

Can you give an example how to parameterize this FM? I have tried to execute it but the parameters do mean anything to me.

Thanks, Johannes