09-16-2008 10:59 PM
How do you TYPE at the root level for a given field?
For example, take field KONV-KAWRT which points to data element, KAWRT, which points to domain, WERTV8, which is type CURR 15 characters, decimals 2.
Now, suppose (_and I know you wouldn't normally do this)_ you wanted to make a variable that matched KONV-KAWRT without referencing the data element
You can query table DD03L providing KONV as table and KAWRT as field and see various fields values like:
INTTYPE = P
INTLEN = 8
LENG = 15
DECIMALS = 2
By this, you'd think this is the correct declaration:
DATA: LV_VAL(8) TYPE P DECIMALS 2.
But alas, this is not correct.... PLEASE LET ME KNOW YOUR IDEAS. THANKS.
09-26-2008 5:52 AM
Didn't do root level; just found similar data elements for typing.