‎2006 Feb 08 7:00 AM
I defined a RFC which contain a table paramter called
ORDER_IMPORT
when i type the following , it returns that the ORDER_IMPORT
not defined in ABAP dictionary:
select * from order_import
..........
end select
how can i solve it??
‎2006 Feb 08 8:25 AM
Hi,
To loop the table use
loop at ORDER_IMPORT.
write: ORDER_IMPORT-field1, ORDER_IMPORT-field2.
endloop.
Regards,
Uma
‎2006 Feb 08 7:06 AM
select * from (dbtatable)
after select * from, there should be always a dictionary table, so it is giving u that error
‎2006 Feb 08 7:06 AM
ORDER_IMPORT should be referenceing to a physical structure (created from SE11) for RFCs.
and you cannot do a select from this.
its a internal table, you have to use read or loop statements to read data from order_import.
Regards
Raja
‎2006 Feb 08 7:31 AM
‎2006 Feb 08 7:47 AM
Hi,
yeah, since it is a table parameter, so you can try with read or loop .
that way you can get the data from table parameter.
regards
vijay
‎2006 Feb 08 7:47 AM
Hi,
plz refer to this link
http://cma.zdnet.com/book/abap/ch11/ch11.htm#ReadingDatafromanInternalTable
Regards
Sudheer
‎2006 Feb 08 7:07 AM
‎2006 Feb 08 7:09 AM
Hi,
You have used select * from ORDER_IMPORT.
is order_import is table or parameter.
if it is table u may not activated the table.
so use the appropriate table name to select data it will work.
Regards,
sunil.
‎2006 Feb 08 7:09 AM
Hi,
order_import is not a Data Dictionary table, so you cannot perform select on it.
so try to change your logic .
regards
vijay
‎2006 Feb 08 8:25 AM
Hi,
To loop the table use
loop at ORDER_IMPORT.
write: ORDER_IMPORT-field1, ORDER_IMPORT-field2.
endloop.
Regards,
Uma