Graphical message mapping examples for JDBC and RFC lookup

hi, can any body provide me graphical message mapping examples for the "JDBC Lookup" function and "RFC Lookup" function?
I'm now studying the graphical message mapping and want to try those 2 functions. thank you.
I expect the examples to be simple enoung, not need to set up much.

>
Madhu_1980 wrote:
> can u check this link:
>
> PI 7.0 & 7.1 Mapping - Blogs,Articles,Wiki,Code Samples and Videos Collections https://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=79955426  
>
> it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
May be I'm too foolish to follow those links, I got issues of each links.
What I really want is an example from step0
Swarup:
Refer the Lookup document - Easy Lookup in Process Integration 7.1
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/20befc9a-aa72-2b10-ae9b-b0988791d457
The first step is "Create an RFC Enabled Function Module for look up", but where can I create the function module? Should I use ESB, IB? or use transaction 'SE11' ?
Kulkarni:
Very good links for RFC lookup with 7.0/3.0
https://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/70d90a91-3cf4-2a10-d189-bfd37d9c3231&overridelayout=true
At page6 "PI Development/Configuration", it saies "You are on the design maintenance screen in the Integration Builder.Expand the subnodes for the software component version for which you want to import interfaces".
What is "design maintenance screen" ? My IB version is: Service Pack:08 Release:NW07_08_REL.
When I open IB, it display a screen titled with "Configuration: Intergation Builder", I did not find "software component version" node on the left tree.
Madhu_1980 :
it contains a link : SAP PI 7.1 Mapping Enhancements Series: Graphical Support for JDBC and RFC Lookups /people/jin.shin/blog/2008/02/15/sap-pi-71-mapping-enhancements-series-graphical-support-for-jdbc-and-rfc-lookups
The Prerequisites state:
The JDBC channel to be used for the lookup must be configured and activated in the Integration Directory.
The definition of the table used for the lookup must already be imported into the ES Repository as an external definition
But I don't know how to create a JDBC channel and define the table.

