Skip to Content
avatar image
Former Member

SAPconnect - Implementing RFC SX_OBJECT_RECEIVE

We're trying to develop a SAPconenct FAX interface.

We've gone over the documents we can find:

RFCSDKGuide - SAP Release 6.20

SAP BC-CON ... Version 01.02.B (R/3 4.5A) Feb. 17, 1999.

We've successfully been able to receive SX_OBJECT_RECEIVE calls, and get

the data parsed. I believe we're properly setting the Code status in the

RECEIVERS table, and returning them, but the actual send-orders never

seem to change from "672: Waiting for communication service".

So obviously we're missing something in returning the status from

SX_OBJECT_RECEIVE back to the calling R/3 system.

Basically what we're doing is:

LOOP

RfcGetNameEx

Check and Disptach to process_sx_object_receive

ENDLOOP

process_sx_object_recieve:

initialize RFC_PARAMETERs:

RECEIVE_INFO

DOCUMENT_DATA

SYSTEM_INFO

initialize RFC_TABLEs:

RECEIVERS

PACKING_LIST

CONTENTS_BIN

CONTENTS_TXT

OBJECT_HEADER

OBJECT_PARA

PBJECT_PARB

RfcGetData()

do somework...

(setting RECEIVERS.Code and RECEIVERS.Msg*) for each to something

like 806, or 701)

RfcSendData()

Nowhere have we been able to find out what we are supposed to be sent

back with RfcSendData. We've tried with no parameters, and all the

original tables, with all parameters and all tables, with no parameters

and just RECEIVERS table, etc.

We've tried setting RECEIVERS.Code, and RECEIVERS.Retrn_Code, both with

no go...

Can you help shed any light on this?

An intersting side note:

The values in the SYSTEM_INFO stucture we see are always blank - is this

expected?

Thanks,

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Jun 21, 2004 at 10:36 PM

    Hi Darren,

    I like to address your question outside this forum because I would need more information from you in order to assist you further.

    BTW, I saw that you also contacted me directly on this question.

    Regards,

    MaiAnh

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 22, 2004 at 09:17 AM

    Could you point me to the RFCSDKGuide?

    Thanks

    /daniel

    Add comment
    10|10000 characters needed characters exceeded