File adapter in comm.channel green, but no message collecting
Hello,
looks like this is something really at the roots.
Ok, we are in NW2004s PI 7.0.
One IDOC process is successfully implemented.
Now we started with a file to file communication!
File sender adapter is configured and shown in status green in comm.channel monitoring which would bring me to the idea that the comm.channel is configured well (To be sure we changed the directory path in the comm.channel to a wrong one which results in an error. Ok, corrected. Now all lamps are green). Comm channel is activated and polling.
But... nothing happens. The Adapter is not collecting the file in the source directory (existing) and there is no entry in monitoring on RWB or SXMB_MONI.
In Adapter monitoring all adapters except the JPR (red) are with a GREY lamp!
As we had an issue with activating the adapters (adapter monitoring before did not show any adapter (except JPR) ) two days ago we are not sure if the current issue belongs to a mistake in the configuration or in basis environment.
From XI 3.0 side we would expect that the adapter monitoring should show adapters used in green.
Do you have experience with such a behaviour?
Any help is welcome!
regards
Dirk
Hi Bhavesh,
we are near to bumping our heads against the server.
In comm.channel:
directory is : / (as simple as possible)
file name is : *.001
The file in the directory is named it_test.001 so it should be catched.
What can we do wrong?
By the way: If we change the directory to /out which is existing we have an (file is in this directory too) error message: 'com.sap.aii.adapter.file.ftp.FTPEx: 550 /out: The system cannot find the file specified. '.
Cache is fine!
regards
Dirk
Similar Messages
-
Hello,
My white McBook (2008 or 2009) recently stopped turning on. When I hook up the Magsafe power adapter, the light shows green, but the computer will not turn on, or make a sound. I've tried the re-boot option, but nothing works. I first thought I needed a new battery because the lights at the back are all off, but shouldn't the computer turn on once the power adapter is hooked up and the light on the Magsafe adapter shows green? I'm a computer doofus, so please be kind. Please advise! Thanks in advance.
SSTake it in for service.
-
Empty file in sender comm channel
i have issue with the empty files coming from the sender which are getting processed and getting saved in given file location.
Now the problem is,these files donot contain data and rather just gets outputted with header and trailer with some dummy data usually spaces,some zeros,-- like this...,this makes the file size of some 444 bytes or 834 bytes but as it is not having any data,we need to goto SXMB_MONI everyday,check for files,if its empty,needs to cancel them manually because it appears in red flag.
To avoid this,i was thinking of setting the empty file option in processing of communication channel to SKIp messages or delete messages.
Am i right in this approach?
From other thread:
"Currently when a process fails in PI due to an empty file the process needs to be manually set to u201Ccancelledu201D,where to locate in PI,what could be the problem and how it is to be solved.i have asked a similar question and hope that this error will help."
please reply and show me right way of resolving this.
thanks!
cheers!
Edited by: Prateek Raj Srivastava on Aug 19, 2010 10:54 AMHi,
As per ur req, its nt possible in this way.
The empty file handling means the whole file is empty, the size is 0k.
So in ur req, empty file means Header and Trailer present, but no data Records.
we can achive this in following ways also,
1.write an adapter module, to check if at all there is atleast there is 1 Data record, if not throw exception there itself.
2.In the mapping check if at all there is any Data Record. If no Data Records raise exception and also the Alerts.
Babu -
Time stamp is not getting updated for File Adapter in communication channel
Hi All,
Since yesterday, I am observing that the time stamp of communication channel for File adapter is not gettingupdated some times.
I had to stop and start the communication channel to update the time stamp.Please let me know if anyone has come across such issue or any useful notes on this.I could not find any related notes on Market place.
Regards,
DinakarHi,
This is happening only with one communication channel which is sender in derection.Any reason why it is happening like this?since the restart of the communication channel it is getting update now.I really do not know how to delete/create the communication channels as this was done our PI consultants.Pls guide me.
Regards,
Dinakar -
File adapter (sender) module throws exception, but adapter proceeds again
Hello dear reader,
I wrote a module that converts a flat file into XI-XML and tested it within the file adapter. It works fine so far. But if I force the module to throw an exception to handle an erroneous flat file, the file adapter tries to proceed the erroneous file again and again. Not very nice, isn´t it?
Has anybody an idea, how to configure the file adapter to stop the processing of an erroneous file?
Thank you in advance
Yours
Frank WaskowHello Satish,
the weblog doesn´t describe my problem correctly. Let me show you the Audit Log from the Messeage Display Tool of the Adapter Engine:
Audit Log for Message: 06ff54a0-a258-11db-b9e2-003048226013
Time Stamp Status Description
2007-01-12 16:14:49 Success Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
2007-01-12 16:14:50 Error Attempt to process file failed with null
2007-01-12 16:15:00 Success Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
2007-01-12 16:15:00 Error Attempt to process file failed with null
2007-01-12 16:16:00 Success Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
2007-01-12 16:16:00 Error Attempt to process file failed with null
2007-01-12 16:17:00 Success Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
2007-01-12 16:17:00 Error Attempt to process file failed with null
2007-01-12 16:18:00 Success Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
2007-01-12 16:18:00 Error Attempt to process file failed with null
It seems to me that the Adapter gets the error of the module, but it is not handled as an error like shown in the blog <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically:///people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically.
The adapter tries to proceed the same file again and again, till I delete it from the source directory.
Any more idea?
Frank -
SOAP Adapter status stay "Channel started but inactive"
Hi, Folks:
We have a couple of SOAP adapters that I have not used for a while, so I put them in inactive status.
Now we need to switch SOAP Scenario, I activate them, however, in Communication Monitoring Page, The status is Yellow Triangle: "Channel started but inactive"
I have tried to inactivate and reactivate them for a couple of times, it does not help.
Any ideas are welcomed !
LiangHi Guys
As suggested by you guys, after I sent first message, all the SOAP adapter get active now. I believe I fogort how I setup it up initially. That is the value stay with your guy
Thanks everyone !
Liang
Edited by: Liang Ji on Feb 29, 2008 8:48 PM -
File Adapter: Run OS command unix after processing message
Hi,
in file adapter configuaration, after processing message, I've configured the channel that it has to call an unix script.
The sintax in configuration is:
sh /XS0/usr/sap/XS0/DVEBMGS01/work/TEST_FILE_XI/OUT/rename_lib_contabili.sh <variable>.
I tried also without the entire path and without the sh command at start of it.
We have a XI 3.0 sp20.
I don't understand, What other I have to do.
Regards,
AntonelloHi Carme,
I found a warning that "describes" the error...
2009-09-29 13:36:15 Success Write to file "/XS0/usr/sap/XS0/DVEBMGS01/work/TEST_FILE_XI/OUT/LIBROGIORNALE_test_mov.zip" as binary, size 7248 bytes
2009-09-29 13:36:15 Success Execute OS command "/home/xs0adm/scripts/rename_lib_contabili.sh LIBROGIORNALE_test_mov.zip"
2009-09-29 13:36:15 Warning Error when executing OS command "/home/xs0adm/scripts/rename_lib_contabili.sh LIBROGIORNALE_test_mov.zip"
2009-09-29 13:36:15 Success File processing complete
2009-09-29 13:36:15 Success MP: Leaving module processor
2009-09-29 13:36:15 Success The message was successfully delivered to the application using connection
File_http://sap.com/xi/XI/System.
2009-09-29 13:36:15 Success The message status set to DLVD.
if I try to execute this script from Unix schell or ABAP OS shell this working fine.
You have any idea?!
Thanks,
Antonello -
Adapter types & comm. channels missing in comm channel monitoring
Hello All,
We recently created a new sandbox XI system from a copy of our XI Test system
system. We used the SAPinst system copy process for ABAP+JAVA to create
this new XI sandbox system. We have followed all of the XI/PI post copy procedures listed in the system copy documentation and almost everything is working except when we going into the runtime workbench for XTX and go into communication channel monitoring for the adapter engine. When we get
here we do not see any adapter types where we should be seeing types such
as JDBC, BD, CIDX, FILE, JMS, etc We also do not see any communication channels in the communication channel monitoring if we select use filter to display all.
Any ideas?
Any help on this would be much appreciated
With regards
StevenHi,
First check in Integration Directory. Just create any dummy Communication Channel, if you are able to select your adapter for your communicatio channel then this is a cache issue. Just refresh the CPACache by this url.
http://<server name>:<HTTP Port>/CPACache/refresh?mode=full
Else you are not able to select any adapter for your communication channel then you have forgot to import the SAP BASIS Software Component Version into Integration Repository.
You can find it from your installation DVD's, and if you are not able to find then you can download it from service market place as given below..
[Click on this URL|https://websmp205.sap-ag.de/~form/handler?_APP=00200682500000001943&_EVENT=SEARCH&HIDE=&SEARCH_SPAT=X&SEARCH_BPAT=X&SEARCH_CD=X&SEARCH_P=X&SEARCH_PV=X&SEARCH_C=X&SEARCH_CV=X&SEARCH_TA=&SEARCH_V=&HIDE_EXPERT_SEARCH=X&SEARCH_MAX_RESULT=20]
In Search Term Enter SAP BASIS 7 or 3.
Now click on XI CONTENT SAP_BASIS 7.00 (if u r using PI else select SAP_BASIS 3.0) -
>
Database independent -
> SAPBASISxxxxx-0888.ZIP (this file should be based on your SP level)
Just save this file on your machine and unzip it.
Now put this in the import directory: \usr\sap\<SID>\SYS\global\xi\repository_server\import\
Now login to Integration Repository and from menu TOOLS ---> Import design objects and import it.
Regards,
Sarvesh -
File adapter problem - message in RWB HOLDING msg status
Problem in XI File adapter recver comm channel.Getting msg in RWB Adapter Engine HOLDING status.
1. No explaination in RWB Details tab, of why status Holding.
2. File does not get created, because of Holding status.
3. Cannot Resend or Cancel in RWB the message.
<b>Sometimes the msg goes through and other times does not and is stuck.</b>
File Adapter Parms set as:
Connection Mode: Per File Transfer
Transfer Mode: Text
File Adapter setting Max concurrency = 1 would that have anything to do with it?
File Construction Mode:Create
Put Name: Direct
Empty msg-handling: Write Empty File
Type: Text
<b>Any ideas Why holding? and Where to see more details. </b>Hey
exact same issue has been discussed today on SDN.anyways have a look at the following blog
/people/stefan.grube/blog/2006/04/27/how-to-deal-with-stuck-eoio-messages-in-the-xi-30-adapter-framework
Thanx
Aamir -
Error when configuring Sender File Adapter (XI 7.0)
Hi all,
After i had configured my Sender File Adapter of Communication Channel 'CC_SEND_MATERIAL_FILE', an error message for this Communication Channel (in Runtime WorkBench/Component Monitoring/Adapter Engine/Communication Channel Monitoring) occurred as below:
Error: com.sap.aii.af.ra.ms.api.DeliveryException: java.net.MalformedURLException: unknown protocol: dest
I think that all configurations for this Sender File Adapter are correct. But i don't know where is protocol "dest" and how can i correct this protocol.
Could anyone please help me to resolve this problem?
Thanks for all in advance,
Vinh VoHi Sarvesh,
Yes, i have configured the source file with the path in the AL11. I think all an other configurations are also OK. But i don't know what is protocol 'dest'.
Anybody can explain and help me, please!
Vinh Vo -
Problem in File Receiver comm channel
Hi,
I can't see anything in the Recevier communication channel in the RWB > Component Monitoring>Comm. channel monitoring-->Comm. channels.
I do have selected my comm channel.Its showing the message as "Comm. channel is configured correctly and started". But I cant see msgID and Explanation or error. Even, I cant fine any info in Error log.
The diagnosis i did as follows. Let me know if u come across any thing.
Checked the logs in VA but i didnt found any information and is not upto date. Bad luck
*Recreated the Rcvr comm channel again and teste. Nohope.
In the MONI its showing successfull, but i cant see output at destination.
*cache is uptodate
I have checked the queues, nothing got stuck.All queues are clear.
*I cant restart the Server since it is in production.
Your suggestions are highly appreciated.
Thanks
SRINilesh,
All the things you mentioned are done by XI IS. FYI plz chk below..
Send binary file "/home/dpiadm/xi/tmp/passthru/EDI_250123.rpz", size 60, character encoding 8859_1 with QoS EO
2007-10-19 13:48:43 Success MP: Entering module processor
2007-10-19 13:48:43 Success MP: Processing local module localejbs/SFTPFileUploadDownloadAdapterModule
2007-10-19 13:48:43 Success 192.133.217.6 /XI/SFTPTest pimsp kuljasimsim EDI_250123.rpz /home/dpiadm/SridharRajuMahali /home/dpiadm/xi/tmp/passthru/ EDI_250123.rpz Enable
2007-10-19 13:48:43 Success EDI_250123.rpz
2007-10-19 13:48:43 Success SFTPOutBoundEDIFileToFile
2007-10-19 13:48:43 Success SFTP_Sender_File
2007-10-19 13:48:43 Success 8878c990-7e6b-11dc-8137-001a4b065b86
2007-10-19 13:48:43 Success SFTPServerNameOrIpAddress 192.133.217.6
2007-10-19 13:48:43 Success Indiashining.txt SFTPOutBoundEDIFileToFile SFTP_Sender_File 8878c990-7e6b-11dc-8137-001a4b065b86 SFTPOutBoundEEIFileToFile
UNDEFINED
2007-10-19 13:48:43 Success Host Key Verified
2007-10-19 13:48:43 Success Socket Opened for Transport and connected..
2007-10-19 13:48:43 Success SFTP SshClient is connected
2007-10-19 13:48:43 Success Authentication Method is Public Key
2007-10-19 13:48:43 Success Ssh2 Client is Connected and Authenticated
2007-10-19 13:48:43 Success pimsp kuljasimsim
2007-10-19 13:48:43 Success /XI/SFTPTest
2007-10-19 13:48:43 Success /XI/SFTPTest
2007-10-19 13:48:43 Success localFolder2 + dropFileName2 /home/dpiadm/xi/tmp/passthru/EDI_250123.rpz
Entering to download file
2007-10-19 13:48:43 Success Current Directory before LCD0 : /home/dpiadm
2007-10-19 13:48:43 Success Current Directory After LCD0 :/home/dpiadm/xi/tmp/passthru
2007-10-19 13:48:43 Success download completed
2007-10-19 13:48:43 Success MP: Processing local module localejbs/CallSapAdapter
2007-10-19 13:48:43 Success Application attempting to send an XI message asynchronously using connection File_http://sap.com/xi/XI/System.
2007-10-19 13:48:43 Success Trying to put the message into the send queue.
2007-10-19 13:48:43 Success Message successfully put into the queue.
2007-10-19 13:48:43 Success The application sent the message asynchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
2007-10-19 13:48:43 Success MP: Leaving module processor
The message was successfully retrieved from the send queue.
2007-10-19 13:48:43 Success Confirmation mode test found. File sent.
2007-10-19 13:48:43 Success The message status set to DLNG.
2007-10-19 13:48:44 Success The message was successfully transmitted to endpoint http://quark:8005/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
2007-10-19 13:48:44 Success The message status set to DLVD.
2007-10-19 13:48:44 Success The message was successfully delivered.
Note:- I AM NOT ABLE TO SEE ANYTHING IN THE RCVR COMM CHANNEL(RWB).
any Idea about, where can I see the message if it got stuck in Integration server apart from logs
Thanks
Sri Raj -
Receiver File adapter - FTPEx: 550 Permission denied
Hi all,
We are getting the following error from a File receiver comm. channel:
Delivery of the message to the application using connection AFW failed, due to: com.sap.aii.adapter.file.ftp.FTPEx: 550 Permission denied to "inbound"..
The FTP connection is anonymous so anyone (within our network) can login on this server, folder rights are also set to all i.e. anonymous user can create, read, delete files on the target folder.
I have tested to the target folder using IE browser, I was able to logon the server, read, create and delete files.
Has anyone of you an idea why the adapter engine still cannot create a file?
Regards,
Roberto> Hi Roberto,
> 'Anonymous' is a default user that exists in Unix
> nix layer. But for this user also you need to provide
> the file write/read/delete permissions into the
> folder. Then only you can write a file evenif you are
> using 'Anonymous' User.
>
> Cheers
> JK
Hi there,
As explained before; we have tested the same FTP connection (using the same anonymous account) via a DOS session and also via IE (from the XI server), both tests were successful and we were able to create/delete files without any problem.
So again, the problem is only with the File/FTP adapter which for some unexplained reason cannot get access to this folder.
Are there any special (not mentioned in the SAP documentation?) prerequisites to establish a FTP connection using the file adapter?
Any help is highly appreciated!
Thanks, Roberto
BTW; we are on SP14 and the XI server runs under a Windows Server machine.
Message was edited by: Roberto Viana -
Sender file adapter conversion Error!!
Hello every one....
I am stuck with a problem...in my scenario,, there are possiblities that file may contain more than required paramters... in such case,,, paramters defined in conversion should go ahead and others should be ignored...
for this very purpose i added the paramter:
row.fieldSeparator ,
row.fieldNames orderno,authcode,status
row.endSeparator 'nl'
row.additionalLastFields ignore
the scenario works fine if the file contains thrree comma separated values but it raises an error if no of paramters increase as :
Conversion of file content to XML failed at position 0: java.lang.Exception: ERROR converting
document line no. 1 according to structure 'row':java.lang.Exception: ERROR in configuration: more
elements in file csv structure than field names specified!
we are using PI 7.... does it require some more configuration in additoin to paramter row.additionalLastFields
any help in this regard would be highly appreciated...
thanxthis parameter is already set, and this is the exact behavior i want from adapter engine... but the problem
here is different... the exception is raised at communication channel's conversion routine level,,, the retry
interval is not the one defined in visual admin but infact the interval (polling) time defined in communication
channel.... the system does'nt stop after 3 attempts,, but infact keep on trying to read it....
one peice of information i have found is in sap note:821267 , which states:
*Q35:*
Q: I have configured a File Sender channel with File Content
Conversion or a custom-developed module, which may throw an
exception. When the File Adapter encounters an invalid file, which
triggers a conversion error or an exception in a module, the
adapter will enter a retry interval and upon each following
processing attempt try to process the faulty file. This basically
prevents the File Adapter from picking up files that are located
after the fauilty file according to the configured sort order. How
can I change this behavior?
o A: This is by design. When the File Adapter encounters an invalid
file, manually remove this file from the configured source
directory. You can configure an alerting rule to get notified each
time this occurs.
We are currently evaluating possible solutions that could be used
to skip this manual interaction.
now can there be a way around to make communication channel read the file only 3 times (value defined in adapter engine profile in visual admin)
I have thaught of writing of module.... but the error is raised even before calling module !!
any further clue ??? -
File Adapter as Sender not picking the files
We configured the File Adapter as Sender, Transport Protocol =NSF and message protocol as FCC.
In OS we have folder to read the file, but SAP XI unable to read the file.
To trouble shoot this issue we copied that file into another location and reverted back to the same location then XI File adaptor is able to read the file.
Now we have compared the Attributes of the path
the only difference in file attributes
Coded character set ID . . . . . . . . : 819
CCSID 819 (decimal)
0333 (hex)
Name ISO 8859-1 ASCII
Description ISO 8859-1: Latin Alphabet Number 1Latin-1 countries and regions
Notes Related CCSID with euro is 923
able to read the file attributes:
Coded character set ID . . . . . . . . : 1252
CCSID 1252 (decimal)
04E4 (hex)
Name MS-WIN LATIN-1
SC Co-existence/Migration
FMS Subset
Registration Date
Description MS Windows, Latin-1
Notes CCSID for this code page with euro is 5348
We have tried to chage the File type as Text and File Encoding with ISO-8859-1even then its not picking the files.
Please suggest me where i am doing wrong here
Thanks,
Venkat.Hi,
Check the file path & file name , Check the processing mode parameter which you have set?
Check the folder properties & provide all the permission ...
Finally check the communication channel status in RWB, If the problem persist try to stop & start the communication channel again..
Hope it helps...
Regards,
Kumar. -
Sender File Adapter - Restrict number of file polled at each poll interval
Hi all,
PI 7.0 SPS16.
We would like to know whether it is possible to configure a sender file adapter (file conversion mode) in order to restrain the number of file taken at each poll interval and if yes how ?
Thanks for your future answers.
Jean-CharlesHi Jean
Standard adapter do not provide functionality to take an input like number of files to be taken at poll interval. But using adapter module you can achieve this.
SAP PI is having the function to set poll timings and scheduling. You can write adapter module and execute this module using File adapter type communication channel before the standard bean and you can restrict the number of files.
Check the link given above as well as this How to Guide
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
Thanks
Gaurav
Maybe you are looking for
-
BAPI_GOODSMVT_CREATE - posting extra lines (amount being multiplied by 100)
Hello Gurus, I am using BAPI_GOODSMVT_CREATE for posting. When I check FBL3N, i see 2 lines: The first one is correct while the second is a copy of the first one, with the exeception that the amount in Local Currency has been multiplied by 100. And t
-
I just got my Verizon iPhone 4S and I have a question. Currently I live in Canada and have a Canadian iTunes account setup on my Telus iPhone 4. But I will be moving down to the US at the end of the month, hence the Verizon iPhone 4S. Questions: 1. D
-
Problem with default converter in JSF facelet
Hello, I stuck with strange JSF java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Integer, when I try to use abstract class with generic. My code: ObjectClass.java public abstract class ObjectClass<T> { public abstract T
-
Problem in AIAB - Distribute (Capitalize Asset u. Const.)
In table ANEP, I can see the all register of my asset Capitalize Asset but in transaction AIAB I can´t see the class movement 891 and 892 (revaluation) Please help....
-
Can we use af:inputText + af:commandButton to render adf table column?
Can ADF table column have an inner button? Is that possible to use af:inputText + af:commandButton (custom component?) to render adf table column?