Application Development 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: 

sapscript french text

former_member182371
Active Contributor
0 Kudos

Hi,

in my sapscript i have:

&'Nº Ordre d'achat/Pos. 'VBDPA-BSTKD&

My problem is the term "d'achat" because the ' of d´achat is considered as the end of a text.

How can i solve this, so that i get "Nº Ordre d'achat" as a text?

Best regards.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

It seems to be ONLY VBDPA-BSTKD is the variable & the first is text. if so why you prefixed & before that.

&'Nº Ordre d'achat/Pos. 'VBDPA-BSTKD&

change this to

'Nº Ordre d'achat/Pos. &VBDPA-BSTKD&

try this. i guess, this should work.

regards

srikanth

4 REPLIES 4

Former Member
0 Kudos

It seems to be ONLY VBDPA-BSTKD is the variable & the first is text. if so why you prefixed & before that.

&'Nº Ordre d'achat/Pos. 'VBDPA-BSTKD&

change this to

'Nº Ordre d'achat/Pos. &VBDPA-BSTKD&

try this. i guess, this should work.

regards

srikanth

Former Member
0 Kudos

hi,

And also you can achieve this in any one of the following two ways..

1. Pass that 'Nº Ordre d'achat/Pos.' as a variable (text) from the Driver Program itself. say if it is &g_text&, u can use in the layout as program symbol &g_text& &vbdpa-bstkd&

2. Declare 'Nº Ordre d'achat/Pos.' as Std. Text object at tcode So10. and if so, attach this std. text to the transport request number using the std. prg. RSTXTRAN

Thanks.

0 Kudos

Try usng a ´ instead of a '.

When you are editing the code, select menu path INSERT -> CHARACTERS -> DISPLAYABLE CHARACTERS.

Select the character ´ from the list (or one of the others).

I did not test this, but it is worth a try!

Former Member
0 Kudos

Hi

I have one simple way to write like that in forms.

Nothing .. Just copy and past in Form..

Try this i tried once its working fine in smart forms

Elango..