DECIDE_UP_DOWNSIZING SAP Method Decide if load builder should up- or downsize
Below is documentation, parameters and attributes of ABAP Method DECIDE_UP_DOWNSIZING within SAP class /SCA/CL_LOAD_BUILDER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCA/CL_LOAD_BUILDER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method DECIDE_UP_DOWNSIZING can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method DECIDE_UP_DOWNSIZING
.| Name | Type | Data Type | Description | Default Value |
| IO_BUILDING_POOL_DOWNSIZE | Importing | TYPE REF TO /SCA/CL_TLB_BUILDING_POOL | TLB: Load Building Pool | |
| IO_BUILDING_POOL_UPSIZE | Importing | TYPE REF TO /SCA/CL_TLB_BUILDING_POOL | TLB: Load Building Pool | |
| IT_LEFTOVER_NOSIZE | Importing | TYPE /SCA/TLB_QUANTITY_TAB | Left over demands that could not be converted into loads | |
| IT_SHIPMENT_DOWNSIZE | Importing | TYPE /SCA/TLB_SHIPMENT_TAB | VMI TLB: Table of loads | |
| IT_SHIPMENT_NOSIZE | Importing | TYPE /SCA/TLB_SHIPMENT_TAB | VMI TLB: Table of loads | |
| IT_SHIPMENT_UPSIZE | Importing | TYPE /SCA/TLB_SHIPMENT_TAB | VMI TLB: Table of loads | |
| ES_ALERT | Exporting | TYPE /SCMB/ALERT_DATA_STR | Alert Data Structure | |
| EV_DECISION | Exporting | TYPE /SCA/TLB_SIZDEC | VMI TLB: Sizing decision |
Exceptions of Method DECIDE_UP_DOWNSIZING
/SCMB/CX_SC_SCHED - SCMB Terminierung: Ausnahmen Oberklasse ( höchste Stufe )Example ABAP coding
This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.DATA: lo_class TYPE REF TO /SCA/CL_LOAD_BUILDER.
DATA: lv_ES_ALERT TYPE /SCMB/ALERT_DATA_STR,
lv_EV_DECISION TYPE /SCA/TLB_SIZDEC,
lv_IO_BUILDING_POOL_DOWNSIZE TYPE /SCA/CL_TLB_BUILDING_POOL,
lv_IO_BUILDING_POOL_UPSIZE TYPE /SCA/CL_TLB_BUILDING_POOL,
lv_IT_LEFTOVER_NOSIZE TYPE /SCA/TLB_QUANTITY_TAB,
lv_IT_SHIPMENT_DOWNSIZE TYPE /SCA/TLB_SHIPMENT_TAB,
lv_IT_SHIPMENT_NOSIZE TYPE /SCA/TLB_SHIPMENT_TAB,
lv_IT_SHIPMENT_UPSIZE TYPE /SCA/TLB_SHIPMENT_TAB,
lv_other TYPE c.
CALL METHOD lo_class=>DECIDE_UP_DOWNSIZING(
EXPORTING
IO_BUILDING_POOL_DOWNSIZE = lv_IO_BUILDING_POOL_DOWNSIZE
IO_BUILDING_POOL_UPSIZE = lv_IO_BUILDING_POOL_UPSIZE
IT_LEFTOVER_NOSIZE = lv_IT_LEFTOVER_NOSIZE
IT_SHIPMENT_DOWNSIZE = lv_IT_SHIPMENT_DOWNSIZE
IT_SHIPMENT_NOSIZE = lv_IT_SHIPMENT_NOSIZE
IT_SHIPMENT_UPSIZE = lv_IT_SHIPMENT_UPSIZE
IMPORTING
ES_ALERT = lv_ES_ALERT
EV_DECISION = lv_EV_DECISION ).
Links to Related Class(s)
/SCA/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects