Skip to Content
Former Member
Nov 13, 2012 at 12:08 AM

Difference in "QUERY" and "READ" and other problems


I am new to NWGW and having problems with a custom RFC.

The RFC expects two IMPORTING parameters


It returns a table of Sales Orders where the document date is between those two dates.

First of all, I don't understand the difference between a "Query" and a "Read" action.

The second problem is that even though in the data model, I mark E_FROMDATE and E_TODATE as keys, their values are not being passed to the RFC. I can see they are initial values when I set an external breakpoint at the beginning of the RFC.

I've tried both $filter and (e_fromdate='20120101, e_todate='20120131'). Neither one works on either the QUERY or the READ service. They are both initial values upon entry to the RFC.