form (sbo)

beasscript-logo-small

 

Allow to read or change properties from SAP Form

This is part of the object "beasgui". If you execute this inside SAP Form, you don't need to define the prefix "beasgui"

 

example:

form=click=114

or

beasgui=form=click=114

 

 

 

mode

mode

0: Specifies the form in Find mode.
1: Specifies the form in OK mode.

2: Specifies the form in Update mode
3: Specifies the form in Add mode.

4: Specifies the form in View mode.
5: Specifies the form in Print mode.

 

example

form=mode

if <e_mode> <> 0 then

 return

end if

 

if <form.mode> <> 0 then

 return

end if

title

set or read title. return in "value"

move=x=y

move the window

x=<value>, left=<value>

set or read the x-property

y=<value>, top=<value>

set or read the y-property

height=<value>

set or read the height-property

width=<value>

set or read the width-property

freeze=y/n

Freeze  the form

click=<item>

Call item-Click-Event

formuid

uid from the form

formtypeex

Form-Type (Expample 149, 150 ..)

formtypecount

Nr from the FormType (0,1,2...)

 

 

Example

 

form=freeze=y
setitemdata=5=newEntry
form=freeze=n
// Order: Click "Logistic"
form=click=114