Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

oops alv problem

Former Member
0 Likes
538

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...

4 REPLIES 4
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
504

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

Read only

0 Likes
504

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 ?

Read only

0 Likes
504

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.

Read only

0 Likes
504

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.