Subroutine with 'EN' and Sy-langu
I have to make the subroutine with both EN as well as in Local language i.e, Sy-langu.
Here is the piece of code:
LOOP AT lt_display.
hotspot = lt_display-hotspot.
IF lt_display-curr_filed = 'X'.
PERFORM build_lst_table_wcurr USING lt_display-column_len (It will be in EN)
lt_display-field_desc--> (It needs to be in Sy-langu)
hotspot. -> (EN)
Only I need to make -> lt_display-field_desc as sy-langu and remaining will be in 'EN'.
It is a description field so, it needs to be in local language.
Do i need to add another loop for this or how to achieve this?