GET_BP_FROM_SCAC SAP Method Get business partner from SCAC









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

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


Parameters of Method GET_BP_FROM_SCAC

.

NameTypeData TypeDescriptionDefault Value
IT_SCACImportingTYPE
TT_SCACD
IV_BP_RELSHIPImportingTYPE
ABAP_BOOL
Read also related business partners
IV_DEL_MULTIPLEImportingTYPE
ABAP_BOOL
Don't show those results if a SCAC has more than 1 BP
IV_GE_VALID_FROMImportingTYPE
/SCMTMS/VAL_DATE_FROM
If NOT 0: Don't show results which SCAC Valid From is higher
IV_LE_VALID_TOImportingTYPE
/SCMTMS/VAL_DATE_TO
If NOT 0: Don't show results which SCAC Valid To is lower
ET_BP_FROM_SCACExportingTYPE
TT_SCACD_BP



Exceptions of Method GET_BP_FROM_SCAC

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_BP_FROM_SCAC TYPE TT_SCACD_BP,
lv_IT_SCAC TYPE TT_SCACD,
lv_IV_BP_RELSHIP TYPE ABAP_BOOL,
lv_IV_DEL_MULTIPLE TYPE ABAP_BOOL,
lv_IV_GE_VALID_FROM TYPE /SCMTMS/VAL_DATE_FROM,
lv_IV_LE_VALID_TO TYPE /SCMTMS/VAL_DATE_TO,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_COMMON_BO_HELPER=>GET_BP_FROM_SCAC(
EXPORTING
IT_SCAC = lv_IT_SCAC
IV_BP_RELSHIP = lv_IV_BP_RELSHIP
IV_DEL_MULTIPLE = lv_IV_DEL_MULTIPLE
IV_GE_VALID_FROM = lv_IV_GE_VALID_FROM
IV_LE_VALID_TO = lv_IV_LE_VALID_TO
IMPORTING
ET_BP_FROM_SCAC = lv_ET_BP_FROM_SCAC ).

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!