Please Help for this scenario

Hello,
Suppose i have a input xml:
<Name>XYZ</Name>
<Roll>12</Roll>
<Class>3</Class>
Now I want output as:
<Header>XYZ</Header>
<Body><![CDATA[<Name>XYZ</Name>
           <Roll>12</Roll>
           <Class>3</Class>]]>      
</Body>
Please help how will I do that......whole payload is going in Body also some value in above payload is mapping.
Can anyone give me UDF to send whole payload in one node
Thanks and Regards
Hemant

this can be achieved easily by aXSLT mapping....also can be achieved by using grahical mapping
For XSLT coding:
creation of CDATA with message mapping
For graphical + XSLT: /people/michal.krawczyk2/blog/2005/11/01/xi-xml-node-into-a-string-with-graphical-mapping
Regards,
Abhishek.

Similar Messages

  • Essbase Gurus this is the time to help for this scenario in securityfilters

    Hi Gurus,
    I have one scenario in ASO(11v) ,I have to create security filters for two users
    for eg:
    GEO Account  30000
    wen we drill down
    india turnover 10000
    paris turnover 100000
    UK turnover noacess
    I created "GEO","india","paris"
    this security filter is working fine for one user
    but i need second filter like below
    in total sumof aggregation it doesnt show that is diffrent for both users (UK turnoover dont show in upper level)
    Actually UK have the measure but we have to restrict that measure for some users
    like below
    for another user
    GEO Account 20000
    wen we drill down
    india turnover 10000
    paris turnover 100000
    UK turnover noacess
    i m struggling here I tried with different options but no use ,my client wnt this requirement ,plz ur help gr8forly Appriciated
    Thanks
    Edited by: user98631 on Dec 18, 2009 4:31 AM

    Its amazing how the same off the wall question pops up around the same time. There is another thread about this. A security filter alone will not get you want you want.
    The best solution I can offer is to create multiple rollups that give you what you want, and use metadata security to restrict the users from seeing the geo member. Have the filter only allow them to see their rollup.
    I guess in an out of the box solutions would be to have one cube with all the data then multiple cubes partitioned to the soruce cube with the data for specific rollups. Allow the users to only see the cube that has the rollup they need.

  • Please  help for this Logic

    Hi Guys,
    We are having a problem translating these scenario to codes:
    <b>Total = 1600</b>
    <b>Given items:</b>
    200
    300
    400
    900
    to get the total we need to add (900 + 400 + 200) to get the exact value. 
    other scenarios: Total: 1350, 750, etc...
    In all scenarios.. the less number of items added and closest sum to the total should be chosen.
    Thanks in advance!
    Regards,
    Mike

    by the way guys... the items could be randomed in a i_table. thanks!

  • Help required specifying Transation attributes for this scenario

    Hi ,
    I am trying to create/update rows in a database using BMP and CMP beans.
    A business method ( Method1 )in session bean calls a non-business method ( Method2) in the same session bean which inturn calls an EntityBean ( EB1-BMP) . EB1 can throw a certain business exception upon which , the Method1 in the session bean calls another EntityBean in a loop( EB2-CMP).
    The problem is that , when the EB1 throws the business exception, i am getting an exception ( part of the stack trace attached below ).
    Could any please explain what should be the transaction attributes to be specified for this scenario.
    Using RequiresNew for the EntityBeans would not work ( or would it ?? ) because the entity bean is being called in a loop and the commit or rollback should happen for all the methods.
    I feel the problem should be solved by specifying the transaction attribute for Method2 ( non business method in session bean ) as Required, but i guess this is not possible.
    How exactly will the transaction behave in this scenario, is the exception caused because EB1 has thrown an exception and i am trying to continue the transaction.
    Could someone please suggest a solution or workaround for this problem.
    Regards,
    Harsha
    ---- Begin backtrace for nested exception
    java.lang.IllegalStateException
    at com.ibm.ws.Transaction.JTA.TransactionImpl.enlistResource(TransactionImpl.java:1694)
    javax.ejb.EJBException: nested exception is: com.ibm.ws.ejbpersistence.utilpm.PersistenceManagerException: PMGR6022E: Error using adapter to create or execute an Interaction. com.ibm.ws.rsadapter.cci.WSInteractionImpl@28d16547
    .

    tryout business method ( Method1 )in session bean with transaction as RequiresNew.
    catch exception in Method2 originated from EB1-BMP
    make the method in EB2-CMP as Required/Mandatory
    I have made a guess here so just tryout and let me know if works.
    Its recommend that not to use both BMP's and CMPs in your application. Have any one either.

  • Search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.

    search criteria is not working in Responsible Group field in sap crm could you please help me this how to achieve.I have writen code on EH_ONSEARCH .as per below...what changess i need to do..and through partner function and adding the selection params please send the sample .
    code. partner funtction - ZRG DATA :
    DATA : lv_partner_fct type .
    types: begin of ty_resp,
           partner    type but000-partner,
           name_last  type but000-name_last,
           name_first type but000-name_first,
           mc_name1   type but000-mc_name1,
           mc_name2   type but000-mc_name2,
           end of ty_resp.
    DATA: lv_resp_bp type STANDARD TABLE OF ty_resp INITIAL SIZE 0,
           lw_resp_bp type ty_resp.
    IF lv_attr_name = 'Rgroup'.
    lr_entity->get_property_as_value( EXPORTING iv_attr_name = if_crm_srqm_uiu_const=>gc_attr_low
                                       IMPORTING ev_result = lv_low ).
    IF lv_low IS INITIAL.
    SELECT partner
           name_last
           name_first
           mc_name1
          mc_name2
    FROM but000 INTO table lv_resp_bp
    WHERE mc_name2 = lv_low and bu_group = '0010'.
    loop at lv_resp_bp into lw_resp_bp.
        lv_low = lw_resp_bp-mc_name2.
      lr_query_service2->add_selection_param( iv_attr_name = 'Rgroup'
                                                iv_sign = lv_sign
                                                iv_option = lv_option
                                                iv_low = lv_low
                                                iv_high = lv_high ).
      ENDLOOP.
    if lv_partner_fct = 'ZRG'.
      lr_entity = lr_iterator->get_next( ).
    CONTINUE.
    ENDIF.
    lv_attr_name = 'BU_PARTNER'.
    ENDIF.

    <b>You can acheive   this .... first by creating the search help exit    ... by  creating the maintaince  view   then   using it in the   Creation of the search help </b> ...
    see the link for attaching the view   to the serach help .
    <a href="http://">http://www.sapdevelopment.co.uk/dictionary/shelp/shelp_elementary.htm</a>
    reward  points if it is usefull...
    Girish

  • I just bought a new iPhone and accidentally backed it up with my old iPhone backup, I do not want this. I lost everything on my new phone and I need it back. PLEASE HELP! This includes pictures and texts, etc.

    I just bought a new iPhone and accidentally backed it up with my old iPhone backup, I do not want this. I lost everything on my new phone and I need it back. PLEASE HELP! This includes pictures and texts, etc.

    So just to be clear, when you say "just bought" how long ago was that? Is it on this new iPhone that you had pictures, texts, etc that you want? Were you backing up to iCloud or onto iTunes?
    This may not help for everything but if you go to iCloud.com and log in, are you able to find your pictures there?

  • Please check for this account skype he is scammer

     now he use skype call to me my mobile phone i'm  IT Recruiter  it's have more impact my occupation please delete and block this account i must delete my account . i must use skype for business but now i can not .  now second time  he send mail and use skype call to me i can not change my number mobile telephone i must use for business please help for me i must use skype only business .
    Hello Jiraporn, how are you doing, hope you have been enjoying your self, you were playing smart on me right, i have to give you time to play on the game first and see if you win, but you never win, you give my skype id to people over there in Thailand to insult me and call me all kind of name, i just want to leave Malaysia to UK first before contact you, and i still have does copy of your sex video, i am going to give you 2 days for you to me the sum of 3000 Great British pounds, i know you will love to see some of you video honey, and your **bleep** so good, i hope the people of Thailand and the Movie porn industry will love to have you **bleep** some else on life, here are one of you video
    Uploaded screen shot removed as personally identifiable information was not redacted.

    Hi, J3120,
    Please refer to this instruction on how to remove your Skype account:
    'Can I delete my Skype account?'
    Then, please contact Skype customer service to file your request, as the article states.
    Here is a link to the instruction on how to contact Skype Customer Service via their secure portal: Contact Customer Service
    As you know you intend to contact Customer Service, skip past Step 2 of the instruction where several articles from the FAQ library will appear for you to review, and proceed to Step 3, Continue Support Request (the "button" appears at the lower right corner of the website page). You may also skip past in Step 4 where you will be referred back here to the Community; no need to do this as the Community is where you started.
    You may transfer your contacts that you wish to keep from the old account to the new, however please note that you would have to request a refund of any credit and cancel subscriptions as neither of these can be transferred from one account to another.
    Regards,
    Elaine
    Was your question answered? Please click on the Accept as a Solution link so everyone can quickly find what works! Like a post or want to say, "Thank You" - ?? Click on the Kudos button!
    Trustworthy information: Brian Krebs: 3 Basic Rules for Online Safety and Consumer Reports: Guide to Internet Security Online Safety Tip: Change your passwords often!

  • What’s the best practice for this scenario?

    Hi,
    My users want the ability to change the WHERE and/or ORDER BY clause at runtime. They may define user preferences on each screen ( which is bind to a view object). They want to see the same records based on WHERE/ORDER BY defined on the last visit. That is why I keep the users preferences and load the screen based on that, using :
    View.setWhereClause(...);
    View.setOrderByClause(...);
    View.executeQuery();
    This works good when only one user working with the application but faced low performance when more than one user working with the application.
    What are the points to increase the performance and what is the best practice for this scenario?
    Thanks for your help in advance.

    Sung,
    I am talking only about 2 users in my testing. I am sure i missed something but could not recognize that.
    This page is my custom query page including a tag to instantiate app module in stateful mode at the top <jbo:ApplicationModule..> and a tag to instantiate data source <jbo:Datasource...> and release tag at the bottom <jbo:ReleasePageResources..> and some java code in the middle(body). The java code constructed the query statement and then fires the query to set the view object based on the query statement using the above methods.
    So, I am facing very slow performance(speed) when two clients load this page at the same time. Looks like the entire application locks for others when one client load this page and fire the query. i realized the battle neck is where executeQuery() is executing.
    what do you think.
    Thanks in advance for your comments.

  • Can i use SAP Predictive Analysis for this scenario?

    Hi guys. I'm new in this subject so I'm a little bit confused about in which cases SAP Predictive Analysis is helpful?
    Could it be helpful for this case? I have prices of rice for differente years, from 2007 to 2013.  Can  SAP Predictive Analysis help me forecast what will be the price of rice for 2014, 2015 and so on?
    Which algorithm should I use? Does it come integrated in the tool or is it an add-on?
    I´ll appreciate it very much if you could send me the right steps to achieve this.

    Hi Erika,
    SAP PA has only Triple exponential smoothing algorithm; In most cases, single exponential smoothing would not make any sense [this is available through HANA PAL or R integration with SAP PA];
    If you have R integration you should see something like this
    In Single exp smoothing only alpha is used;
    in double exp smoothing alpha and gamma is used; and all three in gamma.
    Why these alpha, beta and gamma... has a big derivation to understand; [let me know if you need any document, I have compiled as on some reference]
    What values alpha, beta and Gama should hold in Triple ... or what is the right value, .... actually there are no right value and wrong value for them.
    ... as for the steps to go in SAP PA, refer below:
    Please let me know if you need any assistance ...
    Regards,
    Arvind E

  • Trying to update photoshop and repeatedly get error code U44M1P7, can anyone please help resolve this?

    Trying to update photoshop and repeatedly get error code U44M1P7, can you please help resolve this?

    JJMack, Thanks for the info. Let this old man digest it and see if I can put the info into action. I'll give you a feedback. Thanks for your help in this matter. I am not a tech savvy person. 
    Rueben Rueben D. Olivas Home Ph:  1-671-969-2452
    Cell Ph:  1-671-747-2453La Luz Photography
    Email: [email protected]/Guam Firehouse Cook: http://guamfirehousecook.blogspot.com/BBQGuam: http://bbqguam.blogspot.com/My Photostream: http://ruebenolivas.megashot.net/photostream

  • SQL experts please help for a query

    I have following table1.
    What query can give the result as given below, SQL experts please help on this.
    TABLE1
    Event DATETIME
    in 2/JAN/2010
    out 2/JAN/2010
    in 13/JAN/2010
    out 13/JAN/2010
    in 5/JAN/2010
    out 5/JAN/2010
    RESULT REQUIRED FROM THE SQL QUERY
    COL1_IN COL2_OUT
    2/JAN/2010 2/JAN/2010
    13/JAN/2010 13/JAN/2010
    5/JAN/2010 5/JAN/2010

    I tried to help, but this puzzles me.
    Why is this not returning pre-selected set of rows, why it's doing some merge join cartezian ?
    SQL> select * from v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Prod
    PL/SQL Release 10.2.0.4.0 - Production
    CORE    10.2.0.4.0      Production
    TNS for Linux: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    SQL> select * from table1;
    EVENT      DATETIME
    in         2/JAN/2010
    out        2/JAN/2010
    in         13/JAN/2010
    out        13/JAN/2010
    in         5/JAN/2010
    out        5/JAN/2010
    6 rows selected.
    SQL> explain plan for
      2  with a as
    (select datetime from table1 where event='in'),
    b as
    (select datetime from table1 where event='out')
    select  a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
    Explained.
    SQL> set wrap off
    SQL> set linesize 200
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 185132177
    | Id  | Operation            | Name   | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT     |        |     9 |   288 |     8   (0)| 00:00:01 |
    |   1 |  MERGE JOIN CARTESIAN|        |     9 |   288 |     8   (0)| 00:00:01 |
    |*  2 |   TABLE ACCESS FULL  | TABLE1 |     3 |    48 |     3   (0)| 00:00:01 |
    |   3 |   BUFFER SORT        |        |     3 |    48 |     5   (0)| 00:00:01 |
    |*  4 |    TABLE ACCESS FULL | TABLE1 |     3 |    48 |     2   (0)| 00:00:01 |
    PLAN_TABLE_OUTPUT
    Predicate Information (identified by operation id):
       2 - filter("EVENT"='in')
       4 - filter("EVENT"='out')
    Note
       - dynamic sampling used for this statement
    21 rows selected.
    SQL> with a as
    (select datetime from table1 where event='in'),
    b as
    (select datetime from table1 where event='out')
    select  a.datetime COL1_IN ,b.datetime COL2_OUT from a,b ;
    COL1_IN         COL2_OUT
    2/JAN/2010      2/JAN/2010
    2/JAN/2010      13/JAN/2010
    2/JAN/2010      5/JAN/2010
    13/JAN/2010     2/JAN/2010
    13/JAN/2010     13/JAN/2010
    13/JAN/2010     5/JAN/2010
    5/JAN/2010      2/JAN/2010
    5/JAN/2010      13/JAN/2010
    5/JAN/2010      5/JAN/2010
    9 rows selected.
    SQL>

  • My Canon MP620 appears to be connected, yet every time I try to print something, it says error.  I have tried to unplug and track the error, but I cannot figure out why. Please help! this is such an inconvenience!

    My Canon MP620 appears to be connected, yet every time I try to print something, it says error.  I have tried to unplug and track the error, but I cannot figure out why. Please help! this is such an inconvenience!

    What Mac model? What Mac OS version?
    FYI, this forum is for Apple hardware made before 1999.

  • Hi. i updated my iphone 4s to iOS 7.0.4 but after that, wifi is not enabled. please help in this regard.

    Hi. i updated my iphone 4s to iOS 7.0.4 but after that, wifi is not enabled. please help in this regard.

    Apple has provided a useless workaround... [http://support.apple.com/kb/ts1559]
    Else the only option you have is to fight with the Apple Store "geniuses" to get a free replacement for out of warranty 4S devices. Or try a third party repair like iFixit. The wifi chip might cost you 60-80$ but it is better than paying Apple 200$.
    Overheating is the culprit in 4S devices. And its been getting worse with ever successive iOS 7 update. I think 7.0.4 was the final nail in the coffin.
    They are not getting my money anymore.. I've had iPhones every since they launched... but no more. Feels like a dead investment after facing this issue. I can never sell my iPhone 4S even if I want to. There have been cases where users just sold their 4S devices, the new owner updated to 7.0.4, wifi stopped working and the seller had to give a refund.
    I'm basically sitting on a 650$ white brick. Hmm... I wonder if white bricks sell higher than the standard red bricks
    Guess it's time for you to sign up this ongoing campaign [https://www.change.org/petitions/apple-to-get-apple-to-replace-all-units-affecte d-negatively-by-the-update-of-ios7-or-patch-an-update-that-will-remedy-the-issue s-many-loyal-customers-are-experiencing#share]
    TBH, I can't get a replacement because I am in India where 4S was never launched as an unlocked device and there are no Apple retail stores. Only resellers here like Vodafone/Reliance/Airtel. But if this petition can help the one who can take advantage of having retail stores around... why not? Sign up please. Thank You.

  • Need inputs from u for this scenario?

    Hi all,
    I have one scenario I need all inputs from u all.
    My scenario is like this.
    I will get data from online transactions I need to collect all the day transaction into one folder and upload them into SAP system at one particular time.
    Which are the best adapters for this scenario.
    If I have standard IDOC I will go with IDOC adapter at receiver side if not proxy.
    But collecting all the data into one folder and schedule the process at particular time.
    How to do this and what are the adapter I can use.
    Thanks and Regards,
    Phani Kumar.

    Hi,
    I hope for online transactions and for tracking it and saving you can write a java script where you can prepare a XML file to get all transactions for particular order and always append it to the end of that xml file. At end of the day you will have a complete transaction list in the XML you are creating. You can use the file name as you desired but i will prefer datewise name.after the completion of that Transaction recording step, put it in some In folder from where your XI system willo take input.
    Now this is file to Idoc scenario or whatever you want to use to post data to SAP Systems. The sechdule this scenario to run in the night or your desired time. After processing the XML file put that file\ to some other complete folder , not to get it again.
    For collection of transactions you can also use databases. Then you scenario will be JDBC to IDOC or the thing you want to post data in SAP system.
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward pints if helpful

  • Oracle features available for this scenario

    What is the best methos for replcating oracle database from a production database with every 15 min interval..
    what are the oracle features available for this scenario
    Thanks
    Shiju

    orashiju wrote:
    What is the best methos for replcating oracle database from a production database with every 15 min interval..
    what are the oracle features available for this scenario
    Thanks
    ShijuIs there any specific reason to open a new thread for the same discussion that you have started here,
    Please suggest a suitable method
    Aman....

Maybe you are looking for

  • Trying to move my music library from my ipod to my new laptop...

    I am trying to move my music library from my ipod to my new laptop... i have followed instructions from website, but when i was supposed to have all my songs in my itunes on the new laptop, they were not there, they are in a folder called "music". wh

  • Some Podcasts Not Downloading - Error 8006

    I am running iTunes 7.4.2 - for some reason, some (but not all) of my podcasts suddenly will NOT update. Instead they have an "!" next to them, and when I click on the exclamation point, I get the following error message" "There was a problem downloa

  • Hide domain fixed values for future use

    We have  a custom domain with 7 fixed values.These Fix values will display if we click on f4 help in the screen.I dont want 4th value and 5th value in the f4 search help button.whether it is possible to hide those values for future use. if we delete

  • StarOffice 8 (Product 6) Update to Product 7 Error

    Hi, I tried to update as prompted by auto-update feature. But after I have finished downloading and saved the file 120187-10 (Signed Patch). But when I opened the file, a Java virtual machine launcher window pop up and with message stated Invalid or

  • IMovie Scrapbook theme transitions not showing

    Initially, I had my transitions in a Scrapbook theme set automatically. Later on, I decided on change them manually. I moved them around and added new ones, and all the usual ones work faboulously. However, when I add any of the Scrapbook transitions