Access promoted value in an outbound map

Hi all,
Is there any way to access a promoted value in my outbound map. I tried using xpath but that works only if we I give the property schema in source. I wanted to know if there is any functoid that can accomplish this work of accessing a promoted value from
property schema, not in orchestration maps, but in outbound map so that I will have 1 source schema and 1 destination schema.
Thanks in advance.
BizTalk Developer, Bangalore, India

Hi Nazeer,
Not all promoted properties are added to the context of every message. And No, you can use this ContextAccessor functoid to access promoted values which are not promoted in the source schema
context.
Let’s explain this process with an example. If your source schema is named-Employee schema and contains three elements in it like ID, Name, Age. And in your schema if you have promoted ID
element using property promotion, then in the context of this particular message instance along with other system-defined properties you will have ID and its value. This ID can be accessed in the various BizTalk Server components, including pipelines and orchestrations.
If you have another schema named as Machine which contains element like MachineID, Name and if you have promoted MachineID using property promotion then 
in the context of the this particular message instance (Machine) you will have MachineID along with other system-defined properties.
In your outbound map, if your source schema is Employee and if you want to access the MachineID, you will not able to access it because MachineID is part of the Machine message instance.
But if you want to access the MachineID in your map where Employee scheme is used, then you can copy the context property from an Machine message instance to Employee message instance. If you have any Orchestration before the map you can do so like:
Employee(PropertySchema.SomePropertyFiled) = Machine(PropertySchema.MachineID)
So when the Outbound map executed at the send port, using the
ContextAccessor functiod.
If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

