Reciever file adapter problem
hi Gurus
We have 5 msgs stuck in 'delivering' status . I have checked http://<server>:<port>/MessagingSystem/monitor/systemStatus.jsp link and found that these 5 are holding up the queue. Below is the statistics.
File_http://sap.com/xi/XI/SystemRecv true 0 5 (5) 5
I went and saw in Received Messages-> Asynchronus and found these 5 msgs in 'delivering' status but there is no option to delete that or make it as failed.
Can someone pls hlep me how to clean up this queue so that the msgs wont come and lock here.
thank you
>>We have 5 msgs stuck in 'delivering' status
you are talking about IE or AE,
SMQ2 and SMQ1 only work for messages stuck in IE,if your messages are stuck in AE they won't do no good,if they are stuck in IE,then go to SMQ2 give the client name as * and then see and clear the stucked queues.
i guess ur messages are stuck in AE.if yes,then since they are in delivering status you should not mess up with it,its possible that the messages is huge or is taking more time due to some issue,but as long as they are delivering its fine.
if the status is Holding or system error or something like that then u need to re-process it
thanx
Aamir
Similar Messages
-
Error in reciever file adapter , where i am getting file name dynamically
hi all,
error in reciever file adapter , where i am getting file name dynamically, please help me in this isssue , i am trying for a long time
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)': java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_eINVOICE_RECV' found in document', probably configuration error in file adapter (XML parser error)'i am getting new error
MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: Channel has not been correctly initialized and cannot process messages
this is my strcuture
and i have changed my structure
<HEADER>
<ADDRESS1/>
<ADDRESS2/>
<ADDRESS3/>
<ADDRESS4/>
</HEADER>
<HEADER_GST>
<TAX1/>
<TAX2/>
<TAX3/>
</HEADER_GST>
<LINE>
<QTY/>
<UOM/>
<UNIT_AMT/>
<CHARGE_TO_DT/>
</LINE>
<FILENAME>
<FILENAME/>
</FILENAME>
i have given the recordset structure as
HEADER,HEADER_GST,LINE,FILE -
Error in reciever file adapter
Getting following error in a reciever file adapter (stack trace extracted from defaultTrace)
#1#com.sap.engine.services.dbpool.exceptions.BaseSQLException: ResourceException in method ConnectionFactoryImpl.getConnection(): com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "ejbContexts/sap.com/com.sap.aii.af.app/CallSapAdapter" in application "sap.com/com.sap.aii.af.app".
at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:59)
at com.sap.aii.af.ra.ms.runtime.Resources.getDBConnection(Resources.java:362)
at com.sap.aii.af.ra.ms.impl.core.store.MessageStore.getMessageProfile(MessageStore.java:1228)
at com.sap.aii.af.ra.ms.impl.ConnectionImpl.deliveryAck(ConnectionImpl.java:399)
at com.sap.aii.adapter.file.SapAdapterServiceFrameImpl.sendAcks(SapAdapterServiceFrameImpl.java:350)
at com.sap.aii.adapter.file.SapAdapterServiceFrameImpl.callSapAdapter(SapAdapterServiceFrameImpl.java:250)
at com.sap.aii.af.modules.CallAdapterWithMessageBean.process_receiver(CallAdapterWithMessageBean.java:201)
at com.sap.aii.af.modules.CallAdapterWithMessageBean.process(CallAdapterWithMessageBean.java:161)
at com.sap.aii.af.mp.module.ModuleLocalLocalObjectImpl1.process(ModuleLocalLocalObjectImpl1.java:103)
at com.sap.aii.af.mp.ejb.ModuleProcessorBean.process(ModuleProcessorBean.java:252)
at com.sap.aii.af.mp.processor.ModuleProcessorLocalLocalObjectImpl0.process(ModuleProcessorLocalLocalObjectImpl0.java:103)
at com.sap.aii.af.listener.AFWListenerBean.onMessage(AFWListenerBean.java:243)
at com.sap.aii.af.listener.AFWListenerLocalObjectImpl0.onMessage(AFWListenerLocalObjectImpl0.java:103)
at com.sap.aii.af.ra.ms.impl.ServicesImpl.deliver(ServicesImpl.java:253)
at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:838)
at com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.invokeHandler(ReceiveConsumer.java:351)
at com.sap.aii.af.ra.ms.impl.core.queue.ReceiveConsumer.onMessage(ReceiveConsumer.java:100)
at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:831)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
Caused by: com.sap.engine.services.connector.exceptions.BaseResourceException: Cannot open resource(Managed Connection) with LocalTransaction support or add a second one in the same transaction, for component "ejbContexts/sap.com/com.sap.aii.af.app/CallSapAdapter" in application "sap.com/com.sap.aii.af.app".
at com.sap.engine.services.connector.resource.impl.ResourceSetImpl.checkEnlist(ResourceSetImpl.java:308)
at com.sap.engine.services.connector.jca.ConnectionManagerImpl.allocateConnection(ConnectionManagerImpl.java:229)
at com.sap.engine.services.dbpool.cci.ConnectionFactoryImpl.getConnection(ConnectionFactoryImpl.java:51)
... 21 moreHI,
Refer this link. It gives solution to the above problem.
http://help.sap.com/saphelp_nw04s/helpdata/en/5c/2f2c4142aef623e10000000a155106/content.htm
Regards,
Sudheer. -
Dynamic File naming in reciever File Adapter
Hi all,
I am using a reciever File adapter and my requirement is to generate 3 different file names based on the value of an element from the Payload.For example..
Say in Payload for the first Occurence of the Data segment which contains Field-1 and Field-1 Contains value X then filename should be X.CSV,
same as
For the next occurence of the Data Segment if the Value of Field-1 is Y then File name should be Y.CSV.
Similarly For Z as well.
This is something like this...
SOurce Structure
================
IDOC
DATA SEGMENT-1
Field-1---> X
Field-2
Field 10
DATA SEGMENT-2
Field-1
Field-2
Field 10
DATA SEGMENT-3
Field-1
Field-2
Field 10
then the output and filenames should be...
X.CSV
Field-1
Field-2
Field-3
Y.CSV
Field-1
Field-2
Field-3
Z.CSV
Field-1
Field-2
Field-3
Kindly help, is there any way i can do this using File Adapter Configurations .Please suggest.Hi,
you can use a small business process.
There you will receiver the message in one receive step.
than you need a transformation Step with a mapping which split your message to several messages.
At least you have now a Multi Row container with one message for each data segment.
For sending each messages of this multirow container you need a block in BPM.. this you have to set to parallel processing.
Inside this block you have a sending step which send the single message.
and without BPM take a look at this Weblog(you need SP14):
<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions me</a>
Regards,
Robin -
Content conversion in Reciever File Adapter
Hi Frens,
Iam doing A FCC in Reciever file adapter. My input structure is
DT_structure
->Record
->Row
Field1
Field2
Field3
I have donr the configuration as
Recordset Structure : Record,Row
Row.fieldSeparator : ,
Row.endSeparator : 'nl'
Record.fieldSeparator : 'nl'.
With this configuration Iam able to display only one record but I need to display multiple records in the file. Please do suggest me wha need to be done to achieve this.
Radhika.First check whether your datatype has the occurrence of records unbounded or not. Then goto content conversion. If both your Record and Row tags can occur multiple times, then use
Recordset Structure : Record,*,Row,*
Or if Record occurs only once and multiple Row nodes are required, then use
Recordset Structure : Record,1,Row,*
Regards,
Prateek -
Archiving in Reciever file adapter
Hi .
can any one plz help me in <b>archiving file's in reciever file adapter</b> .
thanks
shakifHi Mohamed,
Normally we acrchive the files only in the sender communicaton channel by selecting the processing mode as Archive and giving the path of the directory where the sucessfully processed files are to be placed int the archieve directory.
There is no option to archieve the files in the receiver file adapter.
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm">Configuring Sender File Adapter</a>
<a href="http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm">Configuring Receiver File Adapter</a>
Regards
Santhosh
Remember to set the thread to solved when you have received a solution
[url=Use a Good Subject Line, One Question Per Posting - Award Points; Use a Good Subject Line, One Question Per Posting - Award Points[/url] -
Anonymous login in sender,reciever file adapter
hi all xi's
i dont know what is the need of anonymous login option in sender,reciever file adapter and the other thing is if i use check anonymous login there is no option for
specifing username,pwd,ftp server ip.
early anser will be appreciated.
bye.
regards.
seeta ram.Hi,
when you configure your FTP server you can opt for anonymous login.
It means anyone can log on to this server just by using the IP address.
No user creation.. so ..No need for user id or pwd. i mean no authentication.
FTP connection parameters.. i.e. server n port will always be there if you are going for FTP.
It wont ask for these if you select NFS.
Being Anonymous only removes the user id n pswd option.
Anonymous login is "Never suggested"..Pretty insecure..
Dont forget to award SDN points Seeta.
Regards
Pushkar
Message was edited by:
pushkar anand -
Reciever file adapter permissions
Hi
I am trying to writing a file on remote computer using nfs reciever file adapter
I get the following error
Message processing failed.Cause com:sap.aii.af.ra.ms.api.RecoverableException: Target directory '
Hfavediqa2_0\ZIMEQCDATAIN' does not exist
The XI Server users are not in the domain of the customer
so we created a local user in the Hfavediqa2_0 with same password
so if I login with the user and password of xidadm to this server I can connent to the share
Hfavediqa2_0\ZIMEQCDATAIN and write files in this directory
how to solve this issue ? seems very stange to me
thx
ShaiHi,
Try and check if you can access the server mentioned here. ie. Hfavediqa2_0. NFS is used for files on shared directories in local network. Hence you should be able to ping this server. Simply type ping <server name/IP> and you should see the response. If you are not able to do that, then it won't be possible to reach the destination directory, hence the error. Using FTP could be alternate solution.
Thanks,
Bhavish
Award points is comments helpful -
File adapter problem - xml file
Is there a way to define in the sender file adapter the document name for a XML file?
This is the xml file that arrives to XI,
<?xml version="1.0" encoding="UTF-8" ?>
<dataroot generated="">
<Materials1>
<CODE>FAMILY</CODE>
<TYPE>A75</TYPE>
<NAME_EN>LUBRICANT</NAME_EN>
<NAME_ES>LUBRICANTES</NAME_ES>
<NAME_DE>LUBRICANT_GERMAN</NAME_DE>
</Materials1>
</dataroot>
I have to define the name of the Message Type as "dataroot" in order to avoid problems at mapping time. The problem is that I get from MDM the same structure begin each time,
<dataroot generated="">
Is there a way to define the XML Document Name in the Sender File Adapter?Hello Rob,
FOr ""dataroot" element "generated" is the attribute.... define this attbute in the datatype as well..
Thanks,
Himadri -
Reciever File Adapter - Temp File Name Scheme using Variable Substitution
How can I create a temporary file that uses variable substitution?
We are having a problem with files merging when we write files using the "Use Temporary File" setting on the FIle Adapter. So two independent files are merging into a single file. We are not using the "Append" setting.
We would like to use a Temp File Name Scheme that would append the message id onto the temporary file name.
Using variable substitution we created a msgid variable. When added to the temporary file name using %msgid% the temporary file name is created with %msgid% in the name instead of the actual message id. We put the variable into the "File Name Scheme" as well and the end completed file used the message id in the name.
Any Ideas?
Thanks,
MattHI Matthew,
Why are you adding the message id into the temporary file??
I understand that you want the output of the filename to contain message id .. and hence you are using variable substitution for the same.
Temporary file name will anyways get overwritten by the actual file name (here the actual filename will be using variable substituion).
So i suggest to achieve your scenario you can add any name in the temporary file and maintain the desired filename you require as output in the variable subsititution.
Temporary File Name option actually acts as a lock - unlock mechanism from PI side while the file is getting written to the file server so that while PI is writting the file no third party application batch program picks it up.
I hope this helps.
Cheers
Dhwani -
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 -
Sender file Adapter, problem with proxy authentication
HI all,
i'm having some problems with the following scenario, i need to configure a sender file adapter which connects to a FTP server. To connect this FTP server i need to set a proxy (and so a username and a password), and i don't know how to do.
From note 821267 seems that the proxy is not supported for an FTP adapter, but the are some workaround like the ones described in the following link
Re: Proxy server inFTP adapter
http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=57137
They don't work in my case as i need to se two username (the one for proxy and the one for the ftp server) and i cannot force the proxy use for all XI applications.
Can anyone help me?
Thanks a lot
AldoProxy is necessary to exit the customer local intranet. It's not possible to go outside network without going through the proxy server.
I cannot set the proxy server in file adapter as it's not supported like described in SAp note, a possible workarounf is to force the proxy server in the J2ee stack but in this way all PI calls would use that proxy.. -
Hi All,
we are having a simple scenario we have to use sender file adapter .
Our file is Simple Text File where one line is one reocrd . Do i need to do content conversion ? we don't have Header line item relation ship.Each flat file line should be a XML message. Now my problem is while configuring content Conversion parameter we have to pass structure in format of header and line item only is there any other way ?
Thanks & Regards,
TuhinNo you do not have to pass Header and Line item records in the flat file.
Just use <documentName>.fieldFixedLength=1,2,3,4...
and it should work.
Thanks
Ashish -
File Adapter-Problem Reading Huge Files
Hi,
Here is the issue that i am facing
When reading huge file(csv file upto 6MB-8MB) the communication channel configured as File Adapter with a polling interval of 7 min(420 sec) is inconsistent in reading the complete file.Sometimes it reads the the complete file of 6 MB and sometimes it reads a part of the file say 3MB/6MB.Can this inconsistent behaviour be resolved.??
Your suggestions highly appreciated.
Regards
PradeepHi Pradeep !
8mb is not a huge file for XI, I think it is a small one. Maybe your problem is not the size..please check if XI is not starting to read the file before it is completely written to the source folder. If you are creating that csv file from another application directly to the poll source directory of the XI scenario specified in the file adapter, and your poll interval is small, XI could start reading the file while you are still writing it. If this is the case, try to put the file with a different extension or filename than the specified in file adapter comm channel and when the file is completely written, rename it to its final filename and check if you are still having that misbehavior.
You can write the file to a temp directory and the move it to the XI directory once finished.
Regards,
Matias. -
File Adapter problem for Fixed Length output file
Hi There!,
The following is my sample data format
ABCD 2345 03Accounting Swissland
ABCD 011234 1000Jack Gates 400000 03
ABCD 021234 1001Bill Welch 400000 03
In the first record has dept details:
DummyText, Row identifier(not given in case of dept), Identifier, Deptno, Deptname, Location
The second and third records are emp details:
DummyText,Row identifier, Identifier,EmptNo,Emp Name, Manager, Salary, Deptno.
Notice that the primary key is defined by the first three columns DummyText, Row identifier, Identifier.
When I use Native Format Builder from File Adapter and scan the first three columns I get all three records (i.e dept and both employees). I deleted the second employee and proceeded to finish the configuration. But, the problem I face is that the key value shows as "ABCD% 011234" for both the employee records where as I would like it to show as "ABCD 011234" for the first record and "ABCD 021234" for the second record.
How do I get around this problem?
Moreover if I have a group or recurring records and not just one record recurring. I mean assuming I have the following:
First row: Department
Second row: Employee
Thrid row: Manager
Fourth row: Employee
Fifth row: Manager
How do I get this done?
Does anyone have an idea where to find details of nxsd.
Thanks in Advance.Hi Manoj
Give the FCC parameter as
RecordSet Structure = Header,,Detaillnes,,Detaillines2,*
Header.endSeparator = 'nl'
Header.fieldFixedLengths = field length
Header.fieldFixedLengthType = char/byte
Header.fieldNames = field1,field2,field3,.....
Header.keyFieldValue = Header
Detaillnes.endSeparator = 'nl'
Detaillnes.fieldFixedLengths = field length
Detaillnes.fieldFixedLengthType = char/byte
Detaillnes.fieldNames = field1,field2,field3,.....
Detaillnes.keyFieldValue = Detaillnes
Detaillines2.endSeparator = 'nl'
Detaillines2.fieldFixedLengths = field length
Detaillines2.fieldFixedLengthType = char/byte
Detaillines2.fieldNames = field1,field2,field3,.....
Detaillines2.keyFieldValue = Detaillines2
The keyFieldValue should be the Value which identifies your record either as Header/Detaillines/Detaillnes2.
Regards
Santhosh
Message was edited by:
Santhosh Kumar V
Maybe you are looking for
-
Material groups-valuation classes combination
Hello, I have material groups which are created for services, and they don't have a material code. When I purchase these materials, I enter the cost center as account assignment type, and the service I'm purchasing and the material group I mentioned
-
How to run oracle stored procedure dynamically
How can I call a stored procedure dynamically. My requirement is to call a stored procedure based on user selection on a parameter screen. I do not want to hardcode proocedure name, but rather call dynamically. If I use the same methodology as of run
-
Registering Extended warranty for my IdeaCentre K450
Hello all, At a loss here to be honest, I purchased an IdeaCentre K450 Desktop and along with it for piece of mind payed for the 2 year accidental damage warranty, called - 2YR Mail-in/CCR + Accidental Damage Protection. The computer arrived perfect
-
Can NOT get the latest Lumia Cyan for Lumia 1020
I'm in New Zealand and the latest software release for Nokia Lumia 1020 is Lumia Cyan (3051.50009.1424.00xx) When I goto about your mumia this shows software: Lumia Black Release and the firmware revision number is 3051.40000.1345.1004. But when I ch
-
65,000 vs 260,000 ?
According to Apple.com there is discrepancy regarding to color display. From here http://www.apple.com/ipod/features.html If you click Video, it says 260,000 color.; Videos iPod adds a new dimension to your portable music experience: videos. Choose f