cancel
Showing results for 
Search instead for 
Did you mean: 

File-XI-File

Former Member
0 Kudos

One more on File-XI-File scenario...

Unable to pick the sender file test.dat located on

/oracle/XI3 folder.

Sender comm channel created as:

NFS.

Source Dir: /oracle/XI3

File: test.dat

Poll int: 5 secs

Proc mode: Delete

File type: Text

I already have a file in the /oracle/XI3, so I would assume it would be picked by the sender agreement.

I also checked adapter in RWB and file adapters do not display any error there.

So how do I trigger this scenario ?

What am I missing?

Have done all design and config settings..

-Thanks

Bhaven

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

Hi,

Are u able to view the file in the folder in XI system?

If you are using NFS then the files should be in XI system. If it is a different system, then mount the file system to the XI system.

Also make sure that File Transport Protocol given as "File" in the Sender Communication Channel. i.e without content conversion. Also make the file processing mode "Delete" so that you can easily view the result.

After creating IR Objects just recheck these-

Are u able to see the Message Interfaces,while creating the Receiver Determination/Interface Determination.

First open the Business Service created, and add your Inboound and Outbound Message Interfaces under Receiver and Sender Tab correctly.

Also make sure that all communication channels are created under the same Business Service.

Then create a Sender Agreement with Sender Communication Channel. Then Create A Receiver Determination and Interface Detrminantion.

Now try to create a Reciever Agreement.

In NutShell-

1) Create A Configuartion Scenario.

2) Create/Assign the Business Servcie created

3) Add the Message Interfaces to the Service Explicitly

4) Create a communication channel for Sender and Receiver as File

5) Create a Reciever Determination with sender service as a Business Service created just above and reciever as same business service

6) Create a Interface Determination

7) Create a Receiver Agreement with Receiver Communication Channel with Inbound Message Interface

😎 Create a Sender Agreement with Sender Outbound Inetrface and Sender communication channel.

Now test the scenario.

Also check for the file communication channel correctly e.g Ip addres, dierctory and check the ReadOnly Check Box Option in the Sender Communication channel

Hope this will solve your problem.

Also check these-

/people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp

/people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

Thanks Moorthy.

Yes, I can view the file on XI system. Protocol is 'File'. PRocessing mode is 'Set-Read=Only', but I had tried 'Delete' option before and did not work.

I have done all the steps as u mentioned below and file is not still NOT picked up by the sender channel.

I even tried source file name as '*.xml'. (there is only one xml file).

'check the ReadOnly Check Box Option in the Sender Communication channel ' What check box are you talking abt ? Is it Processing mode ?

BTW, how do I award points to you, did not see that radio buttons for points ?

-Thanks a lot

Bhaven

moorthy
Active Contributor
0 Kudos

HI Bhaven,

<i>'check the ReadOnly Check Box Option in the Sender Communication channel ' What check box are you talking abt ? Is it Processing mode ?</i>

Yes,it is processing Mode

Did you check your Sender Agreement ?

Just do only sender agreement and check for the message in the SXMB_MONI. Anyway it will throw error during the run time . No problem, First try it. I think problem with the connection between your file system and the XI system.

Try to put your file in any one of the XI server's folder and check it. Give the same path in the File Adapter.

ALso if possible install ftp server (free download) in your machine and try to connect with FTP protocol.(instead of NFS)

After making Sender Agreement/Interface Detemination check in the SXI_CACHE for the entries. If not try to refresh the cache.

<i>BTW, how do I award points to you, did not see that radio buttons for points ?</i>

It will be visible in my reply. If not , try next time.

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

Thanks Moorthy!

BTW, where are u , are u in US, Can I call you ?

I am in US !

I still don't see radiobuttons to award points !

Former Member
0 Kudos

OK now the file is deleted from the source dir but I don't see any messages in SXMB_MONI and also the new file created by recvr channel is not shown.

Why do I not see the any message in SXMB_MONI.

moorthy
Active Contributor
0 Kudos

Hi,

I am in US. My yahoo Id is : moorthy_kp@yahoo.com.

If possible come online after 7.30 PM. Or send me your number thru mail.

Thanks,

krishna

Former Member
0 Kudos

OK.

My number is 708 873 2322

More details on the error...if u have time !!!

I go to RWB and message monitor and message is in HOLD state and it tries retrty after cpl of minutes. Error message is :

Transmitting the message to endpoint http://tdb3:8063/sap/xi/engine/entry?action=execute using connection AFW failed, due to: Received HTTP response code 500..

63 is my XI instance nbr .. so does it mean that it is having problem to deliver message from IS to AF ?

-Thanks

Bhaven

moorthy
Active Contributor
0 Kudos

Hi Bhaven,

Now I think, following guide will help you to solve problem~

https://websmp103.sap-ag.de/~sapdownload/011000358700002757652005E/HowtoMintorAF.pdf

