Skip to Content

URGENT: SapScript Layout printing

hi all,

i have to develop a form which look something like this (click the link for layout)


my problem is for columns: Date, Vessel & Remark, these are include texts.

- i need to print the column lines

- the texts should not overlap the column lines

- how should the window placement be? i've tried the first 5 columns from left is the main window, the remark column is a VAR window which displays the text only, however at the end of the text i'm supposed to display the attachment list. i've tried displaying the list from an internal table but the form only prints the last record, even if there's 3 records, all printing the same value

- i've even tried the whole thing is the main window. my problem arises when i tried to print the include texts. if i use the include text command from sapscript and supply the PARAGRAPH to the command, the texts will be printed a line below, displaying a line feed. however if u use FM READ_TEXT in the print program and use element to control, i ahve the same line feed problem as well. the remark column is printed a line below.

-how to make all the text starting from the first line?

-how do i keep all the text within the column line? what if the texts are very long??

plz any help or suggestions are very much appreciated. any tips will do...

thank you.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 25, 2007 at 02:04 PM


    U can create a grid and in every cell insert an include text.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 25, 2007 at 02:07 PM

    how do i create a grid?? i've nvr done a grid b4 in sapscript.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 25, 2007 at 03:08 PM

    it will go down to the next line if i use the

    /: INCLUDE ...

    i want it to stay on the same line as the previous columns

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      This is very complicated task in SAPScript.

      - If the texts are constant, or they are not changing very frequently you might create windows for all grids. You will place the relevant text in the right window, you can address windows dynamically.

      - You might try to read the text within the printer program (using FM READ_TEXT) and separate the corresponding lines into a table. Then loop at the table and just simply print the lines, and use BOX command for the frames

      - Or you might write it in SMARTFORM, which makes this task easier. This is one of the smartform's advantages, it can handle cells very well.



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.