CONVERT_PRICING_DATA SAP Method CPE - Convert Pricing Data into Name Value Pairs









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

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


Parameters of Method CONVERT_PRICING_DATA

.

NameTypeData TypeDescriptionDefault Value
IS_KOMKImportingTYPE
KOMK
Communication Header for Pricing
IS_KOMPImportingTYPE
KOMP
Pricing Communication Item
ET_NAMEVALUEPAIRS_10ExportingTYPE
CPET_NAMEVALUEPAIRS_10_TAB
CPE Caller - Table Type for Name Value Pairs (L=10)
ET_NAMEVALUEPAIRS_255ExportingTYPE
CPET_NAMEVALUEPAIRS_255_TAB
CPE Caller - Table Type for Name Value Pairs (L=255)
ET_NAMEVALUEPAIRS_50ExportingTYPE
CPET_NAMEVALUEPAIRS_50_TAB
CPE Caller - Table Type for Name Value Pairs (L=50)



Exceptions of Method CONVERT_PRICING_DATA

ET_NAMEVALUEPAIRS_10ExportingTYPE
CPET_NAMEVALUEPAIRS_10_TABCPE Caller - Table Type for Name Value Pairs (L=10)ET_NAMEVALUEPAIRS_255ExportingTYPE
CPET_NAMEVALUEPAIRS_255_TABCPE Caller - Table Type for Name Value Pairs (L=255)ET_NAMEVALUEPAIRS_50ExportingTYPE
CPET_NAMEVALUEPAIRS_50_TABCPE Caller - Table Type for Name Value Pairs (L=50)TYPE_CONVERSION_ERROR -

Example ABAP coding


DATA: lo_class TYPE REF TO IF_EX_BADI_CPE_R3.
DATA: lv_ET_NAMEVALUEPAIRS_10 TYPE CPET_NAMEVALUEPAIRS_10_TAB,
lv_ET_NAMEVALUEPAIRS_255 TYPE CPET_NAMEVALUEPAIRS_255_TAB,
lv_ET_NAMEVALUEPAIRS_50 TYPE CPET_NAMEVALUEPAIRS_50_TAB,
lv_IS_KOMK TYPE KOMK,
lv_IS_KOMP TYPE KOMP,
lv_other TYPE c.

CALL METHOD lo_class=>CONVERT_PRICING_DATA(
EXPORTING
IS_KOMK = lv_IS_KOMK
IS_KOMP = lv_IS_KOMP
IMPORTING
ET_NAMEVALUEPAIRS_10 = lv_ET_NAMEVALUEPAIRS_10
ET_NAMEVALUEPAIRS_255 = lv_ET_NAMEVALUEPAIRS_255
ET_NAMEVALUEPAIRS_50 = lv_ET_NAMEVALUEPAIRS_50 ).

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!