Reference No. within mapping

Hello
I tried the search for this topic but it wasnn't quite satisfactory.
I wanna store some kind of a reference number (counter) within XI for several mappings.
The scope should be that each message which uses this particular mapping contains this/the current number - raise the number by one - and store it again for the next message
I thought that maybe value mapping could work, but so far I found only methodes to read from the structure not to update values in the value mapping at runtime?!
Thanks for your help

Use generation number object of SAP for doing the same and you can access it.That is ideal.Use a JCO or rfc mapping lookups.https:///people/jayakrishnan.nair/blog/2005/06/20/dynamic-file-name-using-xi-30-sp12-part--i will help u.

Similar Messages

  • HT5973 Is there any way to remove labels within Maps app?

    Is there any way to remove labels within Maps app?

    No - just don't upgrade until Google release there maps app.  I wish I could go back to yesterday and give myself this advice.

  • How to deploy jar file for use within mapping user-defined fcn

    Hi all,
    I have a java class I'd like to called from a mapping user-defined function.
    Here's what I've done (but hasn't worked)
    1. Added 'package com.<mycompany>.xi.util.base64 to the source class file and compiled it.
    2. Created a sda with a plain provider.xml file, i.e. no references were made to any other library files.
    3.  Deployed the sda to the xi 3.0 j2ee server successfully using SDM.
    4.  Under the Visual Admin tool, I see that the library was deployed successfully.
    5.  In the import text box in the user-defined function (design time), I enter com.<mycompany>.xi.util.base64.*.
    A syntax check returns an error indicating the package could not be found. 
    Can anyone give me pointers as to how I can get this working?
    Thanks,
    --jtb

    Hey James,
    No! That's not the right way!
    What you have done is for accessing external JMS & JDBC drivers in their corresponding adapters. For the access inside a mapping user defined function, it's enough if you import the jar files.
    Look at this blog and you will be very clear!
    /people/divya.vidyanandanprabhu/blog/2005/06/28/converting-xml-to-pdf-using-xi
    regards,
    Felix

  • Map Filename to field within mapping

    I have a requirement to map the filename to a field in the header of a file to file scenario and then create a new filename based upon the fields of the data structure of the header record.
    I am comfortable using the variable substituion to either map the filename from sender to reciever and to use dynamic file names to create the new file name, but I am unsure how i can the read filename from the Adapter Specific Message Attributes and pass this value to a field on the outbound structure of the mapping.
    Can anyone give me some pointers on how i can map the sending "Filename" to the outbound field within PI7.1 SP6?

    Is it any different from PI 7.0?
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/03612cdecc6e76e10000000a422035/frameset.htm
    In your UDF, just use .get() (no need for .put() ).
    Regards,
    Henrique.

  • Entity Reference embedded within colspec attribute name-table col. heading

    My team is working on a project that involves converting MS Word documents to XML. The XML is applied to a stylesheet (*.xsl) which generates a *.pdf document. Is it valid to include an xml entity reference within a colspec attribute name? For example, the xml document would contain the following code for a table:
    <t id="t1109681052">TABLE 1.0 My Favorite Restaurants</t>
    <tbl id="tbl921133606" val="1.0">
    <TblHdg num="1">Table 1.0 My Favorite Restaurants </TblHdg>
    <colspec id="colspec1148420628" name=" Restaurant Name" width="0.61875"/>
    <colspec id="colspec201089067" name="Type of Authentic Cuisine" width="1.61875"/>
    <colspec id="colspec201089069" name="Location" width="1.61875"/>
    </tbl>
    Is the following code valid in XML to produce the results in the sample table below when the XML is applied to a stylesheet (xsl)?
    <colspec id="colspec201089067" name="Type of "Authentic" Cuisine" width="1.61875"/>
    The desired table and column titles would be as follows:
    Restaurant Name ----     Type of “Authentic” Cuisine ----     Location
    Le Chantecler --------------->French     The Negresco Hotel –
    Promenade des Anglais Nice France
    La Coupola -------------------->French     The Mirabeau Hotel
    1 Princess Grace Ave
    Monte Carlo Monaco
    What is needed in the XML code to produce the table column heading with quotes embedded around the word "Authentic"?
    Please advise. Thanks so much and have a prosperous and memorable holiday.

    SOLUTION RESOLVED FOR THIS MESSAGE.

  • Reference contract within Sales order supplied by ORDERS05 IDOC

    I am creating Distributed sales orders using IDOC of type ORDERS05. The orders are being raised okay upto now, but now I want to perform various checks against a reference contract should one be added to the IDOC. The IDOC segment E1EDK02 with a qualifier of '005' (Customer contract) can be used to supply the reference contract. I'm using one of the supplied BADI's to process segments that are not catered for in the SAP standard code, however, I don't know where to populate the supplied reference contract number within the deep structure CRMXIF_BUSTRANS that is available for this purpose.
    Has anyone ever processed a reference contract in this manner ?.
    Blue

    I have found a table within the deep structure CRMXIF_BUSTRANS called DOC_FLOW which seems to have all the necessary fields, I think. However, it's going to be a lot of trial and error to determine what needs to be populated in this table to successfully create a Preceding doc in the doc flow of the Sales order raised. The preceding document being of type CONSIP/reference contract.
    If anyone has ever populated this data I would be most keen to identify the exact fields entered.
    Blue

  • Set multiple Region Keys to one Region within Map component?

    Does anyone know if multiple region keys can be tied to one specific region within a Map component?
    Example -
    My data contains the following values that i'd use as Region Keys (these are codes in my table that stand for cities within Taiwan):
         1) TW/FJN
         2) TW/KSH
         3) TW/TWN
    On the China Map Component I can set a Region Key for Taiwan.  But is there a way to be able to set all 3 of the above listed values for a Taiwan Region key?  Or am I only allowed to enter 1 value?
    Here is a photo to help show what i'm talking about:
    [http://img195.imageshack.us/img195/8508/gdsagdsasd.jpg]

    Does anyone know if multiple region keys can be tied to one specific region within a Map component?
    Example -
    My data contains the following values that i'd use as Region Keys (these are codes in my table that stand for cities within Taiwan):
         1) TW/FJN
         2) TW/KSH
         3) TW/TWN
    On the China Map Component I can set a Region Key for Taiwan.  But is there a way to be able to set all 3 of the above listed values for a Taiwan Region key?  Or am I only allowed to enter 1 value?
    Here is a photo to help show what i'm talking about:
    [http://img195.imageshack.us/img195/8508/gdsagdsasd.jpg]

  • Location of Reference Designators within the SAP BOM

    Hi,
    Please help me with the following scenario.
    In the electronics industry, each of the components in an assembly usually has a reference to a circuit symbol in the schematic.  That is, in a typical Printed Circuit board, each component is usually referred to as R1, Q1, C1, etc.  In those cases where the Bill of Material has a component quantity of more than 1, the reference to the circuit schematics can be something like R1-R7 for 7 occurences of a Resistor.
    My question is where in the component record of a BOM can you store the Reference Designators and which BOM report will include this data?

    Hi,
    For this purpose you can use the field:Sort string in BOM MAintenance.
    You can have this field in CS11/CS12 etc..
    The field reference : STPO-SORTF.
    Hope this helps..
    Regards,
    Siva

  • Error 7 when opening a VI reference from within a .exe

    Maybe someone can tell me why I get Error 7 (LabVIEW 2011 SP1 project included). I can get it to work if I remove the first directory ("Controlled Software") in the path string (block diagram of "Main Menu.vi"). I fail to understand why this directory is ignored when trying to open a VI that is in that directory hierarchy. I have it as "Always Included" in the build properties (Source Files).
    “A child of five could understand this. Send someone to fetch a child of five.”
    ― Groucho Marx
    Attachments:
    Test Project.zip ‏98 KB

    Why Does My Executable Not Work When Using the Current VI's Path Constant?
    Basically, the same problem.
    Put indicators on your paths and you'll see the problem.

  • Reference objects within a specific instance of a subform

    Hello,
    How can I refer to a specific instance of a subform using variables
    As an example, say if I want to excute the statement,
    if (subform1[someVar].table1.row1.texfield1.rawValue=="test")
    else { ... }
    The resulting console message is:
    "section[someVar] has no properties"
    Even if I try the following,
    if (subform1[2].table1.row1.texfield1.rawValue=="test")
    The console message becomes "section[2] has no properties"
    I am certain that the property exist...
    What should I do in this case?
    Thanks,
    Dan

    Phrase Express does not work when Victors (our current project) is opened up with a Firefox Browser.
    Phrase Express is a tool that will allow a pre-typed clause to be populated onto the title (or tax) typing form. When Victors is opened in IE, the tool works perfectly. If Victors is opened in Firefox (either 2.0 or 3.0), the typing form loses focus when Phrase Express is accessed, and so the clause does not know where to go. If you use a hot key from Phrase Express (such as Ctrl-Shift-O for the degree symbol), Phrase Express does not lose focus, and can be used.
    We also loaded at different websites and saw that Phrase Express will lose focus in them when using a Firefox browser as well.

  • Rollover PJC - Unable to reference String within mouseadapter

    Hi
    I am writing a PJC to colour the background of a text item on mouse rollover. The PJC extends VTextField and includes a nested mouseadapter class.
    I would like a property, settable from the form, to determine whether the mouse rollover is enabled. The default behaviour should be rollover enabled.
    To implement the behaviour of the property I have included a check on a string variable in the mouse adapter methods. If I don't set the property from the form the string is set to false. If I set the property using set_custom_property the string is set to the correct value.
    How can I set the string to default to a value? It is declared as
    String pEnabled = "YES";
    I will post the full code

    package pjcs.rolloverBackground;
    //package totem.forms.extensions;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.StringTokenizer;
    import oracle.forms.handler.IHandler;
    import oracle.forms.properties.ID;
    import oracle.forms.ui.VTextField;
    public class rolloverBackground extends VTextField
         public static final ID propEnabled = ID.registerProperty("ENABLED");
    public static final ID activeColor = ID.registerProperty("ACTIVE_COLOUR");
    //private rolloverBackground this_item;
    String pEnabled = "YES";
    private Color pActiveColor;
    private Color pNormalColor;
    private boolean m_debug = true;
    private boolean m_debugAll;
    private final String CLASSNAME = this.getClass().getName();
    private int iMode = 0 ;
    private int iInc = 20 ;
         public rolloverBackground()
    try
    jbInit();
         catch(Exception e)
         e.printStackTrace();
         private void jbInit() throws Exception
         System.out.println("jb init 3 "+pEnabled);
         addMouseListener(new RolloverButtonMouseAdapter());
         * Private class to handle user mouse actions and to switch images when the
         * user moves the mouse into and out of the button object.
         class RolloverButtonMouseAdapter extends MouseAdapter
         * User moved the mouse over the button, swap to the on image.
         public void mouseEntered(MouseEvent me)
         //System.out.println("mouse entered "+this_item.getProperty(propEnabled).toString());
         System.out.println("mouse entered "+pEnabled);
    if (pEnabled.equals("YES"))
         System.out.println("mouse entered 1" );
         pNormalColor = getBackground();
         if (iMode == 1)
         System.out.println("mouse entered 2.1 imode is 1 " );
         setBackground(pActiveColor);
         else if (iMode == 0)
         System.out.println("mouse entered 2.2 imode is 0 " );
         setBackground(getHighlight(getBackground()));
         * User moved the mouse out of the button, swap to the off image.
         public void mouseExited(MouseEvent me)
         // Change cursor back
         if (pEnabled.equals("YES"))
         setBackground(pNormalColor);
    * set the properties of the bean
    public boolean setProperty(ID property, Object value)
    if (property == propEnabled)
    pEnabled = value.toString();
    return true;
    else if (property == activeColor)
    String s= value.toString();
    int iR, iG, iB, ipos=-1 ;
    ipos = s.indexOf(",") ;
    if(ipos>-1)
    System.out.println("SETHIGHLIGHT color:"+value.toString());
    StringTokenizer st = new StringTokenizer(s,",");
    iR = Integer.parseInt(st.nextToken()) ;
    iG = Integer.parseInt(st.nextToken()) ;
    iB = Integer.parseInt(st.nextToken()) ;
    pActiveColor = new Color(iR,iG,iB) ;
    iMode = 1 ;
    else
    System.out.println("SETHIGHLIGHT:"+value.toString());
    if(s.indexOf("-")>-1) iInc = Integer.parseInt(s.substring(1)) * -1 ;
    else iInc = Integer.parseInt(s.substring(1)) ;
    iMode = 0 ;
    return true;
    else
    return super.setProperty(property, value);
    private Color getHighlight(Color c)
    System.out.println("inc="+iInc);
    int r,g,b ;
    int iMax = ( iInc < 0 ? 0 : 255 ) ;
    r = c.getRed() ;
    g = c.getGreen();
    b = c.getBlue() ;
    r = (r+iInc >= iMax ? r+iInc : iMax) ;
    g = (g+iInc >= iMax ? g+iInc : iMax) ;
    b = (b+iInc >= iMax ? b+iInc : iMax) ;
    return new Color(r,g,b);
    }

  • Dynamically Reference Position within Absolute Path in XSL

    All---
    I have a file that I am parsing into many records. However, much of the information is duplicated and I do not want to considerate for my XSL. For this reason, I need to add logic to filter out those records that have the same account number as the previous record. It would seem that the best way to do this would be an "if" statement that compares the account number from the record in question to the account number in the previous record. This is what I have come up with:
    <xsl:for-each select="/imp1:container/imp1:Record">
    <xsl:if test='(position() = "1") or (imp1:Patient/imp1:AccountNumber != /imp1:container/imp1:Record[(position() - 1.0)]/imp1:Patient/imp1:AccountNumber)'>
    As you may have guessed, this does not work. Any thoughts?
    Thanks, Eric

    I tried my solution with Saxon 8.8 and Oracle XDK 10.2.0.2
    I created a source XML document of:
    <container xmlns="urn:foo">
      <Record>
        <Patient>
           <AccountNumber>101</AccountNumber>
           <Something>Y</Something>
        </Patient>
      </Record>
      <Record>
        <Patient>
           <AccountNumber>101</AccountNumber>
           <Something>Y</Something>
        </Patient>
      </Record>
      <Record>
        <Patient>
           <AccountNumber>102</AccountNumber>
           <Something>Y</Something>
        </Patient>
      </Record>
    </container>and an XSLT stylesheet of:
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
                    xmlns:imp1="urn:foo" version="1.0">
      <xsl:output method="text"/>
      <xsl:template match="/">
      <xsl:for-each select="/imp1:container/imp1:Record">
        <xsl:variable name="prevRec" select="preceding-sibling::imp1:Record"/>
        <xsl:variable name="curAcctNum" select="imp1:Patient/imp1:AccountNumber"/>
        <xsl:variable name="prevAcctNum" select="$prevRec/imp1:Patient/imp1:AccountNumber"/>
        <xsl:if test='not($prevRec) or $curAcctNum != $prevAcctNum'>
           <!-- etc. -->
           <xsl:value-of select="imp1:Patient/imp1:AccountNumber"/>
           <xsl:text>&#xa;</xsl:text>
        </xsl:if>
      </xsl:for-each>
      </xsl:template>
    </xsl:stylesheet>Which produces an output on the command line of:
    101
    102So it seems to be correctly ignoring the duplicate entries. Is something about my test source data not mimicking faithfully enough your situation?

  • Mapping to the same table through multiple references

    Hello,
    I'm trying to map aggregate fields (from my target) to mutlitple tables (back on my source), but am hung up because I need multiple references to the same table (basically a lookup values table) in my target. I believe that the problem lies in not being able to reference (in the mapping workbench at least) the same table more than once (such as through an alias, or otherwise defining multiple references) in the multi-tables tab. Is there a way around this, or some other approach to mapping it that I can take?
    Thank you,
    John

    Not exactly sure what you are trying to do, perhaps listing the object model and data model would help.
    If you are having trouble mapping the aggregate in the Mapping Workbench you may be able to workaround the problem through using a descriptor or project amendment method and defining the mapping through the code API.

  • Error/Warning while validating a mapping

    I'm using OWB version 9.2 and database 9i.
    I have few major problems in OWB. We have stage and star schemas on the same database instance. The source system is on a different database instance. There are database links created between target instance to source.
    I have about 20 mappings; all validated, deployed and executed successfully about 2 weeks back.
    Beginning of this week I logged on to OWB and tried to make some changes to one of the mappings. Before I made changes I tried to validate the mapping and I got following warnings:
    "VLD-1008: Referenced mapping column <COLUMN_NAME> does not exist"
    "VLD-1003: Reference <COLUMN_NAME> between mapping object and repository object does not exist".
    When I click on "View Details" it says I need to reconcile outbound of the staging table.
    When I have not made any changes to the mapping why do I need to do this? I want to know under what circumstances do we get this message?
    Another weird thing is I validated the mapping, after 15 minutes I tried to deploy this and still got the above warnings, although I had reconciled outbound and successfully validated the mapping. Am I missing something here?
    Another problem is I have a mapping which loads a dimension from staging table. Very simple basic mapping all it does is dumps from staging table to dimension and key is generated by sequence generator. Both stage and star schemas are on the same database instance. When I try to validate this mapping it gives me error:
    "VLD-2769: Database link is not allowed for data target <DIMENSION_NAME>" and when I click view details it shows following:
    "Loading of data across database link is not supported. Deploy this mapping within the same database instance as the actual target and remove the database link access specification from the physical configuration of this data target operator."
    I have not specified any database link or schema name in the mapping configuration; both stage and star schemas are on same instance. Although there are two instances that it works fine. First if I provide the schema name in the mapping configuration it gives me warning but deploys and executes fine. Secondly if I go to deployment manager, select the mapping and click deploy it validates successfully. Why do I get this error when I validate in the mapping editor?
    I never had these problems before; all the mappings were validated, deployed and executed successfully.
    I would like to know where/what could have gone wrong? Could any of you point me in the right direction? Any help would be greatly appreciated.
    Thanks

    hi.
    ok look i also had this errors:
    "VLD-1008: Referenced mapping column <COLUMN_NAME> does not exist"
    "VLD-1003: Reference <COLUMN_NAME> between mapping object and repository object does not exist".
    this errors could be due to that something has change in the source database, in this case could be that somebody change the name column since the last time you did the load.
    A possible solution is that you open the mapping (edit) and reconcile the tables both the table "from"(where the table came) and the table "to"(the table destination).
    ooh and check the source system for any table that has changed, if it changed, so you have to load again the table.
    bye

  • Apex 4.0 map - state names

    hey guys,
    i'm just working with apex 4 and it's map feature.
    very nice so far, but one thing:
    how can you display the names of the states? I come from germany and Thüringen and Baden-Württemberg won't be displayed. I know it's because of the umlaut in german but there's gotta be a way i guess....
    pls help =)

    Hi jR-ora,
    That's great you've found the information for the map of Germany in the Create Wizards. The Map Region Information is also available on the Map Series page, for an existing map. So if you go to edit your map query, navigate to the Map Series page and if scroll down to the end of that page you'll find another "Map Region Information" Show/Hide region that will display the information associated with your chosen map source .amap file. We've incorporated the AnyChart Map Reference Information within our UI, to save you from having to refer to the AnyChart online documentation all the time. You can of course also refer to the AnyChart documentation here: http://anychart.com/products/anychart/docs/users-guide/map_reference/maps-ref.html?fromtree. Please note that the AnyChart information for your chosen map does not contain umlauts, so you'll need to take that into consideration when you're generating your map. I've got a couple of sample maps here - http://apex.oracle.com/pls/apex/f?p=36648:9 - which might prove useful to you.
    Regards,
    Hilary

Maybe you are looking for

  • How does B2B in SOA SUite 11g identify sender/receiver of inbound document?

    Hi All, I am checking basic B2B features - custom document protocol. I have defined docuement definition, trading partner, agreement, channels as per guide. When I copy (manually) a sample xml payload (complaint to definition xsd and identification e

  • OBIEE 11g performance problem

    Hi, I am facing a performance problem in OBIEE 11g. When I run the query taking from nqquery.log in database, it is giving me the result within few seconds. But In the OBIEE Answers the query runs forever not showing any data. Attaching the query bel

  • Bpm exception branch not triggerd

    Hello, I have defined an exception + corresponding exception branch in my bpm block. In my bpm processing steps I have assigned the above mentioned exception as system exception. My problem is that if one of my processing steps fails, the exception s

  • Help with install

    How do I re-install Photoshop elements 11 on my new laptop?

  • Lexicons

    Hi. I have a report query that begins with a select &report_sort, A.stu_name,... When I run the query in SQL+ passing in the report_sort parameter, it works. However, when I run my report from my form, the report data is not ordered according to the