Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Subroutine with 'EN' and Sy-langu

Hello Folks.

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)

                                                                    lt_display-fieldname-> (EN)


                                                                   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?



Not what you were looking for? View more on this topic or Ask a question