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

Modifying a Sap Script

Former Member
0 Likes
565

Hi,

I am modifying a Sap Script in which i want to display the data which is showing in the columns and i want to display it in a row. I am new to sap script and i dont know how to do it.

here' s d code which is used for the formatting the ouput in a sap script.

ITEMHEAD

POSITION WINDOW

SIZE WIDTH +0 . 4 CH HEIGHT +1 LN

BOX FRAME 10 TW

BOX HEIGHT '1.35' LN INTENSITY 20

IF &PAGE& = '1'

BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10' TW

For horizontal line at top

BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW

COLUMN LINES...

BOX XPOS '24' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10'TW

BOX XPOS '32' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10' TW

BOX XPOS '38' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10'TW

BOX XPOS '65' CH YPOS '0' CM WIDTH '0' CM HEIGHT '43' LN FRAME '10'TW

END OF COLUMN LINES...

BOX XPOS '0' CH YPOS '43' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW

BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '43' LN FRAME '10'TW

ELSE

COLUMN LINES...

BOX XPOS '24' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10'TW

BOX XPOS '33' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW

BOX XPOS '38' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10'TW

BOX XPOS '65' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10'TW

END OF COLUMN LINES...

BOX XPOS '0' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW

BOX XPOS '0' CH YPOS '0' CM WIDTH '75' CH HEIGHT '0' LN FRAME '10' TW

BOX XPOS '0' CH YPOS '0' CM WIDTH '45' CM HEIGHT '0' LN FRAME '10' TW

BOX XPOS '20' CH YPOS '0' CM WIDTH '0' CM HEIGHT '47' LN FRAME '10' TW

BOX XPOS '0' CH YPOS '47' LN WIDTH '75' CH HEIGHT '0' LN FRAME '10'TW

BOX XPOS '75' CH YPOS '0' LN WIDTH '0' CH HEIGHT '47' LN FRAME '10'TW

ENDIF

LINEFEED

Please provide me guidelines how to solve this problem .

Edited by: ricx .s on Feb 24, 2009 10:58 AM

5 REPLIES 5
Read only

Former Member
0 Likes
538

Read only

Former Member
0 Likes
538

Hi,

Refer the link below:

https://www.sdn.sap.com/irj/scn/advancedsearch?query=howtocopy+SCRIPTS&cat=sdn_all

Regards,

Venkat.

Read only

Former Member
Read only

0 Likes
538

hi,

i want to know how to change the data which is displayed in the columns into rows.Please provide me guidelines how to solve this problem.

Edited by: ricx .s on Feb 25, 2009 6:27 AM

Read only

Former Member
0 Likes
538

Hello,

check this link....http://www.abapprogramming.net/2007/10/sap-script-3.html

Thank u,

santhosh