CREATE_TOR_REFOBJECT SAP Method Generate mod. structures for loading capa.dims of a BusShare









Below is documentation, parameters and attributes of ABAP Method CREATE_TOR_REFOBJECT within SAP class /SCMTMS/CL_BS_HELPER. 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_HELPER 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_TOR_REFOBJECT can also be found below:

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


Parameters of Method CREATE_TOR_REFOBJECT

.

NameTypeData TypeDescriptionDefault Value
IS_BS_ROOT_KImportingTYPE
/SCMTMS/S_BS_ROOT_K
Business Share Root
IT_TOR_MAIN_ITMImportingTYPE
/SCMTMS/T_TOR_ITEM_TR_K
Transient node for items
IV_TOR_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
IV_TOR_START_UTCImportingTYPE
/SCMTMS/DATETIME
Date/Time
IV_TSP_KEYImportingTYPE
/SCMTMS/BUPAUUID
Business Partner
EV_QUANTITYExportingTYPE
/SCMTMS/QUANTITY
Booking (loading) Quantity
CT_EXISTING_REFOBJChangingTYPE
/SCMTMS/T_LOADING_REFOBJ_K
Table of references for loading objects
CT_MODChangingTYPE
/BOBF/T_FRW_MODIFICATION
Changes



Exceptions of Method CREATE_TOR_REFOBJECT

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_EXISTING_REFOBJ TYPE /SCMTMS/T_LOADING_REFOBJ_K,
lv_CT_MOD TYPE /BOBF/T_FRW_MODIFICATION,
lv_EV_QUANTITY TYPE /SCMTMS/QUANTITY,
lv_IS_BS_ROOT_K TYPE /SCMTMS/S_BS_ROOT_K,
lv_IT_TOR_MAIN_ITM TYPE /SCMTMS/T_TOR_ITEM_TR_K,
lv_IV_TOR_KEY TYPE /BOBF/CONF_KEY,
lv_IV_TOR_START_UTC TYPE /SCMTMS/DATETIME,
lv_IV_TSP_KEY TYPE /SCMTMS/BUPAUUID,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_BS_HELPER=>CREATE_TOR_REFOBJECT(
EXPORTING
IS_BS_ROOT_K = lv_IS_BS_ROOT_K
IT_TOR_MAIN_ITM = lv_IT_TOR_MAIN_ITM
IV_TOR_KEY = lv_IV_TOR_KEY
IV_TOR_START_UTC = lv_IV_TOR_START_UTC
IV_TSP_KEY = lv_IV_TSP_KEY
IMPORTING
EV_QUANTITY = lv_EV_QUANTITY
CHANGING
CT_EXISTING_REFOBJ = lv_CT_EXISTING_REFOBJ
CT_MOD = lv_CT_MOD ).

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!