Similar Messages

  • Do we need to create message interfaces for idocs and rfcs thatare imported

    do we need to create message interfaces for idocs and rfcs thatare imported
    from sap server
    in scenarios from sap system to file or vice versa
    i knew that we need not create message types
    do we also skip creating message interfaces

    hi,
    you create an abstract message interface for IDOC only if you want to use
    them in a BPM (integration process)
    for more about IDOCs have a look at my book:
    <a href="/people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi"><b>Mastering IDoc Business Scenarios with SAP XI</b></a>
    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>

  • How can I use loop in graphical message mapping

    The source input XML is like:
    <bookstore>
      <book>
           <item1>xxx</item1>
           <item2>yyy</item2>
      </book>
      <book>
            <item1>zzz</item1>
           <item2>www</item2> 
    </book>
    </bookstore>
    I want to create an output XML like
    <output>
       <item>
            <item1>xxx</item1>
             <item2>yyy</item2>
        </item>
       <item>
            <item1>xxx</item1>
             <item2>www</item2>
        </item>
       <item>
            <item1>zzz</item1>
             <item2>www</item2>
        </item>
       <item>
            <item1>xxx</item1>
             <item2>yyy</item2>
        </item>
    </output>
    That means I want to do permutation and combination for all <item1> <item2> under <book>.
    Of course I can write a customer function to do it, but I want to basically use the buildin functions to do the graphical message mapping for this.
    Any idea?  thank you.

    well, I'm not very clear of those 2 English words
    What I want is to list all possible combination of item1 and item2 (and in fact, we have item3, item4, ....etc).
    example
    input: 
    <item>
              <item1> 111 </item1>
              <item2> 222 </item2>
              <item3> 333 </item3>
    </item>
    <item>
              <item1> aaa </item1>
              <item2> bbb </item2>
              <item3> ccc </item3>
    </item>
    I want to get
    <item><Item1>111>/item1> <item2>222</item2> <item3>333</item3> </item>
    <item><Item1>111>/item1> <item2>222</item2> <item3>ccc</item3> </item>
    <item><Item1>111>/item1> <item2>bbb</item2> <item3>333</item3> </item>
    <item><Item1>111>/item1> <item2>bbb</item2> <item3>ccc</item3> </item>
    <item><Item1>aaa>/item1> <item2>222</item2> <item3>333</item3> </item>
    <item><Item1>aaa>/item1> <item2>222</item2> <item3>ccc</item3> </item>
    <item><Item1>aaa>/item1> <item2>bbb</item2> <item3>333</item3> </item>
    <item><Item1>aaa>/item1> <item2>bbb</item2> <item3>ccc</item3> </item>

  • Message mapping challenge for a newbie

    Dear PI message mapping experts,
    I'm a newbie in PI and facing a mapping problem using graphical message mapping.
    I'm in an IDOC (INVOIC.INVOICE02) to FILE (EDI) scenario.
    Here after is the mapping i need to perform :
    Source structure IDOC :
    <E1EDKA1> (0..99)
       <NAME1> A </NAME1>  (0..1)
       <NAME2> B </NAME2>  (0..1)
       <NAME3> C </NAME3>  (0..1)
       <NAME4> D </NAME4>  (0..1)
    </E1EDKA1>
    Target structure :
    <AccountingCustomerParty>  (1..1)
       <Party> (0..1)
          <PartyName> (0..unbounded)
              <Name>A</Name> (1..1)
          </PartyName>
          <PartyName>
              <Name>B</Name>
          </PartyName>
          <PartyName>
              <Name>C</Name>
          </PartyName>
          <PartyName>
              <Name>D</Name>
          </PartyName>
       </Party>
    </AccountingCustomerParty>
    I know i have to play with context and queues with stanard function or UDF but cannot succeed to do it.
    Could you please help me ?
    Thanks in advance,
    Alysee

    Hi,
    Please try as below:
    1. Create a source structure
    <AccountingCustomerParty>  (1..1)
       <Party> (0..1)
           <PartyName> (0..unbounded)
                <Name>A</Name> (1..1)
           </PartyName>
       </Party>
    </AccountingCustomerParty>
    2. When in message mapping, duplicate the node 'PartyName' 4 times. Right click on the 'PartyName' Node and you would find Duplicate Subtree.
    3. Map 'Name1' field in the source to the first 'PartyName' node in the target. Similarly, map Name2, Name3 and Name4 fields to their respective 'PartyName' nodes.
    4. Map the 'Name1' field in the source structure to first 'Name' field in the first 'PartyName' Node. Similarly, follow the same process for Name2, Name3 and Name4 fields. By doing so, your requirement would be met.
    Thank  you.
    Regards,
    Subbu

  • Graphical message mapping

    Hello Expert
    I am woking in IS retail Outbound Scenario for article master  where enhancement segment E1WXX01 repeat multiple time and contain different -2 value  and I want to collect that different value in different Target filed 
    Suppose
    When first time segment E1WXX01 come contain
    fldname Zcolor
    Fldvalue red
    Target field Color
    In second time segment E1WXX01 contain value
    fldname ZSIZE
    Fldvalue 40
    Target filed SIZE
    And so on
    I want configure that scenario with the help of graphical message mapping
    Thanks
    Amit Shivhare

    Hi Shakif,
    <b>CONTEXT CHANGE</b>
    Please go through these links which clearly explains context and context changes in mapping.....
    http://help.sap.com/saphelp_nw04/helpdata/en/40/7b8e40496f6f1de10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/35/fb8c4057d5701de10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/42/f7293b2dbe1a71e10000000a422035/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/79/2835b7848c458bb42cf8de0bcc1ace/frameset.htm
    Go thru this guide~good source
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/9202d890-0201-0010-1588-adb5e89a6638
    <b>REMOVE CONTEXT</b>
    Remove context removes all the higher-level contexts of a source field thereby delete all hierarchy levels and generate a list.In simple form
    removes all top hierarchy levels, so that all elements of the target queue are assigned to a root element of the source queue
    <b>SPLIT BY VALUE</b>
    The SplitByValue () function is the counterpart to removeContexts(): Instead of deleting a context, we can insert a context change in the source value queue. We then receive this element for each inserted context change instead of a top node element. However, for this to be possible, the top node source field must be assigned a top node target field and minOccurs must be >0. A maximum of minOccurs top node target fields can be inserted here.
    We can insert a context change in the queue after each value, after each change to the value, or after each tag without a value.
    refer this for node functions
    http://help.sap.com/saphelp_nw2004s/helpdata/en/2c/2d8c4024d26e1de10000000a1550b0/content.htm
    Cheers...
    Vasu
    <b>** REward POints if found useful **</b>

  • Logical systems for modeldata and RFC metadata

    Hi All,
    I want to know how I can display the my own created logical system names under the drop-down menu when i have to select the logical system names for modeldata and rfc metadata. I don't want to them to be written instead i want them to be one of the options in the drop down menu, as we have them in the FLIGHT_LIST_INIT example found in the sample applications and examples.
    Thanks in advance
    Srikant

    Hi,
       While creating SLD for your R/3 systems give the desired name of wht u want instead of logical name.
    For configuring the same refer the link below :-
    http://help.sap.com/saphelp_erp2004/helpdata/en/29/e0b75c2b7d40c5bfbda82e905b701c/frameset.htm
    Regards,
    guru

  • Exporting Graphical Message Mapping in PI 7.1

    Hi All,
    In XI3.0 there was an option to export graphical message mapping by using ctrl+shift on the data flow editor window. Can't find the same in PI7.1.
    Have SAP removed this feature with PI 71 or provided another way of doing it or simply my system is acting wierd?
    Regards,
    Rahul

    It worked when I did Ctrl+Shift and numerical 0 from horizontal numbers of my keyboard, some how doesn't work with numbers on right  side of the keyboard(Numlock was On)
    It is wierd.

  • Examples for Synchronous and asynchronous

    Hi all,
            Please can any body give me the real time example for Synchronous and asynchronus
                                                   Ranjith

    Let us take example of calling a transaction for update:
    Call Transaction
    Synchronous calls are slower but should be used for transactions that are updating the database because control is not passed back to the program until a successful database commit (or rollback) has been executed. Note this the real SQL commit at the database level not the ABAP command COMMIT WORK. Synchronous calls will set the return code (sy-subrc) if an error is encountered. There are actually two synchrounous update modes:
    'S', Synchronous update mode makes database entries describing the updates to be done and an update task (potentially running on a different computer) reads those database entries, does the update, and then deletes the entries describing the update task.
    'L', Local update mode describes the updates to be done in the memory of the current process. No entries are made in and then deleted from the database describing the update task.
    Asynchronous calls are the default if the UPDATE parameter is not specified. Asynchronous calls do not effect the return code (sy-subrc).
    Note - This is opposite of how synchronous/asynchronous workflow tasks behave, in the sense that control is returned to the workflow in a synchronous step even if there is no commit or rollback encountered!
    Prakash.
    Message was edited by: Prakash Ramu

  • How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again, time after time? (Windows 7 64bit US).

    How can I DISABLE the pop up 'Would you like to copy it to Library', preventing this message from bothering for each and every book, again and again , time after time? (Windows 7 64bit US).
    I guess this may be a feature request. Adobe may think this is a good message for every new eBook.
    I sure would like to decide about that myself.
    Thanks in advance if this will be changed.

    singmk wrote:
    Decided to setup the mail for exchange on my N8 so I could see my work emails. Worked like a charm but after a couple of hours decided I didn't like being that contactable so deleted the mailbox.
    Now to the problem, during setup I was forced to enable the phone lock and had to pick a 7 digit alphanumeric code. Fair enough I thought and went ahead. When I removed the mailbox however the lock remained in place with the default auto time of 30 minutes. When I checked in Phone management there is no option to disable this lock so I thought I could at least change the default time to something bigger but when you try, it remains at 30 mins. You also can't disable the auto time as it pops up an error message saying can't unlock phone.
    Does anyone know if I'm missing something obvious here or is this something which can't be disabled once it's switched on? I've done a soft reset back to factory settings with no luck and the only other thing I can think of is re installing the firmware which seems a bit extreme.
    Would like to hope there is some way to have control over this. Can someone help?
    Which firmware your N8 having now? You can check firmware by choosing Call, then type *#0000#.
    My N8 works fine on security setting and able to define Phone auto lock period, by choosing Menu>Settings>Phone>Phone management>Security settings>Phone and SIM card>Phone auto lock period>User defined>Lock after(minutes)
    You will prompt to enter Lock code each time u define auto lock priod or enable/disable auto lock.
    Hope this can help you.
    If you find this post helpful, please show your appreciation by clicking the Kudos star at the left. If it provides you the solution, please click on the GREEN Accept as Solution button at below

  • Which tutorials may you suggest for JDBC and servlets?

    Hello, i would to learn about JDBC and servlets.
    May you please suggest me a good tutorial(e.g.post me a link) in order to study for JDBC and servlets?
    e.g. How to make a servlet etc.
    Thanks, in advance!

    I agree with PhHein, it's best to learn one technology and then the other. (Just my two cents, but start with JDBC from a simple standalone application, then when that is working, try to tackle Servlets, since you will need to also learn how to get them working in a container like Tomcat).
    Here is a tutorial that has both concepts in it at the same time. Site is down now, but is usually up. http://www.roseindia.net/jdbc/jdbcconnectivity.shtml
    Also, you will eventually want to download a J2EE container such as Tomcat or Jboss.
    - Saish

  • Step by step cofig for jdbc-- xi-- rfc adapter.

    hi,
    all
    can any one post any doc.. for the scenario
       jdbc--> xi -->rfc
    thanx
    all sdn's

    Hi ! Dantuluri
    U couldnt find the direct weblog
    JDBC receiver
    /people/sap.user72/blog/2005/06/01/file-to-jdbc-adapter-using-sap-xi-30
    JDBC sender
    /people/yining.mao/blog/2006/09/13/tips-and-tutorial-for-sender-jdbc-adapter
    IDoc sender
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    Refer the below links also for this scenario
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    For any issues check this blog:
    /people/michal.krawczyk2/blog/2006/10/11/xi-new-book-mastering-idoc-business-scenarios-with-sap-xi
    also refer these .....
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    IDOc testing - /people/suraj.sr/blog/2005/12/29/generate-test-case-for-an-idoc-scenario
    idoc settings /people/ravikumar.allampallam/blog/2005/02/23/configuration-steps-required-for-posting-idocsxi
    idoc mapping - /people/james.guanzon/blog/2006/03/23/how-to-support-industry-standards-in-xi-part-ii-of-iii--mapping
    Try this also .....
    /people/laxman.molugu/blog/2006/08/13/integration-with-databases-made-easy-150-part-1
    Re: Idoc triggering from a transaction
    Message Mapping - JDBC to IDoc
    Re: JDBC - System/Application Acknowledgement
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    Process Integration (PI) & SOA Middleware
    Pls reward if useful

  • Graphical Message mapping complexity in SAP PI 7.31 single stack

    Hi All,
    I have a source structure 1..unbounded
    <Material>
    <row>    1....unbounded
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>EA</uom>
    <plant>AB</plant>
    <org>XY</org>
    </row>
    <row>
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>ST</uom>
    <plant>CD</plant>
    <org>FG</org>
    </row>
    <row>
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>XY</uom>
    <plant>DE</plant>
    <org>ZX</org>
    </row>
    </Material>
    Target Structure
    <Material>
    <row>  --->  1....unbounded
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uomdata> ---> 0 ----unbounded
    <uom>EA</uom>
    <uomdata>
    <uomdata>
    <uom>ST</uom>
    </uomdata>
    <uomdata>
    <uom>XY</uom>
    </uomdata>
    <plantdata> ----> 0 ----unbounded
    <plant>AB</plant>
    </plantdata>
    <plantdata>
    <plant>CD</plant>
    </plantdata>
    <plant>DE</plant>
    </plantdata>
    <orgdata> ---->  0 ----unbounded
    <org>XY</org>
    </orgdata>
    <orgdata>
    <org>FG</org>
    </orgdata>
    <orgdata>
    <org>ZX</org>
    </orgdata>
    </row>
    </Material>
    How do I do message mapping (preferably graphical mapping) to achieve the target structure. The values of each elements are manipulated for easiness. There are more than one fields under each node in real scenario. Please let me know
    thx
    mike

    Beautiful..Thx...
    I will try out and let you know Amit
    One more request.
    I have to do this mapping first and use it in receiver interfaces of ICO using an operation mapping and inbound interface as usual.
    Now, I have to add 2 more inbound interfaces in the receiver interfaces and maintain order at Runtime to execute the above mapping first always and then execute the 2 additional inbound interfaces based on some condition.
    The condition has to be something like this (source structure <flag> field value dependent condition)
    /Material/row/flag  = 'N'       call the second inbound interface to execute a operation mapping
    /Material/row/flag  = 'N'       call the third interface to execute another operation mapping
    Now the complexity here is:
    If the source structure is like this below
    <Material>
    <row>    1....unbounded
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <uom>EA</uom>
    <plant>AB</plant>
    <org>XY</org>
    <flag>N</flag>  -- this is the flag field for the first material
    </row>
    <row>
    <Mat_ID>123<Mat_ID>
    <Desc><text</Desc>
    <flag>N</flag> -- this is the flag field for the first material again
    <uom>ST</uom>
    <plant>CD</plant>
    <org>FG</org>
    </row>
    <row>
    <Mat_ID>345<Mat_ID>
    <Desc><text</Desc>
    <flag>N</flag> --this is the flag field for the second material
    <uom>XY</uom>
    <plant>DE</plant>
    <org>ZX</org>
    </row>
    and so on
    </Material>
    The target structure for the additional 2 inbound interface are shown below
    2nd inbound interface target structure
    <Material>
    <Mat_ID>123</Mat_ID> 
    <flag>N</flag>  - constant value 'N'
    <Mat_ID>345</Mat_ID>
    <flag>N</flag> - constant value 'N'
    </Material>
    3rd inbound interface target structure
    <Material>
    <Mat_ID>123</Mat_ID> 
    <flag>Y</flag>  - constant value 'Y'
    <Mat_ID>345</Mat_ID>
    <flag>Y</flag>  - constant value 'Y'
    </Material>
    first question: how do I write a condition for checking the source structure <flag> field value for every unique material ?
    second question: what would be the message mapping and operation mapping for the 2nd and 3rd inbound interfaces?
    thx
    mike

  • Mapping Issue in JDBC-- XI-- RFC

    Hi All,
    I have developed a scenario, where data flow is as follows...
    sql->JDBC sender-> XI->RFC Reciever---> SAP.
    Now, the data is retrieved from SQL and queued in Message monitoring.
    I am unable to pass it to RFC reciever and then to SAP.
    I hope it may be problem with the message mapping.
    In this scenario, what should be the message mapping...???
    Can anyone explain me how many mappings needed...????
    Regards
    Pavan

    I am not using any BPM or context objects.
    Business systems are properly associated with the communication channels.
    Doubt about the configuration.....
    sql>sender jdbc-> Xi Reciever RFC---->Sap
    Integration Repository:
    data types:
    sender_dt, reciver_dt
    Message types:
    sender_mt, reciever_mt
    Imported RFC:
    ZBAPI_pavan
    (Reciver_dt will be having same structure as ZBAPI_pavan)
    Message Interfaces:
    jdbc_ob_mi (o/b, Async. sender_mt)
    rfc_ib_mi (I/B, Async, reciever_mt)
    Message Mapping:
    sender_mm
    (Mapped sender and reciever message types)
    Interface Mapping:
    jdbc_rfc_im
    (Source Interface: jdbc_ob_mi and Target Interface: rfc_ib_mi)
    (Source message: sender_mt, mapping pgm: sender_mm and Target mesg: reciever_mt)
    Integration Directory:
    Sender (sql to XI)
    Business Sys: JDBC_SENDER_BS
    Comm Channel: JDBC_SENDER_CC
    Reciever (XI to SAP)
    Business Sys: RFC_RECIEVER_BS
    Comm Channel: RFC_RECIEVER_CC
    Reciever Det:
    In this Buss Sys wil be sender business sys.
    Interface wil be jdbc_ob_mi... (sender Outbound)
    Configured Recievers--->service = RFC_RECIEVER_BS (Reciever Buss sys)Configuration Overview->RFC_RECIEVER_BS->RFC_IB_MI, jdbc_rfc_im,  rfc_reciever_cc
    Interface Determination:
    Sender---> Buss Sys: JDBC-SENDER_BS, Interface: jdbc_ob_mi,
    Reciever--->Buss Sys: RFC_RECiever_BS
    Configured inbound interfaces:
    I/b interface: rfc_ib_mi, interface mapping: jdbc_rfc_im
    Sender Agreement:
    Sender--> Buss Sys: jdbc_sender_BS, interface: jdbc_ob_mi,
    sender comm channel: JDBC_SENDER_CC
    Reciever Agreement:
    Sender-->service: jdbc_sender_bsReciever:
    service: rfc_reciever_bs,
    Interface: rfc_ib_mi
    With the above configuration, messages are qued up in the SXMB_MONI.
    They are not passing into SAP.
    When i tested in Configuraion->Tools-->Test Configuration,
    error is displayed as follows.... Error is at Interface Determination and Mapping.
    Interface Mapping
    ... (109 lines)
    can any one Help me out.....?
    Mappings are perfectly alright..
    I have created interface det, rec/sender agreements again anad again.....
    Restarted server...cleared cache...
    Kindly go through above configurations and help m ein solving this problem....Any help...????
    Message was edited by:
            Pavan Sanganal

  • How to Access a BPM container variable in XI graphical  message mapping

    Hello XI BPM and Mapping experts,
    is it possible to access a BPM container variable from an graphical mapping?
    If yes, how ?
    We need this for the following scenario:
    IDOC to BPM.
    BPM  transforms and sends transformed IDOC to fileadapter
    If both steps are successful  a STATUS.SYSTAT01 IDOC should be send back to SAP-ISU with status 06.
    If one of these steps fails  the status in the SYSTAT01 should be set to 05. (Exception branch of block)
    We want to avoid to write 2 mapping programs for mapping the SYSTAT01.
    Instead we would like to use a BPM Container Variable which contains the status.
    In the mapping for the SYSTAT01 we want to use this Container Variable.
    Is this possible?
    Thanks for soon answers.
    Regards Marlies

    Hi Marlies,
       Is not possible to acces a BPM container variable from graphical mapping. For other hand, you can to use runtime variables for this purpose.
       You could create an abstract interface with a message type having a single node with the required value and using this message in other mapping.
    Best regards
    Ivá

  • Problem in Graphical message mapping.Need UDF to add array based on some co

    Hi All,
    I have been struck in message mapping.Below i am explaining it,
    I have two input array,
    one array lets call  X [24]
                                    [25]
                                     [26]
                                     [24]
                                    [25]
    other array is Y [10]
                           [11]
                           [12]
                           [13]
                           [14] .length of both the array will be same .
    Now I want the output as: if there is any same value in first array i.e array X then corresponding value of second array should be added.i.e in array X if 24 is coming as twice (1st and 4th) then 1st and 4th value of array Y will be added.So here there will be only three output as Z[23]
                                                      [25]
                                                      [12]
    Please guide me if posiible .I tried to use the for loop but  its not working as the value of X is repeating.
    Regards,
    Saurabh

    Hi,
    Tru this..
    public void test(String[] a,String[] b,ResultList result,Container container){
    int flaga,flagb;
    for(int i=0;i<a.length;i++)
         flaga =0;
         for(int j=i+1;j<a.length;j++)
              int p =  Integer.parseInt(a<i>);
              int q =  Integer.parseInt(a[j]);
              if(p==q)
                   flaga =1;
                   int c = Integer.parseInt(b<i>)+Integer.parseInt(b[j]);
                   String d = new Integer(c).toString();
                   result.addValue (d);
    if (flaga ==0)
    flagb=0;
    for(int q =i-1; q>=0;q--)
         if(Integer.parseInt(a<i>) == Integer.parseInt(a[q]))
              flagb = 1;
    if (flagb == 0) result.addValue((b<i>));
    I have tested with the same input... it is working for me
    http://www.flickr.com/photos/28929439@N06/2721471681/
    Thanks
    SaNv...

Maybe you are looking for

  • List of Issues in Scheduling agreement ??

    Hii experts Cam somebody explain me about the crictical issue in scheduling agreements in MM . What kind of issues will occur in SAP SA scenario. Can somebody share their exp on this ... Thanks

  • How do I make a complaint with Verizon?

    On January 23, 2014, I contacted Verizon Wireless Customer Service because I was experiencing less than satisfactory performance with my HTC One. I purchased the device in September of 2013. Through the first few months I experienced no issues with t

  • Horribe image quality in PDF

    Hello, my problem is very simple. The quality of the image of my PDF is really horrible. I need to have a PDF file because in order to print a magazine, that's the file that I need. So I converted my picture: http://image.noelshack.com/fichiers/2013/

  • Create standby DB with RMAN backup in Oracle 9.2.0.6

    I am tring to create a standby DB in different host with different directory using RMAN. The commandv with which I tried to create the standby database is the follow: (in the primary server side) RUN ALLOCATE AUXILIARY CHANNEL DUP1 TYPE DISK; DUPLICA

  • Encryption issues 10.3.9 and 10.4.11 + Thomson router

    I have: yr 2000 iMac on 10.3.9 Dome 2001 iMac on 10.4.11 G4 PB on 10.5.8 MBP on 10.6.3 2 x Airport Express boxes connected to HIFI for music streaming I have a Thomson router model TG 858v7 s/w release 8.2.2.5 The router is new, this week. If I use a