ITEM_PRICING_CALL SAP Method Rerun Pricing









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

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


Parameters of Method ITEM_PRICING_CALL

.

NameTypeData TypeDescriptionDefault Value
IS_OTVAPImportingTYPE
TVAP
Sales Document: Item Categories
IS_OVBAPImportingTYPE
VBAP
Sales Document: Item Data
IS_OVBAPDImportingTYPE
VBAPD
Order Items: Dynamic Division
IS_OVBKDImportingTYPE
VBKD
Sales Document: Business Data
IS_T180ImportingTYPE
T180
Screen Sequence Control: Transaction Default Values
IS_TVAKImportingTYPE
TVAK
Sales Documents: Types
IS_TVAPImportingTYPE
TVAP
Sales Document: Item Categories
IS_VBAKImportingTYPE
VBAK
Sales Document: Header Data
IS_VBAPImportingTYPE
VBAP
Sales Document: Item Data
IS_VBAPDImportingTYPE
VBAPD
Order Items: Dynamic Division
IS_VBKDImportingTYPE
VBKD
Sales Document: Business Data
IS_VBUKImportingTYPE
VBUK
Sales Document: Header Status and Administrative Data
IS_VBUPImportingTYPE
VBUP
Sales Document: Item Status
IV_NO_DIALOGImportingTYPE
XFELD
'X' = Not in Dialog Mode
CV_CALL_PRICINGChangingTYPE
XFELD
'X' = Rerun Pricing
CV_CALL_PRICING_WITH_TYPEChangingTYPE
KNPRS
Pricing Type



Exceptions of Method ITEM_PRICING_CALL

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO IF_BADI_SD_SALES_ITEM_PRICING.
DATA: lv_CV_CALL_PRICING TYPE XFELD,
lv_CV_CALL_PRICING_WITH_TYPE TYPE KNPRS,
lv_IS_OTVAP TYPE TVAP,
lv_IS_OVBAP TYPE VBAP,
lv_IS_OVBAPD TYPE VBAPD,
lv_IS_OVBKD TYPE VBKD,
lv_IS_T180 TYPE T180,
lv_IS_TVAK TYPE TVAK,
lv_IS_TVAP TYPE TVAP,
lv_IS_VBAK TYPE VBAK,
lv_IS_VBAP TYPE VBAP,
lv_IS_VBAPD TYPE VBAPD,
lv_IS_VBKD TYPE VBKD,
lv_IS_VBUK TYPE VBUK,
lv_IS_VBUP TYPE VBUP,
lv_IV_NO_DIALOG TYPE XFELD,
lv_other TYPE c.

CALL METHOD lo_class=>ITEM_PRICING_CALL(
EXPORTING
IS_OTVAP = lv_IS_OTVAP
IS_OVBAP = lv_IS_OVBAP
IS_OVBAPD = lv_IS_OVBAPD
IS_OVBKD = lv_IS_OVBKD
IS_T180 = lv_IS_T180
IS_TVAK = lv_IS_TVAK
IS_TVAP = lv_IS_TVAP
IS_VBAK = lv_IS_VBAK
IS_VBAP = lv_IS_VBAP
IS_VBAPD = lv_IS_VBAPD
IS_VBKD = lv_IS_VBKD
IS_VBUK = lv_IS_VBUK
IS_VBUP = lv_IS_VBUP
IV_NO_DIALOG = lv_IV_NO_DIALOG
CHANGING
CV_CALL_PRICING = lv_CV_CALL_PRICING
CV_CALL_PRICING_WITH_TYPE = lv_CV_CALL_PRICING_WITH_TYPE ).

Links to Related Class(s)

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