BUSINESS_LOGIC SAP Method Business Logic









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

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


Parameters of Method BUSINESS_LOGIC

.

NameTypeData TypeDescriptionDefault Value
CS_TRANSPORTATION_LANEChangingTYPE
/SAPAPO/SMD_TR
Transportation Lanes
CT_LOCATION_MAPPINGChangingTYPE
/SAPAPO/LOCMAP_TAB
Location: Mapping Table Type
CT_MATERIAL_MAPPINGChangingTYPE
/SAPAPO/MATMAP_TAB
Product Mapping
CT_RETURNChangingTYPE
BAPIRET2_T
Return parameter table
CT_SPECIAL_RULEChangingTYPE
/SAPAPO/TR_TDB_TRPRODM
Product-Specific Means of Transport
CT_VALID_MATERIALSChangingTYPE
/SAPAPO/TR_TDB_TRPROD
Product-Specific Transportation Lane
CT_VALID_TRANSPORT_MEANSChangingTYPE
/SAPAPO/TR_TDB_TRM
Means of Transport
CV_FROM_LOCATION_INTERNAL_IDChangingTYPE
/SAPAPO/LOCNO
Location
CV_FROM_LOCATION_TYPE_CODEChangingTYPE
/SAPAPO/C_LOCTYPE
Location Type
CV_FROM_LOGICAL_SYSTEMChangingTYPE
BAPISCMBLOGSYS
Logical System
CV_LANGUAGEChangingTYPE
SPRAS
Language Key
CV_TO_LOCATION_INTERNAL_IDChangingTYPE
/SAPAPO/LOCNO
Location
CV_TO_LOCATION_TYPE_CODEChangingTYPE
/SAPAPO/C_LOCTYPE
Location Type
CV_TO_LOGICAL_SYSTEMChangingTYPE
BAPISCMBLOGSYS
Logical System



Exceptions of Method BUSINESS_LOGIC

This method does not have any exceptions

Example ABAP coding


DATA: lv_CS_TRANSPORTATION_LANE TYPE /SAPAPO/SMD_TR,
lv_CT_LOCATION_MAPPING TYPE /SAPAPO/LOCMAP_TAB,
lv_CT_MATERIAL_MAPPING TYPE /SAPAPO/MATMAP_TAB,
lv_CT_RETURN TYPE BAPIRET2_T,
lv_CT_SPECIAL_RULE TYPE /SAPAPO/TR_TDB_TRPRODM,
lv_CT_VALID_MATERIALS TYPE /SAPAPO/TR_TDB_TRPROD,
lv_CT_VALID_TRANSPORT_MEANS TYPE /SAPAPO/TR_TDB_TRM,
lv_CV_FROM_LOCATION_INTERNAL_ID TYPE /SAPAPO/LOCNO,
lv_CV_FROM_LOCATION_TYPE_CODE TYPE /SAPAPO/C_LOCTYPE,
lv_CV_FROM_LOGICAL_SYSTEM TYPE BAPISCMBLOGSYS,
lv_CV_LANGUAGE TYPE SPRAS,
lv_CV_TO_LOCATION_INTERNAL_ID TYPE /SAPAPO/LOCNO,
lv_CV_TO_LOCATION_TYPE_CODE TYPE /SAPAPO/C_LOCTYPE,
lv_CV_TO_LOGICAL_SYSTEM TYPE BAPISCMBLOGSYS,
lv_other TYPE c.

CALL METHOD /SCMB/IF_EX_BIF_LDM_TRL001QR=>BUSINESS_LOGIC(
CHANGING
CS_TRANSPORTATION_LANE = lv_CS_TRANSPORTATION_LANE
CT_LOCATION_MAPPING = lv_CT_LOCATION_MAPPING
CT_MATERIAL_MAPPING = lv_CT_MATERIAL_MAPPING
CT_RETURN = lv_CT_RETURN
CT_SPECIAL_RULE = lv_CT_SPECIAL_RULE
CT_VALID_MATERIALS = lv_CT_VALID_MATERIALS
CT_VALID_TRANSPORT_MEANS = lv_CT_VALID_TRANSPORT_MEANS
CV_FROM_LOCATION_INTERNAL_ID = lv_CV_FROM_LOCATION_INTERNAL_ID
CV_FROM_LOCATION_TYPE_CODE = lv_CV_FROM_LOCATION_TYPE_CODE
CV_FROM_LOGICAL_SYSTEM = lv_CV_FROM_LOGICAL_SYSTEM
CV_LANGUAGE = lv_CV_LANGUAGE
CV_TO_LOCATION_INTERNAL_ID = lv_CV_TO_LOCATION_INTERNAL_ID
CV_TO_LOCATION_TYPE_CODE = lv_CV_TO_LOCATION_TYPE_CODE
CV_TO_LOGICAL_SYSTEM = lv_CV_TO_LOGICAL_SYSTEM ).

Links to Related Class(s)

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