EOIO sequence XI file adapter
Hi All,
The scenario is below:
1. File Adaper polls a unix folder every 10 minutes, and comm channel is set as EOIO. A queue name prefix is specified in the comm channel.
2. If 30 files are found, they are all sent to a BPM receiver for processing on the Integration Engine. 30 separate BPM instances are triggered (but each one is actually running the same BPM definition).
3. Although the files appear in SXMB_MONI in the correct sequence, they are not processed in sequence - e.g. the files are sometimes be processed in the sequence 1, 2, 3, 4...8....5, 6, 7
4. The messages are all assigned to a queue id.... XBQO$PE_WS91100160, and although if an error occurs in one message, the queue can be stopped, the problem is that the transactions in this
queue are not necessarily in the sequence the files were found by the File Adapter
We have tried adding a "Only Once" queue option in SWF_INB_CONF, but to no avail. The sequence of the messages still appears to be unreliable.
In SXMB_ADM, we have tried to specify filter prioritisation. once again, to no avail.
Some additional information. An ABAP mapping class is being called in the BPM, and we have used this to track the sequence of the files being processed (by writing into a logging table).
My problem is at the time when the files go through EOIO queue and arrive at the BPM, the order has already changed. And according to the note833740, BPE should support EOIO at arrival side. Any more thought?
Hi Karun
while determining interface click on the check box MAINTAIN ORDER AT RUNTIME
hope this may help you
or if you are using PI 7.0 SP14 or above use message packaging
Thanks
sandeep
Similar Messages
-
PI picks up the records from a flat file of 500 records and 100 records.
I have selected EOIO as QoS. Gave the queue name.
The issue is that the 5 messages with 100 records each, seem to be not in a sequential order.
Can anyone please help me with this? Did anyone face this issue?
We are on PI 7.0 SP 14.
regHi,
>>>The issue is that the 5 messages with 100 records each, seem to be not in a sequential order.
check if you have specified : Processing Sequence - by date
in sender channel
Regards,
Michal Krawczyk -
Hi all,
I need to define how does the line sequence of a file has to be created.
For example, I have 3 structures in target mapping side:
struct1 (1..unbounded)
struct2 (1..unbounded)
struct3 (1..1)
Actually, the file is created in this way:
struct1
struct1
struct1
struct2
struct2
struct2
struct3
And in the file that must be created, I need to have this info inside it as this:
struct1
struct2
struct1
struct2
struct1
struct2
struct3
Does anybody know how can I do this with a file receiver adapter?Thanks Aravind for the reply.
I'm going to try it in that way, but is there a simple way to do this so I don't have to create again all the mapping after changing the DT? I mean if there is a chance to manipulate this in the file receiver adapter with content conversion.
Edit: in the way you told me to do this, I am not able to have the struct3 at the end of the target mapping. I can have it once but in the first one. It is like this:
struct1
struct2
struct3
struct1
struct2
struct1
struct2
struct1
struct2
And I need the struct3 to be at the end of the map.
any idea? -
Hello,
My process : File -> XI -> RFC
I want to use EOIO, so I active "Quality Of Service" EOIO in the file adapter and put the name "FileQueue" for the queue.
When I test it, I can see an error in the adapter framework log via the web browser :
Error - Exception caught by adapter framework: DeliverySemantics EOIO not supported
Error - Delivery of the message to the application using connection AFW failed, due to: DeliverySemantics EOIO not supported.
Then the message is put in a WAIT status and is reprossed 3 or 4 time. Then a System error status is raised.
What's wrong ?
Thanks
Regards,
ChrisIt was impossible until SP11.
See SAP NOTE on FAQ RFC Adapter : 730870 -
File to SOAP,error in sender file adapter
Hi,
I am doing a scenario FILE to SOAP where In file adapter I am using Quality od service as Exactly once in order.I am getting the below error.It works fine when I use QOS=Exactly once.Not sure why,can you guys please help me.Can we really use QOS-EOIO for sender file adapter,where exacly do we use it.
Thanks
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error>
Edited by: guest xi on Apr 16, 2008 11:55 AMHi,
Thanks for your replies guys.I diid give the queue name ,I dont know what is causing the error.Now even QOS=EO which was working fine before is throwing an error.I am using the same file name for both
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!-- Call Adapter -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:Category>XIAdapterFramework</SAP:Category>
<SAP:Code area="MESSAGE">GENERAL</SAP:Code>
<SAP:P1 />
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText>com.sap.aii.af.ra.ms.api.DeliveryException: invalid content type for SOAP: TEXT/HTML</SAP:AdditionalText>
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack />
<SAP:Retry>M</SAP:Retry>
</SAP:Error> -
File adapter: file processing in correct sequence
Hello All
We have inbound file scenario.
File will be picked up and processed by XI and sent to SAP system.
All the files have to be processed in the same sequence.
Once the file is picked and processed in XI, data will be sent to receiving SAP system thru proxy call.
But, if there is an error in processing received data in the receiving system (because of duplicate data or any other application related error, which is specific to receiving application), how can we stop XI from picking and processing the next file?
Second file should be picked and processed by XI only after 1st file is successfully processed by the receiving system.
How can i ensure this?
Please let me know...
Many Thanks
ChandraHi Chandra
If you are on NFS then you can enable Processing Sequence by Name or Date in sender file adapter. With this you need to implement EOIO this allows messages to be picked in sequence and process in queue. If one of the file failed the queue will error.
To avoid more than one thread processing you can use additional parameter "clusterSyncMode" refer Note 801926.
With the above other solution can be creating a SYNC or interface that can act as an ACK from the system then you process the next message. BPM can also be useful if you use Fault messages and capture them for errors for processing of next message.
Hope above info can be used to come to a final approach for you
Thanks
Gaurav -
Processing files in Sequence using FTP Adapter
Hi Experts,
I have searched several forums but i am not clear on how to process the files using FTP Adapter based on Timestamp.
To process the files in sequence i.e, FIFO using FTP Adapter
i have the files with file name customer and timestamp : customer<yyyyMMddHHmmss>
there are around 50 files in the FTP server llike this.
I need to process these files acording to the timestamp and place the files in same processing sequence in the receiver end using the file adapter.
If i specify the parametes in sender FTP Adapter as
Qos= EOIO
Queue name = ACCOUNT
Whether these parameters would do the processing in sequence according to the Timestamp?
Suppose if the queue ID for Inbound(SMQ2) is XBTI0_ACCOUNT then whether it will be the same for Outbound(SMQ1)?
Kindly suggest me how to process the files in sequence according to the Timestamp using FTP Adapter
Please reply..
Thanks
SaiHi Shabarish,
But this would require one more additional channel to process
So i think it will take more time to process.
Let me clarify my question once again.
I need to Pick the files from FTP server based on their TimeStamp and in sequence.
the file names are like this Customer<YYYYMMDDHHmmSS>.
suppose i have 3 files as
Customer20050413044534
Customer20050414053430
Customer20050315034533
So i need to pick these files in this order and place the files in the same order to the receiver end(File Adapter)
Customer20050315034533
Customer20050413044534
Customer20050414053430.
As i am using FTP sender adapter i cannot use processing sequence "By Date".
please suggest me on this.
Thanks
Sai. -
Receiver file adapter behave like a EOIO
I have an interface wherein R/3 sends IDocs to XI and the messages have QOS as EO. XI triggers a proxy interface which retrieves a certain data back from R/3. Once the mapping is done in XI, the receiver, a file adapter creates a bunch of files for each message.
Here's the data scale.
1 IDoc triggers 1000+ proxy message interfaces which triggers over 2000+ files.
All messages in the receiver queue (XI_SERIALIZE00xx) go into EOIO status. What is driving this EOIO message type (IDocs are coming in as EO messages).
The problem, if one message gets into system error, all go into holding status. They are all independent of each other. How can I fix this??
Thanks,
PamAfter digging into this further...here's how it is working and I'm figuring out how the queue id got assgined to proxy inbound (sender).
- <SAP:ReliableMessaging xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
<SAP:QualityOfService>ExactlyOnceInOrder</SAP:QualityOfService>
<SAP:QueueId>XI_SERIALIZE0012</SAP:QueueId>
</SAP:ReliableMessaging>
Here's the flow.
IDoc message (r/3) to ZIDoc_in (XI) - the messages are EO
ZIDoc_in (R/3 proxy) to ZIDoc_out (XI) - the messages here are set as EOIO with the queueid from above.
ZIDoc_out (XI) to ZFile_in (File receiver) - thousands of messages go in as EOIO
as per this blog
- /people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies
I did not find the queue id set in the abap proxy code. So where is this "XI_SERIALIZExxxx" being set and how is it becoming EOIO?
Not sure if the parameter in the interface determination is doing this since the messages from the proxy shows up as EOIO.
Thanks. -
File Adapter , Processing Sequence
Hi All,
Can you please help me to understand these?
1. When i configure a Sender File Adapter with file pattern *.txt, Does it handle the files one after another? Or does it span multiple threads and processes multiple files in parallel?
2. If i select processing sequence as DATE, does it consider the time stamp also?
3. If a 100 mb file with name BIG.txt created at 1.00 AM,
and a 0.1 mb file with name small created at 1.10 on the sender system. If 100MB file needs 30 min to get processed,
Then can i assume the second file get processed only after big file completely processed and reached the destination?
Regards
Ganges LeavesGanges,
During any polling interval, XI will pick all files matching your Criteria and process them parallely.
Even if the big file is being processed, the next file will be picked up by the adapter if it is available during the next polling interval.
All interfaces are executed independent of the other.
All this is if u choose the mode as <b>Best Effort</b>.
Regards,
bhavesh -
RecordSet Structure Sequence Variable in JMS like in File Adapter
Hi all,
We are having some problems trying to find how to implement the functionality of the variable recordset structure in a JMS adapter.
We do have a structure with this form:
HR - data
AR - data
AR - data
HR - data
The two first chars are the keyfield, and our comm channel is just ignoring the second occurence of the Header (HR).
In a File adapter, we would use the Recordset Sequence = Variable parameter but, is there anything similar for the JMS adapter?
Thanks in advance, Iñaki.Hi Kamesh,
I believe it's a namespace issue, pls check namespace of your consumed message and one used in your transformation..should match.
Test your xslt separately (by including correct namespaces,especially in tag <element1> ... source in ur xslt)
Thanks,
Faiz -
Escape sequence on sender file adapter
Hello XI experts,
My scenario is,
Customer System => <CSV File> => File Adapter => Integration Engine
I'm thinking of using Sender File Adapter with File Content Conversion
and setting "," as FieldSeparator.
If there is "," in a text field and I don't want the Adapter to recognize it
as separator, how can I difine escape sequence?
For example,
#default#
aaa,bbb,ccc,SAP,Oracle....
->
aaa
bbb
ccc
SAP
Oracle
#My requirement - define & as escape sequence#
aaa,bbb,ccc,SAP&,Oracle....
->
aaa
bbb
ccc
SAP,Oracle
Any infomaton is appreciated.
Regards,
TomoatsuHi,
You can use the following parmeter: NameA.enclosureSign
Check here for the same:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Regards
Vijaya -
EOIO service on Receiver FTP/File Adapter
Hi,
I have a scenario where I would like the sender adapter to be quality of service, EO (Exactly Once), and the receiver ftp/file adapter to be of quality of service, EOIO (Exactly Once in Order). Is there a way to change the quality of service on the receiver adapter only so that it differs from the sender adapter?
Thanks in advance.
Best Regards,
DukeHi,
Unfortunately changing the QoS in the adapter module does not solve the issue. The message appears to be put into the queue prior to the module being called. Below is the audit log.
2007-10-26 09:58:30 Success Using connection AFW. Trying to put the message into the receive queue.
2007-10-26 09:58:30 Success Message successfully put into the queue.
2007-10-26 09:58:30 Success The message was successfully retrieved from the receive queue.
2007-10-26 09:58:30 Success The message status set to DLNG.
2007-10-26 09:58:30 Success Delivering to channel: XXXXXXX
2007-10-26 09:58:30 Success ChangeQoS: Module called
2007-10-26 09:58:30 Success File adapter receiver: processing started; QoS required: ExactlyOnceInOrder
As you can see the QoS has been changed to EOIO from the adapter module, but the message is still in Qos EO.
Am I missing something or is there another way this can be achieved? Can we do this in the mapping somehow before it ever gets to the AFW?
Thanks in advance.
Best Regards,
Duke -
Polling by file adapter (sender) with FIFO functionality
Hi,
here are one question:
What happen if, for example, the sender system generates multiple files with the same timestamp (HH:MM:SS), or the file adapter on XI is stopped for a moment, and then, when activated, in the source directory (polling directory) there are many files? How can XI handle the correct sequence of messages? Is this impossible. How XI poll on a file (sender) - what is the logic? The files should be polled by FIFO.
Thanks in advance.
Regards
FrankHi,
There is a logic called EOIO. Its exactly once in Order (EOIO). It takes care of all these iisues. Also XI gurantees the delivery of files.
Refer these links
http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
Regards
Aashish Sinha
PS ; reward points if helpful -
Need help in file adapter configuration
Hi,
i am working on sps13 . while i am configuring the file adapter for sender communication channel i got a compulsary field "Queue Name" in processing
parameters . what should i make entry in that field ? plz....do reply.
Thanks in advance.Hi Lakhman ,
The parameter QualityOfService specifies how the Integration Engine should process a message. The following values are permitted:
1)BE(Best Effort: synchronous processing). If QualityOfService is BE, the client is sent the final status for the processing.
2)EO(Exactly Once: asynchronous processing with guaranteed execution exactly once). If QualityOfService is EO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
3)EOIO(Exactly Once in Order: asynchronous processing using queues, that is, guaranteed execution exactly once and maintaining the sequence of successive messages). If QualityOfService is EOIO,processing occurs asynchronously and the client only recieves a confirmation of reciept with HTTP status '200'.
Since u had choosen EOIO ,You must also define a queue name for EOIO:
XI.QueueId=<QueueName>
This queue name is used in the Integration Engine to process messages in the same sequence that they arrived in.
This QueueName can consist of a maximum of 16 characters. If the first 8 characters contain 'SAP_ALE_', these r removed since this value is reserved by SAP and used internally.
If a value is not specified for QualityOfService , the default value 'BE' is used.
These r following websites which u wil find helpful:
http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/8f/d906d01f77fa40a4c84683c3f8326f/content.htm
http://documentation.softwareag.com/crossvision/xie311/admin/config.htm
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a8424011-0d01-0010-e19d-e5bd8ca52244
Reward Points if u find it useful.
cheers!
gyanaraj
[email protected] -
How to process files one by one using sender file adapter
Hi,
I have to process file one by one using my file adapter (sender), because while doing the G/R materials get locked, if the same materal exist in other files.
I have maintained QOS as "Exactly Once in Order" & processing Sequence as "by date".
Processing sequence come in which tab? What will be the Queue name?
Thanks,
krishnaIt will come under Processing tab
Here you need to select the first parameter QOS as EOIO
Then QUEUE name and processing sequence will be enabled.
NOTE: This will work only for NFS protocol not for FTP.
Maybe you are looking for
-
NoClassDefFoundError: for WDPortalServiceType class
Hi All, i want to get visible no of iViews in a page. Here is my code: [code] IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE); //String array receives iView names String[] iViews = pageService.
-
I can't find a single photo from iPhoto?
Firstly I am not technically minded at all. But I do back up my Mac from time to time for the obvious reasons.... But when i entre time machine I cannot browse my photos from my iPhoto libary and therefore cannot restore single lost photos? What am I
-
How do i reset/restore computer to factory settings???
how do i reset/restore computer to factory settings???
-
Java Program.. HELP (switch statement)
I need help on fixing this program for school.ive looked at information online but i still do not see what i am doing wrong. The College Rewards Program is based on a student�s achievements on the ACT Test. Students that have excelled on the test are
-
HT1449 Moving Itunes folder to External database
So I followed the instructions on moving my itunes folder, word for word from this page: http://support.apple.com/kb/HT1449. However, itunes wouldn't open at the end. I moved back the itunes folders from trash and it still won't recognize the folder