cancel
Showing results for 
Search instead for 
Did you mean: 

Importing from qRFC

carljschmidt
Participant
0 Kudos

Hi experts,

I am in a situation where I need to queue incoming RFCs so that they are executed one after the other.
For this, I am currently using qRFC as described here: qRFC Design

However as I also need to get some results back from the function module on which the subsequent logic of the calling function module depends, this approach fails as the IMPORTING keyword is not supported here.

So ideally my code would look like this:

FUNCTION calling_module
* Do some things..

  CALLING FUNCTION 'TRFC_SET_QIN_PORPERTIES'     "Set up the queue
    ..

  CALLING FUNCTION 'queued_module'
    DESTINATION rfcdest
    IN BACKGROUND TASK
AS SEPARATE UNIT EXPORTING .. IMPORTING "Importing is not supported by qRFC ev_return = lv_return. COMMIT WORK. .. IF lv_return IS NOT INITIAL .. * Work with lv_return here .. ENDIF. ENDFUNCTION.

Is there a way to achieve both, processing the calls in the order they come in (i.e. first-in, first-out) and getting some results back from each call after its execution?

Thanks for you help in advance!

Accepted Solutions (0)

Answers (0)