‎2007 Nov 28 2:29 PM
Hi Guys,
Can somebody tell me how to declare a variable in a program from a domain (dec5_3) .
Thanks,
mini
‎2007 Nov 28 2:31 PM
Find out a dataelement by using the "Where used list" on the domain. And then declare the variable with the type of the data element.
Like DEC5_3 is used in the data element VVBASIS.
You can declare the variable like this:
DATA: L_INDEX TYPE VVBASIS.Regards,
Naimesh Patel
‎2007 Nov 28 2:34 PM
data: lv type VVBALT.As domain DEC5_3 is used in dataelement <b>VVBALT</b>.
Amandeep
‎2007 Nov 28 5:30 PM
Hi mini,
Try this.
DATA: W_VAR TYPE dec5_3.
Even by using data element also we cal declare like this.
Please Reward Your Reward Points will help's me a lot,
Mahi.
‎2007 Nov 28 6:06 PM