Skip to Content
author's profile photo Former Member
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 a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on 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 a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 22, 2004 at 09:17 AM

    Could you point me to the RFCSDKGuide?

    Thanks

    /daniel

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.