SAP Managed Tags: ABAP Development Hi, i would like to convert a packed decimal to character variable, but i dont want to use the users profil defaults, i would like to choose whether i'm getting 1.234,56 or 1,
SAP Managed Tags: ABAP Development data : qty type p decimals 2, ch(10) type c value '10'. move ch to qty. may be this will be helpful to u. or try the FM CALL FUNCTION 'CHECK_AND_CONVERT_NUMERICS' EXPORTING dmzei = ',' dtype = 'CURR' efeld = input IMPORTING error = err...
SAP Managed Tags: ABAP Development Hi Pawan, The JPY currency does not have decimals but is stored in the DB as a decimal value. Check the T-Code OY04 to see if the decimal places has been maintained correctly. Ant conversion exit for amount just converts based on maintenance done here...
CALL FUNCTION 'CHAR_FLTP_CONVERSION' "Format conversion: Character --> Floating point EXPORTING string = <pass your char value here> "CHAR input field for conversion to FLTP IMPORTING decim = "Number of decimal places determined expon = "Gross power of 10 determined flstr = "FLTP output fiel...
SAP timestamp valuesare stored in fields with decimal data types. InABAP to convert timestamp to stringprogrammer can use function modules. ABAP function moduleRRBA_CONVERT_TIMESTAMP_TO_STRgiven in this tutorial is an example to display time stamp field values in character or string data represen...
SAP Managed Tags: ABAP Development Hello, To convert from numeric to char you don't need function modules just create an variable with type n and set it with your numeric variable. DATA: lv_num type i VALUE 123, lv_num1 type p decimals 2 value '1.22'. lv_numc type n length 10....