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

SAP Script table format data display issue?

Former Member
0 Likes
530

Hi

I want to display the data for mara(3 fields only) in the table format in SAP Script O/P,I had made 3 box also,but not able to understand now what code has to be written,as only 3 BOX statements I had written,& now I want to repeat the 3 BOXES as the nos. of records in the tables,moreover initial 3 BOXes should contains the Field names,whereas below boxes, field values.

Please tell me how to do this?where to write the code,in se71 or in program.

vipin

3 REPLIES 3
Read only

Former Member
0 Likes
481

Hi Vipin,

Write your code in the program and use the function module open_form, write_form and close_form to print your data from the program to the script.

Thanks

Nayan

Read only

Former Member
0 Likes
481

hi there

try the following code...

/:position window

/:size window

/:box frame '10' TW intensity '10'

/:box xpos '0' cm ypos '0' cm width '8' cm height '10' cm frame '10' TW

/:box window

/:size window

/:size width '12' cm height '10' CM

/:box frame '10' TW

/:box window

P2 Material Qunatity Price

/(----


/E main

P2 &itab-matnr& &itab-arktx&

= &itab-fkimg& &itab-vrkme&

= &itab-netwr& &itab-waerk&

i used the following to display material description(matnr ,arktx) in the first col; quantity(fkimg and vrkme) in the second col and price(netwr and waerk) in the third col....

adapt it accordingly to display ur code

reawrd if helpful

regards

niharika

Read only

0 Likes
481

My code is :

/E ITEM

/: POSITION XORIGIN '30' MM YORIGIN '80' MM

/: SIZE HEIGHT '05' MM WIDTH '30' MM

/: BOX FRAME 20 TW INTENSITY 10

/: POSITION XORIGIN '61' MM YORIGIN '80' MM

/: SIZE HEIGHT '05' MM WIDTH '30' MM

/: BOX FRAME 20 TW INTENSITY 10

/: POSITION XORIGIN '92' MM YORIGIN '80' MM

/: SIZE HEIGHT '05' MM WIDTH '30' MM

/: BOX FRAME 20 TW INTENSITY 10

P1Material No

= Material Type

= Material GRP

DF&ITAB-MATNR&

= &ITAB-MTART&

= &ITAB-MATKL&

Please tell where to modify or can this be chnaged.

Vipin