openwindow (sbo)

beasscript-logo-small

Open a SAP-Window-Form

 

openwindow=<formname>=<parameter>=<script>

Open a SAP form in a fast and simple way.

 

Example: Open Item window

openwindow=fo_Items=<str_parm.s_parm1>

 

The placeholder from script are replaced in the child window. For new line  use the special placeholder %crlf%

Example

setvar=il_firstvalue=<str_parm.s_parm1>%crlf%setvar=il_secondvalie=<str_parm.s_parm2>

 

Complete list see sap form id

object=ue_openwindow=[table]=[parameter]

open Window via Menu-Id or Tablename

You've access to all Windows, which you can open via Menu

More Info see follow

 

Open Window via Menu

object=ue_openwindow=[table]=[parameter]

 

 

table

the table or menu-id from the sap-form

parameter

<string>  Send Crtl+F + this String + Enter (search)

key=<keys>   Send keys in the current form

script=<script> Execute the script in this form. Linefeed with "^". Placeholder are replaced in the parent window

after open you can send with beasgui=sendkeys the parameter-information

 

 

Example:

// open business Partner 30044

object=ue_openwindow=ocrd=30044

 

 

beas can open follow window with parameter

Table

Description

ocrd

business Partner

object=ue_openwindow=ocrd=30044

ordr

sales order

setvar=ll_docnum=<item.docnum.value>

object=ue_openwindow=ordr=<ll_docnum>

 

odln

Delivery

ordn

return

oinv

Invoice

orin

Reserve Invoice

opor

purcase order

opdn

goods receipt po

opch

AP invoice

orpd

AP credit note

orpc

AP Reserve invoice

oign

goods receipt

oige

goods issue

owtr

stock transfer

[menuid]

open this Window via Menu-ID, see sbo - menu-id

 

You can send keys to the sbo-window directly

 

object=ue_openwindow=[menuid]=key=[keys],[keys]

if you send a ",", beas create new keysend-Events.

Example:

beasgui=open=3590=key=+{TAB},1{ENTER}

or

beasgui=open=3590=key=+({TAB})1{ENTER}