cancel
Showing results for 
Search instead for 
Did you mean: 

Sap Scrpt Text Issue

Former Member
0 Kudos

INCLUDE &IS_VBDKR-TDNAME& OBJECT VBBK ID Z022 LANGUAGE &L_LANG& NEW-PARAGRAPH H5

I am using the above command in my SAP script but it does not fetch the requested text in the specified language. The variable passed by the print prg are correctly initialised with tdname and l_lang.

I tried hardcoding the language as indicated below and it works..

INCLUDE &IS_VBDKR-TDNAME& OBJECT VBBK ID Z022 LANGUAGE NO NEW-PARAGRAPH H5.

So basically my query is whether we can pass the language id to fetch the text ?

Accepted Solutions (1)

Accepted Solutions (1)

venkata_ramisetti
Active Contributor
0 Kudos

Hi Anurag,

We can use Language Id to pass the text.

Please check the below sample text.

INCLUDE ZMEDRUCK_TEXT OBJECT TEXT ID ST LANGUAGE &NAST-SPRAS&

Please check the below link also.

http://searchsap.techtarget.com/expert/KnowledgebaseAnswer/0,289625,sid21_gci947012,00.html

Thanks

Ramakrishna

Answers (2)

Answers (2)

Former Member
0 Kudos

instead of NO pass O.

i am not sure but try.

santhosh

Former Member
0 Kudos

HI,

You are rightm, you can pass the language and get the text in that language,

the code which pasted here should work, check the L_LANG field is populating perfectly or not,

Regards

Sudheer

Former Member
0 Kudos

I did check it is just initialised as L_LANG = 'NO'.