Parameter | Reference | Type | Length | Default | Optional | Text |
---|---|---|---|---|---|---|
I_BUKRS | TVKO-BUKRS | C | 4 | SPACE | X | Company code to related sales organisation |
I_CIND_SD | OIA05H-CIND | C | 1 | SPACE | X | Contract/Call-off indic. (1=Contr.,2=call-off) |
I_VBTYP | VBAK-VBTYP | C | 1 | X | SD document category |
Parameter | Reference | Length | Optional | Text |
---|---|---|---|---|
T_OIA05 | OIA09 | 64 | Scheduling lines of Qty.schedule data | |
T_OIA05H | OIA09H | 268 | Header Qty.schedule for one sales item | |
T_OIA05H_TSW_QS | OIA05H | 170 | X | Quantity schedule header table - sales side |
T_OIA05_TSW_QS | OIA05 | 55 | X | Quantity schedule scheduling table - sales side |
T_VBAP_NEW | VBAPVB | 2048 | Sales order/contract item after change | |
T_VBAP_OLD | VBAPVB | 2048 | Sales order/contract item before change | |
T_VBEP_NEW | VBEPVB | 480 | Scheduling line(s) sales item after change | |
T_VBEP_OLD | VBEPVB | 480 | Schedluing line(s) sales item before change |
Exception | Text |
---|---|
DELETE_ERROR | Record not exist, deletion not possible |
INSERT_ERROR | Record allready exist, insert not possible |
UPDATE_ERROR | Record not exist, update not possible |
This update function module creates, changes, and deletes the controlsegment header database OIA05H and the control segment scheduling linesof database OIA05 (used with update task). Additionally, this function updates the scheduling lines of thecontract control segment (scheduled quantity) if the actual mode isCall-off update for a sales document/Control Segment dependent on thedelivery date of the sales order item. |