2008 Feb 11 11:06 AM
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
2008 Feb 11 11:19 AM
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
2008 Feb 11 11:38 AM
Hi,
Better create a Z- Domain with23 & 5 and use it to create a data element and use.
Thanks & regards,
Surya
2008 Feb 11 12:45 PM
Hi
how to decalre a currency variable of length 23 and 5 decimal places please help me
2008 Feb 11 12:52 PM
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 ..
2008 Feb 11 11:47 AM
Create a domain with Data type as CURR and
no. of characters as 23 and decimal places as 5
2008 Feb 11 1:02 PM
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