Similar Messages

  • Accessing ID Value Mapping table in XSLT

    Hi Experts,
    In the XSLT mapping,I would like to access my value mapping table which i defined in ID .The purpose of ID value mapping here is, the table entries will be changing in future and i don want to use fix values, XML table  which is defined in runtime.
    I have gone through the blog
    /people/sreekanth.babu2/blog/2005/01/05/design-time-value-mappings-in-xslt
    which explians design value mapping table in XSLT.
    Is there any way to access Configuration Value Mapping table in XSLT? If yes, can you explain how should i achieve it ?

    Hi,
    you can use the xivmService to call ID val map tables.
    Use tha java function executeMapping, Its a standard SAP api.
    Declare the Service in XSLT at start
    <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:vm="com.sap.aii.mapping.value.api.XIVMService" version="1.0"> 
    Call the val mapping table using below template wherever required.
    <xsl:template name="ValueMapping">
    <xsl:param name="SenderParam"/>
    <xsl:value-of select="vm:executeMapping( 'SenderType', 'SenderTypeSchema', $SenderParam, 'receiverType', ReceiverTypeSchema')"/>
    </xsl:template>
    Call template like :
    <xsl:call-template name="ValueMapping">
    <xsl:with-param name="SenderParam">
    try it and let me know if you have any doubt.
    regards
    Inder
    Edited by: Kulwinder Grewal on Aug 12, 2009 11:36 PM

  • Accessing value of a textfield mapped to an infobus column

    I am attempting to access the text value of a textfield mapped to an Infobus column.
    In this instance, I am trying to get an account type from the appropriate textfield to pass it to a new query.
    I have tried using getText - this returns a string of "oracle.sql.STRUCT@nnnn" (where nnnn is an hexidecimal bnumber)
    I also tried creating a method on the textfield using code I found here to retrieve the dataItem, map it to an immediate access control and retrieve the value using getValueAsString().
    This approach also returns "oracle.sql.STRUCT@nnnn" of course the numbers are different but as far as I can see, I have know way of knowing if this is the same class or not.
    What I am wanting to do is this....
    jpLookup.getRowSetInfo().setQueryCondition("ACCOUNTTYPENAME" = '"+tfType.getFieldContents()+"'");
    jpLookup.getRowSetInfo().executeQuery();
    for testing, I took out the internal single quotes so I could see what was being generated through the sql error dialog. With them in place, I simply get an empty result set since I don't have any account types of 'oracle.sql.STRUCT@nnnn'
    SO, could someone point me in the right direction??

    TextFieldControl tField = new TextFieldControl();
    ((ImmediateAccess)tField.getDataItem()).getValueAsString();
    Linda

  • Help needed with domparsers for accessing TextNode value

    Hi,
    My input appears like this.
    <header>
    <Data>bhargav</Data>
    <header>
    i need to write a java mapping code where i need to access the value of <Data>.It is a type String and Category is element.In my java code i need to take this content of <Data> into a String.
    Thanks in advance,
    Bhargav
    Message was edited by:
            bhargav gundabolu

    Hi,
    Im using this java mapping to solve the level-2 hierarchical issue that occures with content conversion.I have written my java mapping using domparsers and StreamTransformation. and the output is coming fine.But in one case i need to access the value of the <Data> node and make some changes to it.But im unable to do it as <Data> here is a text node.
    Thanks,
    Bhargav

  • Accessing keys values individually

    Anyone know how i can access a key..I know the get method those this..but my key values can be any number and i need to be able to access them individually without knowing what they are..There is a method called keySet() which returns a list of the keys..Can i access these numbers in the list..or is there a simpler way of doin this..Anyone able to help me..Please..

    Yes im able to return the keySet() values
    [2, 8, 1]But what i need to do is access these values to then access there elements.
    as
    2 = {1, 4, 5, 6}
    8 = {2, 6, 8, 9}
    1 = {3, 5, 7, 9}I was trying to do this in a for loop..by implementing it to a size 0f 3(the size of the map)

  • Accessing hash values

    I'm using a concurrent hash map
    and i use as values to keys an object that is a bit complex.
    it has a queue and i add urls.
    how can i add urls while it is in the hash without get & replace methods?

    maybe i did not stated it correctly.
    I am trying to access the value of the hash.
    This is done like getValue(key). Then i want to change that object-(value of hash).
    MyObj newobj = hash.hetValue(key);
    newobj.add(1);But then i see that the change is at the newobj and not at the object in the hash!!
    How do i modify the value of the hash?

  • Access field value in ALV

    Hello experts,
    I have created an simple ALV Grid report, in that I have implemented double click event n I want to create a new ALV grid with new data to be displayed. So I want to access field value ie using SLIS_SELFIELD or anything. Could anyone please guide me how can I access a field value using slis though SLIS_SELFIELD has methods like SEL_TAB_FIELD... I wan to access something like SEL_FIELD_VALUE but its not available in the class.
    Thanks in advance...
    Regards,
    Viral Patel

    Hi Viral,
    SLIS_SELFIELD has an attribute named VALUE which holds the value you selected row & TBAINDEX holds the row number.
    Refer below code snippet :-
    FORM user_command
              USING s_ucomm LIKE sy-ucomm
              s_selfield TYPE slis_selfield.                    "#EC CALLED
      CASE s_ucomm.
        WHEN '&IC1'.
          CLEAR wa_podat2.
          READ TABLE itab_podat2 INTO wa_podat2 INDEX s_selfield-tabindex.
          CHECK sy-subrc = 0.
          IF wa_podat2-ebeln = s_selfield-value.
            SET PARAMETER ID 'BES' FIELD wa_podat2-ebeln.
            IF wa_podat2-ebeln IS NOT INITIAL.
              CALL TRANSACTION c_tcode.
            ENDIF.
    For above event to happen, you have to use parameter I_CALLBACK_USER_COMMAND of  REUSE_ALV_GRID_DISPLAY as below :-
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = l_repid
          i_callback_user_command = 'USER_COMMAND'
          it_fieldcat             = itab_fieldcat
          it_events               = itab_events
        TABLES
          t_outtab                = itab_podat2[].
    Regards
    Abhii
    Edited by: Abhii on Nov 30, 2009 11:25 AM

  • How can I access the values in ProfileArray of a CWIMAQProfileReport?

    Hi all,
    I'm not sure if this is the right board, but I didn't find one related to VB and NI Vision.
    I'm using LineProfile2 from CWIMAQVision1 which gives me a ProfileArray which is a variant. I'd like to access the
    values in the array. Normally I would do it like
    Report(1).ProfileArray(i)
    but that does not work. I can get the bounds of the array with LBound and UBound. I can observe the array in 
    debug modus and it contains reasonable values.
    How can I get access to the contents of the ProfileArray?
    Thanks in advance
    Axel

    Hi Elmar,
    thanks for paying attention to my problems.
    I use Vision 8.5. My email adress is [email protected]
    I don't need the hole intensity of the image/2D array. I only need the
    intensity values of a given line which should be a 1D array of bytes.
    I use the following command
            CWIMAQVision1.LineProfile2 Image, Line, Report
    When I understood the command correctly the intensity values are
    in the Report. I would get them with 
            Report(1).ProfileArray(i)
    But that does not work. I get a runtime error #450.
    Other stuff with the report works and gives reasonable values e.g.
                Report(1).PixelCount
                LBound(Report(1).ProfileArray)
                UBound(Report(1).ProfileArray)
    Or passing the hole array to plot the values also works
            frmLineProfile.CWGraph1.PlotY Report(1).ProfileArray
    Best regards,
    Axel

  • Accessing the value of a text box input

    how do i access the value of a text box on a jsp page..
    eg:if the page name is Test.jsp and it has a text box named text.....

    You're mixing JSP and JavaScript. If you're staying within the same page, e.g. no get/post to another JSP, and you need to update values of a text field within a form, use pure JavaScript, such as:
    <form name="fred">
    <input type="text" name="USERID" size="15" onBlur="document.fred.PASS.value=document.fred.USERID.value;"><br>
    <input type="text" name="PASS" size="15"><br>
    </form>
    This will change the value of the PASS field to the same as the USERID field, which is what I think you were trying to do.
    Not to be rude, but in the interest of keeping the Java forum pure, I would look towards a JavaScipt forum if you wish to use pure JavaScript (http://freewarejava.com/cgi-bin/forumdisplay.cgi?action=topics&number=1&SUBMIT=Go)
    bRi

  • How to access the value of a field of a field symbol.

    Hello All,
    i need to access the value of a field in a field symbol. But when i am trying to get the value like <FS>-POSNR, it's showing that that the <FS> has no structure.
    In my program, the field itself that i need to check should be dynamic. ie i'll get the field in a variable and i need to find the value of that field.
    Am pasting my code below, please tell me what needs to be done.
    here in my sample code i am moving the entry of the <FS> into a work area structure. But in my actual program, i gets the structure as a parameter. So is there any way i can declare a work area dynamically...
    FUNCTION z_39181_dyn_fs_60758.
    ""Local interface:
    *"  IMPORTING
    *"     REFERENCE(PARAMETER) TYPE  VBELN
    *"  TABLES
    *"      DATA_TAB
      BREAK-POINT.
      FIELD-SYMBOLS <fs> TYPE ANY.
      FIELD-SYMBOLS <fs1> TYPE ANY.
      FIELD-SYMBOLS <fstab> TYPE ANY TABLE.
      DATA name(5) VALUE 'POSNR'.
      FIELD-SYMBOLS <f> TYPE ANY.
      DATA: dref TYPE REF TO data,
            dref1 TYPE REF TO data,
            dref2 TYPE REF TO data.
      DATA: lv_lips TYPE string.
      DATA: lv_lipsfld TYPE string,
                lv_fld TYPE string,
                lw_lips TYPE lips.
                lv_lips = 'LIPS'.
                lv_fld = 'LW_lips-POSNR'.
      CREATE DATA dref1 TYPE (lv_lips).
      CREATE DATA dref TYPE STANDARD TABLE OF (lv_lips).
      CREATE DATA dref2 LIKE LINE OF data_tab.
      ASSIGN dref->* TO <fstab>.
      ASSIGN dref1->* TO <fs>.
    assign dref2->* to <fs
      <fstab> = data_tab[].
      LOOP AT <fstab> INTO <fs>.
        lw_lips = <fs>.
        WRITE lw_lips-vbeln.
        ASSIGN (lv_fld) TO <fs1>.
       write <fs>
      ENDLOOP.
    Helpful answers will be rewarded...

    Use syntax
    ASSIGN COMPONENT name OF STRUCTURE struc TO <fs>.

  • How to access the value of application item in javascript

    How to access the value of application item in javascript?

    Hi,
    One way
    var myVariable = '&MY_APP_ITEM.';Br,Jari

  • How to access the value of the editorDataField="value" to the actionscript file

    Hi ,
    I have a itemRenderer component(button) in the datagrid ,I am
    catching the label of the button (when changed )using the property
    in the <dataGridColumn> tag .
    My tag looks like this
    <mx:DataGridColumn headerText="ABC" dataField="COL1"
    rendererIsEditor="true" editorDataField="value"
    itemRenderer="renderer.buttonRenderer" editable="false"/>
    I need to access the value of the editorDataField in to my
    actionscript file ,
    Can any one please help me
    thanks
    Nash

    Hi,
    if it is the current row, use this.getCurrentRow().getAttr() where the attribute can be identified by the index or a String (its name). If you need to access aspecific non-current row, use getRowAtRangeIndex(int index)
    See: http://www.oracle.com/webapps/online-help/jdeveloper/10.1.2/state/content/navId.4/navSetId._/vtTopicFile.bc4jjavadoc%7Crt%7Coracle%7Cjbo%7Cserver%7CViewObjectImpl~html/
    Frank

  • Access InputText Value in Declarative Component

    Hi,
    I have created a declarative component that contains an inputText component:
    <af:inputText label="#{attrs.ucitLabelText}" id="dc_it1" contentStyle="text-transform:uppercase;" converter="StringAsUppercase"/>
    When I use the declarative component on a page, is there any way to easily access the value of its inputText through the page backing bean? The declarative component is bound to the page, but what method can I use to access the inputText value?
    Thanks,
    Brad

    Thanks.
    I also figured out that I can simply do the following:
    When creating the declarative component...
    - Add an attribute to the declarative component (let's call it "inputValue")
    - Assign the inputValue attribute to the inputText value.
    When using the declarative component on a page...
    - Create a String property in the page's backing bean
    - Assign that property to the declarative component's inputValue attribute
    Then I can access the backing bean property to get the inputText value.
    Brad

  • Trying to access row values in a table which does not have any rows yet

    try{
                             MappedRecord importParams = recordFactory.createMappedRecord("CONTAINER_OF_IMPORT_PARAMS");
                             IFunction function1 = client.getFunctionsMetaData().getFunction(funModGetDet);
                             IStructureFactory strucFact = interaction.retrieveStructureFactory();
                             response.write("try2 :"+pnumber);
                            IRecord structure = (IRecord) strucFact.getStructure(function1.getParameter("PERNR_TAB").getStructure());
                             response.write("try111 :"+pnumber);
                             structure.setString("PERNR",pnumber);
    I am getting the following error "Trying to access row values in a table which does not have any rows yet " where PERNR_TAB is a table containing field "PERNR".
    Can anybody help me out?

    Please re-post this question in the appropriate forum. It seems to have nothing to do with Web Dynpro.

  • Copy value function in message mapping?

    can someone help me understand copy value function in message mapping???

    Hi,
    Here's a good example providen yesterday by Mark in a thread.
    [Re: different contexts to different targets]
    And here's SAP help: [http://help.sap.com/saphelp_nwpi71/helpdata/EN/26/d22366565be0449d7b3cc26b1bab10/content.htm]
    Then play...
    Mickael

Maybe you are looking for

  • Configuring Apps for SharePoint 2013 - Host Header Sites

    Hi All I am busy planning our Apps for SharePoint deployment and one gotcha seems to be sites that use host headers. Our current deployment consists of the following: 2x WFE's (WFESRV1 and WFESRV2) 2x App Servers (APPSRV1 and APPSRV2) The WFE's are l

  • Issue in query my  order in Order Management

    Hi, I customized the OM module to give credit card information in third party site, for that i assigned dummy values for credit card and card holder name etc in the OM. to open third party site. Now my issue is if i query my order in OM dummy values

  • Left external speaker stopped working

    Left external speaker stopped working, right works fine. When I connect headphones, they work fine. Have tried two different sets of speakers, deleted plists and reset pram. Please help!

  • ITunes has deleted random selection of library and refuses to import

    A week after installing iTunes 9.1, it has deleted a large random proportion of my tirelessly preened library. Upon attempting to re-import my files, iTunes runs a loading bar as if it's accepting them, but imports only some randomly selected, if any

  • Delimited_hdr-=no in oracle 9i causes remove  header from file

    i am converting my output of reports into excel file i am using desformat=delimiter and delimited_hdr=no if i use this in my command line i got output without header and if i do delimited_hdr=yes then repetitive header displayed. how to overcome that