Skip to Content

displaying tables in sap scripts

Hi all ,

I am working on sap scripts,in that i have to print the table data with rows and columns.For that i am using Boxes .i have written the code in 'MAIN' wndow as.

/e 100
/    " written the code for table header and box commands for rows and columns
/e  200
/    " written the code to print internal table data.

For the first page it's showing data with rows and columns.But from the next page on wards it's showing only data,but not table.

how to print the data under the element '100' in next page.Please help me out.

With regards

Naresh bammidi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2011 at 08:01 AM

    Hi Naresh,

    If i understand right your box command is only in only in Text element 100 and the code for item level data is in text element 200.

    I dont think that the box command that you right in text element 100 will get repeated across all pages even thought it is part of the MAIN WINDOW..

    Say in page 1 , Text element 100 is encountered and the Box command is triggered and the box is created. Then the data overflows to page 2 . But in this case in page 2 , it is text element 200 that is getting triggered repeatedly ( in the loop) and hence the box is not getting created ( because text elment 100 is not getting triggered)

    What you can do is wite a box command in text element 200 as well. This will get triggered once for each line item. What will happen is that you will have a BOX for each line item . This is a little different from the BOX like presentation that you see in Smartforms.

    I am also watching this thread to see if there are any better suggestions.

    Regards,

    Arun

    Edited by: arun warrier on Nov 21, 2011 1:51 PM

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 21, 2011 at 08:17 AM

    Hi ,

    Box statement will not work for 200 data element.You need to write separte box command for 200 .

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.