‎2021 Oct 22 4:32 PM
Hi Everyone,
As per Conversion Exit i.e. CONVERSION_EXIT_ALPHA_INPUT can be used to change the format of given field. For this in latest ABAP syntax we can use:
DATA(lv_real) = |{ lv_kunnr ALPHA = IN/OUT } |.
Do we have similar syntax provided by SAP for CONVERSION_EXIT_TPLNR_INPUT or CONVERSION_EXIT_TPLNR_OUTPUT?
‎2022 Mar 09 3:15 PM
As of now ABAP support only for alpha Conversion . not all CONVERSION_EXIT_*. however there are around 18 formatting options available base on ABAP version.
if non are matching the requirement use the conversion exit inside the function method. Example
Method conversion_tplnr
Importing iv_input_TPLNR type kunnr
returning re_output type kunnr .
Method conversion_tplnr
CALL FUNCTION 'CONVERSION_EXIT_TPLNR_OUTPUT'
exporting
input = v_input_TPLNR
importing
output = re_output.
DATA(lv_real) = conversion_tplnr( lv_kunnr ).
‎2022 Mar 09 3:41 PM
Thanks for your response.
Let see if future releases have such options. horst.keller Anything on on this thread ?
‎2022 Mar 10 12:27 PM