Process sequence  in File - XI/BPM - File  scenario

how does QOS works within BPM,  Since some processes may take time to process for whatever reasons ( due to some delays ).
I'm planning to develop a scenario like this.
I have 7 files which have same Batch number as part of File name which Iam planning to use as Correlation in BPM.
File 1 starts BPM.
Within BPM, all other 6 files will be received and sent out.
Then File 1 should be sent
Then I need to make SOAP call to trigger event on the 3rd party application.
My question is
If I use EOIO as QOS on the Sender file adapters, how does the process works in the following situations.
File 1 - Batch 1 arrives - BPM process 1 starts
File2 - batch 1 arrives - BPM process receivs and sends message
BPM here still waiting to receive files
File 1 - batch 2 arrives - BPM Process 2 starts
All other files . Since all files arrived, all files will be be received and sent out in BPM.
Now question is
BPM Process 1 is still waiting for other files to arrive and BPM process 2 is completed ( Are files will be waiting in Queue here ???)
Does writing of the files on the receiver side will be postponed until queue receives the files from BPM process 1 since I sued QOS as EOIO for all files ?
Would someone please clarify this please.

Hi,
In this blog, I have used Business <b>Service</b> created in the integration directory.. This is an abstract . So I need to specify , the Sender and Receiver Interfaces explicitly in the business service. and it doesnot have any entry in the SLD.
But if you create the Business System in the SLD and if you import that into the Integration Directory-->Assign this into your configurations scenario, then this step is not required.
Regd. Importing Integration Process- BPM is kind of Abstract Service.. i.e BPM is acting as a Receiver Service and Sender service both..
i,e Source to BPM ( here BPM is a Receiver)
    BPM to Target( here BPM is a Sender Service)
Hope this clarifies..
Regards,
Moorthy

