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: 

a currency field with 23 char length and 5 decimal places

Former Member
0 Kudos
6,973

hi all

please help to find a currency field with 23 char length and 5 decimal places to declare a 'Z'function module.

please help how to declare it

6 REPLIES 6

Former Member
0 Kudos
1,498

HI,

You can find easily by search dataelement....

Goto SE11 -> Select the radio button of Data type-> Press F4-> Search for Dataelements -> in the next pop-up screen give datatype 'CURR' and Length '23'->Press enter and check.

Now you can search....

Rgds,

Bujji

Edited by: Bujji on Feb 11, 2008 12:20 PM

0 Kudos
1,498

Hi,

Better create a Z- Domain with23 & 5 and use it to create a data element and use.

Thanks & regards,

Surya

0 Kudos
1,498

Hi

how to decalre a currency variable of length 23 and 5 decimal places please help me

0 Kudos
1,498

Create a domain and then create a Data element ..

Domain : Z_AMT07V (Curr 23 , 5decimals )

Data element : Z_AMT07V ..

data : V_AMT07V type Z_AMT07V.

Now U can use V_AMT07V .. 23 chars , 5 decimals ..

Former Member
0 Kudos
1,498

Create a domain with Data type as CURR and

no. of characters as 23 and decimal places as 5

Former Member
0 Kudos
1,498

Hi,

Goto SE11 and choose Domain Radio button and enter ZTES123 and press create.

Add the below values.

Domain ZTES123 Active

Short Description ztest123

Data type CURR Currency field, store

No. characters 23

Decimal places 5

Output length 29

Convers. routine

Assign the same domain to data element - ZTES12 and create it.

Now you can use this Data Element in program for Data Declaration.

DATA: v_test TYPE ztes12. "Data Element

v_test = '190'.

WRITE : v_test.

Possibly Value could be '190.00000'

Regards,

Ramkumar.K