SQL Server administration and T-SQL development, Web Programming with ASP.NET, HTML5 and Javascript, Windows Phone 8 app development, SAP Smartforms and ABAP Programming, Windows 7, Visual Studio and MS Office software
Development resources, articles, tutorials, code samples, tools and downloads for SAP HANA and ABAP, HANA Database, SQLScript, SAP UI5, Screen Personas, Web Dynpro, Workflow

Transfer ABAP Text Translations using SAP Transport Request with SLXT

ABAP developers can execute SAP transaction code SLXT to transfer data element text translations into a transport request. In this programming tutorial, I want to show how ABAP developers can use SLXT transaction screen to collect translation changes for a sample data element object and put automatically the translations into a specified transport request.

Let's create a sample data element.
I have already created one named Z_TEXT80 and now I will create another data element using SE11 tcode as follows:

Logon to SAP GUI
Launch SE11 transaction
Select option "Data Type" and type the name of the new data element DDIC object. For the sake of this ABAP tutorial, I used Z_TEXT120

create ABAP data element using SAP SE11 transaction

Press Create button for the data element definition screen. Choose the object type as "Data Element".

ABAP DDIC Object Type as Data Element

Press Continue or Enter

On Data Element definition screen, provide a short description and type TEXT120 as the domain of this data element.

ABAP data element definition

Switch to Field Label tab.
You see there are 4 text fields that are used automatically where the data element is used or displayed for example on an ALV display.

Provide some text for each of the 4 field labels. We will create translations of these text in the following steps. Then place the text translations into a transport request using SLXT tcode.

ABAP data element field labels for text translation

Save and activate the data element.
Now get out of the data element definition screen to SE11 and re-enter into the new data element definition with Display button.

Go to translation screen.
ABAP programmers can follow menu options: Goto > Translation

translation screen for ABAP data element text on SE11

Choose your target language here. This is the language that you are translating default definitions into.
I choose German "DE" as target language.
And the original language was EN. I created this data element in EN.

target language for text translation

Press Enter or Continue for next screen.

In the next screen, ABAP programmers can provide translations for text elements or fields labels of the data element ABAP DDIC object.

As seen in below screenshot, I have already type some German text as translations of its originals in EN.
Sorry for the translation, just assume them as sample text for this tutorial :)

ABAP data element text translation using SE11 tcode

Save entries and exit from SE11.

To transfer text translation we have made using a transport request, first we need to create it.
So launch SE09 for example and create a workbench request.

SAP workbench transport request for text translation transfer

In following steps we will use this transport request so keep its number.

Now launch SLXT transaction code (SE63 Translation Export)

First, choose Target Language by using language selection displayed with F4 on target language text field.
I choose deDE for German

In Transport Request section, clear "Create New Request" checkbox since we have already created our transport request.
When you clear the checkbox tick, screen will change slighly.
Now mark "Grant Non-SLXT Requests" option.
This mark will enable "Transport Request" textfield. Now on that field enter our transport request number or use search help to select it.

In Time Period section, you can limit your text translations according to their creation date.
For example, I am interested in to transport only the translations I have made today.
So in "Processing Date" I choose today

Filter section provides further limitations for the ABAP programmer to select related text translations.
I will only enter my user name as "Object Processor" so I will transfer only the text translations done by me.

That is enough for me generally. Here is the final SLXT selection screen before I execute the report.

SE63 Translation Export program SLXT tcode screen

Now ABAP developers can execute the program using F8

The SE63 Translation Export program or SLXT transaction executes and displays the summary as result of the execution.
This is what I get after I execute SLXT with previous select-options applied.

SAP text translation export results into transport request

Please look at the results section. You will see there are two recorded objects.
One of them is the one we have done together following the steps in this tutorial.
The other one is the data element I have created before.

Let's check our transport request how these text translations are seen in the TR.

translations for data element in transport request



SAP HANA and ABAP

Install SAP Free
CRM Companies List
Web Based CRM Software


Copyright © 2004 - 2021 Eralper YILMAZ. All rights reserved.