‎2007 Oct 30 9:46 AM
sir
we r using structure in place of tables
ex .
report zs.
structure: fdbl_balance_line.
write :/,fdbl_balance_lien-credit.
it is possible
‎2007 Oct 30 9:51 AM
i don't think so.
There is no ABAP statement as STRUCTURE.
please check the documentation.
you can however declare a type and then a data variable (field string)
types : begin of typ_fdbl_balance_line,
f1 type <some type>
f2 type <some type>
end of typ_fdbl_balance_line.
data ls_fdbl_balance_line type typ_fdbl_balance_line. "field string (or work area)
or
data itab_fdbl_balance_line type table of typ_fdbl_balance_line. "internal table
hope it helps...
‎2007 Oct 30 9:51 AM
i don't think so.
There is no ABAP statement as STRUCTURE.
please check the documentation.
you can however declare a type and then a data variable (field string)
types : begin of typ_fdbl_balance_line,
f1 type <some type>
f2 type <some type>
end of typ_fdbl_balance_line.
data ls_fdbl_balance_line type typ_fdbl_balance_line. "field string (or work area)
or
data itab_fdbl_balance_line type table of typ_fdbl_balance_line. "internal table
hope it helps...
‎2007 Oct 30 10:20 AM
we can use structure for declaration but note that we can not able to fetch data from structure as it will not have any data .
report zs.
structure: fdbl_balance_line.
write :/,fdbl_balance_lien-credit.
it is possible but it will store only one record at a time It will not work like internal table
Rewards if useful...........
Minal
‎2007 Oct 30 10:30 AM
Hi Ritu,
Structure cannot have data like an internal table.
Regards,
Shilpi