2009 Mar 13 9:57 AM
Hi,
i am working on a sap script ni whic i am trying to display the value in a single row i.e.:-
C Si
2.3 4.5
byt it is displaying like this:-
C
2.3
Si
4.5
How should i show this type in the sap script form?
&I_FINAL_kurztext(25)&
&I_FINAL_orignal_input(8)&
These are the variables throught which values are being displayed.
Plz provide me guidelines how to solve this problem.
Hi,
i am working on a sap script ni whic i am trying to display the value in a single row i.e.:-
C Si
2.3 4.5
byt it is displaying like this:-
C
2.3
Si
4.5
How should i show this type in the sap script form?
&I_FINAL_kurztext(25)&
&I_FINAL_orignal_input(8)&
These are the variables throught which values are being displayed.
Plz provide me guidelines how to solve this problem.
2009 Mar 13 10:01 AM
Hi,
I don't really understand what you mean. If I understood somewhat correctly, you have two variables and you want them displayed on the same line.Well, the very simple solution would just be to write them on the same line of text. For example,
P &I_FINAL_kurztext(25)& &I_FINAL_orignal_input(8)&
where P is the paragraph you use.
Please explain the issue a bit in more detail if I did not understand it correctly.
Regards,
George
2009 Mar 13 10:14 AM
Hi,
see there are 2 variables :-
Kurztext -> C,Si and orignal_input-> 2.3,1.5
Currently the script shows the data as:-
C
2.3
Si
1.5
which is displaying the data column wise and i want to show the data in a row like this:-
C Si
2.3 1.5
I hope this clear to all what i am trying to do in script.Plzz provide me guidelines to solve this problem.
Edited by: ricx .s on Mar 13, 2009 11:28 AM
2009 Mar 13 10:48 AM
hi,
may be i am suggesting the crude logic but it will work...as i dont see better solution than this in scripts...
move two fields into two different internal tables.
loop at kurxtext tablee ,
call write_form
textelement = Kurxtext..
same way for original_input and in the script editor use two different text elements ( one for kurxtext and another for Original_input)..
/E Kurxtext
/: &KURXTEXT&
/E Original_input
/: & Oridignal&..
Hope this should work..
Rgds.,
subash
2009 Mar 13 11:12 AM
Hi,
is there any other way in which we can change this presenatation of data
2009 Mar 13 10:04 AM
&FINAL_kurztext(25)&,,I_FINAL_orignal_input(8)&
if it comes to next line give equalto(=) symbol in the tag column it will work
2009 Mar 13 10:05 AM
hi
Use the format = Extended Text , to print in one line
&I_FINAL_kurztext(25)&
&I_FINAL_orignal_input(8)&
Ex : Say u have used Paragraph P1
P1 &I_FINAL_kurztext(25)&
= &I_FINAL_orignal_input(8)&
U can display in one line .
Hope this will help u .
2009 Mar 13 11:18 AM
Hi,
As in script data is printed on row basis so afetr printing one record,control cannot go back on 1st line for the 2nd record.
but if you have only limited reoreds as 2 in the examle given by you then you can concatenate them in two different variables and then print them one below the other.
regards,
neha
2009 Mar 13 11:56 AM
hi,
no actually there are many record say around 10 - 20. and it will get change according to the item id's.
That why i am bit worried that is it possible to display the data like that.
2009 Mar 13 12:01 PM
hi,
I dont think that is possible if the number of records is not fixed and also if the records in hundreds..
Rgds.,
subash
2009 Mar 13 12:17 PM
Hi,
if number is not fixed then i don't think we can achieve this,if it was limited and fixed we could have manipulated somehow.....but in this case,i think no.
Regards,
neha
2009 Mar 14 3:39 AM
hi,
So the final conclusion is if there say 50 or 100 records then it is not possible to display the data in a row of sap script.It will require to modify or add the windows in it which is possible for the 2 or 3 variables but not for more than that.
2009 Mar 13 11:26 AM
Hi
We can achieve it by usinmg paragraph format<p1> .
In form you write the values in the paragraph format and extend the line(/E).
We can also try with declaring two windows side by side to display both C(2.3) and Si(.4.5)
Adjust two windows according to your requirement.
Hope this helps you.
Regards,
Rajani
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |