Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Type CHAR to type CURR?

abdulazeez12
Active Contributor
0 Kudos

Hii All

I am reading a series of records from a file and populating into an internal table. After reading all the records, Iam looping it and splitting it as per my another itab, GT_DBTAB, which will upload the data ina transaction. GT_DBTAB has two fields whcih are of type CURR and they r not allowing a character to fill up in these fields..throqwing error message..what shud i do then?

Tx

1 REPLY 1

Former Member
0 Kudos

HI,

data : lv_char(10) type c,

lv_ptype type n decimals 2.

lv_ptype = lv_char.

now assign the lv_ptype to ur currency field.

Thanks

Mahesh