FILL_CHARGES_DETAILS SAP Method Fill the Charge related details to be serialized









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

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


Parameters of Method FILL_CHARGES_DETAILS

.

NameTypeData TypeDescriptionDefault Value
IT_CFIR_ITEM_DATAImportingTYPE
/SCMTMS/T_CFIR_ITEM_NODE_K
Item Node
IT_CFIR_MT_CHARGE_ITEMImportingTYPE
/SCMTMS/CPX_CFIR_SUITE_CHRGIT
CustFrtInvcReqSUITEReq_V1ChrgItm
IT_CHARGE_ITEMImportingTYPE
/SCMTMS/T_TCC_CHRGITEM_K
Charge Item
IT_CHRGITMKEY_ORDNUM_LINKImportingTYPE
/SCMTMS/CL_CFIR_CRT_REQ_ASSIST=>TT_CHRGITMKEY_ORDNUM_LINK
IT_CI_CONSOLIDATEDImportingTYPE
/SCMTMS/T_TCC_CHRGITM_STG_K
Consolidated Item charge elements
IT_LOCATION_DATAImportingTYPE
/SCMTMS/CL_HELPER_UI=>TT_LOC_DETAILS
IT_RESOURCE_DATAImportingTYPE
/SCMTMS/T_RES_ROOT_K
Root node of the TMS Vehicle Resource
IT_TOR_ITEM_RES_KLImportingTYPE
/BOBF/T_FRW_KEY_LINK
Transient node for items
IV_CFIR_KEYImportingTYPE
/BOBF/CONF_KEY
NodeID
ET_CFIR_CHRG_PRINTExportingTYPE
/SCMTMS/T_CFIR_CHARGE_ITEM
Table of Charge Items in a CFIR, data to be sent to ERP



Exceptions of Method FILL_CHARGES_DETAILS

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_ET_CFIR_CHRG_PRINT TYPE /SCMTMS/T_CFIR_CHARGE_ITEM,
lv_IT_CFIR_ITEM_DATA TYPE /SCMTMS/T_CFIR_ITEM_NODE_K,
lv_IT_CFIR_MT_CHARGE_ITEM TYPE /SCMTMS/CPX_CFIR_SUITE_CHRGIT,
lv_IT_CHARGE_ITEM TYPE /SCMTMS/T_TCC_CHRGITEM_K,
lv_IT_CHRGITMKEY_ORDNUM_LINK TYPE /SCMTMS/CL_CFIR_CRT_REQ_ASSIST=>TT_CHRGITMKEY_ORDNUM_LINK,
lv_IT_CI_CONSOLIDATED TYPE /SCMTMS/T_TCC_CHRGITM_STG_K,
lv_IT_LOCATION_DATA TYPE /SCMTMS/CL_HELPER_UI=>TT_LOC_DETAILS,
lv_IT_RESOURCE_DATA TYPE /SCMTMS/T_RES_ROOT_K,
lv_IT_TOR_ITEM_RES_KL TYPE /BOBF/T_FRW_KEY_LINK,
lv_IV_CFIR_KEY TYPE /BOBF/CONF_KEY,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_CFIR_PRNTSIM_HELPER=>FILL_CHARGES_DETAILS(
EXPORTING
IT_CFIR_ITEM_DATA = lv_IT_CFIR_ITEM_DATA
IT_CFIR_MT_CHARGE_ITEM = lv_IT_CFIR_MT_CHARGE_ITEM
IT_CHARGE_ITEM = lv_IT_CHARGE_ITEM
IT_CHRGITMKEY_ORDNUM_LINK = lv_IT_CHRGITMKEY_ORDNUM_LINK
IT_CI_CONSOLIDATED = lv_IT_CI_CONSOLIDATED
IT_LOCATION_DATA = lv_IT_LOCATION_DATA
IT_RESOURCE_DATA = lv_IT_RESOURCE_DATA
IT_TOR_ITEM_RES_KL = lv_IT_TOR_ITEM_RES_KL
IV_CFIR_KEY = lv_IV_CFIR_KEY
IMPORTING
ET_CFIR_CHRG_PRINT = lv_ET_CFIR_CHRG_PRINT ).

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!