Just refresh the cache-The following guide will help you on that~

https://websmp101.sap-ag.de/~sapidb/011000358700003163902004E/HowTo_handle_XI_30_Caches.pdf

Also check http destination, if there is any mapping error-

go to TCODE SM59 and http to r3 type and check

HMI_* destination if it works

Thanks,

Krishna

Former Member
0 Kudos

HMI_* destination is OK.

Basically message is not getting to IS from AF (after sender agreement) !

-Thanks

Bhaven

Former Member
0 Kudos

Bhavan,

Any luck with this issue? I am also having the same issue for about 1 month. The input file is getting deleted and don't see the output file.

Please let me know. Is it possible to give you a call at the given number?

Regards,

NS.

Former Member
0 Kudos

Yes it works.

You can call me at 708 873 2322

Former Member
0 Kudos

can anybody write a detail document or steps how to debug this problem, because i am also facing the same problem. not able to get through.

Answers (4)

Answers (4)

prasad_ulagappan2
Contributor
0 Kudos

Hi,

This is just another suggestion.

Just try to create another scenario from the scratch for the same purpose. If it get resolved then it will be fine. Otherwise there might be some problem with some of the adapter engines...

Regds,

Prasad U

former_member91687
Active Contributor
0 Kudos

Hi Bhaven,

-Since you say the file to be picked is a XML file, why are you using test.dat, try using <b>test.xml</b> as your file.

-Also try giving the source directory as <b>\oracle\XI3</b>.

-Make sure all your objects are activated.

Regards,

Chandra

Former Member
0 Kudos

Hi Bhavan,

which protocol u r using FILE or file content conversion is sender communication channel.

if the file is not xml file u need to use content conversion.

regards,

venu.

Former Member
0 Kudos

It is a XML file. Hence using protocol FILE.

Any sender comm channel I create (FIle, RFC), it is not getting updated in cache. Did a delta and complete refresh of cache.

Any ideas, why ?

Former Member
0 Kudos

Hi,

Nop.

I got doubt since u have given file name as test.dat.

if it is xml use test.xml file

if it really .dat file use content conversion.

regards,

venu

Former Member
0 Kudos

Thanks all.

But I still am not able to get this work.

again thru REB, my file adapetrs are OK.

test.xml is already created in /source directory and I would expect it to be picked by the sender channel as polling is every 5 seconds.

I do not see any results in SXMB_MONI. So basically the process is not getting triggered.

What could be the problem ?

former_member8655
Active Participant
0 Kudos

Hi Bhaven

Check if your entry for the file adapter comm. channel is made in cache

and also check that you have not forgotten to specify sender agreement

Regards

Mitesh

Former Member
0 Kudos

Mitesh,

Yes I do not see the sender file adapter in cache.

I tried delta refresh and it is still not showing in

cache?

So try now 'complete refresh' or is there any other way to make an entry in cache?

But why do I not see entry in cache ?

Former Member
0 Kudos

Even Sender agreement is not displayed in cache !

former_member8655
Active Participant
0 Kudos

Hi Bhaven

If entry is not there than wait for some time entry will be made.

The problem may be a lot of load on your server

Regards

Mitesh

Former Member
0 Kudos

I had created sender agreement and channel yesterday!

There is no load as I am the only one working!

moorthy
Active Contributor
0 Kudos

Hi Bhaven,

Try to redo the Sender Agreement and activate entire configuration scenario.

Then check the RWB->Adapter Monitoring->File to see any errors etc

Once you have file in the folder, then while activating it will pick up the file.

Also make sure that "ReadOnly Files" option in the File Adapter configuration is Checked.

Then check the message in the SXMB_MONI

Hope this helps,

Regards,

moorthy

Former Member
0 Kudos

Do you get any error when you do a Cache Refresh?

Former Member
0 Kudos

I again activated the sender agreement but I still do not see the sender agreement and sender comm channel in cache.

There is no error when I refresh the cache .

I have asked Basis guy to do the complete refresh.

HMI SM59 connection is also working, so why it is not getting refreshed with the objects ?

Former Member
0 Kudos

If I create a new recvr channel, I see that in the cache but i created an anotehr sender channel, that is not seen in cache ? Samw with sender agreement ?

Why ?

moorthy
Active Contributor
0 Kudos

Hi,

Are u able to see the Sender Agreement etc under the Objects tab in the Directory ? Just check it. And try to recreate the entire configuration scenario once again.

Thanks,

Moorthy

Former Member
0 Kudos

Hi,

In your configuration, go to change lists and activate your sender agreement there. Also the channel.

This should help you see your objects in the cache.

Anything other than a xml will require content conversion.

Regards,

Smitha.

Former Member
0 Kudos

How to check this.

-Naveen.

Former Member
0 Kudos

Naveen,

In RWB, click on message monitoring, select adapter and query the messages.

You will see a list of message status and you can view the details.

-Bhaven