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
.| Name | Type | Data Type | Description | Default Value |
| IM_AKTYP | Importing | TYPE AKTYP | Activity Category in the Transaction | |
| IM_EBAN | Importing | TYPE EBAN | Purchase Requisition Item | |
| IM_EBAN_OLD | Importing | TYPE EBAN | Unchanged Purchase Requisition Item | |
| IM_EBKN | Importing | TYPE EBKN | Account Assignment Data in Case of Single Acc. Assgt of Item | |
| IM_T_EBKN | Importing | TYPE MEREQ_T_EBKN | Account Assignment Data in Case of Multi Acc. Assgt of Item | |
| CH_PR_ITEM_PRICE | Changing | TYPE MEREQ_VALUATION | Structure with Price, Price Unit, Currency Key |
Exceptions of Method DETERMINE_PRICE
This method does not have any exceptionsExample 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