Your syntax looks ok and it's no problem using an arbitrarily-chosen memory ID.
Are you actually calling a function via RFC? If so, your EXPORT and IMPORT
are not going to work as the caller and callee are different systems... Or have I misunderstood exactly where you're doing the exporting and importing?