on 10-13-2008 11:44 AM
hi,
i m just remake a smartform into adobeform.but while doing so it's giving me error regarding data declaration.
I had declare some of internal table as type of defiened type but at code initialzation it giving it's not a internal table.
global data
it_abc type ty_abc,
types :
types: begin of ty_abc,
ab(8) type c,
bc(4) type c,
end of abc.
when i m creating a internal table in code initialization it's giving me that already declared.
code initialization.
data : it_abc type table of ty_abc.
Plz help me out.
Regards
Ricky
Hi Maheshwari,
After the declaration of the TYPES Structure, you need to declare the Internal Table. As follows
TYPES
types: begin of ty_abc,
ab(8) type c,
bc(4) type c,
end of abc,
tt_abc type standard table of ty_abc initial size 0.
And in Global Declaration you use the newly created Internal Table (which is created using the Types Statement). And in Code Initialization you can use the Global Declaration internal table.
Regards
Pradeep Goli
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
thnks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.