‎2007 Dec 05 9:46 AM
Hi all,
I have to use the method vertical split and horizontal split from the class
cl_dd_document for splitting of my container. I m having probs with the parameters that i need to pass for the same . Kindly help me with this ..
thanks...
‎2007 Dec 05 9:48 AM
Hi,
Check this link.I am explaining how to create Top of page using splitter container.
https://wiki.sdn.sap.com/wiki/pages/pointstab/viewpageversion.action?pageId=37564&version=1
‎2007 Dec 05 11:42 AM
Hi Jayanti,
thanks for the code...but is there a way of using these two methods ie..
vertical split and horizontal split....also if i need to pass the table field values
and the system fields like sy-datum ..in the top of page event ..then how to do it ?
‎2007 Dec 06 5:58 AM
Hi,
In my code, if you just insert the line highlighted, it will give you the system date in top-of-page.Main idea is to assign the data to a character variable.
form fill_top_of_page .
Calling the methods for dynamic text
CALL METHOD o_document->add_text
EXPORTING
text = 'No. of Materials:'.
Adding GAP
CALL METHOD o_document->add_gap
EXPORTING
width = 10.
<b> v_cln = sy-datum.</b>
Adding Text
CALL METHOD o_document->add_text
EXPORTING
text = v_cln.
‎2007 Dec 06 5:59 AM
Hi,
If you just insert the highlighted line below in my code, you can see the date in top-of-page.Here main thing is we need to assign the value to character variable.
form fill_top_of_page .
Calling the methods for dynamic text
CALL METHOD o_document->add_text
EXPORTING
text = 'No. of Materials:'.
Adding GAP
CALL METHOD o_document->add_gap
EXPORTING
width = 10.
<b> v_cln = sy-datum.</b>
Adding Text
CALL METHOD o_document->add_text
EXPORTING
text = v_cln.