Application Development 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: 

Fuba for saving Translations

m4rv
Discoverer
0 Kudos
730

Hi,

I need a Fuba that saves my trasnlated Textelements into the DB.

Is there any

Kind Regards

Marv

8 REPLIES 8

abo
Active Contributor
0 Kudos
600

Function module (Fuba is the german shorthand for this)

Sandra_Rossi
Active Contributor
0 Kudos
600

Why are you limiting your question to only function modules? You have API, classes, ABAP statements and whatever...

ABAP statement INSERT TEXTPOOL?

m4rv
Discoverer
0 Kudos
600

INSERT TEXTPOOL creates a new Textpool, but doesn´t save the trasnlation into the corresponding tables.

So I can´t use this statement.

I was going through the se63 Transaction with the Debugger and found a lot of Functionmodules and then I wrote the question here. Maybe somebody has found one in this code to save the translations, but I am open to other solutions.

Regards

Sandra_Rossi
Active Contributor
0 Kudos
600

I don't know why you think that "INSERT TEXTPOOL creates a new Textpool, but doesn´t save the trasnlation into the corresponding tables."

What I read in the INSERT TEXTPOOL documentation:

  • If a text pool for the specified language already exists, all its text elements are overwritten. Otherwise, a new text pool is created for this language.

Sandra_Rossi
Active Contributor
0 Kudos
600

I also find an example program, so it's really easy to test it:

  • Example
  • Attempt at a translation tool for text elements. The text pools of a source and a target language are imported into internal tables and, for each text element of the source language, a selection screen is displayed as a translation template. After the translation has been completed, the text pool of the target language is overwritten with the correspondingly changed internal table.
  • PARAMETERS: program TYPE sy-repid,
  • langu1 TYPE spras DEFAULT sy-langu,
  • langu2 TYPE spras.
  • etc.

m4rv
Discoverer
0 Kudos
600

Yeah this is what I want to build.

For example I got a Textpool in english and want to translate everything in german.

When I use Insert Textpool I get a new Textpool for the language german, but I don´t get the translation like in transaction se63.

Sandra_Rossi
Active Contributor
0 Kudos
600

So, what is left, is to get the translations proposed by SE63. It wasn't clear in your question as you didn't talk about SE63 and translation proposals. Probably function modules starting with LXE, as you probably already saw.

Development dependencies translator with Transport | SAP Blogs

m4rv
Discoverer
0 Kudos
600

Yeah I saw the LXE Function Modules but it wasn´t clear to me which one to take to save my translations into the database.