on 06-17-2008 6:33 AM
Hi all,
DATA lt_employee TYPE wd_this->elements_employee.
DATA ls_employee TYPE wd_this->element_employee.
whats the diff between these statements.
Hi
One is table type
other is Structure
Goto Attributes Tab and double click wd_this
you find the declaration of this data.
Abhi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Naming convention (it_) is used for defining internal tables (i.e. local table). (ls_) (i.e. local structure) used to define work area. But if you are not following naming conventions then there is no difference in statements.
Kind Regards,
Gopal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Hi all,
>
> DATA lt_employee TYPE wd_this->elements_employee.
> DATA ls_employee TYPE wd_this->element_employee.
>
> whats the diff between these statements.
data lt_employee type wd_this->elements_employee
this will create internal table of your node employee
and
data ls_employee type wd_this->element_employee
will create work area or structure type of your node employee.
You can see the actual declaration of this types elements_employee and elements_employee in "Display Controller Interface(CtrlShiftF1)"
Hope this 'll help you to understand this declaration.
-Haresh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.