IMPORT_CONVERSION SAP Method Import Conversion









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

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


Parameters of Method IMPORT_CONVERSION

.

NameTypeData TypeDescriptionDefault Value
IS_INPUTImportingTYPE
/SCMB/BIF_LDM_TRL004R_IN
ES_LOCFR_ATTRSExportingTYPE
/SCMB/CL_LDM_TRL003QR=>GST_LOC_ATTRS
ES_LOCTO_ATTRSExportingTYPE
/SCMB/CL_LDM_TRL003QR=>GST_LOC_ATTRS
ET_MEANS_OF_TRANSPORTExportingTYPE
BAPI11201TRM2TAB
ET_MEANS_OF_TRANSPORT_XExportingTYPE
BAPI11201TRM2XTAB
ET_PRODUCT_PROCUREMENTExportingTYPE
BAPI11201TRPRODLANE2TAB
ET_PRODUCT_PROCUREMENT_XExportingTYPE
BAPI11201TRPRODLANE2XTAB
ET_PROD_PROC_MEANS_OF_TRANSPExportingTYPE
BAPI11201TRPRODMLANE2TAB
ET_PROD_PROC_MEANS_OF_TRANSP_XExportingTYPE
BAPI11201TRPRODMLANE2XTAB
ET_TRANSPORTATION_LANEExportingTYPE
BAPI11201TR2TAB
ET_TRANSPORTATION_LANE_XExportingTYPE
BAPI11201TR2XTAB
CT_RETURNChangingTYPE
BAPIRET2_T
CV_ERRORChangingTYPE
ABAP_BOOL



Exceptions of Method IMPORT_CONVERSION

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_RETURN TYPE BAPIRET2_T,
lv_CV_ERROR TYPE ABAP_BOOL,
lv_ES_LOCFR_ATTRS TYPE /SCMB/CL_LDM_TRL003QR=>GST_LOC_ATTRS,
lv_ES_LOCTO_ATTRS TYPE /SCMB/CL_LDM_TRL003QR=>GST_LOC_ATTRS,
lv_ET_MEANS_OF_TRANSPORT TYPE BAPI11201TRM2TAB,
lv_ET_MEANS_OF_TRANSPORT_X TYPE BAPI11201TRM2XTAB,
lv_ET_PRODUCT_PROCUREMENT TYPE BAPI11201TRPRODLANE2TAB,
lv_ET_PRODUCT_PROCUREMENT_X TYPE BAPI11201TRPRODLANE2XTAB,
lv_ET_PROD_PROC_MEANS_OF_TRANSP TYPE BAPI11201TRPRODMLANE2TAB,
lv_ET_PROD_PROC_MEANS_OF_TRANSP_X TYPE BAPI11201TRPRODMLANE2XTAB,
lv_ET_TRANSPORTATION_LANE TYPE BAPI11201TR2TAB,
lv_ET_TRANSPORTATION_LANE_X TYPE BAPI11201TR2XTAB,
lv_IS_INPUT TYPE /SCMB/BIF_LDM_TRL004R_IN,
lv_other TYPE c.

CALL METHOD /SCMB/CL_LDM_TRL004RC=>IMPORT_CONVERSION(
EXPORTING
IS_INPUT = lv_IS_INPUT
IMPORTING
ES_LOCFR_ATTRS = lv_ES_LOCFR_ATTRS
ES_LOCTO_ATTRS = lv_ES_LOCTO_ATTRS
ET_MEANS_OF_TRANSPORT = lv_ET_MEANS_OF_TRANSPORT
ET_MEANS_OF_TRANSPORT_X = lv_ET_MEANS_OF_TRANSPORT_X
ET_PRODUCT_PROCUREMENT = lv_ET_PRODUCT_PROCUREMENT
ET_PRODUCT_PROCUREMENT_X = lv_ET_PRODUCT_PROCUREMENT_X
ET_PROD_PROC_MEANS_OF_TRANSP = lv_ET_PROD_PROC_MEANS_OF_TRANSP
ET_PROD_PROC_MEANS_OF_TRANSP_X = lv_ET_PROD_PROC_MEANS_OF_TRANSP_X
ET_TRANSPORTATION_LANE = lv_ET_TRANSPORTATION_LANE
ET_TRANSPORTATION_LANE_X = lv_ET_TRANSPORTATION_LANE_X
CHANGING
CT_RETURN = lv_CT_RETURN
CV_ERROR = lv_CV_ERROR ).

Links to Related Class(s)

/SCMB/CL...
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!