cancel
Showing results for 
Search instead for 
Did you mean: 

data declaration error in adobe form

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Answers (1)

Answers (1)

Former Member
0 Kudos

thnks