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

Translation Window?

former_member194669
Active Contributor
0 Likes
490

Hi,

I am writing a common ALV Grid program to avoid cumbersome table maintenance generator screens. Its have input will be Table Name. But i am struck up in one point , your help needed.

If you go to SM30-->enter any table with TEXT table > select any line> in the menu GOTO > translation> Here you can see small popup window ask for language --> select language --> you will get another window to option to entry for translation.

I like to know how we are getting this window? whether i can able to get this window by any function module.? or class?

aRs

4 REPLIES 4
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
449

I have debugged it and it appears that you want to try to use the function module VIEW_MULTI_LANGU_TEXT_MAINT.

The program within the SM30 call where this function module is used is SAPL0IP2 in the include LSVIMFXL and in the FORM VIM_MULTI_LANGU_TEXT_MAINT

Regards,

Rich Heilman

Read only

Former Member
0 Likes
449

Hi,

Check this program for dynamic table maintenance for a given table..

PARAMETERS: P_TABLE TYPE DD02L-TABNAME.

DATA: T_OUTPUT LIKE SE16N_OUTPUT OCCURS 0 WITH HEADER LINE.

START-OF-SELECTION.

SELECT FIELDNAME FROM DD03L INTO TABLE T_OUTPUT

WHERE TABNAME = P_TABLE.

IF SY-SUBRC <> 0.

MESSAGE S208(00) WITH 'Table not found'.

LEAVE LIST-PROCESSING.

ENDIF.

CALL FUNCTION 'SE16N_INTERFACE'

EXPORTING

i_tab = p_table

I_EDIT = 'X'

TABLES

IT_OUTPUT_FIELDS = T_OUTPUT

EXCEPTIONS

NO_VALUES = 1

OTHERS = 2

.

IF sy-subrc <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Thanks,

Naren

Read only

former_member194669
Active Contributor
0 Likes
449

Rich .

Thanks , This is what i am looking.

issue solved.

aRs

Read only

former_member194669
Active Contributor
0 Likes
449

Issue solved