GENERATE_BS_PERIOD_DATA SAP Method Generate bucket with cap.dim. and resp. mod. structures
Below is documentation, parameters and attributes of ABAP Method GENERATE_BS_PERIOD_DATA within SAP class /SCMTMS/CL_BS_CREATE. 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 /SCMTMS/CL_BS_CREATE 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 GENERATE_BS_PERIOD_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GENERATE_BS_PERIOD_DATA
.| Name | Type | Data Type | Description | Default Value |
| IV_BS_FR_UTC | Importing | TYPE /SCMTMS/DATETIME | Date/Time | |
| IV_BS_TO_UTC | Importing | TYPE /SCMTMS/DATETIME | Date/Time | |
| IV_EXCESS_COST | Importing | TYPE /SCMTMS/BS_EXCESS_COST | Bus. Share Excess Cost | |
| IV_SHORTG_COST | Importing | TYPE /SCMTMS/BS_SHORTG_COST | Bus. Share Shortage Cost | |
| IV_TDL_KEY | Importing | TYPE /BOBF/CONF_KEY | NodeID | |
| IV_TOLERANCE_NEG | Importing | TYPE /SCMTMS/BS_TOLERANCE_NEG | Allowed Percentage Below Business Share | |
| IV_TOLERANCE_POS | Importing | TYPE /SCMTMS/BS_TOLERANCE_POS | Allowed Percentage Above Business Share | |
| IV_UNIT | Importing | TYPE /SCMTMS/MEASUREUNIT | Unit | |
| CT_BS_KEY_NEW | Changing | TYPE /BOBF/T_FRW_KEY | Keys of the newly created Business Shares | |
| CT_BS_NEW | Changing | TYPE /SCMTMS/T_BS_ROOT_K | Business Share Root |
Exceptions of Method GENERATE_BS_PERIOD_DATA
This method does not have any 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: lv_CT_BS_KEY_NEW TYPE /BOBF/T_FRW_KEY,
lv_CT_BS_NEW TYPE /SCMTMS/T_BS_ROOT_K,
lv_IV_BS_FR_UTC TYPE /SCMTMS/DATETIME,
lv_IV_BS_TO_UTC TYPE /SCMTMS/DATETIME,
lv_IV_EXCESS_COST TYPE /SCMTMS/BS_EXCESS_COST,
lv_IV_SHORTG_COST TYPE /SCMTMS/BS_SHORTG_COST,
lv_IV_TDL_KEY TYPE /BOBF/CONF_KEY,
lv_IV_TOLERANCE_NEG TYPE /SCMTMS/BS_TOLERANCE_NEG,
lv_IV_TOLERANCE_POS TYPE /SCMTMS/BS_TOLERANCE_POS,
lv_IV_UNIT TYPE /SCMTMS/MEASUREUNIT,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_BS_CREATE=>GENERATE_BS_PERIOD_DATA(
EXPORTING
IV_BS_FR_UTC = lv_IV_BS_FR_UTC
IV_BS_TO_UTC = lv_IV_BS_TO_UTC
IV_EXCESS_COST = lv_IV_EXCESS_COST
IV_SHORTG_COST = lv_IV_SHORTG_COST
IV_TDL_KEY = lv_IV_TDL_KEY
IV_TOLERANCE_NEG = lv_IV_TOLERANCE_NEG
IV_TOLERANCE_POS = lv_IV_TOLERANCE_POS
IV_UNIT = lv_IV_UNIT
CHANGING
CT_BS_KEY_NEW = lv_CT_BS_KEY_NEW
CT_BS_NEW = lv_CT_BS_NEW ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects