Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

QRFC FM does not work

Dear All exports, I built a remote-Enabled Fm 'ZIWS_PO_STOPCHANGE_UPDATE' ,to update the po confirmation with BDC, Step A,I call the Fm in normal way, it is ok, i can update the po confirmation.

    CALL FUNCTION 'SWW_WIM_RFC_DESTINATION_GET'
      IMPORTING
        WORKFLOW_DESTINATION       = l_rfcdest.
*   Update Po confirmation
    CALL FUNCTION 'ZIWS_PO_STOPCHANGE_UPDATE'
      TABLES
        i_data        = I_DATA.
STEP 2. when i call the FM in remote module , it did not work.
    CALL FUNCTION 'SWW_WIM_RFC_DESTINATION_GET'
      IMPORTING
        WORKFLOW_DESTINATION       = l_rfcdest.
*   Update NC
    CALL FUNCTION 'ZIWS_PO_STOPCHANGE_UPDATE'
      IN BACKGROUND TASK AS SEPARATE UNIT
      DESTINATION l_rfcdest
      TABLES
        i_data        = I_DATA.
We need to call the FM in the second way ,Pleae advise suggestion , thanks.

Former Member
Not what you were looking for? View more on this topic or Ask a question