BPM to Check Two files and Connect R3 server

Two Files are comimg to XI. Both Files having same strucure.
Sceanaro is File to Proxy
In File1 ,XiI  search for Record1->Id . if ID found ,then it will connect R3 system and check if ID is present there or not. if not it will create.
IF Id is present in R3 Server then it will wait  for File2.
at same time  Xi search for file2 and check whether this ID is there or not.
If it is not then  Xi will change details in R3 server.If yes then wont modify details of ID in R3 server.
tWhat will BPM steps Involved in this case.
Start -> Fork1(Two receiver)-> then what
plz help me to desing BPM

Sorry For Confusion
Can amy one help me to get steps For BPM.
FILe1->  Contaiss -Hedear(1)-Record(many) Footer(1)
FILe2->  Contaiss -Hedear(1)-Record(many) Footer(1)
In Record there is Material Number.
  If File1 Contains 6 Recird and File 2 Contains 4 record.
When Both file come to XI,
XI check First Record of File1 and  then check  this Material number for Record 1 agains material Numbers of   all 4 Records of file2.
If it found same Material Number,in mapping It will update one traget field.
Edited by: harshalata Gaonkar on Oct 15, 2010 10:28 AM

Similar Messages

  • BPM was Picking two files but it was not processing 2nd file data in target

    Hi all,
    I have designed scenario for picking two files and i want to merge this files into single structure and send it target.when i am try to testing my bpm was picking two files but it is processing only file it went target system.i have steructe for source like
    source1     target
    root        header
    a           item 0 to unbounded
    b            a
    c            b
                 c
    source2     item1 duplicated structure
    a            a
    b            b
    c            c
    i am getting two source files with the same structure but i have to map it one target structure and i want to map both source fileds to one target structre under item node so i was duplicated item node and mapped a b c fields from both(2 source structures).while testing BPM is picking two file bu in the target i am getting only first file data under item node,whatever i mapped with duplicate structure with second file i am not getting into target file(target is standard proxy structure so cant' create new one item node in that occurance is 0 to unbounded thats y i duplicated node while testing interface mapping its working fine).can anyone suggest solution for this problem.
    Thanks,
    Seshagiri.

    Hi,
    In BPM follow the below steps and hopefully your problem will be solved.
    1.     Configure one sender CC to get the files from your application server, once the files hit the BPM now you need to
                         configure your BPM accordingly.
    2.     Use the Receiver step in BPM to receive the messages. Use the correlation step to get the correct files.
    3.     Use container and append the files, so both the files will be append, this means the message content will
                         have 1header, body, footer, 2header, body, footer.
    4.     If you want to split the message to different receiver then use the fork step else leave it.
    5.     Use the transformation step, the transformation step will call the message mapping. Provide the correct message
                         mapping.
    6.     Now use the sender step to send the message to the receiver-target system. In this step use the split value for each
                          concept if you want to generate two different files.
    7.     Configure 1 receiver CC to generate both the files.
    Hope this helps.
    Cheers,
    Jay

  • Combine Two Files and sent to webservice

    Hi all,
    I need to read two files and combine in XI and i need to send it to webservice.
    can anyone please tell me which way is the better.
    kind regards,
    Praveen

    hi
    i am reading two different file structures and i need to map it to webservice structure.
    i did all design and config steps including BPM also. i used fork step with two receivers and transformation step and send step.
    but in the mapping iam getting only first file message only.
    This is source message
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
       <ns0:Message1>
          <ns1:Test_result_MT xmlns:ns1="http://lonmin.co.za/GetServeyData">
             <Details>
                <x>10</x>
                <y>aaa</y>
             </Details>
             <Details>
                <x>20</x>
                <y>bbb</y>
             </Details>
          </ns1:Test_result_MT>
       </ns0:Message1>
       <ns0:Message2>
          <ns1:Test_result_MT xmlns:ns1="http://lonmin.co.za/GetServeyData">
             <Details>
                <x>30</x>
                <y>ccc</y>
             </Details>
             <Details>
                <x>40</x>
                <y>ddd</y>
             </Details>
          </ns1:Test_result_MT>
       </ns0:Message2>
    </ns0:Messages>
    Target Messgae must be like this
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
    <ns0:Message1>
    <ns1:Test_final_MT xmlns:ns1="http://lonmin.co.za/GetServeyData">
         <Details>
         <x>10</x>
         <y>aaa</y>
         </Details>
         <Details>
         <x>20</x>
         <y>bbb</y>
         </Details>
         <Details>
         <x>30</x>
         <y>ccc</y>
         </Details>
         <Details>
         <x>40</x>
         <y>ddd</y>
         </Details>
    </ns1:Test_final_MT></ns0:Message1></ns0:Messages>
    i am giving source and target message can any one please tell me which elements i must map to get this target structure.
    Edited by: Kiran Kumar on Dec 19, 2007 1:21 PM

  • I recently upgraded from Leopard to Snow Leopard and I noticed that I have more capacity available on the Macintosh HD. I checked my files and applications and they are still on my computer. Can capacity on the HD change after an OS upgrade?

    I recently upgraded from Leopard to Snow Leopard on my MacBook and I noticed that I have more capacity on the Macintosh HD than before the upgrade. I checked my files and applications and they are still on my computer and nothing appears to be missing. Before the upgrade I had around 111 GB capacity with around 10.50 GB available on the Mac HD but now after the upgrade I have 119 GB capacity and 20.92 GB available. Can capacity on the HD change after an OS upgrade?

    No, but the upgrade removed unneeded PowerPC code and changed the way free space is determined.
    (72071)

  • I can't update my ipad2 to ios5. After 2 hours and what looks like download complete and the start of processing, it stops with message check network settings and connections. Any ideas?

    I can't update my ipad2 to ios5. After 2 hours of what looks like a successful download and processing is about to begin, I lose connection and get message network timed out check network settings and connection, but I am still connected via wifi. Any ideas?

    If you are using windows...
    Try temporarily disabling your firewall and antivirus software and try again...
    See here for Connection Issues
    http://support.apple.com/kb/TS1379
    From Here
    http://www.apple.com/support/itunes/troubleshooting/

  • Tcode for checking that file is on the server

    what is the tcode for checking that file is on the server.
    thanks...

    Hi
    AL11.
    CG3Y/CG3Z.
    Regards,
    Sree

  • I have to verify my iCloud email but every time I choose 'check mail' it says Connection to server failed cannot check mail. I have a iPhone 5c

    I have to verify my iCloud email but every time I choose 'check mail' it says Connection to server failed cannot check mail. I have a iPhone 5c

    Hi Calinalina,
    Thanks for visiting Apple Support Communities.
    You can use the steps in this article to troubleshoot iCloud mail on your iPhone:
    iCloud: Troubleshooting iCloud Mail
    http://support.apple.com/kb/ts4002
    All the best,
    Jeremy

  • Reading a text file and connecting two server

    Hi,
    I am newbie at java and I have two question ,
    asume you have two server and a client. every server reads its own text file and the client connect both of them and read output data, and counts number of words. you must use socket programming to communicate to servers.
    I need litle code.
    Thanks for your help

    Hi,
    While using ArrayList, use add your elements into it
    as an object subtype if you do not specify ArryList
    certain type.
    But recall that if you use certain
    type(ArrayList<String>,....), you do not add any
    other different type element.What the heck is this all about Merde?

  • Read two files and store it to Global Internal table in LSMW

    Hi
    I have a requirement in LSMW, there are two files which needs to read the data and upload into SAP based on 2nd file data with some conditions.
    Example :
    File One : Customer Details.
    File Two : Customer Master.
    when we upload the customer master data into SAP we have to cross check customer aganist file two(customer master).
    If the customer is does not exist in the file two, then only we have create the customer other wise skip the record.
    How to go about this, can we create any global internal table in LSMW and how to store the 2nd file data for cross check.
    I tryed with define two source structures, but at any point of time 1st file data is only one record is available.
    Please suggest some solutions.
    Advance Thanks
    Murali.

    Hi Jürgen L.
    If customer is exist in the both files, then we need to extend him to other company codes.
    Some reasons the data is not available in SAP, for writing select query. apart from this we have to do some validation based on 2nd file data.
    Is there any possibility for global internal tables
    Thanks
    Murali

  • Check two columns and update other table

    HI ,
    I have a table called trackCenterline .Below is the table.
    What i want to do is If the segmentSequenceID is 1 it should pick the corresponding SegmentID i.e 10001 and Check for the same segment id in other table called TrackSegment which is below.  and pick the BeginMilepost of that segmentID and Update That
    Milepost in a new table .At end SegmentSequenceID number it should pick ENDMilepost and update
    TrackCenterline table.
    TrackSegment table
    In the below table for 10001 SegmentID it should pick BeginMilepost. For end Number of SegmentSequenceID in above table ID ends at 121 for that end sequenceID It should refer TrackSegment table below and pick EndMilepost and should be updated in another
    table Milepost column.
    after that a new segment starts with new sequence .and so on ...
    bhavana

    Hi Deepa_Deepu,
    According to your description, since the issue regards T-SQL. I will help you move the question in the T-SQL forums at
    http://social.technet.microsoft.com/Forums/en-US/home?forum=transactsql. It is appropriate and more experts will assist you.
    When you want to check two columns from two tables then return some results and update the third table. I recommend you use join function and combine two tables, then use update select from statement for modifying the Mailpost table. You can refer to the
    following T-SQL Statement.
    -----using join to connect to two tables
    select TrackCenterline.FeatureId,TrackCenterline.SegmentId,
    TrackCenterline.SegmentSequenceId,TrackSegment.BeginMilepost,TrackSegment.EndMilepost
    from dbo.TrackCenterline join dbo.TrackSegment
    on TrackCenterline.SegmentId=TrackSegment.SegmentId
    order by TrackCenterline.SegmentId, TrackCenterline.SegmentSequenceId
    ---the result shows as following.
    FeatureId SegmentId SegmentSequenceId BeginMilepost EndMilepost
    AMK100011 10001 1 61.0000 61.3740
    AMK100012 10001 2 61.0000 61.3740
    AMK100013 10001 3 61.0000 61.3740
    AMK1000121 10001 121 61.0000 61.3740
    AMK100021 10002 1 61.1260 61.7240
    AMK100023 10002 3 61.1260 61.7240
    AMK100033 10003 3 61.3740 62.9530
    -----Then you can use update select from statement to modify the Mailpost table, Or you can post the table structure of Mailpost
    And for more information, you can review the following article about update statement.
    http://www.techonthenet.com/sql/update.php
    Regards,
    Sofiya Li
    Sofiya Li
    TechNet Community Support

  • How to Read from two file and write to another file --Please help !!

    Hi all,
    Please suggest me where i'm goin goin wrng.
    I have 2 flat files. one of them is the main file(Ann.dat) has a about 150,000 lines (each line has unique ID from 00001 to 45000) of data and the the other(Miss.dat) has a just a list of IDs that are no longer in use & have to be deleted from the first file(NewAnn.dat). (Note that Ann.dat is a tab delimitted file and Miss.dat is just a list of all invalid IDs)
    Below is my code. It doesn't do what I'm supposed to. Please suggest me or help me with a code to do it. What I'm trying to do is read each of the lines from the 2 files compare the ID in ann.dat with all the IDs in Miss.dat & if it doesn't match with the ID in Miss.dat write the whole line to NewAnn.dat. And do the rest with all the lines in Ann.dat.
    It could be a real dumb question. since i'm not a software professional, I consider myself to be newbie to programming. I desperately need your help.
    import java.io.*;
    import java.util.*;
    public class anntemp{
         public static void main(String[] args)
              String keyAnn ="";
              String keyMis="";
              String recAnn =null;
              String recMis =null;
              try{               
              FileReader fr=new FileReader("C:\\Tom\\Ann.dat");
              BufferedReader br=new BufferedReader(fr);
              int couter=0;
              while ((recAnn = br.readLine())!=null)
                   couter++;
                   keyAnn = recAnn.substring(0, recAnn.indexOf("\t"));
              FileReader fr1=new FileReader("C:\\Tom\\Miss.dat");
              BufferedReader br1=new BufferedReader(fr1);
              while((recMis = br1.readLine())!=null){
              keyMis = recMis.substring(0, recMis.indexOf("\t"));
                   if(keyAnn.equals(keyMis)){
         FileWriter fw=new FileWriter("C:\\Tom\\NewAnn.dat",true);
         BufferedWriter bw=new BufferedWriter(fw);
         PrintWriter pw=new PrintWriter(bw);
         StringBuffer writeValue = new StringBuffer();
         writeValue.append(recAnn);
                                                 pw.println(writeValue.toString());
         pw.flush();
              }catch (Exception expe){
                   System.out.println("In Exception ");
                   expe.printStackTrace();
    Thank you all in advance,
    br

    I think you need to close the files when you are done in the inner loop. Plus I think you'll be overwritting the file in the inner loop if more than one match. It might be easier to read the unused id file into a map at the start, and then loop up the id's from the master file in the map. You can put the unused id's in as the keys, and a Boolean.TRUE as the value (value won't matter). Then just check if the map contains the key for the id read from the master file. That should cut down on disk activity. This assumes the unused id file is smallish.

  • What is the Unix command to concatenate two files and merget it in to one ?

    Hi Experts,
    I have three jobs and each job creates a file. I want to run one more job which clubs these three files and merges it in to one.
    I know the process of opening each file and appending it in to the target file using DATASET concept.
    Instead of that, I want any UNIX Shell command so that I can call that directly from ABAP and execute it
    Any help on this would be highly appreciated
    Thanks in advance.
    Babu Kilari

    Hello Babu,
    We can very well call an OS command from within ABAP, but in your case, I don't think that is really required. Please find below a logic that might be helpful to you.
    You have three files, whose contents needs to be merged into a single file.
    Read the contents of each file and store it into an internal table.
    DATA: command LIKE rs37a-line.
    DATA: BEGIN OF tabl OCCURS 0,
              line(2000),
          END OF tabl.
    command = 'cat /tmp/file1.txt'.
    CALL 'SYSTEM' ID 'COMMAND' FIELD command
                  ID 'TAB'     FIELD tabl-*sys*.
    Internal table 'tabl' will contain the contents of the file.
    Accumulate all the contents into a single file and upload to the application server using OPEN DATASET, TRANSFER DATASET and CLOSE DATASET.
    Let me know if you need a more detailed explanation.
    Regards
    Sabu.

  • How to check if file and printer sharing is on or off

    Hi,
    i want to evaluate if the windows file and printer-sharing is turned on or not with a script.   
    With regshot i found out that the DLL hgclp.dll is involved but not which registry-entry is the one set.

    i know it should be but on some machine it is not the case even if the domain-bind etc is fine.
    Manual workaround is to look at each one by hand and set it to enabled. Gpupdate does not change something in these cases.
    If i had a way to validate this setting via script it'd be faster.

  • Site could not be crawled and connect in server

    I have multiple web applications/sites on this server/farm. I cannot crawl one site. I got the error message in the crawl log as below after performing the Full Crawl:
    “This item could not be crawled because the repository did not respond within the specified timeout period. Try to crawl the repository at a later time, or increase the timeout value on the Proxy and Timeout page in search administration.
    You might also want to crawl this repository during off-peak usage times.”
    I have followed the suggestion on the web do the following
    (1)    
    Select the "Ignore SSL errors" on the Farm Search Administration page.
    (2)    
    No Proxy server. I did increase the Time-out to 120.
    (3)    
    Internet Options>Connections>LAN settings. Uncheck ‘Automatically detect settings’.
    (4)    
    DisableLoopbackCheck in the registry
    After the above changes, I still get the same problem.
     Although the service account has full access to anything, I cannot connect this web site via IE from the server (while I can connect to other sites). The only different is SSL is applied to this site. I will appreciate if someone can help
    me out.

    Hi,
    According to your post, my understanding is that you get an error message in the crawl log  after performing the Full Crawl.
    I recommend that you can try to check and test the following things in your environment.
      1.  The first investigation should be to check if you can login to the page via your Brower or with Telnet.
        Open a Command Prompt and hit Telnet gokanx.wordpress.extranet:80. I received a “connection failed” on my black box. This was meaning that your couldn’t reach your site from your internal server.
    http://gokanx.wordpress.com/2013/06/19/how-to-bypass-the-firewall-tmg-and-proxy-during-a-content-crawl-in-sharepoint-publishing-farm/
      2.  Go to SharePoint 2013 Central Administration, click “Search Service Application” in “Manage service application”, click the “Index Reset” to reset all crawled content, then start Full Crawl again.
    Opening IE with Search Service Account on Service and try to open the Sites to crawl.
    https://social.technet.microsoft.com/Forums/en-US/0e1f7601-b4b3-446a-9eab-ed6c79faa8e2/sharepoint-search-crawl-not-working-this-item-could-not-be-crawled-because-the-repository-did-not?forum=sharepointadminprevious
      3.  In Command prompt run “netsh winhttp show proxy”. If you see there is a proxy server, which can be old or not working, we need to reset this setting.
      Run the command “netsh winhttp reset proxy” to Reset the proxy and again do a Show command, you should get “No Proxy Server” screen.
      In Order these are the steps.
      a. netsh winhttp show proxy
      b. netsh winhttp reset proxy
      c. Net stop Osearch
      d. Net start Osearch
    You can also check if there are any Proxy Settings in IE Configuration, try to remove the Proxy Settings configured in the IE.
    http://sharepoint-works.blogspot.com/2012/10/this-item-could-not-be-crawled-because.html
    http://sharepointmadeeasy.blogspot.com/2012/07/search-crawl-time-out-or-proxy-issue.html
      4.  Try to import the certificate to the Certificate store of the crawler (and the SharePoint Cert Store [Central Admin > Security > Manage Trust and upload the root certifcate of the repository])
    http://sharepoint.stackexchange.com/questions/58946/could-not-establish-trust-relationship-for-the-ssl-tls-secure-channel
      5.  Add the following rules to the proxy bypass list and reboot the servers.  To do this run command prompt as an admin and use the following command:
    netsh winhttp set proxy xxx.xxx.xxx.xxx:portnumber bypass-list=”<local>,sharepoint”
    http://andrewroth1.wordpress.com/2012/09/11/sharepoint-2010-search-service-local-sharepoint-sites-cannot-be-crawled-error/
    If this issue still exists, you can check the ULS log to find more information about this issue.
    For SharePoint 2013, by default, ULS log is at C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\15\LOGS.
    Thanks,
    Yumi Fu
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected].

  • Can we compare file contents of two files in the Application server?

    Hi,
    A file is generated daily to the application server. and i need to compare the generated file to the file generated on the previous day and prepare a report.
    Can we compare file contents of two generated files present in the Application server?
    If there is any alternative, please suggest.
    regards
    cs

    yes we can compare if the app server is Unix.
    cmp compare two binary files and report if different
    cmp is silent if the files are the
         same;
    if they differ, the byte and line number at which the first
    difference occurred is reported.
    REPORT ZUNIX line-size 400
                    no standard page heading.
    data: unixcom like   rlgrap-filename.  
    unixcom = 'cmp file1 file2'.
    data: begin of tabl occurs 500,
            line(400),
          end of tabl.
    data: lines type i.
    start-of-selection.
      refresh tabl.
      call 'SYSTEM' id 'COMMAND' field unixcom
                    id 'TAB'     field tabl[].
    "if the files are different then you will some content in tabl
    Regards
    Viajy  Babu Dudla

Maybe you are looking for

  • How to use box in Scripts?

    Hi Guys,               can anybody tell me how to use Box and purpose of box?            My req is i have to display 5 columns ina Script thru printer but problem is i am not able to display the columns values in a vertical way i am getting in a jig

  • Having installed culturealley (learning spanish) from Itunes Store, how do I get it to play on my Windows p.c.?

    having installed "culturealley" I.e. learning Spanish lessons from ITunes Store, how do I get this to play on my Windows p.c.?

  • URGENT IPHOTO HELP PLEASE!! :)

    I am using my imac to make a slideshow for a friends funeral. I have never done this before. I have created it in Iphoto. WHen I was done, I clicked on Export and it puts it into Itunes. Is that the only way to get the slideshow on a dvd? I added the

  • ER: Auto create EO Alternate Keys based on table UKs

    Hi JDev gang Under TP4 and above for ADF BC, when we create an EO based on a db table which has both a database PK and a database unique key, it would be good to save the developer some work and automatically create an EO alternative key on the UK. C

  • How to make default Currency  depending upon plant in table entries

    Hi,, How to make default Currency  depending upon plant in table entries? I am making entries in SM30. I have the following fields in z table. plaant , material,month.year,PFvalue,Currency. Can  some body throw light for this issue,please?\ I am fami