cancel
Showing results for 
Search instead for 
Did you mean: 

File to RFC Error -- with error category XI_J2EE_ADAPTER_XI_HANDLER

Former Member
0 Kudos

HI,

I have configured my scenario without using BPM for the FIle to RFC scenario by using Request response bean,

Its a simple scenario: Bapi_Company_GetDetail is the rfc used at the target side and the inputs are file

File to RFC

Following objects were created:

2 - Data Types:

1. Request File Data Type

2. Response File Data Type

2 - Message Types:

1. Request File Message Type

2. Response File Message Type

2 - Service Interfac

Outbound Synchronous:

File_RFC_outbound

Request File Data Type

Response File Data Type

RFC_inbound -- Synchronous

Bapi_Company_GetDetail

Bapi_Company_GetDetail.response

Message Mapping:

Request File Message Type -To-Bapi_Company_GetDetail

Bapi_Company_GetDetail.response -


To--- Response File Message Type

Operation Mapping

File_RFC_outbound To-RFC_inbound

Integration Objects:

Sender File Adapter -- Used QoS as Best Effort due to synchronous scenario -- Correct me if i am wrong.,

Receiver File Adapter

Receiver RFC Adapter

SenderAgreement, Receiver Determination (Configured with ECC Busines system as target)

Interface Determination, Receiver agreements are configured.l

Issues:

While i drop the input file at my source FTP directory the file is not picked and when i check the communication channel monitoring under component monitoring,

the error is as follows:

Message Data

Attribute Value

Status Canceled with Errors

Repeatable No

Cancelable No

Error Category XI_J2EE_ADAPTER_XI_HANDLER

Error Code GENERAL_ERROR

Start 11.05.2011 10:05:14

End 11.05.2011 10:05:17

Sender Party

Sender Component srv_test

Receiver Party

Receiver Component

Interface urn:rim.com:filetorfc

file_sync

Service Definition

Software Component

Application Component

Business Message

Quality of Service Best Effort

Message Format XI Message

Message ID 3d24bfb2-4e1d-4eed-36e1-ffea5828d7e4

Reference ID

Correlation ID

Sequence ID

Sequential Number 0

Version 0

Edited No

Serialization Context

Direction OUTBOUND

Message Type Call

Protocol XI

Connection File_http://sap.com/xi/XI/System

Transport HTTP

End Point http://spi00cnc:50000/sap/xi/engine?type=entry

Authorization SAPPasswordCredential(PIAFUSER):password=********:sapclient=001:saplang=en

Number of Retries 0

Failed 1

Retries 0

Valid to 11.05.2011 10:25:14

Persist Until 31.12.1969 19:00:00

Schedule Time 11.05.2011 10:05:14

And this is the error description in the communication channel monitoring:

Error: com.sap.engine.interfaces.messaging.api.exception.MessagingException: XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.

Could anyone plesae guide me in resolving this, i have refereed many blogs and forums but couldnt get the required information.

Thanks,

Sai

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

do you remember what was solution in your case? Because I have the same problem and can't find good advice in other threads.

Marek

Former Member
0 Kudos

Chk this:

http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29

QOS should be exactly once..

>>XIAdapterFramework:GENERAL:com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.

ur channel seems to be in inactive state. Try to check the status of the communication channel.

https://forums.sdn.sap.com/thread.jspa?threadID=451489&tstart=0

Former Member
0 Kudos

HI Amit,

By using the above link only i have developed the scenario..

But i am getting the following error in sender communication channel itself, the channel is in active mode.

could you throw some light to resolve it..

Thanks,

Sai

Former Member
0 Kudos

I guess u have checked the staus in RWB also?? try to stop and start the channel again and have a CPA cache refereh...

hope it helps!!

Former Member
0 Kudos

Hi Amit,

I haave done the CPA CAche full refresh..

but even getting the same error.

Thanks,

--sai

Former Member
0 Kudos

Please change the endpoint from " http://spi00cnc:50000/sap/xi/engine?type=entry " to " http://spi00cnc:8000/sap/xi/engine?type=entry " (change port from 50000 to 8000).

Former Member
0 Kudos

HI Amit,

When i see in SXMB_moni i am getting this error..

when i click the response message id the folllowing is displayed

<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

- <!-- Inbound Message

-->

- <SAP:Error SOAP:mustUnderstand="1" xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">

<SAP:Category>XIAdapterFramework</SAP:Category>

<SAP:Code area="MESSAGE">GENERAL</SAP:Code>

<SAP:P1 />

<SAP:P2 />

<SAP:P3 />

<SAP:P4 />

<SAP:AdditionalText>com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.af.service.administration.api.cpa.CPAChannelStoppedException: Channel stopped by administrative task.</SAP:AdditionalText>

<SAP:Stack />

<SAP:Retry>M</SAP:Retry>

</SAP:Error>

Thanks,

--sai

Former Member
0 Kudos

Hi

The channel is stopped. Please start your channel from RWB.

Regards

Monika