CREATE_BS_NODES SAP Method Create Business Share nodes









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

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


Parameters of Method CREATE_BS_NODES

.

NameTypeData TypeDescriptionDefault Value
IT_BS_TARGETImportingTYPE
/SCMTMS/T_BS_TARGET_SHARE
Bus.Share: Carrier Target Values
IT_TDL_KEYImportingTYPE
/BOBF/T_FRW_KEY
Trade Lane Key Table
IV_BS_PERIODImportingTYPE
/SCMTMS/BUCKET_TYPE
Business Share: BS Period Buckets
IV_COMMITImportingTYPE
ABAP_BOOL
commit transaction
IV_END_DTImportingTYPE
/SCMTMS/DATETIME
Date/Time
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_OVERWRITEImportingTYPE
ABAP_BOOL
Overwrite already existing BS-s
IV_SHORTG_COSTImportingTYPE
/SCMTMS/BS_SHORTG_COST
Bus. Share Shortage Cost
IV_START_DTImportingTYPE
/SCMTMS/DATETIME
Date/Time
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_ROOT_KEY_ALLExportingTYPE
/BOBF/T_FRW_KEY
Key Table
ET_BS_ROOT_KEY_NEWExportingTYPE
/BOBF/T_FRW_KEY
Key Table
EV_BS_DEL_SUMExportingTYPE
I
Sum of deleted Bus.Shares
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object



Exceptions of Method CREATE_BS_NODES

This method does not have any exceptions

Example ABAP coding


DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_ET_BS_ROOT_KEY_ALL TYPE /BOBF/T_FRW_KEY,
lv_ET_BS_ROOT_KEY_NEW TYPE /BOBF/T_FRW_KEY,
lv_EV_BS_DEL_SUM TYPE I,
lv_IT_BS_TARGET TYPE /SCMTMS/T_BS_TARGET_SHARE,
lv_IT_TDL_KEY TYPE /BOBF/T_FRW_KEY,
lv_IV_BS_PERIOD TYPE /SCMTMS/BUCKET_TYPE,
lv_IV_COMMIT TYPE ABAP_BOOL,
lv_IV_END_DT TYPE /SCMTMS/DATETIME,
lv_IV_EXCESS_COST TYPE /SCMTMS/BS_EXCESS_COST,
lv_IV_LANE_REF TYPE /SCMTMS/TAL_LANE_REF,
lv_IV_OVERWRITE TYPE ABAP_BOOL,
lv_IV_SHORTG_COST TYPE /SCMTMS/BS_SHORTG_COST,
lv_IV_START_DT 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_NODES(
EXPORTING
IT_BS_TARGET = lv_IT_BS_TARGET
IT_TDL_KEY = lv_IT_TDL_KEY
IV_BS_PERIOD = lv_IV_BS_PERIOD
IV_COMMIT = lv_IV_COMMIT
IV_END_DT = lv_IV_END_DT
IV_EXCESS_COST = lv_IV_EXCESS_COST
IV_LANE_REF = lv_IV_LANE_REF
IV_OVERWRITE = lv_IV_OVERWRITE
IV_SHORTG_COST = lv_IV_SHORTG_COST
IV_START_DT = lv_IV_START_DT
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_ROOT_KEY_ALL = lv_ET_BS_ROOT_KEY_ALL
ET_BS_ROOT_KEY_NEW = lv_ET_BS_ROOT_KEY_NEW
EV_BS_DEL_SUM = lv_EV_BS_DEL_SUM
CHANGING
CO_MESSAGE = lv_CO_MESSAGE ).

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!