Vous êtes sur la page 1sur 20

Translating Custom BI Objects

Applies to:
SAP Business Intelligence 7.0 to translate Custom SAP Objects. For more information, visit the Business
Intelligence homepage.

Summary
The objective is to archive setting up the translation environment and translating Custom defined SAP BI
Objects.
Author: Ankit Udeshi
Company: Capgemini India Pvt. Ltd.
Created on: 21st October 2009

Author Bio
Ankit Udeshi is a Consultant at Capgemini India Private Limited. He has been involved in SAP BI Implementation
Projects.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 1
Translating Custom BI Objects

Table of Contents
Introduction ................................................................................................................................................... 3
The Step By Step Solution ............................................................................................................................ 3
Create a piece list in the data warehousing workbench ............................................................................................... 3
Create an Object List in the Translation Environment .................................................................................................. 5
Editing a Worklist in the Translation Environment ...................................................................................................... 10
System Translating BI Object First Time .................................................................................................................... 12
Using Program RSO_AFTER_TRANSLATION.......................................................................................................... 17
Related Content .......................................................................................................................................... 19
Disclaimer and Liability Notice ..................................................................................................................... 20

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 2
Translating Custom BI Objects

Introduction
Translate BI metadata objects we will use specific tools in SAP NetWeaver BI, as well as the tools provided
by the standard translation environment of the SAP Web Application Server (ABAP). No additional coding is
necessary.
The main steps described in this document will be:
 Create a piece list in the data warehousing workbench
 Create an object list in the translation environment
 Edit a worklist in the translation environment
 Transfer texts to the M-version of the BI Objects using program RSO_AFTER_TRANSLATION
 Create a transport request for the translated BI Objects in the data warehousing workbench

The Step By Step Solution


Create a piece list in the data warehousing workbench
1. Collect the Relevant Objects in the Data Warehousing Workbench
Transaction RSA1 --> Translation

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 3
Translating Custom BI Objects

2.1 Create a Piece List for Translation


At the dialog box for piece list, choose “Create”.

2.2 Create a Piece List for Translation


At the “select request type” dialog, select “Piece List”.

2.3 Create a Piece List for Translation

Give the piece list a technical name (in customer namespace, starting with “Y” or “Z”) and a description
Save your piece list.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 4
Translating Custom BI Objects

2.4 Create a Piece List for Translation


Assign your piece list to a package.
3. Create a Piece List for Translation
Choose “continue” (ENTER) in the “piece list for translation” dialog.

Create an Object List in the Translation Environment


In the administration toolset of the translation environment (transaction Code LXE_MASTER), create an
object list.
4. Create an Object List
In the evaluations tab, choose object lists (transaction LXE_MASTER)

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 5
Translating Custom BI Objects

5. Create an Object List


In the object lists dialog, choose “create”.

6. Create an Object List


Enter a description for your object list and save.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 6
Translating Custom BI Objects

7. Assign the Piece List


In order to include the piece list in the object list press the “No Entries” button next to “Transports” under
“ABAP system”.

8. Assign the Piece List


Enter the name of the piece list you want to include in the object list. If you want to evaluate several piece
lists, create an entry for each one of them.
Enter “*” as the transport type.
Enter “*” as the transport status.
Do not enter any values in the other
fields.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 7
Translating Custom BI Objects

Save your entries.

9. Save the Object List Parameters

10. Generate the Object List


Choose “Activate”.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 8
Translating Custom BI Objects

11. Generate the Object List


Schedule the background job which will generate the object list (the name of the job will be OBJLIST_xxxxx,
xxxxx = number of the object list).

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 9
Translating Custom BI Objects

Editing a Worklist in the Translation Environment


Once the job for generating the object list is finished, please go to the translation environment (transaction
code SE63).
In the next steps, all objects contained in the object List will be translated using a worklist.
12. Check Your Default Settings
In the translation environment (SE63), from the Utilities menu, choose Settings).
In particular, ensure that the Source Language and the Target Language settings correspond to
your translation objective. Be sure to check the specific format setting in which the languages must be
entered (for example “US English” is Language code “enUS” and not simply “EN”). If necessary, choose the
correct default entries using the value help.
Save your settings.

