GET_SCAC_FROM_BP SAP Method Get SCAC from business partner









Below is documentation, parameters and attributes of ABAP Method GET_SCAC_FROM_BP 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_SCAC_FROM_BP can also be found below:

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


Parameters of Method GET_SCAC_FROM_BP

.

NameTypeData TypeDescriptionDefault Value
IT_BP_KEYImportingTYPE
/BOBF/T_FRW_KEY
BP Keys
IV_DEL_MULTIPLEImportingTYPE
ABAP_BOOL
Don't show those results if a BP has more than 1 SCAC
IV_GE_VALID_FROMImportingTYPE
/SCMTMS/VAL_DATE_FROM
If NOT 0: Don't show results which SCAC ValidFrom is higher
IV_LE_VALID_TOImportingTYPE
/SCMTMS/VAL_DATE_TO
If NOT 0: Don't show results which SCAC ValidTo is lower
ET_SCAC_FROM_BPExportingTYPE
/SCMTMS/T_BP_SCAC_K
SCACs of BP



Exceptions of Method GET_SCAC_FROM_BP

This method does not have any exceptions

Example ABAP coding


DATA: lv_ET_SCAC_FROM_BP TYPE /SCMTMS/T_BP_SCAC_K,
lv_IT_BP_KEY TYPE /BOBF/T_FRW_KEY,
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_SCAC_FROM_BP(
EXPORTING
IT_BP_KEY = lv_IT_BP_KEY
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_SCAC_FROM_BP = lv_ET_SCAC_FROM_BP ).

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!