ulrich.fuchs
6th May 2013, 14:01
Hi Guys,
I am trying to programatically fill a main table field with different values in different languages from within a user exit script. This is a multi-language enabled field in the item master. So far no success, the User-Exit seems to get and be able to set only the values of a single language. Using ml_set_datalang and then setting the field puts the same value into all languages. Did already anyone successfully implemented such a requirement, and if so, how?

best regards
Uli

JaapJD
6th May 2013, 15:14
I assume you have to do the following steps for each data language:
- set the data language
- select the record,
- update the mle field
- db.update
Note that you should do this in the after.after.save, otherwise you are disturbing the other changes. And of course, no commit in between!