13. Access Your Personal Worklist


In the translation environment (SE63), from the Worklist menu, choose Standard. Enter a 4-
digit Worklist Number. If you want to reset an existing personal worklist and/or a reservation number for
accessing a personal worklist, select the Reset Worklist / Reservation checkbox.
Choose “continue”.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 10
Translating Custom BI Objects

14. Access Your Personal Worklist Using an Object List This screen appears after having entered your
worklist number in the previous screen (SE63Worklist  Standard) and choosing “continue”.
Select your object list using the value help. Deactivate (all other) selections using the flag
“Deactivate Selection”. Load the worklist using the “Load objects” button..

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 11
Translating Custom BI Objects

System Translating BI Object First Time


15. „No Object Loaded‟ when You ask system to Load Object in Step No. 14 Then Follow Step 15 Or else
Directly Jump to Step 16.

15.1 Setting Up a Target Language


Goto ----- T. Code LXE_MASTER Click on language tab.

15.2 Then add the Language that you want to transfer


We have added esEs because our target language was Spanish

Then save the data and come out.


15.3 Maintaining Translation Graphs
Click on graph button on LXE_MASTER Screen.
Then click on create new graph.
Enter target language, Original Language and Source Lang. with status as active.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 12
Translating Custom BI Objects

15.4 Maintain Object Type


Click on Object Type Button.
Double click on the language for which you want to maintain the object type.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 13
Translating Custom BI Objects

15.5 Click on Collection Button


Click on graph that you have created in step 15—3.
Click on choose button of generic.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 14
Translating Custom BI Objects

Then click on continue.

Save the collection.


16. Enter target language texts for the BI Objects in the Worklist
In order to translate a single object you have to double-click on it. In this simple scenario every
single object will be translated individually and sequentially.
If you want to translate a high amount of objects more efficiently, you may use proposal pools
and automatic distribution. Please refer to the standard documentation on the translation tools for more
information on these features.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 15
Translating Custom BI Objects

17. Enter the equivalent text in the target language


Save.

18. Set the standard quality status to “S” by clicking on the “toolbox” icon (hammer and wrench).

19. Choose the button “Status S”.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 16
Translating Custom BI Objects

20. Save the completed Worklist

Using Program RSO_AFTER_TRANSLATION


Texts are only translated for objects in the A or D versions. Texts of objects in the modified
version (M) are not translated. Therefore, a specific step is required - otherwise, when you call the
maintenance transactions in the target language, the system displays the old texts (if available) for these
objects first.
This program will transfer the newly translated texts to the modified version (M) of the BI objects.

21. Execute the program RSO_AFTER_TRANSLATION with the following parameters:

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 17
Translating Custom BI Objects

Request/Task: Name of your piece list


Language Key: source language
Language Key: target language

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 18
Translating Custom BI Objects

Related Content
How To Translate Bi Objects
SAP Help Portal
Translation Graphs
For more information, visit the Business Intelligence homepage.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 19
Translating Custom BI Objects

Disclaimer and Liability Notice


This document may discuss sample coding or other information that does not include SAP official interfaces and therefore is not
supported by SAP. Changes made based on this information are not supported and can be overwritten during an upgrade.
SAP will not be held liable for any damages caused by using or misusing the information, code or methods suggested in this document,
and anyone using these methods does so at his/her own risk.
SAP offers no guarantees and assumes no responsibility or liability of any type with respect to the content of this technical article or
code sample, including any liability resulting from incompatibility between the content within this document and the materials and
services offered by SAP. You agree that you will not hold, or seek to hold, SAP responsible or liable with respect to the content of this
document.

SAP COMMUNITY NETWORK SDN - sdn.sap.com | BPX - bpx.sap.com | BOC - boc.sap.com


© 2009 SAP AG 20