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

Call transaction being called in Different language from Log on Language

Former Member
0 Likes
1,187

Halo Experts,

I am calling different standard SAP transactions like EEDM11(Display of POD) from my Program .

I have wrapped the CALL Transaction inside a Function Module where in I call the wrapper FM starting new task .

Inside the FM I call like

set parameter id .


IF i_flag_skip_first_screen IS NOT INITIAL.
    CALL TRANSACTION i_transaction_code AND SKIP FIRST SCREEN.
  ELSEIF it_bdcdata IS NOT INITIAL.
    CALL TRANSACTION i_transaction_code  USING it_bdcdata OPTIONS FROM i_bdc_option.
  ELSE.
    CALL TRANSACTION i_transaction_code.
  ENDIF.
.

The problem here is sometimes the called transaction is displayed in different language from the logon language.

Even if the log on language is DE it is displayed in EN . This happens sometimes for some client systems .Suppose when I logged in DE and put the breakpoint inside FM and see what is the value of sy-langu it is E .Even after settign SY_LANGU to D inside the debugger it is showing the transaction in English Language.Now the surprise part is when I run the transaction in the same session(as the call transaction ) using /needm11 it is showing in English . Now when I run the transaction in different session using /oeedm11 it is showing in German correctly.

Regards

Arshad

1 REPLY 1
Read only

former_member214857
Contributor
0 Likes
580

Hi Arshad

You can use report RSLANG20 to synchronize SAP Language buffer.

Please refer to SAP n[110910|https://css.wdf.sap.corp/sap/support/notes/0000110910]ote

Best regards