DETERMINE_BP SAP Method Determine roles and BP information









Below is documentation, parameters and attributes of ABAP Method DETERMINE_BP within SAP class /SCMTMS/CL_BUPA_DET_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_BUPA_DET_HELPER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.

The following technical details of method DETERMINE_BP can also be found below:

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


Parameters of Method DETERMINE_BP

.

NameTypeData TypeDescriptionDefault Value
IV_BO_KEYImportingTYPE
/BOBF/OBM_BO_KEY
Business Object
IV_COPYImportingTYPE
BOOLE_D
Copy Scenario
IV_NODE_INS_KEYImportingTYPE
/BOBF/CONF_KEY
Key Table
IV_NODE_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_PARTNER_SCHEMAImportingTYPE
/SCMTMS/PARTNER_SCHEMA
Partner Determination Schema
IV_PURCHASING_ORGImportingTYPE
OBJEKTID
Purchase Organization
IV_REDETERMINEImportingTYPE
BOOLE_D
Trigger Redetermination
IV_ROOT_INS_KEYImportingTYPE
/BOBF/CONF_KEY
Key Table
IV_ROOT_KEYImportingTYPE
/BOBF/OBM_NODE_KEY
Node
IV_SALES_ORGImportingTYPE
OBJEKTID
Sales Organization
EV_DATA_CHANGEDExportingTYPE
BOOLE_D
Returns if the data got changed
EV_DETERMINATION_FAILEDExportingTYPE
ABAP_BOOL
Determination Failed
CO_MESSAGEChangingTYPE REF TO
/BOBF/IF_FRW_MESSAGE
Interface of Message Object
CT_PARTNER_INFOChangingTYPE
TT_PARTY_INFO
Partner Information



Exceptions of Method DETERMINE_BP

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMTMS/CL_BUPA_DET_HELPER.
DATA: lv_CO_MESSAGE TYPE /BOBF/IF_FRW_MESSAGE,
lv_CT_PARTNER_INFO TYPE TT_PARTY_INFO,
lv_EV_DATA_CHANGED TYPE BOOLE_D,
lv_EV_DETERMINATION_FAILED TYPE ABAP_BOOL,
lv_IV_BO_KEY TYPE /BOBF/OBM_BO_KEY,
lv_IV_COPY TYPE BOOLE_D,
lv_IV_NODE_INS_KEY TYPE /BOBF/CONF_KEY,
lv_IV_NODE_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_PARTNER_SCHEMA TYPE /SCMTMS/PARTNER_SCHEMA,
lv_IV_PURCHASING_ORG TYPE OBJEKTID,
lv_IV_REDETERMINE TYPE BOOLE_D,
lv_IV_ROOT_INS_KEY TYPE /BOBF/CONF_KEY,
lv_IV_ROOT_KEY TYPE /BOBF/OBM_NODE_KEY,
lv_IV_SALES_ORG TYPE OBJEKTID,
lv_other TYPE c.

CALL METHOD lo_class=>DETERMINE_BP(
EXPORTING
IV_BO_KEY = lv_IV_BO_KEY
IV_COPY = lv_IV_COPY
IV_NODE_INS_KEY = lv_IV_NODE_INS_KEY
IV_NODE_KEY = lv_IV_NODE_KEY
IV_PARTNER_SCHEMA = lv_IV_PARTNER_SCHEMA
IV_PURCHASING_ORG = lv_IV_PURCHASING_ORG
IV_REDETERMINE = lv_IV_REDETERMINE
IV_ROOT_INS_KEY = lv_IV_ROOT_INS_KEY
IV_ROOT_KEY = lv_IV_ROOT_KEY
IV_SALES_ORG = lv_IV_SALES_ORG
IMPORTING
EV_DATA_CHANGED = lv_EV_DATA_CHANGED
EV_DETERMINATION_FAILED = lv_EV_DETERMINATION_FAILED
CHANGING
CO_MESSAGE = lv_CO_MESSAGE
CT_PARTNER_INFO = lv_CT_PARTNER_INFO ).

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!