Skip to Content
author's profile photo Former Member
Former Member

how to display the values in tabular form in sapscript

Hi friend ,

can u tell me how to display the data in tabular form ..

for example i have 4 values in sapscript form

emp id :000030 contact no:9999999999

contact details:abc res details :..xyz

the ouput is coming like this ..I want that valuse in a tabular form .Can u please tellme how to do this ..

Thanks .

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 06:37 AM

    You can print the data in tabular form . The thing is you need to put this in the MAIN window and you need to get the data into an internal table then pass it to the script using text elements. Here after every line put uline.

    otherwise if you know the maximum number lines maintained then according to that you can declare the fields and pass the data tot the variables.

    say maximum number of lines 15 then declare 15 fields and prnit as below

    ph v_text1

    ph uline

    ph v_text2

    ph uline

    ......

    .....

    Reward points if useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 06:52 AM

    The data is already in the output ..means it is displaying but not in the tabular form ..it is displaying like:

    emno :000 contact no..555

    now i have display this output in a box ..

    ..i have maintaned these fields in header2 .

    for ex:

    emp no:&emp_no. contact no:&contact_no&

    so how to make a box in sapscript under header .

    so that this data will display in box .

    Thanks..

    point will be rewarded .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 05, 2008 at 08:06 AM

    hi,

    use the box command in text editor.

    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15 .

    • empid concactno contact details res details.

    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW

    /: &empid& &contactno& &contact details& &resdetails&.

    thanks,

    raji

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 06, 2008 at 07:44 AM

    hi

    i have ten entries in sapscript .

    i have a output like this :

    for example :

    emp no:&emp_no contact no:&contact_no.

    det no:&...& set no:&....&

    sech no:&...& t no.:&...&

    like that ...now i want to display these records in tabular form

    in sapscript..

    like this :

    |..............................................................................

    emp no:&emp_n0&

    contact no:&contact_no&

    ................

    .................................

    det no:&...&

    set no:&....&

    ................. ...........

    ...................................

    sech no: &...&

    t no:&...&

    ................................................................................

    like that i want the tabluar form ..

    how can i do this...

    thanks

    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.