on 07-20-2007 10:21 AM
Hello ABAP developers!
My problem is the following:
I have got a text element in a smartform. In the text element there are normal text and fields, ic est:
&G_T_CIRCULARES-ID14&,<b> a &G_T_CIRCULARES-ID15&</b>
<b>N/Ref: &G_T_CIRCULARES-ID12&</b>
Con el fin de realizar la factura correspondiente ...........
As you can see there are blank spaces between the fields and the normal text, but when I activate the smartform, the following happen:
&G_T_CIRCULARES-ID14&, <b>a&G_T_CIRCULARES-ID15&</b>
<b>N/Ref:&G_T_CIRCULARES-ID12&</b>
Con el fin de realizar la factura correspondiente .....
And the blank spaces (in bold) disappear. I don't know way .... I think it could be the typical stupid newbie error.
Any solutions? Thanks a lot!!
Hi
Try to see, by old editor, if you've inserted those variable in the right way.
Max
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi guys,
<b>Kiran</b>
Thank you for your ideas. You don't solve my problem but you gave me ideas to solve it.
<b>
Max</b>
I saw it in the old editor, and I think that variables were inserted in the right way. But, what do you exactly mean with "the right way"?
<b>Sai</b>
Blank spaces don't show after activation neither in the output.
What I finally have done is, following the example of the first post:
CONCATENATE ' ' G_T_CIRCULARES-ID15
INTO G_T_CIRCULARES-ID15
RESPECTING BLANKS.
This sentence inserts a blank space before the value of G_T_CIRCULARES-ID15. When I activate the smartform it happens exactly the same as before, but when I see the output there is a blank space.
Thanks for yours answers, I will give points later.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Sometimes it seems to insert a variable correctly by a new editor, but then it's not managed as variable so I use to see it by old editor and here I see it's not inserted as &VAR& but in different way.
So If I understand after activing the smartform, the system deletes the blank spaces between the words doesn't it?
It's strange, but it's happen in that element only?
Max
Ok, variables are inserted correctly in new an old editor.
I'll try to explain what the system does by examples:
1. We have the following text in an element text (see that there is no variables):
De carecer de datos del vehículo:
When I activate the smartform there is no problem and the blank spaces are not deleted.
2. We have the following text in an element text (see that there is variables):
&G_T_CIRCULARES-ID14&, a &G_T_CIRCULARES-ID15&
When I activate the smartform what happens is:
&G_T_CIRCULARES-ID14&, a&G_T_CIRCULARES-ID15& --> blank space between 'a' and '&G_T_CIRCULARES-ID15& ' has been deleted.
That situation happens in all the text of every smartform I am doing and I am a little bit exasperated.
I found a possible solution for it in my last answer.
Thanks for all!
I guess even it don't show spaces after activation, the output will be displayed with spaces.
Rgds,
SaiRam
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hI,
Use Coomand in Layout like &AMOUNT(Z)& then it will display
if not use condense in print progrm before this move the value into char field
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.