CONVERT_PRX2ABAP SAP Method Convert proxy representation to ABAP









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


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method CONVERT_PRX2ABAP

.

NameTypeData TypeDescriptionDefault Value
I_CUKY_FIELD_NAMEImportingTYPE
STRING
field in I_PRX_PARAM containing the CUKY value
I_PRX_PARAMImportingTYPE
ANY
proxy strructure
I_USE_ROUNDINGImportingTYPE
FLAG
General Flag
I_VALUE_FIELD_NAMEImportingTYPE
STRING
field in I_PRX_PARAM containing the amount
E_CURRENCY_CODEExportingTYPE
TCURC-WAERS
Currency Key
E_VALUEExportingTYPE
P
Amount



Exceptions of Method CONVERT_PRX2ABAP

CX_GDT_CONVERSION - Error During Global Data Types Conversion

Example ABAP coding


DATA: lv_E_CURRENCY_CODE TYPE TCURC-WAERS,
lv_E_VALUE TYPE P,
lv_I_CUKY_FIELD_NAME TYPE STRING,
lv_I_PRX_PARAM TYPE ANY,
lv_I_USE_ROUNDING TYPE FLAG,
lv_I_VALUE_FIELD_NAME TYPE STRING,
lv_other TYPE c.

CALL METHOD CL_BS_SOA_CONVERT_CURRENCY=>CONVERT_PRX2ABAP(
EXPORTING
I_CUKY_FIELD_NAME = lv_I_CUKY_FIELD_NAME
I_PRX_PARAM = lv_I_PRX_PARAM
I_USE_ROUNDING = lv_I_USE_ROUNDING
I_VALUE_FIELD_NAME = lv_I_VALUE_FIELD_NAME
IMPORTING
E_CURRENCY_CODE = lv_E_CURRENCY_CODE
E_VALUE = lv_E_VALUE ).

Links to Related Class(s)

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