REMAINING_CAPACITY_GET SAP Method Get remaining product capacity in rounding value multiples
Below is documentation, parameters and attributes of ABAP Method REMAINING_CAPACITY_GET 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 REMAINING_CAPACITY_GET can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method REMAINING_CAPACITY_GET
.| Name | Type | Data Type | Description | Default Value |
| IS_LOAD_OBJECT | Importing | TYPE /SCA/TLB_QUANTITY_ATTR_STR | Load object to calculate capacity against | |
| IT_LOAD | Importing | TYPE /SCA/TLB_QUANTITY_TAB | Quantity structure for internal use in VMI applications | |
| IT_NON_MONOTON_RULES | Importing | TYPE /SCA/TLB_RULE_TAB | TLB Profile Rule Tab | |
| IT_PARAVAL | Importing | TYPE /SCA/TLB_PARAVAL_TAB | Parameter values of current load | |
| IV_BOUND_FLG | Importing | TYPE FLAG | Capacity to next minimum bound / to next maximum bound | |
| ES_ALERT | Exporting | TYPE /SCMB/ALERT_DATA_STR | Alert Data Structure | |
| EV_CAPACITY | Exporting | TYPE /SCA/TLB_QTYRV_DF | Capacity left for this product; -1 means infinity capacity |
Exceptions of Method REMAINING_CAPACITY_GET
/SCA/CX_TLB - TLB exceptionsExample 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_CAPACITY TYPE /SCA/TLB_QTYRV_DF,
lv_IS_LOAD_OBJECT TYPE /SCA/TLB_QUANTITY_ATTR_STR,
lv_IT_LOAD TYPE /SCA/TLB_QUANTITY_TAB,
lv_IT_NON_MONOTON_RULES TYPE /SCA/TLB_RULE_TAB,
lv_IT_PARAVAL TYPE /SCA/TLB_PARAVAL_TAB,
lv_IV_BOUND_FLG TYPE FLAG,
lv_other TYPE c.
CALL METHOD lo_class=>REMAINING_CAPACITY_GET(
EXPORTING
IS_LOAD_OBJECT = lv_IS_LOAD_OBJECT
IT_LOAD = lv_IT_LOAD
IT_NON_MONOTON_RULES = lv_IT_NON_MONOTON_RULES
IT_PARAVAL = lv_IT_PARAVAL
IV_BOUND_FLG = lv_IV_BOUND_FLG
IMPORTING
ES_ALERT = lv_ES_ALERT
EV_CAPACITY = lv_EV_CAPACITY ).
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