cancel
Showing results for 
Search instead for 
Did you mean: 

A strange problem in text element

Former Member
0 Kudos

Hi,

I developing a smartforms in ECC 6.0.

In this i created a simple text element where i write:

Order numer &LS_VBAK-VBELN&

Then when i save or active the smartforms automatically in the text element the space between has being deleted as so:

Order numer&LS_VBAK-VBELN&

Why?

Thanks lot.

Matteo Vernile

Accepted Solutions (0)

Answers (7)

Answers (7)

Former Member
0 Kudos

Thanks Narendra,

Certainly in my test I wrong to follow your directions.

Just last note: the method Order numer&' 'LS_VBAK-VBELN& works well with all but with &SFSY-FORMPAGES& gets error runtime.

Best regards,

Matteo Vernile

Former Member
0 Kudos

Ok,

With two method it works well:

- Order numer&' 'LS_VBAK-VBELN&

- Order numer<C1> </>&LS_VBAK-VBELN&

Thanks to Changsheng and Shiva.

But i don't understand why this strange behaviour; i find this also in another ECC 6.0 system.

Anyone could confirm that?

Thanks.

Best regards.

Matteo Vernile.

Former Member
0 Kudos

Hi,

Yup, In ECC 6.0 it is the same way, I have encountered it and got it resolved by the same way as I have posted.

Regards,

Narendra.

Former Member
0 Kudos

Hi

Create a character format without assigning any fots and formats

use that between order numer <b> &s_vbeln& </>

Try this and let me know

Regards

Shiva

Former Member
0 Kudos

Hi

If u r giving space in between Order numer AND &LS_VBAK-VBELN& then it should come

OTHERWISE

make a template and in that make two colum and

create 2 text element and

put the static data in one text and the dynamic data in another text.

let say

text1------ Order numer

text2----


&LS_VBAK-VBELN&

hope this will solve ur problem

Thanks

Krushna

Former Member
0 Kudos

copy the following code to try it

Order numer&' 'LS_VBAK-VBELN&

Former Member
0 Kudos

Hi,

Yeah, it does get deleted. If you need spaces you need to do them either manually or if your text element is in a table then place both the fields in 2 cell in a row.

By manually you need to first write Order number: and then give some spaces next to that.

Now go to the 2nd line give the field and then press back space at the home which takes you back to the first line with some spaces between order number and the field. You can get your desired output this way.

Regards,

Narendra.

andrs_sarcevic
Contributor
0 Kudos

Something with the Smartform Style maybe?

It's very strange.