DETERMINE_PRICE SAP Method Determination of Price, Price Unit, and Currency









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

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


Parameters of Method DETERMINE_PRICE

.

NameTypeData TypeDescriptionDefault Value
IM_AKTYPImportingTYPE
AKTYP
Activity Category in the Transaction
IM_EBANImportingTYPE
EBAN
Purchase Requisition Item
IM_EBAN_OLDImportingTYPE
EBAN
Unchanged Purchase Requisition Item
IM_EBKNImportingTYPE
EBKN
Account Assignment Data in Case of Single Acc. Assgt of Item
IM_T_EBKNImportingTYPE
MEREQ_T_EBKN
Account Assignment Data in Case of Multi Acc. Assgt of Item
CH_PR_ITEM_PRICEChangingTYPE
MEREQ_VALUATION
Structure with Price, Price Unit, Currency Key



Exceptions of Method DETERMINE_PRICE

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_ME_PR_PRICE.
DATA: lv_CH_PR_ITEM_PRICE TYPE MEREQ_VALUATION,
lv_IM_AKTYP TYPE AKTYP,
lv_IM_EBAN TYPE EBAN,
lv_IM_EBAN_OLD TYPE EBAN,
lv_IM_EBKN TYPE EBKN,
lv_IM_T_EBKN TYPE MEREQ_T_EBKN,
lv_other TYPE c.

CALL METHOD lo_class=>DETERMINE_PRICE(
EXPORTING
IM_AKTYP = lv_IM_AKTYP
IM_EBAN = lv_IM_EBAN
IM_EBAN_OLD = lv_IM_EBAN_OLD
IM_EBKN = lv_IM_EBKN
IM_T_EBKN = lv_IM_T_EBKN
CHANGING
CH_PR_ITEM_PRICE = lv_CH_PR_ITEM_PRICE ).

Links to Related Class(s)

IF_EX_BA...
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!