Similar Messages

  • HOw to set processing sequence of file in File adaptor?

    Hi @ ,
    I am using file adaptor where i need to ensure the files are processed in a particular sequence like a,b,c,d and if c is received before a and b it should not be processed unless a and b are processed
    Please help how to do this .
    Regards,

    Hi,
    you just need to set:
    Processing Sequence (for transport protocol File System (NFS))
    (it only works with NFS)
    and set it: By Date
    reference:
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    is that what you're looking for?
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

  • FTP Sender Adapter - Processing Sequence

    Does anybody know what the processing sequence of files is when I using a ftp sender adapter? I can only determine this if I use a file sender adapter (NFS).

    Hi,
    in  sender file ( FTP ) adapter:
    when qos  :eoio
    the sequence the msg processess will be in ascending alphabetical order.
    ex: if i have 10 files in a folder
    as per the my requirement all the 10 files are picked up at the same time, then
    the files will be arranged in queue specified in ascending alphabetical order and processed in the same order.
    but, when i use QOS: EO
    the same thing is going to happen right!!
    picks all the files , processess in ascending alphabetical order to xi..
    then what is the use of queue here in eoio???
    on the other hand,
    in  sender file ( NFS ) adapter:
    file will be processed based on the processing sequence( either by date or time ).
    so both EO and EOIO use the processing sequence... then wat is the work of queue here in EOIO MODE.. any way they are processed according to the proccessing sequence parameter.. ???
    Please reply..

  • Processing Sequence issue of FTP protocol

    Hi,we are using the standard SAP MDM data syndication mode which using SAP XI to publish the data to client system.In this sceanrio,we think the data files generated by MDM Syndication Server should be processed according to their time stamp in the file system, starting with the oldest file.I saw the Processing Sequence parameters of transport protocol File System (NFS) in XI file adapter,but not in the FTP protocol.It seems if we want to sure the processing sequence by date,we have to use NFS.
           In the Notes 821267,it mentioned "The File Adapter allows you to configure the Processing Sequence of files for the Transport Protocol "File System (NFS)", which also determines the order for EOIO processing. Files can either be processed in ascending alphabetical order (Processing Sequence "By Name") or by their last modification time stamp (Processing Sequence "By Date"), where the oldest file is processed first. For the Transport Protocol "File Transfer Protocol (FTP)" files are always processed in ascending alphabetical order." 
           My question is if the file name is consisted of the timestamp,such as "data20081116122345.xml"  "data20081117122040.xml",will the files be processed by the "timestamp" name ascending in the Transport Protocol FTP? For example "data20081116122345.xml" first, "data20081117122040.xml" second.Thanks.

    Yes, if the file consist of timestamp then with alphabetical order, it will execute in the sequence you described.
    Thanks

  • File to Web service (SOAP) to File scenario with out BPM in PI 7.1

    Hi All,
    I have scenario File to Web service (SOAP) to File scenario with out BPM.i am getting the below error:
    1) Error MP: unexpected exception caught com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2) Error ROB: error during processing: com.sap.aii.af.lib.mp.processor.ModuleProcessorException: Processing Error
    PI server is 7.1 with SP:8
    I have configured the scenario like this
    1) 2 File channels - Sender & Receiver ,1 RFC channel - Receiver. We need to note that, the additional Module parameters need to be added only for sender File channel
    2) Created Sender Agreement
    3)Created Receiver Determination
    4)Created Interface Determination
    5)Created Receiver Agreement
    Regards,
    Ramesh

    Hi,
    Thanks for your reply!!
    My Scenario is File to SOAP to File.
    Configred modules  in Sender channal below:
    Prcessing sequence:
    Number       Module Name                                        Module Key
    1..........       AF_Modules/RequestResponseBean.......1
    2..........       CallSapAdapter..........................................2
    3..........       AF_Modules/ResponseOnewayBean.......3
    Module Configuration:
    Module Key                                       Parameter Name                                       ParameterValue
    1                                                        passThrough                                            true
    3                                                        receiverChannel                                       receiverChannel name
    3                                                        receiverService                                        receiverService name
    please tell any more confiration requered.
    Regards,
    Ramesh

  • BPM not starting in a File - RFC- File scenario

    Hi,
    For testing purpose with BPM, I have the following scenario:
    File (FTP server) -> RFC (BAPI_COMPANY_GETDETAIL) -> File (FTP Server)
    Under SXMB_MONI, I can see my message beeing procces with the black/white flag. opening it, I have, on the left top, the two lines:
    CENTRAL Client 001 (my XI client) XXXXXXMEssage number
    PE_ADAPTER Cleint 001 XXXXXXMEssage number
    No error messages, the only stuff I noticed is the following in the trace, but I don't know how to deal with:
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV">
      <Trace level="3" type="T">Processing mode is</Trace>
      <Trace level="3" type="T">created BPE proxy for message 27A64735F7914F440E54E0701C944C36</Trace>
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface FileRequest_OUT_MI</Trace>
      <Trace level="1" type="T">select interface namespace http://polyright.com/xi/HR</Trace>
      <Trace level="1" type="T">--start receiver interface action determination</Trace>
      <Trace level="1" type="T">Loop 0000000001</Trace>
      <Trace level="1" type="T">select interface FileRequest_AI</Trace>
      <Trace level="1" type="T">select interface namespace http://polyright.com/xi/HR</Trace>
      <Trace level="1" type="T">--no sender or receiver interface definition found</Trace>
      <Trace level="1" type="T">Hence set action to DEL</Trace>
      <Trace level="3" type="T">inserted message into pipeline PE_ADAPTER</Trace>
      <Trace level="1" type="Timestamp">2008-09-15T08:18:06Z CET qRFC raised on XBQO$PE_WS90000003</Trace>
      </Trace>
    Does anyone has any suggestion ?
    In SXMB_MONI_BPE, I don't see anything. Seems like the BPM process never started.

    Check these threads :
    RFC Scenario using BPM --Starter Kit
    1. Use Sender File adapter with QOS as EOIO.
    2. Use a BPM with a 1:N mapping and a Block with For Each as the mode. Wrap this with an excpetion handler block to send the alert.
    Look into this blog for exception handling and reconilation,
    Reconciliation of Messages in BPM

  • Soap to File Scenario with BPM

    Hi Guys
    I have create my Soap to File Scenario using BPM to split the file on "Transformation step" into 7 files and it must save these files to my FTP Server, when testing on sxmb_moni I don't get any errors but when checking on the FTP server no files are created, and I understand that it should be showing all seven processing on the sxmb_moni, but that is not happening.
    I have used the ForEach mode on my Block.
    What could I be doing wrong.
    Thanks!!
    Yonela

    go to runtime work bench to see communication channel, especailly the receiver channel.
    To see what happened on it

  • File to file scenario using BPM

    Hi,
    Did you check in RWB--Communication channel monitoring or SXMB_MONI for the reason?
    Thanks!

    Hi,
    The problem is when i insert the xml file in the sender directory I don receive the output file.
    1) while checking the CC please check whether your file is being picked-up from the sender directory.
    2) Is your file format the one that you have given in the sender CC? (XYZ.xml, XYZ.txt....)
    3) See if the return code of your BPM is 0.....login to SAP GUI --> go to transaction SXI_CACHE -->select Integration Process and see for your BPM....if it is not 0 then use the Repeat Activation option (available above the BPM list).
    I also want to kno why do we need to use BPM?
    If you are talking about the use of BPM in this aprticular blog, then please note that this scenario can be done without a BPM also....BPM is used just to show the basic functinality.....
    How to decide whether your scenario requires a BPM depends on the requirements...refer this checklist for more info:
    http://help.sap.com/saphelp_nw70/helpdata/EN/1c/287842f9e03654e10000000a155106/frameset.htm
    Regards,
    Abhishek.

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • HTTP-RFC(BPM)-FILE Scenario

    I have a problem on using the 'http-RFC(BPM)-File scenario'. When i enter values using the  Client http adapter, it displays message telling that "BPE_ADDAPTER.SYNCHONOUS_MESSAGE"
    The error msg is displayed below:
    Result:  
    <SAP:Error>
    <SAP:Category>XIAdapter</SAP:Category>
    <SAP:Code>BPE_ADAPTER.SYNCHONOUS_MESSAGE</SAP:Code>
    <SAP:Stack>The process does not support the given synchronous interface or does not support synchronous messages</SAP:Stack>
    </SAP:Error>
    Also in SAP XI monitor, the sender services along with the corresponding sender interfaces.
    Expecting this prob will be off soon.
    thanks
    vinod v

    Hi Vinod,
    your process is asynchronous (no sync async bridge). But you send "Quality of Service = Best Effort" (Url paramater qos=BE). You should send "Exactly Once" (EO).
    Regards,
    Udo

  • BPM error (Rfc to file scenario)

    Dear Experts,
    I'm doing a RFC-FILE scenario with BPM. I have followed the blog RFC Scenario using BPM --Starter Kit by Arpit Seth.
    The file is getting picked up. But in SXMB_MONI i get the following error:
    <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="BPE_ADAPTER">SYSTEM_FAILURE_INTERNAL</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>An internal error has occurred</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
    In SXMB_MONI_BPE, there are no workflows for the integration process.
    What could be wrong?
    Please help.
    Thanks,
    Merrilly

    Hi,
    Thsi is the error i'm getting now in the synchronous send step:
    <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MM_FileRequest_to_RFCRequest_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException</SAP:P2>
      <SAP:P3>RuntimeException in Message-Mapping transformatio~</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>com.sap.aii.utilxi.misc.api.BaseRuntimeException thrown during application mapping com/sap/xi/tf/_MM_FileRequest_to_RFCRequest_: RuntimeException in Message-Mapping transformatio~</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    Is it because that the BAPI is not processing anything?
    Thanks,
    Merrilly

  • Issue in File to RFC to File Scenario with BPM using Block Step

    Hi Everybody,
                           I am doing File to RFC to File Scenario for multiple records using BPM using Block Step. The File Message is getting posted and after that, the message is getting stuck up in the qRFC Monitor (Inbound Queue).
                        After seeing the message in Inbound Queue, I am trying to execute and release the message. But when i execute the LUW, it says " Function module doesnt exist or EXCEPTION raised" in Inbound queue.
    Could somebody suggest me the outcome of this? What does this mean and how to
    release the stuck up message in Queue.
    Thanks and Regards,
    N.Jayanth Kumar

    Hi Rajesh,
                           After going through the blog, i saw the trace messages. It says      
    " The   exception occurred (program: CL_SWF_XI_INBOUND=============CP, include CL_SWF_XI_INBOUND=============CM00F, line: 19)"
    Regards,
    N.Jayanth Kumar

  • 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 Leaves

    Ganges,
    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

  • Port sequence and file processing in SAP MDM

    Hi All,
    Can any one let me know how port sequence mechanism works in MDM 7.1? As per my understanding in SAP MDM no one files from different ports are processed simultaniously...Suppose if you have three different ports A,B,C and the scenairo is as below:
    SAP PI sends 2 files to A port and then sends 2 more files to B port and then sends 1 file to C port....All these files are not send simultaniously.
    Thanks
    Rajeev

    http://help.sap.com/saphelp_mdm550/helpdata/en/43/120367f94c3e92e10000000a1553f6/frameset.htm
    Once started, MDIS scans inbound ports in the order set by the Sequence column in the Ports pane of the MDM Console. When it finds a port containing an import file, it uses the portu2019s associated import map to process the file.
    The sequence in which MDIS processes ports is not affected by a portu2019s remote system.
    MDIS processes all files in a portu2019s Ready folder before scanning the next port in the sequence.
    When more than one import file is present in the folder, MDIS processes the files in a FIFO (first in, first out) order, meaning the oldest file in the port is processed first, then the next oldest, and so on.
    Under certain circumstances, MDIS will skip over a port and not process any import files it may contain. These circumstances include the following:
    ·        Port is set up for manual processing instead of automatic.
    ·        Port is blocked due to a structural exception.
    ·        Port is connected to an Import Manager or other MDIS.
    Once all ports on the MDM Server have been scanned, MDIS waits the number of seconds specified in the Interval property of the mdis.ini file before restarting the sequence (for more information, see MDIS Configuration).
    Thanks,
    Shambhu.

  • Could any one provide me with the links of file to file scenario using BPM

    Could any one provide me with the links of file to file scenario using BPM

    Hi,
    omit RFC part
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Regards,
    michal
    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Maybe you are looking for

  • Doubt about a question

    Hi, Recently, Oracle University posted on his Facebook's wall a question: You created a new user on the database by executing the following command: SQL> CREATE USER user01 IDENTIFIED BY user01 DEFAULT TABLESPACE users TEMPORARY TABLESPACE temp; Then

  • Order raised in the sales depot

    If a sales depot is raising a sales order and the material is not available in the sales depot, how does the stock transport order is created on reference to the requirements generated by the order raised in the  sales depot PL assist?

  • Motion 4, pixelated fonts

    Hi everyone. I'm using motion 4 to design a template. I placed a evolution floral design in the scene and when I export it in pro res 444, the edges are not as sharp as they were in the project. What causes this and how do I correct it? thanks.

  • "Safari quit unexpectedly" upon launch after 10.8.4 update

    Please help:  Just updated to Mountain Lion 10.8.4 today which includes Safari 6.0.5.  Attempting to launch Safari gives a "Safari quit unexpectedly" error box every time (one dock bounce then the error). I've tried removing all extensions, restartin

  • Out-of-office Email msg still running after upgrading to Server 10.8

    After upgrading from 10.6 > 10.7 >10.85 on the same day, the out-of-office email notification of one user is still on. This is currious as I understand that 10.8.5 no longer support the out-of-office notification through the GUI. Am I wrong? Does any