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

REGARDING sap-script

Former Member
0 Likes
600

hi experts,

i m working on the copy of the standard script layout of form-16....is it mandatory to check the syntax which i written in the layout ,sometimes it gives lots of error is it necessary to rectifie this,i m facing the problem regarding the boxes parameters .when i rectifie the parameters and after execution again it shows the same error.

plz help me .wat sud i do.

5 REPLIES 5
Read only

Former Member
0 Likes
583

Hi Ravi,

Could you describe the error?

Regards,

Divya

Read only

0 Likes
583

the error is related with boxes parameters..

it shows like this"invalid paramaters"..

Read only

Former Member
0 Likes
583

It is not mandatory in normal testing conditions. ..

but if it is deliverable object then you have to rectify the errors..

Paste here the error that u r getting !!

regards,

sai ramesh...

Read only

Former Member
0 Likes
583

hi

First create a variable window say window1 with one text element as HEADER,

/E HEADER

/: POSITION XORIGIN '-.2' CM YORIGIN '-.2' CM

/: SIZE WIDTH '.2' CM HEIGHT '.2' CM

/: BOX FRAME 10 TW

P1 ITEM_No ITEM_Desc

/: &itab-num& &itab-desc&

Write ur variables here and adjust it properly, Use the same window on next page also and use the same text element HEADER in "OPEN_FORM" on next page also.

And if u say simply,

BOX FRAME 10 TW

It will draw box which fits whole window and it covers all the data whatever u write after box command.

If found helpful, please do reward.

regards

ravish

<b>plz reward points if helpful</b>

Read only

Former Member
0 Likes
583

Hi Ravi,

Hi,

You need to use

/: POSITION WINDOW

Then write the BOX command after this statment.

/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]

Draws a vertical line along the complete height of the left hand edge of the window.

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

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

/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW

Regards

Sudheer