2004 Sep 13 1:58 PM
Hi,
i try to make header in ALV as:
----
...........<b>BLABLABLA</b>.........
........................................
+ <b>bla1</b>: value......<b>bla4</b>: value +
+ <b>bla2</b>: value......<b>bla5</b>: value +
+ <b>bla3</b>: value......<b>bla6</b>: value +
........................................
..<i>Some text</i> .......................
----
+ ...............Table.................+
----
but i don't know how i can make 2 columns with bla<i>N</i>.
At the moment i can make only:
......................................
+ <b>bla1</b>: value ....................+
+ <b>bla2</b>: value ....................+
+ <b>bla3</b>: value ....................+
+ <b>bla4</b>: value ....................+
+ <b>bla5</b>: value ....................+
+ <b>bla6</b>: value ....................+
......................................
Can anybody help?
Thanks in advance
P.S. Can I change the background color in header-area?
2004 Sep 13 3:49 PM
Just an idea:
Loop at the table and concatenate 'bla1: value' and 'bla4: value' into a new column.
In the ALV you display the concatenated column.
Peter
Just an idea:
Loop at the table and concatenate 'bla1: value' and 'bla4: value' into a new column.
In the ALV you display the concatenated column.
Peter
2004 Sep 13 3:49 PM
Just an idea:
Loop at the table and concatenate 'bla1: value' and 'bla4: value' into a new column.
In the ALV you display the concatenated column.
Peter
2004 Sep 14 8:19 AM
Hi,
i've also tried to make so, but i recieved:
'bla1: value bla4: value'
How can I make separator between 'value' and 'bla4:'?
Here is my code:
-
code -
data:
tmpstr type string,
separator(73).
concatenate 'Vertreter 2: ' '01110' separator 'Beleg.Date:' '21.01.1999' into tmpstr separated by space.
wa_header-typ = 'S'.
wa_header-key = ''.
wa_header-info = tmpstr.
append wa_header to t_header.
clear: wa_header.
-
end -
But result is: 'Vertreter 2: 01110 Beleg.Date: 21.01.1999'. Without separator between '01110' and 'Beleg.Date:'.
And how can I then format text in tmpstr to recieve <b>bold bla</b>?
2004 Sep 14 8:33 AM
Hi,
You can use header type as 'S' or 'H'.
l_listhdr-typ = 'S'.
CONCATENATE 'Run By:-' sy-uname ',' 'Date:-' sy-datum
',' 'Time:-' sy-uzeit
INTO l_listhdr-info SEPARATED BY space.
APPEND l_listhdr.
CLEAR l_listhdr.
2004 Sep 14 4:37 PM
Hi
Is it the "top_of_page" you mean by "the header"? If so, you can utilize dynamic document objects to insert something on that piece of HTML-like place. For this; inspect classes "CL_DD*" , you may find example programs on this.
*--Serdar
2004 Sep 15 8:49 AM
Thank you very much!
It is a very good solution.
P.S. Example programs for CLASSES "CL_DD" are "DD_".
2004 Nov 29 7:15 PM
I have been looking all over to find how to work with dynamic documents. The example programs dd_* all show an empty HTML container, although the programs are clearly adding elements to the container. Does anyone else have the same problem?
I would like to know how for example SE80 manages to add input fields inside the docking control. It doesn't look like it is using a dynamic document. Does anyone have an idea?
Thanks.
Jurgen.
2004 Nov 29 8:19 PM
Hi Jurgen
I believe you can catch more answers if you open a new thread.
About your question, I guess the reason may be your GUI. Did you try the latest version of SAP GUI?
*--Serdar
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |