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: 

Maintain Material Text in different Languages during MM01/MM02

former_member207873
Participant
0 Kudos

Hello Experts ,

When a material is created/changed , I need to maintain the same text in different other languages .

Suppose When material A is having a material text , Tea 50 g , the same text has to be maintained in other languages such as German , French etc .

I found the user exit EXIT_SAPLMGMU_001 , Can i use 'BAPI_MATERIAL_SAVEDATA' inside this exit ? Even if i use the problem is that, when I call this BAPI the User exit is called again and again causing an indefinite loop. Are there any other ways to do this like a userexit/badi which triggers completely after material save or so ?

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor

During execution of MM01/MM02 you can change text in multiple language thru 'additional data' in the tab 'descriptions'

___________________

But if you actually want to copy by default your input text from session language to some other languages, look at

  • Customer exit EXIT_SAPLMGMU_001 of Enhancement MGA00001 - table parameter STEXT
  • Method CHECK_DATA of BAdI BADI_MATERIAL_CHECK - changing parameter STEXT

Those enhancements allow to check data and perform some limited changes including texts of MAKT.

5 REPLIES 5

robin_mcrae2
Participant
0 Kudos

Hi,

Are you using a template/program to create your materials and the problem is related to when you jump into additional data to add a text on FR or DE... it loops?

Robin.

Prashant_Patil
Participant
0 Kudos

Hi,

Please clarify :

1. Are you doing data migration of material data & want to load material text in different languages ?

2. Are you creating new material as & when required ? If so, then MM02-> Basic data view -> Language & description in respective language.

Thanks,

Prashant

former_member207873
Participant
0 Kudos

robin.mcrae2

I am not creating a seperate program to create the material. I am just using the standard MM01/MM02. But while I create/process these materials, I need to maintain text in other languages for the same material

former_member207873
Participant
0 Kudos

@prasanth

I am not doing any data migration. I just need to copy the material text in another languages when a material is getting created/changed through some enhancement method.

raymond_giuseppi
Active Contributor

During execution of MM01/MM02 you can change text in multiple language thru 'additional data' in the tab 'descriptions'

___________________

But if you actually want to copy by default your input text from session language to some other languages, look at

  • Customer exit EXIT_SAPLMGMU_001 of Enhancement MGA00001 - table parameter STEXT
  • Method CHECK_DATA of BAdI BADI_MATERIAL_CHECK - changing parameter STEXT

Those enhancements allow to check data and perform some limited changes including texts of MAKT.