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

How to translate programs and function groups automatically?

Former Member
0 Likes
905

Hi,

I am having problems translating automatically different objects in sap, and I am referring to programs and function groups.

The idea is that i cannot use the translation tools because I have to many object and I can't find a function or a way to do it.

Thank you in advance

Vlad

1 ACCEPTED SOLUTION
Read only

jeroen_verbrugge2
Active Participant
0 Likes
763

Hi,

I don't understand your question, I thought this thread http://scn.sap.com/thread/3227683 did answer the same?

Kind Regards,

Jeroen

3 REPLIES 3
Read only

jeroen_verbrugge2
Active Participant
0 Likes
764

Hi,

I don't understand your question, I thought this thread http://scn.sap.com/thread/3227683 did answer the same?

Kind Regards,

Jeroen

Read only

0 Likes
763

Hi Jeroen,

It seems I formulated the question wrong ... that function works perfectly for almost all object types.

I am trying to translate programs now  and their selection screens (Parameters, Select options etc.) a thing which can be done very easy with the translation tool found within se38, but due to big number of entries it does not represent a valid solution.

Basically I need a way to translate program texts (I checked if batch input works but I cannot pass the value to the translation screen.)

Any idea of how can I do it?

Read only

0 Likes
763

Hi,

The solution works exactly the same for programs and function groups and their texts. You only have to pass the correct object type to the function modules LXE_OBJ_TEXT_PAIR_READ and LXE_OBJ_TEXT_PAIR_WRITE. You can use LXE_ATTOB_OBJTYPES_SELECT to correctly select the object type(s).

Just pay attention that you pass the full text table to the function module LXE_OBJ_TEXT_PAIR_WRITE even for the lines that you're not changing or it will set whatever you do not pass to blank...

For example for program texts, you pass RPT4.

Kind Regards,

Jeroen