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

Problem with Text Pool

Former Member
0 Likes
1,567

Hi,

There are some queries in HR system. The query is displaying an ALV Report. When we run the query with logon lang as EN, the ALV is displaying the header text properly. The header text is Personnel Number, First Name, Last Name and others.

However when we run the query with logon lang as SV(Swedish), we are not getting the header text. Instead we are getting UNKNOWN_TEXT for all the fields.

I debugged and found out that the Text Pool is not maintained for the program behind this query in SV Lang.

This is the program AQZZ/SAPQUERY/H2FAMILY_MEMBERS for that query. This program is fetching header from Text Pool and displaying the header text.

Can someone tell me how to maintain TEXT POOL in different languages for a program or how to translate existing texts in the required languages?

Any kind of help to resolve this issue.

Thanks in Advance.

Any help willl be deeply appreciated.

4 REPLIES 4
Read only

Former Member
0 Likes
1,076

Hello,

usually header texts come from data element text.

Check that the corresponding data element has a translation in swedish in dictionnary.

BR,

Read only

0 Likes
1,076

Hi,

I checked the data element. It has translation in the required language. Text-Pool is not maintained in Swedish Language. If i login with Swedish Lang and go to the Text Elements of the program, am getting a message "Nichtübersetzte Texte aus Modifikationssprache EN" = Not translated text from Modification Language EN (which i translated using Google Translator).

Read only

0 Likes
1,076

Hi,

I did not get the complete solution but my problem has been resolved to some extent.

To generate text pool follow the process.

1) Login with the language in which we want to generate text pool

2) Go to SQ03 and select the query for which u want to generate text pool

3) Go to menu option Query->More Functions->Generate Program.

Text Pool will be generated.

Now the problem that i am facing is, Text Pool got generated but some of the texts did not get translated in Swedish Language.

Texts like First Name, Last Name did not get translated whereas texts like Entry Date, Leaving Date got translated.

Does any one have any idea on this?

Thanks,

Ibrahim.

Read only

0 Likes
1,076

Hi,

I'm not talking here about SAPquery, but of text pools in general (so I guess it applies to SAPquery too): translation can be difficult to do/understand because of wrong interpretation of the "DDic reference flag" (defined for each text of the text pool).. The issue is rather well explained in these 2 SAP notes, so I won't repeat it: [SAP note 336765 (Why translate selection text with DDIC reference?)|https://service.sap.com/sap/support/notes/336765 ], [SAP note 1303261 (ABAP text pool and selection texts)|https://service.sap.com/sap/support/notes/1303261 ].

Sandra