Help in Mapping contexts

Hi friends,
my Source structure is
ZField<0:10>
---Fname(Fields under Segment)(0:1)
---Sname(Fields under Segment)(0:1)
This target node should be mapped to
Name<1:1>
  ---Fname(1:10)
  ---Sname(1:10)
with target node having 1:1 its not taking the values when Zfield node repeats..
can you help me in solving this..
My preferred output if the Zname node repeats twice means
Name
---Fname
---Sname
---Fname
---Sname

ur data type structure is not defied correctly.
Name<1:unbounded>
---Fname(1:1)
---Sname(1:1)
u will get below output for multiple Zfield for above structure this is wat r u looking for....
Name
---Fname(1:1)
---Sname(1:1)
Name
---Fname(1:1)
---Sname(1:1)

Similar Messages

  • How-to map multiple explicit search help values to context attributes?

    Hi,
    I have a custom explicit Search Help with multiple attributes set as export and uses search help exit for data retrieval. I have set this Search Help for one of the context attribute that is binded to one of the input fields on view.
    Now, is it possible to dynamically map other export attributes from this Search Help to other Context attributes?
    I know this works for Input helps that are directly derived from check tables but not sure how to do it for explicit Search Helps.
    Can anyone please confirm and let me if this is possible? If yes, then can you please share an example or describe how to do it?
    Thanks and Regards,

    Hi Srinivas,
    Check this ..Search help can be dynamically assigned to a field.
    data lo_nd_info type if_wd_context_node_info.
    lo_nd_info = lo_nd->get_node_info( ).
    CALL METHOD lo_nd_info->set_attribute_value_help
    EXPORTING
    name = 'ATTR1'                  " Your attribute Name
    value_help_mode = '121'    " Valid value help mode
    value_help = 'Z187442'.      " Search help name
    The various possible values that you can pass to value_help_mode are as shown below.
    deactivated 101
    automatic 111
    ddic 121
    ovs 131
    Also refer this..
    Re: How to put dynamic search help in web dynpro ABAP.
    Cheers,
    Kris.

  • How to read Group ID from Value Mapping Context in Cache Monitoring ?

    Hi friends,
        In RWB --> Cache Monitoring --> Integration Server (Java) -> (Search for Value Mapping Groups) in this each item is identified by Value Mapping Group (GroupID, Context, Identifier/Agency, Identifier/Scheme). Either we create Value Mapping Table in ID or replicate value mapping data directly from text file/SAP table etc., in run time cache, data will be identified in this manner.
        Now, our requirement is to delete a record the Cache for a particular context. Two operations provided by XI one is 'Delete' and another one is 'DeleteGroup'. When we use either of this, we should know GroupID. Suppose, I replicated some large amount of data from my text file in Runtime Cache. Value Mapping Table is like that IN --> India, US --> USA, AU --> Australia, EG --> Egypt. Now, I am required to write a program to get the input country code from user which is going to delete in the value mapping table like IN/AU....  For this, what logic we should follow in the program is, First we scan the value mapping table and find the record (country code)  which is match with the input. Then find the GUID value for this record. Now we use the DeleteGroup Operation and pass this GUID and then delete the record.
        So, in essence, how to read the GUID from value mapping context.
        Friends, Kindly help me to do this.
    Thanks in advance.
    Jegatheeswaran P.

    Did you get the way to read group id?

  • Map context node  web dynpro to context DATA of  interface controller ALV

    Hi Experts,
    I have started creating simple ALV by following the example in the below mentioned link.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/3439404a-0801-0010-dda5-8c14514d690d
    I have completed 95% development but stuck with last bit of
    Set data to ALV for display (via reverse context mapping).
    When Click on the Controller Usage button. The component controller of your Web Dynpro component DOES NOT appears on the right side of the screen.
    Therefore I can not  Map context node NODE_FLIGHTTAB of your Web Dynpro component to context DATA of the interface controller of the ALV component.
    Could you please shed me light on this.
    Your time and help much appreciated.
    Best Regards
    CB

    Hi Chandra,
    You need to add component controller first. Just go to the property tab of interface controller of the alv component and click on create button and then add the component controller. After that you'll be able to see the node in the context tab.
    Regards
    Arjun

  • External mapping context

    Hello.
    I have one problem. I have 2 components? for example compA and compB. In compB I used compA. From compB I give parameters to compA throuth Context mapping and in compA execute RFC using this parameters. After execute I want to mapping result context from compA to compB. Is it possible to do? And if possible, how can I do this?

    I think the mapped context is not initialized in the wdDoInit method. Create your own init method in compA and call it from the wdDoInit of the view of compA.
    So you have the call hierarchy like this --> Fire plug of compB --> wDoInit of the view in comA (hook method) --> your own init method in controller of compA. Then you should be able to access the initialized mapped context.
    Hope this helps.

  • Help with mapping the mod_plsql path with Apache

    Hi,
    I need help with mapping my pl/SQL Handler path.
    Currently i have an URL like this :
    http://myhost.com/pls/DADUSER/PLSQLPROC?param1=123
    But I need something like :
    http://myhost.com/d/PLSQLPROC?param1=123
    I tried to rename the "Location Handler" from "pls" to "d", works great, but it always appends my Default DAD User to the URL.
    And I tried to map my PL/SQL Handler to "/" and create a DAD User called "d" and set it to default. Didn't worked...
    Any help is appreciated....
    Bye,
    Oliver
    null

    Oliver,
    try to use the rewrite directive or the
    rewrite engine (mod_rewrite).
    Please see the Online documentation for how
    to do this:
    http://technet.oracle.com/docs/products/ias/doc_library/1021doc_otn/comm.102/a87562/apptroub.htm
    Hope it helps
    -Stefan

  • Need help on maps v3.04

    i need help for map v3.04. i just downloaded the v3.04 and i notice it doesn't have GPS signal on the map. last time i was using v3.03, it has. the problem is, i have disabled the connection of internet. but when i use the map v3.04 for navigate, my credit still affected. i wonder why. is it using v3.04 is still ok or do i need to use v3.03. how to install v3.03 since the updater only have new one.thanks
    Solved!
    Go to Solution.

    You should be able to use V3.04 without incuring any network charges as long as you have it set up correctly. Check the following.
    Start the Location application and click on Positioning>Positioning methods. Make sure everything other than Integrated gps is unticked.
    You will also need to download all the required map data. To do this, connect your phone to a pc using Ovi Suite and download the relevant map data. After that, start Maps, click on the Spanner icon>Internet>Connection, set this to Offline.
    As for the signal bars, this has been replaced by the red dot on V3.04. The dot stops flashing when position fix is obtained. Sometimes you may see a pink halo around the red dot. The size of this halo gives you an indication of the position accuracy. The bigger the halo the less accurate the fix.

  • Robohelp 7 - Context sensitive help and map ID's

    Hi there,
    Long time reader, first time poster. Let me just say my background is in training, as opposed to technical writing or software, so forgive me if my technical knowledge seems lacking.
    My issue is that I've been presented with a bought in software product that the company I work for uses, and it's been updated. A year or so ago, we took their product, rebranded it and released it. The help was generated for our software build internally, producing a .chm file, which then mapped to their software to make it context sensitive for about 10 of 58 topics (top level only). (The original vendor provided an .ini file with some map id's)
    My issue is that over the year, numerous changes have been made to the Word document, and it doesn't really resemble the original anymore. It is used to produce a manual, and from this manual, one chapter is imported into Robohelp 7 without images and converted to .chm. I've managed to import the chapter, convert it and produce the .chm file, however I am at a com-lete blank when it comes to making it context sensitive. I have several questions therefore...
    1. Is it possible to create a new .chm that links to the old map id's? And if so what do I need to do?
    2. Would it be possible to simply import the new Word file to the old project if the topics stayed the same? (Would there be much manual work?)
    3. If these files are to be localised, what needs done to make that process as painless as possible? (The manual will be translated and we get that back)
    Further details on the project. It's approx. 58 topics long, ranging from 20 sentences in one topic to approx. 250 in another. There are jump hotspots within the project, and a TOC has been produced. (I believe this makes the topic ID's sensitive?)
    The old project had an .hh file with each line having the format: "#define     1001     1001", my new .hh file states "#define     topic_title     1". I believe this is important and these may need to match?
    The old project had a .hpt file with each line in the format: "23|1001|topic title", my new .hpt gile states: "23|topic_title|topic title". Again as these seem to refer to reference I believe they'd be important.
    Any help would be greatly appreciated! Nothing I've tried so far has worked
    Regards,
    Wazza

    The construction of your call is invalid. You can use a URL with the structure path/startpage.htm#topic.htm to call a specific topic but that is not how it works with map ids. There are topics on my site about calling webhelp by various means.
    I don't know where you got the trial of RoboHelp 7 but you will not be able to buy a full version as the current version is RoboHelp. Also Adobe have announced various sneak peeks of RoboHelp 9. There is a clue there.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Help with Message Mapping - Context Change

    I need help with the following message mapping.  I am filtering by EMP_STAT in the Message Mapping.  I have this working for the ROW structures, but I can get the HEADER/REC_COUNT field to calculate.  I can do just a record count of ROW and get it to work, but I can't get it to work with the filter EMP_STAT = 'REG' added.  I get a context error.  Could someone send me the mapping code.
    Sender XML----
    <RECORD>
    <ROW>
    <EMPLOYEE>111</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    <ROW>
    <EMPLOYEE>222</EMPLOYEE>
    <EMP_STAT>PT</EMP_STAT>
    </ROW>
    <ROW>
    <EMPLOYEE>333</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    </RECORD>
    Receiver XML----
    <RECORD>
    <HEADER>
    <REC_COUNT>2</REC_COUNT>
    </HEADER>
    <ROW>
    <EMPLOYEE>111</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    <ROW>
    <EMPLOYEE>333</EMPLOYEE>
    <EMP_STAT>REG</EMP_STAT>
    </ROW>
    </RECORD>

    Hello,
    You can use this mapping
    For REC_COUNT:
    EMP_STAT -> equalsS: constant:REG -> ifWithoutElse -> removeContext -> count -> REC_COUNT
                                     EMPLOYEE -> /
    For ROW:
    EMP_STAT -> equalsS: constant:REG -> ifWithoutElse -> removeContext -> ROW
                                     EMPLOYEE -> /
    For EMPLOYEE:
    EMP_STAT -> equalsS: constant:REG -> ifWithoutElse -> removeContext -> SplitByValue -> EMPLOYEE
                                     EMPLOYEE -> /
    For EMP_STAT:
    Constant: REG -> EMP_STAT
    Hope this helps,
    Mark

  • Context sensitive help, adding mapping ID

    I am updating a HTML help project file and having trouble adding additional mapping ID's. The .chm file works fine within the application we are using using the original data. However when I add to the .h file to add additional mapping ID's, its not working (only on the new mapping ID's I added. When I use the CSH Test application, it works fine. Its when ever I add additional mapping ID's it does not work within the application. So far Adobe hasn't been able to figure it out.
    To Clarify:
    Original file looks like this: (these work fine within the application - outside of RoboHelp)
    Works fine with the CSH Test within Robohelp
    #define HIDD_ADMIN_REPORT_9G                               906      // 0x0000038a  906
    #define HIDD_ADMIN_REPORT_10A                              1000     // 0x000003e8  1000
    #define HIDD_ADMIN_REPORT_10B                              1001     // 0x000003e9  1001
    #define HIDD_ADMIN_REPORT_ELAPSED_HOLD      1101     // 0x0000044d  1101
    the values I have added: (these don't work within my application, but do work fine with the CSH Test within RoboHelp)
    #define HIDD_ADMIN_REPORT_9h                            131080
    #define HIDD_ADMIN_REPORT_9i                                131081
    #defineHIDD_ADMIN_REPORT_9J                                131082
    #define HIDD_ADMIN_REPORT_9k                                131083
    #define HIDD_ADMIN_REPORT_9L                            131084
    PART of my question is - what is the // 0x0000038a 906 - mean? when I export the file it doesn't add those values
    HELP !
    Thanks,
    Jim

    To answer your question, I'm not sure but it may explain why the call works in the CSH Tool but not from the application. It looks like some sort of hexadecimal value. Could you ask one of your developers to take a look and see if it rings a bell?

  • Need help... context check in mapping

    Hello Experts,
    mapping working perfectly if we have less no of records in source XML.
    if we have large no of records, in output we are getting two extra segments and not able to trace this.
    as the message is too big not able to check context and queue in mapping.
    any other alternate way to check the context???
    its a graphical mapping and used standard functions in mapping logic....no UDF.
    regards,
    chinna

    Hi Chinna
    Unfortunately there is no other way to check the context in graphical mapping. Only option is to
    get it from the mapping editor in PI.
    You can try to run the same data in other environment which has better performance for example
    in staging or production.

  • Need help in Mapping Logic

    Hi all,
    In mapping i need to mapp like this
    Idoc--file scenario, sending delivery document to file system
    in header of file structure, i have a field called Total Units, the logic for this field shld be
    Sum up the field ZCONV_QUAN for each delivery.
    How to do this please help me
    Regards

    Hi satish,
    I have to do some thing more in this.
    As you said i mapped the field to sum and to target field.its fine
    Now this field is there at header level and comes only ones, i should repeat this field as many number of times the line item repeats.
    Now iam using the ligic like this
    ZCONV_QUAN--UseOneAsMany-Sum--Target Field
    to UseOnaAsMany function i mapped ZCONV_QUAN as first argument and changed the context to Idoc and the second argument as line Item segment changed the context to Idoc, third argument as line itme segment.
    its giving the error as
    Too many values in first queue in function useOneAsMany. It must have the same number of contexts as second queue
    Regards

  • Mapping Context Problem

    Hi All,
    I hav a <b>source structure</b> as
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:OB xmlns:ns0="http://cibasc.com/anil">
       <Root>
          <VBELN/>
          <EDL24>  -
    1..Unbounded
             <NTEGW/>
             <MATNR/>
             <ETXTH9>
                <FUNCTION>pck</FUNCTION>
                    <ETXTP9>
                                <TDFORMAT>c</TDFORMAT>
                         <TDLINE>qqq</TDLINE>
                 </ETXTP9>
                 <ETXTP9>
                               <TDFORMAT>c</TDFORMAT>
                        <TDLINE>rrr</TDLINE>
                 </ETXTP9>
                 <ETXTP9>
                        <TDFORMAT>u</TDFORMAT>
                        <TDLINE>mmm</TDLINE>
                 </ETXTP9>
             </ETXTH9>
             <ETXTH9>
                   <FUNCTION>pck</FUNCTION>
                    <ETXTP9>
                               <TDFORMAT>c</TDFORMAT>
                        <TDLINE>qqq</TDLINE>
                 </ETXTP9>
                 <ETXTP9>
                               <TDFORMAT>c</TDFORMAT>
                        <TDLINE>rrr</TDLINE>
                 </ETXTP9>
                 <ETXTP9>
                        <TDFORMAT>u</TDFORMAT>
                        <TDLINE>ppp</TDLINE>
                 </ETXTP9>
             </ETXTH9>
             <ETXTH9>
                   <FUNCTION>pck</FUNCTION>
                    <ETXTP9>
                               <TDFORMAT>c</TDFORMAT>
                        <TDLINE>qqq</TDLINE>
                 </ETXTP9>
                 <ETXTP9>
                               <TDFORMAT>c</TDFORMAT>
                        <TDLINE>rrr</TDLINE>
                 </ETXTP9>
                 <ETXTP9>
                        <TDFORMAT>cu</TDFORMAT>
                        <TDLINE>ttt</TDLINE>
                 </ETXTP9>
               </ETXTH9>
          </EDL24>
       </Root>
    </ns0:OB>
    The Target Structure is :
    <Root>
        <Attrib> -
    0 to Unbounded
           <Element1>
           <Element2>
           <Element3>
           <Element4>
        </Attrib>
    </Root>
    Now i wanna map <VEBLN> which is under Root to Element1
    <VEBLN>   ---   <Element1>
    <NETGW>   <b>if not equal to 0 then</b> -
    <Element2> (If this condition fails, the mapping for this occurence of EDL24 shud b stopped and shud goahead with the next occurence.
    <TDLINE>    -
       <Element4> The condition for this is as follows:
    Check for the element FUNCTION whose value is 'pck' and if it 'pck', then again check for the element TDFORMAT in the segment ETXTP9 for the value 'cu'. if it 'cu', then populate the Element4 with the TDLINE.
    I had tried in most of the ways....but din't get it..
    Any help wud b appreciated.
    Thnx in Advance
    Anil

    Hi,
    Try this...
    Mapping:
    NTEGW(with context as ROOT)>getNTEGW>Attrib
    VBELN(with context as ROOT )--\
    NTEGW(with context as ROOT )|>useOneAsMany-->Element1
    NTEGW(with context as EDL24)--/
    NTEGW(with context as EDL24)-->Element2
    TDLINE(ETXTP9)-----><b>THEN</b>
    FUNCTION(ETXTH9)--\
    TDFORMAT(ETXTH9)--|->useOneAsMany-\
    TDFORMAT(ETXTP9)--/
    |->Equals-\
    CONSTANT("pck")-/
    |->and-><b>IF</b>->formatbyexample->pass->E4
    TDFORMAT(ETXTP9)-\
    |->StringEquals-/
    CONSTANT("pck")-/
    CONSTANT("dontpass")-----><b>ELSE</b>
    <b>UserDefinedFunctions:</b>
    <b>Choose: QUE option:</b>
    public void getNTEGW(String[] NTEGW,ResultList result,Container container){
    for(int i=0;i<NTEGW.length;i++)
    if(NTEGW<i>.equals("0"))
    result.addValue(ResultList.SUPPRESS);
    else
    result.addValue(NTEGW<i>);
    <b>Choose: Context option:</b>
    public void pass(String[] a,ResultList result,Container container){
    for(int i=0;i<a.length;i++)
    if(!a<i>.equals("dontpass"))
    result.addValue(a<i>);
    Regards,
    KNS Kumar.

  • Dynamic Mapping : Context Controller to Context iView

    Hi,
    i'm trying to mapping attributes from a Context Controller made at runtime to a Context iView inside a view set.
    Someone can help me with the code ? In which way i can reference the iView from a method in the controller and mapping the attributes?

    Hi Antonello,
    Cool Down.......
    I understand this is your requirement.
    You are trying to map a dynamically created node from the component controller to a view controller.
    For that you have to code the method ADD_NEW_MAPPED_CHILD_NODE() of the interface IF_WD_CONTEXT_NODE_INFO in the appropriate method of the view controller with the mapping info and all.
    In your view controller get the "node info"  of the parent node, under which you want to add the new node.
    Get the node infro by calling get_node_info() method of interface IF_WD_CONTEXT_NODE.
    After getting the node info object call the ADD_NEW_MAPPED_CHILD_NODE() with the necessary parameters.
    If you are not clear or If I understood the problem wrongly please get back to me.
    Sankar.

  • Help on mapping problem

    Hi All
    I have the following challenge
    I have to map one field once for the header and as many times as it occurs for the item
    This is the source structure
    <segmen20>
    <segmen24>
    <belnr>10</belnr>
    </segmen24>
    <segmen24>
    <belnr>10</belnr>
    </segmen24>
    <segmen24>
    <belnr>10</belnr>
    </segmen24>
    </segmen20>
    <segmen20>
    <segmen24>
    <belnr>20</belnr>
    </segmen24>
    <segmen24>
    <belnr>20</belnr>
    </segmen24>
    <segmen24>
    <belnr>20</belnr>
    </segmen24>
    </segmen20>
    I have to map the field belnr once for the header and as many times as it occurs for the Item
    like this
    belnr 10 should be mapped once for the header and 3 times for the item
    <Header>
    <poheader>10</poheader>
    </Header>
    <Item>
    <poitem>10</poitem>
    </Item>
    <Item>
    <poitem>10</poitem>
    </Item>
    <Item>
    <poitem>10</poitem>
    </Item>
    and belnr 20   the same
    <Header>
    <poheader>20</poheader>
    </Header>
    <Item>
    <poitem>20</poitem>
    </Item>
    <Item>
    <poitem>20</poitem>
    </Item>
    <Item>
    <poitem>20</poitem>
    </Item>
    any help kindelly
    Thanks

    each target field mapping starts with the same sequence until *,
    if you have PI 7.1, then you can just continue from the * and add all sequences to the targets,
    In PI 7.0 or below, you can copy this sequence for every target.
    for example:
    belnr - removecontext - spltbyvalue(value changed) -  collapse context - <Header>
    If you have a parent tag order, then you do it like this:
    belnr - removecontext - spltbyvalue(value changed) - (*)
    (*) - collapse context - <Order>
    (*) - collapse context - splitByValue(value changed) - <poheader>
    (*) - <Item>
    belnr -  poitem>
    constant("") - header
    Sorry, I gut some errors in the first approach.
    This pattern is very important, I use this in almost every mapping: flat file -> Idoc

Maybe you are looking for