2009 Mar 03 10:40 AM
Hi,
I am facing a problem in displaying the data of a sap script into rows as it was previously displayed in the coloumns and i want to display into rows.
for eg,
c
23.2
f
2.3
but i want to diaplay the data as:-
c f
23.2 2.3
plzz provide me guidelines as how to solve this problem .
Edited by: ricx .s on Mar 3, 2009 11:49 AM
Hi,
I am facing a problem in displaying the data of a sap script into rows as it was previously displayed in the coloumns and i want to display into rows.
for eg,
c
23.2
f
2.3
but i want to diaplay the data as:-
c f
23.2 2.3
plzz provide me guidelines as how to solve this problem .
Edited by: ricx .s on Mar 3, 2009 11:49 AM
2009 Mar 03 11:06 AM
Hi,
In your case, create 2 variable windows for getting 2 columns.
In both variable window add the same element once
2009 Mar 03 11:08 AM
hi,
i dont know how to create the variables in sap script as i had nevered worked on it,plzz provide me guidelines how to do it.
2009 Mar 03 11:10 AM
Hi,
Refer this wiki for Make First SAP Script step by step
Hope this helps you.
Regards,
Tarun
2009 Mar 03 11:11 AM
Declare and populate a variable in your program. To display the variable in a SAPscript, enclose in '&'. ie data: l_var(6) type c.
to print in sapscript, &l_var&
2009 Mar 03 11:17 AM
HI,
On se71
In windows : declare 2 variable window.
Add it to a page . by selecting create->element (now choose both the var window create by double clicking)
click on the ruler by selecting particular varwindow.
In line editor of a var window. write
&w_var1& (field string name if it is table)
again in line editor of a var2 window. write
&w_var2& (field string name if it is table)
Now pass the values from main program having same name as in sripts (ie w_var1 , w_var2)
Let me know u understood it ?
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |