Mapping answer

Hello experts I have a requirement where my source and target fileds are almost same.
source:
<A>
   <B>
    <C>
<E>
   <F>    0...unbounded
       <G>
        <H>
Target:
<I>
   <J>
  <K>
<M>
   <N>   0...unbounded
       <O>
        <P>
My requirement is if B = X then  O = first occurance of G. and its the same for all N unbounded occurances.
I tried using an if condition and copy of value(0) for my putput , but for exmaple say i have three occurences of N I see my desired output only in the first occurance , the other two occurances don't have the O filed.
Any Mapping tips
Thanks

Hi I will try explain my problem again
i need to use a if condition to check for the value of a field in source
Source:
<QUOTATION_HEADER_IN>
   <ORDCOMB_IN>X</ORDCOMB_IN>
</QUOTATION_HEADER_IN>
<QUOTATION_ITEMS_IN>
<item>
<REASON_REJ>R1</REASON_REJ>
</item>
<item>
<REASON_REJ>R2</REASON_REJ>
</item>
<item>
<REASON_REJ>R3</REASON_REJ>
</item>
</QUOTATION_ITEMS_IN>
Target Exactly the same one to one mapping but IF ORDCOMB_IN = X then all the REASON_REJ fileds must have hte value R1 ( whihc is the first value)
I am trying to achieve this what I have tried is
if ORDCOMB_IN (TextEquals) X then REASON_REJ ( copyvalue (0) ) to REASON_REJ( target side) .
But the problem i face is out of the three calues of REASON_REJ in the Item node only one is being populated. I can't see the remaining two.
This works when i chnage the if condition to say some constantX eualsto constantX , but doesn't work when i use the field  ORDCOMB_IN. I tried using  ORDCOMB_IN with all contexts , and removed context and coallapsed but none works .
Any ideas?
Thanks a lot

Similar Messages

  • Google map not loading in Safari

    My embedded google map will not load in Safari. Will load in all other browsers just not Safari.

    Google maps use embedded HTML from Google to render content served by Google.
    If some of your users can't see the google map, it could be a problem connecting to the google maps site, or a browser setting that prevents google maps from displaying.
    Google has some troubleshooting tips on their site:
    https://support.google.com/maps/answer/18529?hl=en&ref_topic=3311560

  • Problems with Street View

    new street view from new google map release shows black screen

    I'm having similar problems with Street View on openSUSE. For the time being you can try to switch back to the classic Google Maps.
    https://support.google.com/maps/answer/3045828?hl=en&ref_topic=3093612

  • Firefox 36.0 - Google Streetview shows blank page - work-around

    Use Google Maps "lite"-
    https://support.google.com/maps/answer/3032024?hl=en
    Works on my FF 36.0 on W7

    Hi. Thank you for sharing that, something I will make a note of for the future and I am sure will help others.

  • BPC Security DOcumentation

    Hey folks,
    I´m quite new to BPC 7.0 SP01.
    I read a lot about Applications Sets, Applications, Dimensions etc.
    Now, the next (and last menu) on the left hand in the AdminConsol is "Security". Unfortunately, I can't find any documentation about this.
    This menu has 4 subemenus:
    1) Users
    2) Teams
    3) Task Profiles
    4) Member Access Profiles
    I think, 1) and 2) are self-explanatory. But what about 3) and 4)??? My problem is, that we only con login with bpcadmin to our AppSets, but not with our user-specific users? Is there any access which need to be granted in each AppSet to all users? And what are 3) and 4)?
    Any documentation and help will be rewarded!
    Thanks a lot!

    Christian,
    I could send you the doc about security if i have your email...
    However, I will explain quickly how to set it up:
    Basically you have Tasks, Users, Teams and MemberAcess profile. (MAP)
    Task answers to the question : WHAT. What does the user/team is allowed to do...
    MAP: answers to the question : WHERE. In wich Cube for which entity, which category...
    User/Teams answers to the question : WHO. The best is to give your rights to the teams. Never to users. Then you drop the users in the teams you want.
    You create a MAP for the cubes you want the users to work on...
    Lets say I create a MAP for Japan and in Entity i would select only Japanese entity..
    Then you create a MAP for CATEGORYREADANDWRITE and you select category and all categories if you want it only to write on all categories.
    Note that categories and Entities are 2 seperate MAP.
    Then you create a Task by selecting the task you need: You will find some information about the tasks in http://SERVERNAM/OSOFT/OSOFT/Help/Admin/Task_profile_descriptions.htm
    Personnaly I create a task for SUBMIT DATA,  a task for FILEACCESS and a task for DATAMANAGER...
    Then I create a Team called SUBMITDATA and I give it the task Submitdata. Not any MAP.
    Then I create a Team called Japan lets say with no task but with JAPAN in MAP.
    THe users is gonna be in the team JAPAN, SUBMITDATA and CATEGORYREADANDWRITE
    Hope this helps
    Nic

  • Cannot move Google Street View screen

    Firefox 3.6.24 will not allow me to move around in Google Street View. I cannot pan around from a fixed position as before. It works on my iPad2
    Mac OS X 10.6

    Streetview probably works for most people.
    Try using Internet Explorer IE does it work ?
    If it works in IE but not Firefox it could be a Firefox or FlashPlayer issue.
    * As a workaround try the Streetview Lite Version https://support.google.com/maps/answer/3032024
    ** '''Does that help ?'''
    * Send Google feedback https://support.google.com/maps/answer/3094045
    *See if their forum may help you https://productforums.google.com/forum/#!forum/maps
    ** If you do find a forum thread where this problem is reported on Firefox 36 but not on IE maybe you could provide the link.
    If it is Firefox only we may need to file a bug. If other people see this problem.
    Try this test please (other readers of the thread please also try this)
    ( <sup>STR from bug 1027103: & bug 1034593 #c20 </sup> )
    # https://www.google.fr/maps/@45.522217,-122.681801,3a,90y,19h,90t/data=!3m4!1e1!3m2!1sNAhWh8lID_xtbpkI5COi_w!2e0!6m1!1e1
    # Double Click on the map on the bottom left.
    All it is doing is opening a map in streetview, but at least we all know we are testing the same page.

  • Putting a data point from answers on a map

    I have the dumbest report in the history of the world in obiee that shows 1 row - State, Measure and Amount.  Literally 1 row of data.  I want to show that row on a map instead of a grid.  The data is as follows.
    CA,REVENUE,1
    I loaded the mvdemo data to the schema and from there on out everything went to hell.  Does anyone know what the mapviewer configuration steps are step by step both in the db, mapviewer and obiee to get this very simple feature to work?  I have never seen such complicated steps before in my life to get a data point on a map.

    PS - I am using OBIEE 11.1.1.6 and with Oracle DB 11.2.0.1 on WIN2k8r264

  • [E71] answering calls while using OVI maps navigat...

    Dear all,
    is there a way to answer incoming calls and putting them on loudspeaker easily while using the Navigation? The idea is to use the phone as handsfree as possible while driving.

    Hi,
    I think I may have a solution for you. 1. install JbakTaskman. I have it set up In such a way (there are not too many set up options) that it should work like this: You are on maps and a call comes In - answer the call, long press home button to get to the taskman - short home bottom press to get to main home screen and then you should see your call and then can hit the loudspeaker. You may not be able to see your call In the home screen because the voice nav set up does not allow you to have anything on a loudspeaker.
    Regardless, when you long press home button to get to the running task menu, you should be able to see your call as one of your running apps and you can then open it up and see if the loudspeaker option is available to you. In fact, you should be able to see this just long pressing the home button for the native task bar app.
    hope these ideas help a little. Please let us know how it turns out.
    Nokia E65, E71-2 (30) [410.21.010 RM-357]

  • Answers Url For Maps with Filters

    Hi Team,
    We have integrated maps to OBIEE. The following is used as criteria to fetch the Answer data that is to be shown in the Map.
    var answerXMLResponseUrl = 'http://' + document.location.host + '/analytics/saw.dll?Go&searchid=' + encodeURIComponent(sid) + '&format=xml&nqid=' + nid;
    This url fetches the data irrespective of the filters added. So even though report has filters, we still see whole set of data.
    Is there a way to get only filtered data ?
    Thanks in advance

    Hi, I'm trying to do exactly that and it's not working.
    What is the fully qualified URI, i.e. your {KML_FEED} in your url?
    I tried every possible combination:
    "file://localhost/private/var/mobile/Applications/.../tmp/myfile.kml"
    "file:///private/var/mobile/Applications/.../tmp/myfile.kml"
    "/private/var/mobile/Applications/.../tmp/myfile.kml"
    etc...
    And when creating the maps:// url, I also escape that file url but it still fails. How are you making it work? Thanks!

  • Since I have downloaded FF 29, it continually comes up with a world map and wants me to answer some survey.

    When I log into FF29 the home web page gives me a world map which then requires me to answer a survey which I have done once but it keeps repeating. I have had to go to Google Chrome because of the nuisance and wasted time.
    Also FF29 does not seem to recognize PDF forms for printing when they are attachments to emails that I want to print out.

    Gingerbread Man,
    "snippets" are below the Search Bar, like
    <pre><nowiki>What kind of Web do you want? Join Firefox users around the world shaping its future.</nowiki></pre>
    That "map" replaces the Firefox "brandLogo" currently. IIRC, that is either new or something that hasn't been messed with before. I'm not sure though, in most Profiles I use a different Homepage.

  • Remote System and Remote Key Mapping at a glance

    Hi,
    I want to discuss the concept of Remote System and Remote Key Mapping.
    Remote System is a logical system which is defined in MDM Console for a MDM Repository.
    We can define key mapping enabled at each table level.
    The key mapping is used to distinguish records at Data Manager after running the Data Import.
    Now 1 record can have 1 remote system with two different keys but two different records cannot have same remote system with same remote key. So, Remote key is an unique identifier for record for any remote system for each individual records.
    Now whenever we import data from a Remote System, the remote system and remote key are mapped for each individual records. Usually all records have different remote keys.
    Now, when syndicating back the record with default remote key is updated in the remote system that is sent by xml file format.
    If same record is updated two times from a same remote system, the remote key will be different and the record which is latest contains highest remote key.
    Now, I have to look at Data Syndication and Remote key.
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back. But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    Regards
    Kaushik Banerjee

    You are right Kaushik,
    I have not done Data Syndication but my concept tell if there is duplicate record with same remote system but different remote keys both will be syndicated back.
    Yes, but if they are duplicate, they needs to be merged.
    But if same record have two remote keys for same remote system then only the default remote key is syndicated back.
    This is after merging. So whichever remote key has tick mark in key mapping option(default) , it will be syndicated back.
    Pls refer to these links for better understanding.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/80eb6ea5-2a2f-2b10-f68e-bf735a45705f
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/uuid/7051c376-f939-2b10-7da1-c4f8f9eecc8c%0c
    Hope this helps,
    + An

  • Error while deleting a mapping

    Hi all,
    I am getting the following error while deleting a mapping. My client version is 10.2.0.4.36
    API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
    oracle.wh.util.Assert: API5072: Internal Error: Null message for exception. Please contact Oracle Support with the stack trace and details on how to reproduce it.
         at oracle.wh.util.Assert.owbAssert(Assert.java:51)
         at oracle.wh.ui.jcommon.OutputConfigure.showMsg(OutputConfigure.java:216)
         at oracle.wh.ui.common.CommonUtils.error(CommonUtils.java:370)
         at oracle.wh.ui.common.WhDeletion.doActualDel(WhDeletion.java:512)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:203)
         at oracle.wh.ui.common.WhDeletion.deleteObject(WhDeletion.java:283)
         at oracle.wh.ui.jcommon.tree.WhTree.deleteItem(WhTree.java:346)
         at oracle.wh.ui.console.commands.DeleteCmd.performAction(DeleteCmd.java:50)
         at oracle.wh.ui.console.commands.TreeMenuHandler$1.run(TreeMenuHandler.java:188)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:189)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:478)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
    Thanks in advance!
    Sebastian

    These type of Internal Errors are all too common in OWB and it's difficult to diagnose the exact problem.
    I'd suggest closing the Design Centre, going back in and trying to delete it again, this will often resolve Internal errors.
    There's also an article on Metalink Doc ID: 460411.1 about errors when deleting mappings but it's specific to an ACLContainer error, so may or may not be of use.
    One of the suggestions is to connect as the Repository Owner rather than a User and try to delete the mapping.
    Cheers
    Si
    Edited by: ScoobySi on Sep 10, 2009 11:44 AM

  • FileName in ABAP XSLT Mapping

    Dear SDN,
    In an integration scenario we are using sender File Adapter and a  ABAP XSLT Mapping.
    Is there any way to get the source FileName from such mapping.  Im trying to use the adapter-specific message attributes, but it doesn't work, and I didn´t find an example, probably I and doing somthing wrong.
    regards,
    GP

    Thank you for your help,
    I just try to access the adapter-specific attibutes using:
    <xsl:stylesheet version="1.0"
      xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
      xmlns:key="java:com.sap.aii.mapping.api.DynamicConfigurationKey">
    <xsl:variable name="filename"  select="key:create('http://sap.com/xi/XI/System/File', 'Directory')" />
    </xsl:stylesheet>
    but the following error raised:
    <SAP:Stack>Error while calling mapping program YXSLT_TEST (type Abap-XSLT, kernel error ID CX_XSLT_RUNTIME_ERROR) Call of unknown function</SAP:Stack>
    have you had this situation?

  • Sample source code for fields mapping in expert routine

    Hi All
    Iam writing the expert routine from dso to cube for example I have two fields in dso FLD1,FLD2
    same fields in infocube also ,can any body provide me sample abap code to map source fields to target fields in expert routine,your help will be heighly appreciatble,it's an argent.
    regards
    eliaz

    Basic would be ;
    RESULT_FIELDS -xxx = <SOURCE_FIELDS> -xxx
    you have the source fields as source, and result fields for as the target. In between you can check some conditions as in other routines of transformation.
    BEGIN OF tys_SC_1, shows your source fields ( in your case DSO chars and key figures)
    BEGIN OF tys_TG_1, , shows your result fields ( in your case Cube characteristics)
    Hope this helps
    Derya

  • How can I distinguish different action mapping in one ActionClass file?

    I would like to create a ActionClass which will handle 3 mapping which comes from /add, /show or /del.
    My question is how can I change the code so that the ActionClass servlet can distinguish the request from different url mapping ? Can anyone give me some short hints? Thx.
    struts-config.xml
    <action-mappings>
    <action name="MemberInfoForm" path="/add" scope="request" type="com.myapp.real.MemberAction">
    <action name="MemberInfoForm" path="/show" scope="request" type="com.myapp.real.MemberAction">
    <action name="MemberInfoForm" path="/del" scope="request" type="com.myapp.real.MemberAction">
    </action-mappings>MemberAction.class
    public class MemberAction extends org.apache.struts.action.Action {
        private final static String SUCCESS = "success";
        public ActionForward execute(ActionMapping mapping, ActionForm  form,
                HttpServletRequest request, HttpServletResponse response)
                throws Exception {
            return mapping.findForward(SUCCESS);
    ...

    http://struts.apache.org/1.2.x/api/org/apache/struts/actions/MappingDispatchAction.html
    http://struts.apache.org/1.2.x/api/org/apache/struts/actions/DispatchAction.html
    Thank you so much for all of your suggestion.
    I read the document of MappingDispatchAction and its note say:
    NOTE - Unlike DispatchAction, mapping characteristics may differ between the various handlers, so you can combine actions in the same class that, for example, differ in their use of forms or validation.........
    I wonder in DispatchAction, we can also have various forms or validation as MappingDispatchAction does, just by using different name in the action tag, for example:
    <action input="/p1.jsp" name="MForm1" path="/member" scope="session" parameter="action" type="com.myapp.real.MemberAction">
    <action input="/p2.jsp" name="MForm2" path="/member" scope="session" parameter="action" type="com.myapp.real.MemberAction">
    <action input="/p3.jsp" name="MForm3" path="/member" scope="session" parameter="action" type="com.myapp.real.MemberAction">Hence, it is not the difference as stated from the NOTE, right?
    Edited by: roamer on Jan 22, 2008 10:32 AM

Maybe you are looking for

  • Changing Crystal 9 Report from ADO to RDO

    I have a Crystal report that was written by another company.  We are changing it and I wanted to be able to use an ODBC connection vs the ADO connection that is in the report.  How do I do that.  I did the verify database but it will not recognize th

  • How to divide the amount invoice in 10% tax and 90 in liability in credit

    Hi all I am using AP, GL and CE. My customer has this problem. When he registers a new invoice for some specific suppliers, he wants to do this accounting: Credit 10% of invoice amount in a tax account Credit 90% of invoice amount in liability accoun

  • SQL Server Express 2014 and SQL Server Agent

    Any chance SQL Server Express 2014 supports SQL Server Agent. I have a home weather database and I have to import Data every 30 seconds.

  • How to identify faulty 350 APs

    Hi. I am managing a large number of access points placed at hotspots (hotels) at remote sites. A large number of these are old 350 points , and i suspect that some of them are not working as they should. Some are not carrying any traffic at all, and

  • CAN error with Channel API

    Hello All, Right now i am facing a CAN error when run my script which was developed using channel APIs. I am not able to trace out the the reason of the error. Pls find attached code and Error description. I have uploaded the sample code here and I a