NET_DEMAND_CALC_PERIODS SAP Method Net Demand Calculation
Below is documentation, parameters and attributes of ABAP Method NET_DEMAND_CALC_PERIODS within SAP class /SCMB/CL_NETDEMAND_CALC. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /SCMB/CL_NETDEMAND_CALC into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Static
This is a Static Method so you can call it directlyThe following technical details of method NET_DEMAND_CALC_PERIODS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method NET_DEMAND_CALC_PERIODS
.| Name | Type | Data Type | Description | Default Value |
| IV_DATAMATRIX | Importing | TYPE REF TO /SCMB/CL_DATAMATRIX | Reference to Data Matrix | |
| IV_DECIMALS | Importing | TYPE DECIMALS | Number of Decimal Places | |
| IV_SEM_CUM_NETDEMAND | Importing | TYPE /SCMB/PRM_SEM | Semantics for Cumulated Net Demand | |
| IV_SEM_LOWVOLTHRESHOLD | Importing | TYPE /SCMB/PRM_SEM | Semantics for Slow-Moving Threshold Value | |
| IV_SEM_MINLEVEL | Importing | TYPE /SCMB/PRM_SEM | Semantics for Minimum Level | |
| IV_SEM_NETDEMAND | Importing | TYPE /SCMB/PRM_SEM | Semantics for Net Demand | |
| IV_SEM_PROJSTOCK | Importing | TYPE /SCMB/PRM_SEM | Semantics for Projected Stock | |
| IV_SET_PROJSTOCK | Importing | TYPE XFELD | Switch to Set Projected Stock in Data Matrix | |
| IV_USE_DECIMALS | Importing | TYPE ABAP_BOOL | Rounding to Decimal Place | |
| EV_NETDEMAND | Exporting | TYPE F | Net Demand Results |
Exceptions of Method NET_DEMAND_CALC_PERIODS
/SCMB/CX_DMX_CELL_READONLY - Data Matrix Cell Set to Read OnlyExample ABAP coding
DATA: lv_EV_NETDEMAND TYPE F,
lv_IV_DATAMATRIX TYPE /SCMB/CL_DATAMATRIX,
lv_IV_DECIMALS TYPE DECIMALS,
lv_IV_SEM_CUM_NETDEMAND TYPE /SCMB/PRM_SEM,
lv_IV_SEM_LOWVOLTHRESHOLD TYPE /SCMB/PRM_SEM,
lv_IV_SEM_MINLEVEL TYPE /SCMB/PRM_SEM,
lv_IV_SEM_NETDEMAND TYPE /SCMB/PRM_SEM,
lv_IV_SEM_PROJSTOCK TYPE /SCMB/PRM_SEM,
lv_IV_SET_PROJSTOCK TYPE XFELD,
lv_IV_USE_DECIMALS TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD /SCMB/CL_NETDEMAND_CALC=>NET_DEMAND_CALC_PERIODS(
EXPORTING
IV_DATAMATRIX = lv_IV_DATAMATRIX
IV_DECIMALS = lv_IV_DECIMALS
IV_SEM_CUM_NETDEMAND = lv_IV_SEM_CUM_NETDEMAND
IV_SEM_LOWVOLTHRESHOLD = lv_IV_SEM_LOWVOLTHRESHOLD
IV_SEM_MINLEVEL = lv_IV_SEM_MINLEVEL
IV_SEM_NETDEMAND = lv_IV_SEM_NETDEMAND
IV_SEM_PROJSTOCK = lv_IV_SEM_PROJSTOCK
IV_SET_PROJSTOCK = lv_IV_SET_PROJSTOCK
IV_USE_DECIMALS = lv_IV_USE_DECIMALS
IMPORTING
EV_NETDEMAND = lv_EV_NETDEMAND ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects