FILL_TRQ_ITEMS SAP Method Filling the OTR and/or DTR Items









Below is documentation, parameters and attributes of ABAP Method FILL_TRQ_ITEMS within SAP class /SCMTMS/CL_BDFLW_INFO_QR_SRV. 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_BDFLW_INFO_QR_SRV into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method FILL_TRQ_ITEMS can also be found below:

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


Parameters of Method FILL_TRQ_ITEMS

.

NameTypeData TypeDescriptionDefault Value
IS_TRQ_ROOTImportingTYPE
/SCMTMS/S_TRQ_ROOT_K
Transportation Request Root
IT_KEY_LINK_TOR_CAPATORImportingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
IT_KEY_LINK_TOR_SFIRImportingTYPE
/BOBF/T_FRW_KEY_LINK
Key Link
IT_SFIR_ROOTImportingTYPE
/SCMTMS/T_SFIR_ROOT_K
SFIR Root
IT_TOR_INVOICE_DATAImportingTYPE
/SCMTMS/T_TCC_ROOT_K
Root
IT_TOR_ITEMImportingTYPE
/SCMTMS/T_TOR_ITEM_TR_K
TOR items
IT_TOR_ROOTImportingTYPE
/SCMTMS/T_TOR_ROOT_K
Root Node
IT_TOR_TENDImportingTYPE
/SCMTMS/T_TOR_TEND_K
Tendering
IT_TRQ_ITEMImportingTYPE
/SCMTMS/T_TRQ_ITEM_K
Item
IV_NO_OTRImportingTYPE
SAP_BOOL
Boolean Variable (X=True, Space=False)
EV_ORIG_DLV_DATEExportingTYPE
/SCMTMS/DATE_DELIVERY_ORIG
Original Delivery Date
CS_DOC_FLOWChangingTYPE
/SCMTMS/S_ERPTM_DOC_FLOW
Structure for Document flow from TM after ERP call



Exceptions of Method FILL_TRQ_ITEMS

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: lo_class TYPE REF TO /SCMTMS/CL_BDFLW_INFO_QR_SRV.
DATA: lv_CS_DOC_FLOW TYPE /SCMTMS/S_ERPTM_DOC_FLOW,
lv_EV_ORIG_DLV_DATE TYPE /SCMTMS/DATE_DELIVERY_ORIG,
lv_IS_TRQ_ROOT TYPE /SCMTMS/S_TRQ_ROOT_K,
lv_IT_KEY_LINK_TOR_CAPATOR TYPE /BOBF/T_FRW_KEY_LINK,
lv_IT_KEY_LINK_TOR_SFIR TYPE /BOBF/T_FRW_KEY_LINK,
lv_IT_SFIR_ROOT TYPE /SCMTMS/T_SFIR_ROOT_K,
lv_IT_TOR_INVOICE_DATA TYPE /SCMTMS/T_TCC_ROOT_K,
lv_IT_TOR_ITEM TYPE /SCMTMS/T_TOR_ITEM_TR_K,
lv_IT_TOR_ROOT TYPE /SCMTMS/T_TOR_ROOT_K,
lv_IT_TOR_TEND TYPE /SCMTMS/T_TOR_TEND_K,
lv_IT_TRQ_ITEM TYPE /SCMTMS/T_TRQ_ITEM_K,
lv_IV_NO_OTR TYPE SAP_BOOL,
lv_other TYPE c.

CALL METHOD lo_class=>FILL_TRQ_ITEMS(
EXPORTING
IS_TRQ_ROOT = lv_IS_TRQ_ROOT
IT_KEY_LINK_TOR_CAPATOR = lv_IT_KEY_LINK_TOR_CAPATOR
IT_KEY_LINK_TOR_SFIR = lv_IT_KEY_LINK_TOR_SFIR
IT_SFIR_ROOT = lv_IT_SFIR_ROOT
IT_TOR_INVOICE_DATA = lv_IT_TOR_INVOICE_DATA
IT_TOR_ITEM = lv_IT_TOR_ITEM
IT_TOR_ROOT = lv_IT_TOR_ROOT
IT_TOR_TEND = lv_IT_TOR_TEND
IT_TRQ_ITEM = lv_IT_TRQ_ITEM
IV_NO_OTR = lv_IV_NO_OTR
IMPORTING
EV_ORIG_DLV_DATE = lv_EV_ORIG_DLV_DATE
CHANGING
CS_DOC_FLOW = lv_CS_DOC_FLOW ).

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!