on 05-12-2006 6:19 AM
hi all
im jst tryin to create a bsp page
i hve declare an itable in the page attributes tab but even thn when i use tht itab in pgm i get an error lke it s neither specified under table nor defined as an itab
where do i do the mistake
help me
if your internal table should refer to standard DDIC table/structure (not table type)
then in the "type definition tab" create a table type
types: mytab_type type standard table of <ddic structure> .
now in page attribute
myitab type mytab_type .
Regards
Raja
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Lakshmi,
I will explain you with an example...
We have to declare types definition for the table in the Types Definitions tab as follows
Types : begin of t_itab,
matnr type mara-matnr,
end of t_itab.
Types : it_mara type table of t_itab.
after this declare table in the page attributes tab as follows...
it_mara1 type IT_MARA
and from now you can use it_mara1 internal table in your application.
try out this you will ceratainly get the solution.
Regards,
Azaz Ali.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi varalakshmi kannan,
Please check the structure of the internal table.
I think you have declared your itab like this...
itab type ztablename.
The above itab is a work area and not an table.
In order to do this...
You need to declare a structure in the type definition tab or a global structure(table type) in the se11.
For creating a structure in the type definition tab...
Check the below code...
types: begin of struct1,
columnname1 type datatype1
columnname2 type datatype2
columnname3 type datatype3
end of struct1.
columnname1, columnname2, columnname3 are your itab structure.
Now you can use this structure in the page attributes tab like...
itab type struct1.
Hope it solves your problem.
Regards,
Maheswaran.B
Message was edited by: Maheswaran B
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.