cancel
Showing results for 
Search instead for 
Did you mean: 

file-RFC-file without BPM scenario: doubt

Former Member
0 Kudos

Hi forum i tried a file-RFC-file without BPM scenario...as explained by Bhavesh in the following thread:

i m getiing the following error in the communication channel monitoring in the sender side:

Error: com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:MSGGUID_EXISTING:

Error: com.sap.aii.af.service.util.transaction.api.TxManagerException: Unable to roll back transaction: com.sap.engine.services.ts.exceptions.BaseIllegalStateException

pls help me

Message was edited by:

sudeep dhar

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Ensure that your modules are in this order:

1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1

2- CallSapAdapter-Local Enterprise Bean - 2

3-AF_Modules/ResponseOnewayBean-3

It sounds as if your problem is here.

Former Member
0 Kudos

YAGHYA ...the modules are in this sequence...

pls see the Audit log

1.Channel CC_fileSender_OS: Send binary file "/ftponly/testsdp/simple2.xml". Size 700 with QoS EO

2.Success RRB: entering RequestResponseBean

3.Success RRB: suspending the transaction

4.Success RRB: passing through ...

5.Success RRB: leaving RequestResponseBean

6. The application sent the message synchronously using connection AFW. Returning to application.

7. Success The message was successfully transmitted to endpoint http://xid:8000/sap/xi/engine?type=entry using connection AFW.

8. Success The message status set to DLVD.

9. Error Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BS_Alert;TS=BS_FileSender;AN=MI_sdptest_OS_file_file;ANS=http://zpoc.com.test/test;

Message was edited by:

sudeep dhar

Former Member
0 Kudos

Hi Sudeep,

Have you configured your sender/receiver agreements correctly?

Former Member
0 Kudos

hi nana,

the error is

Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=BS_rana3_test_Alert;TS=BS_sdptestFileSender;AN=MI_sdptest_OS_file_file;ANS=http://zpoc.com.test/sdptest;

i explain my scenario,

i have 3 business system, one for file sender, one for file receiver and one for RFC receiver

the MI used for file sender is Outbound Sync,

so sender agreement is from file sender and the OUTBOUNd sync,

the receiver agreement is from File sender(outbound sync) to RFC receiver(Sync MI) , and the receiver agreement is for RFC receiver(Sync MI),

help

henrique_pinto
Active Contributor
0 Kudos

sudeep,

When it complains about P/S/A, it is saying that it is not finding any Party/Service/Adapter (Communication Channel) that satisfies the values you entered in the ResponseOnewayBean configuration.

Recheck your receiver party, service and receiver file adapter names and make sure they match the inputs in your sender communication channel module tab. Also, please note that if your file receiver is in a party, you also have to enter the receiverParty parameter for the ResponseOnewayBean module, as explained in:

http://help.sap.com/saphelp_nw70/helpdata/en/45/20cc5dc2180733e10000000a155369/frameset.htm

Regards,

Henrique.

Former Member
0 Kudos

hi forum, i think i could tract the error, ... see the file is being picked, the RFC called, RFC returns messgae, than the AF_Modules/ResponseOnewayBean is called .... and the file is written to the file receiver system, but after that it returns a false and hence the file is not being deleted from the file sender(as configured),

pls pls analyse the audit log of sender file channel and receiver file channel:

<b>Audit Log of Sender File Communication channel:</b>

-


2007-08-14 09:09:16 Success Channel CC_sdptestFileSender: Send binary file "/ftponly/testsdp/simple2.xml". Size 700 with QoS BE

2007-08-14 09:09:16 Success RRB: entering RequestResponseBean

2007-08-14 09:09:16 Success RRB: passing through ...

2007-08-14 09:09:16 Success Application attempting to send an XI message synchronously using connection AFW.

2007-08-14 09:09:16 Success RRB: leaving RequestResponseBean

2007-08-14 09:09:16 Success Trying to put the message into the call queue.

2007-08-14 09:09:16 Success Message successfully put into the queue.

2007-08-14 09:09:16 Success The message was successfully retrieved from the call queue.

2007-08-14 09:09:16 Success The message status set to DLNG.

2007-08-14 09:09:18 Success The message was successfully transmitted to endpoint http://xid:8000/sap/xi/engine?type=entry using connection AFW.

2007-08-14 09:09:18 Success The message status set to DLVD.

2007-08-14 09:09:18 Success The application sent the message synchronously using connection AFW. Returning to application.

2007-08-14 09:09:18 <b>Error Attempt to process file failed with java.lang.NullPointerException</b>

<b>Audit Log of Receiver Channel</b>

-


2007-08-14 09:09:18 Success Using connection AFW. Trying to put the message into the receive queue.

2007-08-14 09:09:18 Success The XI response message for message ef9efeb0-4a17-11dc-a2ef-0012799eddc6(INBOUND) was successfully returned to the calling application.

2007-08-14 09:09:18 Success The message status set to DLVD.

2007-08-14 09:09:18 Success ROB: entering ResponseOnewayBean

2007-08-14 09:09:18 Success ROB: calling the module processor ...

2007-08-14 09:09:18 Success MP: entering

2007-08-14 09:09:18 Success MP: processing local module localejbs/CallSapAdapter

2007-08-14 09:09:18 Success File adapter receiver: processing started; QoS required: ExactlyOnce

2007-08-14 09:09:18 Success File adapter receiver channel CC_sdptestFileReceiver2: start processing: party " ", service "BS_sdptestJDBCReceiver"

2007-08-14 09:09:18 Success Write to file "/ftponly/testsdp/outputxx/simpleOutput20070814-090918-521.xml" as binary, size 188 bytes

2007-08-14 09:09:18 Success File processing complete

2007-08-14 09:09:18 Success MP: leaving

<b>2007-08-14 09:09:18 Success ROB: returned with response: false

2007-08-14 09:09:18 Success ROB: leaving ResponseOnewayBean</b> 2007-08-14 09:09:18 Success

MP: leaving

WHY RESPONSEONEWAYBEAN RETURNS FALSE AND HENCE I CAN SEE IN SENDER CHANNEL: ERROR: NULL POINTER EXCEPTION

Former Member
0 Kudos

Hi Sudeep

not sure that it will help you, but I had the same problem with the "MSGGUID_EXISTING" in the same scenario. Difference to me was, that the message occured only in the sending step.

What I did, was to delete all messages with the regular deletion jobs under SXMB_adm. In my case it occurs on a development system where the data base has been restored. May be this was the reason.

I also deleted all messages in adapter frameword as described in note 807615.

Regards Oliver

henrique_pinto
Active Contributor
0 Kudos

Hey Sudeep,

the message "ROB: returned with response: false" is a normal message to be expected in the receiver channel audit log. The error is not related to it.

The null pointer exception in the sender channel probably is related to some post-processing you have set in the sender adapter: if you set to delete the file, make sure you have set proper authorizations in OS, if you have post-processing OS scripts, make sure they are correctly maintained in the adapter (proper folder, name and parameters) etc.

Try to use the erroring sender file adapter in a normal file to file scenario, to check if it errors out there also.

Also, make sure the receiver channel is used <b>exclusively</b> for the async/sync scenario. No other scenarios should use it (meaning, do not include it in any receiver agreements).

Regards,

Henrique.

Former Member
0 Kudos

Hi,

Don't know how much will it help try this.

In the RFC receiver adapter -> Advance Mode -> set -> Commit Control for Single BAPI Calls.

<b>Cheers,

*RAJ*</b>