Combined FIles in PI using BPM without correlation

Hi All
I have a requirement, I have two files coming from the source system one file with Header Detials & other file with Item Detials and I have to combine these two files into a single file.
I have used the BPM in PI to combine the two files uisng correlation.
This scenario is working fine if both the files are having equal number of records wiht the same correlation ID.
Based on the correlation ID files will be combined in PI and send to the target system.
Now in case I am receiving the files in which corelation is not matching for few records then in that case process in waiting in BPM and get cancelled after some time & files will not be processed.
Do we have any option in BPM which will just cominge two files without correlation & passed through BPM & files got processed?
Thanks for your help in advance.
Thanks
Ajay

Hello Ajay,
I do agree with Anudeep that corelation is necessary to in order to merge the two messages.
I am sure you will find a correct corelation factor in order to merge the messages.
If there is no corelation, you can ask the functional consulatant to add certain veriables in the incoming messages that will corelate the messages.
Tx
Saurabh

Similar Messages

  • Upload file in KM using webdynpro without portal.

    Hi Experts,
    Can we upload files in KM using webdynpro without portal ? If  it is possible then please give the whole step by step process? Please reply....its urgent...
    I am very new in webDynpro...
    Thanks
    Regards
    Nutan Champia

    Hi
    Go through this
    <a href="/people/rohit.radhakrishnan/blog/2005/05/27/uploading-files-to-km-repository-using-webdynpro-apis
    also you can see this
    <a href="/thread/452368 [original link is broken]
    Regards
    Abhijith YS

  • File to Webservice Using BPM

    Dear Friends,
    Kindly give me some walkthrough doucment for File to Webservice Using BPM
    it is urgent. Kindly help.

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    refer that to design your interface. Note that instead of RFC you will require to use a WSDL for the WS call.
    Fotr more about WSDL and its usage in a scenario ref:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

  • File to Database Using BPM

    Hi All,
    I am trying to do one of the End-To-End scenarios which are described in the following document published by Mukeshlal Parida https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    I followed the steps described for the File to Database Using BPM. 
    I created a software component File Workshop and DB Workshop and created the respective products.  I created the appropriate namespaces under the specified products.  However, when I go to create the container elements in the Integration Process, I am only able to view and add the Abstract interfaces created in the specific software component where I am creating the integration process. 
    The instructions are not clear.  I am on XI 3.0 (SP16).  Any help would be appreciated.
    Thanks
    Sandeep

    Hi,
      U can use the abstract interfaces in BPM.
      U have to define all the Interfaces as Abstract and use in BPM transformations. The Container elements are specific to the Software component.
    From...
    Yallabandi.

  • How to merge/append two files in sequence using BPM

    Hi All,
    My senario is to append two files data into a  new file on target system, only if the two files are available on source system. In case one file on the source system, no need to process file. Data in the new file should be in sequence means 1st file data then 2nd file data.
    Please suggest me how can i achieve this functionality using BPM.
    Thanks & Regards
    Sreeni

    For the first part (two files required) design as per Prateek's suggestion
    Data in the new file should be in sequence means 1st file data then 2nd file data.
    create a data structure which will be a combined structure of File1 and File2....target structure should have first reference for File1 and then for FIle2....than having two MTs (File1 and File2) at the source and the target MT at the receiver create your mapping......this will ensure that File1 data occures first and then File2 data.
    Regards,
    Abhishek.

  • Uploading a file to server using servlet (Without using Jakarta Commons)

    Hi,
    I was trying to upload a file to server using servlet, but i need to do that without the help of anyother API packages like Jakarta Commons Upload. If any class for retrieval is necessary, how can i write my own code to upload from client machine?.
    From
    Velu

    <p>Why put such a restriction on the solution? Whats wrong about using that library?
    The uploading bit is easy - you put a <input type="file"> component on the form, and set it to be method="post" and enctype="multipart/form-data"
    Reading the input stream at the other end - thats harder - which is why they wrote a library for it. </p>
    why i gave the restriction is that, i have a question that <code>'can't we implement the same upload'</code>
    I was with the view that the same can be implemented by our own code right?

  • File to Idocs using BPM

    Hi,
    Current Interface Flow - File (xml) to Idoc (single Idoc type)
    Thirdparty sends a File for Goods Receipt. This file may have multiple orders.
    Orders are sorted in an xslt by ORDNUM. Each record has a delivery type (Deliver Type PO or Delivery Type STO). For each order Graphical Message mapping occurs.
    In case of PO, inbound delivery number and item number have to be received from ECC via an RFC call and passed to VBELN and POSNR. While in case of STO, source field ORDNUM and ORDITEM are passed to VBELN and POSNR. (RFC call happens only for POs, not for STOs)
    In case of STO, TCode  will be MB0A.and IDoc would be WMMBXY (As is the case right now)
    In case of PO, there may be two cases -
         a) There is at least one response from ECC for all the line items inside an order --> in this case TCode will be MB0A and IDoc is  WMMBXY .
         b) If there is no inbound delivery number for any line item from ECC inside an order --> TCode MB01 will be used and IDoc used is WMMBXY
    So for all the above cases Target IDoc is WMMBXY.
    Changes to be done - Now  File (xml) to Idoc (Two different Idoc types, WMMBXY and DELIVERY03)
    Now there is an additional requirement that I will be using an additional IDoc (DELIVERY03) in above case a).
    I want to use BPM in this case
    1) RFC call in message mapping to get the inbound delivery number (for POs only) (Should be before the message enters BPM)
    2) Separating the messages based on IDoc type
    3) Interface / Message mapping for each IDoc type
    4)Send the message to ECC
    Please suggest how to proceed with BPM
    Thanks,
    Varun
    Edited by: Varun Reddy on Feb 4, 2011 4:47 PM

    Hi Varun,
    Follow this thread... You have answer for this.
    This link gives design ideas for your requirement
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Follow Bhavesh discussion. It might be helpful too
    Message Split: File to Multiple IDOC Types

  • File to RFC using BPM

    hey guys
    i m doin a synchronous File to RFC scenario using BPM and getting a 'NO receiver found error' in MONI,i checked my File as well as RFC adapter in RWB,the sender File adapter is green,RFC adpater is also green and the receiver file adapter is green but says 'no message processing until now'
    i m takin help from the followin blog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    the error in MONI is
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Grouping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I checked SM58 as well but it does not have any error XML messages.
    and idea where shuld i check?
    i check my mappin by using payload from MONI,mapping is working fine
    thanx
    ahmad
    Message was edited by:
            Ahmad ansari

    Hi Ahmad,
    In which step is the error occurring?
    Have you checked your BMP status using SXMB_MONI_BPE?
    PS: Usefull link: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c">How To Monitor Integration Process (ccBPM)</a>
    Regards,
    Sergio

  • FILE TO IDOC USING BPM

    Hi,
             I am the fresher and new to XI. I want to know the step-by-step procedure for file to idoc scenario using bpm.I require it urgently.
    Please help me out.
    Thanks and have a nice day.

    Sangeet - Check this blog :
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to multiple IDocs using IP in ccBPM</a>
    Hope this helps.
    Cheers!
    Shireesh M

  • Multiple files to single using bpm

    Hi,
    Scenarion : 6 files to 1 file using BPM
    ( 6 files are generated from the tool in a folder )
    Files
    abc1xyz_20101210.txt
    abc2xyz_20101210.txt
    abc3xyz_20101210.txt
    abc4xyz_20101210.txt
    abc5xyz_20101210.txt
    abc6xyz_20101210.txt
    Conditions
    1) Sender File Adapter needs to pick the files when all the files are generated .
    2) Should not pick the duplicate files
    (eg : abc1xyz_20101210.txt
             abc2xyz_20101210.txt
             abc1xyz_20101211.txt
    abc1xyz was repeated 2 times , ignore the file before file is picked.
    ponints will be awarded
    Thanks

    Hi,
    I prefer these kind of check can be easily done by the sender system or tool while generating those files itself..
    that is during the generation of file if the file already exists then overwrite the content or delete the existing file and create new file...
    other option can be..using OS scripts to validate the file name till 4 characters..read the file name and take first four chars and compare it with the all other files...
    I cannot provide the exact code but check with some scripting guys..I think the above logic can be achievable..
    HTH
    Rajesh

  • Multimapping(File to RFC) using BPM...issue!!!

    Hi
    Am working on following scenario:
    #Two request files merged to map to RFC request ( 2:1mapping )
    RFC response is split into two response messages( 1:2 ).
    I have done the whole thing in BPM that looks somewhat like this :
    Fork(Rec1 , Rec2)-> Transformation1(2:1 map) -> Send(Synchronous BAPI call) -> transformation(1:2 map) -> send(Response 1) -> send(Response 2)
    1st part i.e File Merge(2:1) works fine and the request is formed as desired. Next step when synchronous call is made to the RFC the response recieved is where i am facing issues. I dont get the expected response and eventually the following steps fail.
    When tested the same RFC(BAPI_SALESORDER_SIMULATE ) in tx SE37 with same data it works fine.
    But when same data is sent from XI it returns a error message in place of the response.
    Error Message states "Please enter SoldToParty or ShipToParty Number" .
    Irony is sold-to-party is sent in the request message and can be seen in payload in monitoring.
    Any kinda help is appreciated !!!

    > 1. Make sure that bapi commits...there will be a check box option in RFC receiver CC side for this.
    >2. Make sure that Sold to party/bill to party field is of 10 char before passing it to SAP.
    @ Santosh :
    I checked the tab in CC but still the same issue...Do we need to add something to the Name/Value section below that?
    And yeah I am sending 10 digits only..
    BTW do we need something additional when we call a BAPI from XI apart from the data we normally use in  tx SE37.
    Can my Configuration be a problem?
    For this synchronous call in BPM I have created :
    a) 2 interface determinations...One from BPM to ECC and another from ECC to BPM. But both are without any operation mapping as the message types are same & both are synchronous...
    b) 1 receiver determination i.e : from BPM to ECC.
    c) 1 receiver agreement.

  • Combining files in php using the api

    I am trying to automate the process of cobining multiple tiffs into pdfs using the iac api.
    I keep getting a call to member function on a non-object error if any of you could see why this error is happening or sugest a better way to solve the problem I would greatly appreciate it
    $AdobeApp = new COM("AcroExch.App");
    $AVDocument = new COM("AcroExch.AVDoc");
    $PDDocument = new COM("AcroExch.PDDoc");
    $file = 'c:/test.pdf';
    $create = $PDDocument->Create();
    echo $create . chr(10) . chr(13);
    $combo = 'c:/0013947320101071-705666408_4-97.tif';
    $insert = $PDDocument->InsertPages(0,$combo);
    echo $insert . chr(10) . chr(13);
    $npages = $PDDocument->GetNumPages();
    $combo = 'c:/0013947320101071-705666408_1-94.tif';
    $PDDocument->InsertPages($npages -1,$combo);

    I guess I missed that part of the documentation. I've gone through the documentation a good deal of times and can't find anything other than that that would be useful.  Do you have any suggestions? Have I missed something?  Is it possible to combine tiffs into a pdf using the api?

  • FTP TO RFC using BPM

    hello
    I am creating a scenario of
      File to RFC, Using BPM where in again input from File and updating using RFC in multiple steps...( Not creating a scenario of FTP to RFC to FTP )
    do i have any web-blog or step wise guide for above scenario
    Regards,
    Keith

    Hello Keith,
    The file to RFC scenario can be implemented in the following steps,
    1. In the design, create the requsite DataType, MessageType and MessageInterfaces. One message interface will be outbound asynch and the other will be inbound async.
    2. Do the message mapping and also the interface mapping as required.
    In the configuration, the following has to be done,
    1. Create 2 communication channels. One for file as sender and the other for RFC  as the receiver.
    2. Create 1 sender agreement and 1 receiver agreement. In the sender agreement give your FILE communication channel and in the receiver agreement give your RFC communication channel.
    3. Then, do the receiver determination, interface determination.
    4. In each of this, the sender service is the business system  you have created and the receiver service is the system in which your RFC resides.
    Regards,
    Bhavesh

  • How to use BPM?

    Hello,
    1.Could some one provide me the Step by Step procedure for using BPM.
    2.whati si the use of BPM
    Regards,
    Swaroop

    Hi,
    1.Could some one provide me the Step by Step procedure for using BPM.
    [Step By Step file to webService Using BPM|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10c73036-f019-2b10-20bc-f15a25be9588]
    2.whati si the use of BPM
    Use Of BPM
    BPM in SAP XI is generally used for stateful message processing. Having said that if you want two messages to be processed depending on certain criteria you will have to use BPM.
    The places where we generally use BPM is:
    1. Error handling.
    2. Handling messages from multiple senders
    3. Collecting of messages
    4. Splitting of messages
    5. Processing message based on certain criteria
    6. If the receiver structure is created based on certain criteria.
    These are just some of the examples. If you hace SAP XI installed, then you can go to SWCV SAP BASIS and you will find examples out there.
    Also, you can find examples in here
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm and
    http://help.sap.com/saphelp_nw04/helpdata/en/69/4ad13fa69a4921e10000000a1550b0/content.htm
    BPM is one way to raise your alerts in an excetion step. This does not mean BPM is mandatory for raising alerts
    Hope this gies you some clarity.
    Thanks.

  • 1:N mapping without using BPM -- IDOC to multiple files

    Hi all,
    I am facing a problem while sending multiple files,
    I need to send files ( File1, File2 or FIle3) ...
    I was able to successfully send the first 2 files and along with it the 3rd file is being created without any data... How to stop this file( either file2 or file 3 should be created) in creating..
    I have done the sceanrio like this, )ALL the source and target files are XSD's imported)
    In the Message Mapping <b>Messages Tab</b>
    <b>Source is AFS_DELVRY03   occurence is 1,
    Target files
    rootI8 occurence is 1,
    rootI9 occurence is 0...1,
    rootIB occurence is 0...1</b>
    I have done all the maping part , problem is all 3 files are being created(eventhough 2nd or 3rd has no data) , I need rootIB, either rootI9 or rootIB based on condition,
    So any one has done the similar scenario, If please suggest me how to hadnle so that only 2nd or 3rd file should be created,
    In Interface Determination i have selected the extended option also...
    Should i do any specific handling in the Configuration part or should i create more than one mapping?..
    U r suggestions are welcome and will be rewarded with points,
    Regards,
    sridhar

    Venu,
    Using a BPM, you can do the mapping / Split as needed and then send the files individually, using a Sens Step as needed. There are multiple ways in which this can be done with a BPM.
    But, for a solution without a BPM, as the requirement is such that only 2 of the 3 target messages need to be created, multimapping would not work and the need for conditional routing occurs.So, this would require additional mappings.
    The solution is either use a BPM or  do the logic using Conditional Routing. Ofcourse the second solution requires 3 mapping programs , but you are avoiding a BPM which can cause a perfromance bottle neck.
    If perfromance cannot become a bottle neck, then using BPM would make much more sense , but again it all boils down to the exact requirements and the feasibilty of the solutions!
    Regards,
    Bhavesh

Maybe you are looking for