CREATE_BS_PERIOD_FOR_TDL SAP Method Create series of BS-s for each requsted Trade Lane









Below is documentation, parameters and attributes of ABAP Method CREATE_BS_PERIOD_FOR_TDL 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 CREATE_BS_PERIOD_FOR_TDL can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CREATE_BS_PERIOD_FOR_TDL

.

NameTypeData TypeDescriptionDefault Value
IV_BS_PERIODImportingTYPE
/SCMTMS/BUCKET_TYPE
Business Share: BS Period Buckets
IV_END_DTImportingTYPE
/SCMTMS/DATETIME
End Date/Time in TZONE_SRC
IV_END_UTCImportingTYPE
/SCMTMS/DATETIME
End Date/Timein UTC
IV_EXCESS_COSTImportingTYPE
/SCMTMS/BS_EXCESS_COST
Bus. Share Excess Cost
IV_LANE_REFImportingTYPE
/SCMTMS/TAL_LANE_REF
Transportation Lane Reference Setting for TAL Creation
IV_SHORTG_COSTImportingTYPE
/SCMTMS/BS_SHORTG_COST
Bus. Share Shortage Cost
IV_START_DTImportingTYPE
/SCMTMS/DATETIME
Start Date/Time in TZONE_SRC
IV_START_UTCImportingTYPE
/SCMTMS/DATETIME
Start Date/Time in UTC
IV_STICK_CALENDARImportingTYPE
/SCMTMS/TAL_STICK_TO_CALENDAR
Cover Full Calendar Units?
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_TZONE_SRCImportingTYPE
SYSTZONLO
Time Zone of Current User
IV_UNITImportingTYPE
/SCMTMS/MEASUREUNIT
Unit
ET_BS_LANE_DATAExportingTYPE
TT_BS_LANE_DATA
Bus.Share relevant lane data
ET_BS_ROOT_KEY_NEWExportingTYPE
/BOBF/T_FRW_KEY
Key Table
ET_BS_ROOT_NEWExportingTYPE
/SCMTMS/T_BS_ROOT_K
Business Share Root
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
CT_TRADELANE_KEYChangingTYPE
/BOBF/T_FRW_KEY
Key Table



Exceptions of Method CREATE_BS_PERIOD_FOR_TDL

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_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CT_TRADELANE_KEY TYPE /BOBF/T_FRW_KEY,
lv_ET_BS_LANE_DATA TYPE TT_BS_LANE_DATA,
lv_ET_BS_ROOT_KEY_NEW TYPE /BOBF/T_FRW_KEY,
lv_ET_BS_ROOT_NEW TYPE /SCMTMS/T_BS_ROOT_K,
lv_IV_BS_PERIOD TYPE /SCMTMS/BUCKET_TYPE,
lv_IV_END_DT TYPE /SCMTMS/DATETIME,
lv_IV_END_UTC TYPE /SCMTMS/DATETIME,
lv_IV_EXCESS_COST TYPE /SCMTMS/BS_EXCESS_COST,
lv_IV_LANE_REF TYPE /SCMTMS/TAL_LANE_REF,
lv_IV_SHORTG_COST TYPE /SCMTMS/BS_SHORTG_COST,
lv_IV_START_DT TYPE /SCMTMS/DATETIME,
lv_IV_START_UTC TYPE /SCMTMS/DATETIME,
lv_IV_STICK_CALENDAR TYPE /SCMTMS/TAL_STICK_TO_CALENDAR,
lv_IV_TOLERANCE_NEG TYPE /SCMTMS/BS_TOLERANCE_NEG,
lv_IV_TOLERANCE_POS TYPE /SCMTMS/BS_TOLERANCE_POS,
lv_IV_TZONE_SRC TYPE SYSTZONLO,
lv_IV_UNIT TYPE /SCMTMS/MEASUREUNIT,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_BS_CREATE=>CREATE_BS_PERIOD_FOR_TDL(
EXPORTING
IV_BS_PERIOD = lv_IV_BS_PERIOD
IV_END_DT = lv_IV_END_DT
IV_END_UTC = lv_IV_END_UTC
IV_EXCESS_COST = lv_IV_EXCESS_COST
IV_LANE_REF = lv_IV_LANE_REF
IV_SHORTG_COST = lv_IV_SHORTG_COST
IV_START_DT = lv_IV_START_DT
IV_START_UTC = lv_IV_START_UTC
IV_STICK_CALENDAR = lv_IV_STICK_CALENDAR
IV_TOLERANCE_NEG = lv_IV_TOLERANCE_NEG
IV_TOLERANCE_POS = lv_IV_TOLERANCE_POS
IV_TZONE_SRC = lv_IV_TZONE_SRC
IV_UNIT = lv_IV_UNIT
IMPORTING
ET_BS_LANE_DATA = lv_ET_BS_LANE_DATA
ET_BS_ROOT_KEY_NEW = lv_ET_BS_ROOT_KEY_NEW
ET_BS_ROOT_NEW = lv_ET_BS_ROOT_NEW
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CT_TRADELANE_KEY = lv_CT_TRADELANE_KEY ).

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!