CONVERT_ABAP2PRX SAP Method Convert ABAP to proxy representation









Below is documentation, parameters and attributes of ABAP Method CONVERT_ABAP2PRX 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_ABAP2PRX can also be found below:

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


Parameters of Method CONVERT_ABAP2PRX

.

NameTypeData TypeDescriptionDefault Value
I_CUKY_FIELD_NAMEImportingTYPE
STRING
Name of field in C_PRX_PARAM holding the cuky
I_CURRENCY_CODEImportingTYPE
WAERS_CURC
Currency Key
I_VALUEImportingTYPE
P
Amount
I_VALUE_FIELD_NAMEImportingTYPE
STRING
Name of field in C_PRX_PARAM containg the amount
C_PRX_PARAMChangingTYPE
ANY
Proxy parameter



Exceptions of Method CONVERT_ABAP2PRX

CX_GDT_CONVERSION - Error During Global Data Types Conversion

Example ABAP coding


DATA: lv_C_PRX_PARAM TYPE ANY,
lv_I_CUKY_FIELD_NAME TYPE STRING,
lv_I_CURRENCY_CODE TYPE WAERS_CURC,
lv_I_VALUE TYPE P,
lv_I_VALUE_FIELD_NAME TYPE STRING,
lv_other TYPE c.

CALL METHOD CL_BS_SOA_CONVERT_CURRENCY=>CONVERT_ABAP2PRX(
EXPORTING
I_CUKY_FIELD_NAME = lv_I_CUKY_FIELD_NAME
I_CURRENCY_CODE = lv_I_CURRENCY_CODE
I_VALUE = lv_I_VALUE
I_VALUE_FIELD_NAME = lv_I_VALUE_FIELD_NAME
CHANGING
C_PRX_PARAM = lv_C_PRX_PARAM ).

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!