cancel
Showing results for 
Search instead for 
Did you mean: 

Convert Alphanumeric to numeric SAP Business one hana

nikunjmehta2290
Participant
0 Kudos

Hello all,

How to convert field Alphanumeric to numeric?

Convert field "U_G_ENTRY" this field into numeric.

Regards,

nikunj

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member681242
Participant

Hi Nikun,

you should use REPLACE_REGEXPR

e.g.

SELECT REPLACE_REGEXPR('[A-Z]' IN '0001A' WITH '' OCCURRENCE ALL) "replace_regexpr" FROM DUMMY;

Kind regards

Tobias

nikunjmehta2290
Participant
0 Kudos

How to convert UDF which have datatype TEXT into Alphanumeric in query report?

LoHa
Active Contributor

Hi Nikun,

have a look to this site

regards Lothar

nikunjmehta2290
Participant
0 Kudos

How to convert UDF which have datatype TEXT into Alphanumeric in query report?