cancel
Showing results for 
Search instead for 
Did you mean: 

Smartforms - How to know (by table) if a translation is existing ?

Former Member
0 Kudos

Hello,

without using se63 and test every langage - How to know in how many language the forms ZTEST is translated ?

I woukd have the list of the langage that the form ZTEST is translated ...

tks,

roberto

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

I had a similar requirement earlier. We had a language field in selection screen. If user enters any language that the form is not available or is not existing then it should trigger a message.

Check this code snippet:

SELECT SINGLE sform FROM tnapr INTO (form_name) WHERE kschl = 'ZSM3'
                                                      AND nacha = 1
                                                      AND kappl = 'EF'.

    IF NOT form_name IS INITIAL.
      SELECT SINGLE langu FROM stxfadmt INTO (st_langu) WHERE langu = p_spras
                                                        AND   formname = form_name.

      IF sy-subrc NE 0.
        MESSAGE e000 WITH 'Language selected is not available for form' form_name .
        STOP.
      ENDIF.
    ENDIF.

So you can check table STXFADMT .

Former Member
0 Kudos

Hello

this code is not useful because:

exemple

the form is created in DE and translated in EN...

I check if the forms with EN is existing . With your code the reply is not... but is existing...

So, I have to search another idea

Former Member
0 Kudos

Hi

Try to check the table STXFTXT

Max

Former Member
0 Kudos

tks Max

Answers (0)