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 directly

The 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

.

NameTypeData TypeDescriptionDefault Value
IV_BS_FR_UTCImportingTYPE
/SCMTMS/DATETIME
Date/Time
IV_BS_TO_UTCImportingTYPE
/SCMTMS/DATETIME
Date/Time
IV_EXCESS_COSTImportingTYPE
/SCMTMS/BS_EXCESS_COST
Bus. Share Excess Cost
IV_SHORTG_COSTImportingTYPE
/SCMTMS/BS_SHORTG_COST
Bus. Share Shortage Cost
IV_TDL_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_TOLERANCE_NEGImportingTYPE
/SCMTMS/BS_TOLERANCE_NEG
Allowed Percentage Below Business Share
IV_TOLERANCE_POSImportingTYPE
/SCMTMS/BS_TOLERANCE_POS
Allowed Percentage Above Business Share
IV_UNITImportingTYPE
/SCMTMS/MEASUREUNIT
Unit
CT_BS_KEY_NEWChangingTYPE
/BOBF/T_FRW_KEY
Keys of the newly created Business Shares
CT_BS_NEWChangingTYPE
/SCMTMS/T_BS_ROOT_K
Business Share Root



Exceptions of Method GENERATE_BS_PERIOD_DATA

This method does not have any exceptions

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: 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!