‎2007 Mar 23 3:28 PM
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
‎2007 Mar 23 3:42 PM
‎2007 Mar 23 3:44 PM
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
‎2007 Mar 23 3:47 PM
‎2007 Mar 23 3:47 PM