2004 Jun 16 3:14 PM
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,
2004 Jun 21 11: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
2004 Jun 22 10:17 AM
Could you point me to the RFCSDKGuide?
Thanks
/daniel
2004 Jun 22 2:42 PM
Hi
Please refer http://help.sap.com/saphelp_47x200/helpdata/en/22/042853488911d189490000e829fbbd/frameset.htm
for the online documentation on RFC API.
regards
Srini