BEASGUI-Script can exclusively be use in SAP-environment.
In the script-files of BEASGUI the beasgui-extension is activated and can be invoked with
beasgui=<command>
form=<property>
item=<property>
Some BEAS-Script-commands are passed-on to BEAS automatically, e. g.
create=button=name=myButton,Text=<spr:Kalkulation>,top=400
windowevent itempressed myButton
end evend
is the same as:
beasgui=form=create..
form=create=...
There is direct access to all SBO-Items
e.g.
meldung=X-Pos: <item 38=x>
meldung=articles in current row: <item 38=col=1>, total rows <item 38=rowcount>, thereof visible <item 38=visualrowcount>
item=38=col=1=ART01
item=8=Value=Hello
item=8=Value=string=Hello
item=8=x=100
meldung=<item 8> <item 8=value> <item 8=y> <item 8=width>
You must convert the return value
Decimal <item.5.value,sbonum>
Price <item.5.value,sboprice>
Date <item.5.value,sbodate>
Windowevent open
create=button=name=beas_kalk,text=<spr:Kalkulation>,x=450
end event
windowevent itempressed beas_kalk
// actions
end event
windowevent itemchanged 38 1
if <item 38=col=1> = "testitem" then
message=info$testitem is wrong!
end if
return no_action
end event