Parameters mandatory 
  
  
Only open 
openwindow=dw=reservation_set_master 
Open for 1 work order position 
  
  openwindow=reservation_set_master.psr<tab>al_WoDocEntry=600422<tab>as_menu=reservation 
  
  
Property 
 | 
Description 
 | 
 
al_WoDocEntry 
 | 
Optional: Define the work order for the process 
If defined, baseFilter will be ignored 
Display always BoM Entries, which not linked to external processes 
Set as_menu and as_pdoctype autoamtically to "issuewo", but you can overwrite it. 
It's enough to define as_menu 
  
Example: Open issue window for workorder 600422 
  openwindow=reservation_set_master.psr<tab>al_WoDocEntry=600422 
 | 
 
al_WoLineNumber 
 | 
The Work order position. Only together wtih al_WoDocEntry 
 | 
 
al_WoLineNumber2 
 | 
The Bill of Material position. Only together with al_WoDocEntry 
If this is defined, you can open a position for external routing positions too 
 | 
 
as_menu 
 | 
define the type of the window 
reservation, issuewo, backflish, customerorder, supply 
 | 
 
as_pdoctype 
 | 
 
 | 
 
as_basefilter 
 | 
Define base filter for reading work order BoM-Entries 
Link to BEAS_FTHAUPT, BEAS_FTPOS, BEAS_FTSTL 
example: Open all entries for Work order 60044 
as_basefilter= and "BEAS_FTSTL"."BELNR_ID"=60044 
  
Note: Better use al_WoDocEntry, al_WoLineNumber, al_WoLineNumber2 
 | 
 
as_basetype 
 | 
 
 | 
 
as_ownreport 
 | 
if true, then executed from "own report" 
window settings and templates saved in woreport_<str_parm.s_parm1><str_parm.s_parm2><ireport.grouptype> 
 | 
 
 
 
  
  
Parameter of Reservation-window reservation_set_master.psr 
(str_parm) 
openwindow=reservation_set_master.psr<tab>as_pdoctype=issuewo<tab>... 
  
as_pdoctype    (s_parm1) 
 | 
planned-document-type, example "issuewo" for workorder-issue 
issuewo  ->  Workorder - Issue 
externalsend  ->  (for ai_externaldocentry) : move material to external Warehouse 
externalissue -> (for ai_externaldocentry, ai_beas_fpq) : issue material from external Warehouse 
  
 | 
 
as_basetype    (s_parm2) 
 | 
if str_parm.s_parm5 is empty 
Display document 17 Customer order, wo Workorder 
else see s_parm5 
 | 
 
as_menu     (s_parm3) 
 | 
Menutype: 
reservation = reservation  
supply 
issuewo = planned issuewo 
externalissue = issue external operation 
 | 
 
as_basefilter   (s_parm4) 
 | 
filter: the display-Filter (SQL-Fragment) 
you've follow tables 
allocation: beas_shipping_line as r, beas_shipping_document as h, oitm 
 | 
 
as_picsource (as_parm5) 
 | 
Allocation, Reservation and Pick-List for a Scenario 
Typ is in s_parm2: reservation, allocation, pick, 
  
 | 
 
al_docentry 
 | 
docentry (or belnr_id) 
 | 
 
al_linenum 
 | 
0 or beas_ftpos.belpos_id 
 | 
 
al_linenum2 
 | 
linenum or beas_Ftstl.pos_id 
 | 
 
ac_quantity 
 | 
Quantity (for planned document, 0=Full Quantity) 
 | 
 
ai_externaldocentry 
 | 
For external (as_pdoctype=externalsend and externalissue): Document-Base-Number for all Purchase + Move or Delivery + Issue - Transaction (beas_owing_supplies.docenty) 
 | 
 
ac_quantity 
 | 
Plan - Quantity = full Mateiral-Quantity / Assembly-Quantity (beas_ftpos.menge_verbrauch)  * ac_quantity. If ac_quantity = 0 then beas use the full Plan-Quantity. 
if pdoctype is set to a fix base-document, example purchase order, then it will be set automatically. 
 | 
 
ab_loadallentrys 
 | 
if true, then all Entrys are loaded, not only with 0-Qty 
 | 
 
ab_backflush 
 | 
if true, then program is checking, if all entrys are filled (for normal backflush-procress) 
 | 
 
 
 
  
  
  
  
  
Functions  
loaddocumententry=dw_x 
 | 
load the Entrys in dw_x. If you don't set the dw, then beas use "dw_2" 
if s_parm1 <> "" then it create a new planned document from current str_parm 
  
  
 | 
 
loadreservation 
 | 
Load Reservation-List in dw_4 for current Entry from dw_2 (doctype,docentry,linenum,linenum2) 
 | 
 
 
 
  
Object for reservation-Window 
object=ue_reservation=reswindow= 
delreservation 
 | 
if focus on dw_4: Delete all marked Reservations 
else delete all Reservation, which linked with all marked Lines in dw_2 
 | 
 
transfer 
 | 
Transfers all marked items 
 | 
 
reservationlist 
 | 
open a reservationlist for all in dw_2 marked positions. Open window "reservation_browse.psr" 
 | 
 
issuewo 
 | 
call issuewo-Function for all marked positions 
 | 
 
getstagefreestock 
 | 
set column dw_2.bwhstock = free Stock from stage warehouse 
 | 
 
scenario 
 | 
scenario-result from allocation 
 | 
 
 
 
  
  
 | 
 
 
 
 |