Application Development and Automation 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: 
Read only

BADI if_ex_material_reference~create_material - Material short Text

Former Member
0 Likes
1,006

Hy everyone,

I have a little problem I hope someone can help me about.

When creating a material, I want to copy Material short text to the basic data.

With one language this works fine.

But I try to copy the text to the material in more then one language.

Just like it is possible in "additional data - short text" to the material.

this does not work with the BADI if_ex_material_reference~create_material.

Does anyone knows a solution to my problem ???

Thanx for this

Markus Lindenmayer

1 ACCEPTED SOLUTION
Read only

christian_wohlfahrt
Active Contributor
0 Likes
763

Hi Markus!

The changing parameter C_MAKT is just a structure, but CT_STEXT is a table - do you add your texts here? If not, give it a try, if yes -> check if you have correct flags (maybe VERFLG = 'X' or 'I' or something else..).

Regards,

Christian

Hy everyone,

I have a little problem I hope someone can help me about.

When creating a material, I want to copy Material short text to the basic data.

With one language this works fine.

But I try to copy the text to the material in more then one language.

Just like it is possible in "additional data - short text" to the material.

this does not work with the BADI if_ex_material_reference~create_material.

Does anyone knows a solution to my problem ???

Thanx for this

Markus Lindenmayer

2 REPLIES 2
Read only

christian_wohlfahrt
Active Contributor
0 Likes
764

Hi Markus!

The changing parameter C_MAKT is just a structure, but CT_STEXT is a table - do you add your texts here? If not, give it a try, if yes -> check if you have correct flags (maybe VERFLG = 'X' or 'I' or something else..).

Regards,

Christian

Read only

Former Member
0 Likes
763

Thanx a lot - this worked out fine...

Bye from lake constance in germany