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

Text in different languages from web application.

Former Member
0 Likes
376

Hi All,

We have web application (internet explorer) which is calling SAP bapis. The web applicaton enters text in different languages (spanish, danish etc). The SAP bapi is using f/m - READ_TEXT as follows.

Data: wm_language LIKE T002-SPRAS.

CALL FUNCTION 'READ_TEXT'

EXPORTING

language = wm_language

object = 'QMEL'

id = 'LTQM'

name = wa_qmel_qmnum

TABLES

lines = wt_display_qmel_text

If i run SAP bapi manually and pass wm_language = ES (for spanish it is converted to S), then I am getting text (in wt_display_qmel_text) in spanish language in SAP. But if same parameter is passed via web application, then not getting text there, What could be the reason? please help.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
337

Hi,

You are not getting text or you are not getting text in Spanish language.I think you might not be getting any result.

As far as I know Read_text is not RFC enabled FM, so might not be called from We application, if this is true then make a new RFC enabled wrapper FM for READ_TEXT

1 REPLY 1
Read only

Former Member
0 Likes
338

Hi,

You are not getting text or you are not getting text in Spanish language.I think you might not be getting any result.

As far as I know Read_text is not RFC enabled FM, so might not be called from We application, if this is true then make a new RFC enabled wrapper FM for READ_TEXT