Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC Table Parameter

Former Member
0 Likes
1,118

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??

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,077

Hi,

To loop the table use

loop at ORDER_IMPORT.

write: ORDER_IMPORT-field1, ORDER_IMPORT-field2.

endloop.

Regards,

Uma

9 REPLIES 9
Read only

hymavathi_oruganti
Active Contributor
0 Likes
1,077

select * from (dbtatable)

after select * from, there should be always a dictionary table, so it is giving u that error

Read only

athavanraja
Active Contributor
0 Likes
1,077

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

Read only

0 Likes
1,077

Do u have any refence to read or loop statement?

Read only

0 Likes
1,077

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

Read only

0 Likes
1,077
Read only

Former Member
0 Likes
1,077

Hi chun,

1. Is it ur own Z RFC ?

regards,

amit m.

Read only

Former Member
0 Likes
1,077

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.

Read only

Former Member
0 Likes
1,077

Hi,

order_import is not a Data Dictionary table, so you cannot perform select on it.

so try to change your logic .

regards

vijay

Read only

Former Member
0 Likes
1,078

Hi,

To loop the table use

loop at ORDER_IMPORT.

write: ORDER_IMPORT-field1, ORDER_IMPORT-field2.

endloop.

Regards,

Uma