Mapping with dropdown component

Hi,
I have a view with a dropdownbyIndex component. The entries available in the dropdown list are comming from a bapi result.
In order to do this, the property "texts" of the compopnent is pointing to a model attribute of my context which is mapped to my custom controler .
This works fine and when executing I see all possible values coming from my bapi.
Now the problem is that I need to get the selected value of the list to be an input parameter for another bapi I import in my model.
How to do this ?
My view context have a node "MyList" and under this a property "MyProp" but it is already bound in my custom controler to the bapi_input that get the list to display.
If I try to set manually the bapi_input (wdContext.myNode.currentElement.setMyProp("toto")), a null pointer exception occurs at runtime.
Thanks,
Sylvain

Hi,
Thanks for your answers.
I solved my problem using :
     Bapisditm items = new Bapisditm();
     items.setMaterial(wdContext.nodeArticle().currentArticleElement().getMatnr());
     inputPO.addOrder_Items_In(items);
The problem was coming from the fact that the bapi was requiring input tables.
Sylvain

Similar Messages

  • How to find what are  the  support-teams map with particular componant type

    hi experts,
    i am new in solution manager.. My requirement is when creating the support message in crmd_order t-code i have to give the componant type in transaction data after that in fast entry screen i have to assign support team for that componant type .. here i have to give only valid support team which are map with particular componant type .. when save the support message here i have to check that support team is map with that particular componant type (i.e that support team is belong to that componant type ) .. thats what i have to do in abap development .. so how to find the what are all the support teams mapped with particular componant type .. whether it is stored in any table or ?.. Please give solutions ..
    Regards,
    Kumar..

    Hi Kumaresan-
    I'm not sure I fully understand your requirement but I will try to help out. If you are trying to determine / associate the relevant support team according to which component they are responsible for, this might help.
    The determination of the support team is maintained by configuring rule 13200137 in transaction PFAC_RESPO.
    Click on the Responsibilities Tab
    Create your responsibility based on your support team requirements
    Assign the appropriate Support Team, this data will be taken from the settings you have maintained when creating your org chart in ppoma_crm
    Highlight a responsibility and click Change
    In this table you will see an entry for SAP Component, this is where you identify which support team will be determined based on component

  • Return value(navigation) with Dropdown component

    I have a dropdown component on the page and selecting an item should open another page. Any ideas how it could be done?
    Data goes in sessionbean.
    Thanks in advance.

    Hi,
    Thanks for your answers.
    I solved my problem using :
         Bapisditm items = new Bapisditm();
         items.setMaterial(wdContext.nodeArticle().currentArticleElement().getMatnr());
         inputPO.addOrder_Items_In(items);
    The problem was coming from the fact that the bapi was requiring input tables.
    Sylvain

  • How i can set the selected item of a dropDown component from java code

    Hi
    Thank you for reading my post
    How i can set the slected item of a DropDown component from backing beans java code ?
    it is binded with a database , so one field determine its display and one other field determine its value , I want to set the selected item of this combobox
    In back code i have both value and display values to use them .
    can some one give me some help ?
    Thanks ,

    See code sample 3 at http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    See also, the selection components row in the table under http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/helloweb.html
    It says
    One way to preselect items is to call setSelectedValue(Object[]) or setSelectedValue(Object) from the prerender() method. You pass in the return values of the items that you want preselected. Be sure to verify that getSelected() returns null before setting the default options, or you will overwrite the user's selections on a post-back.

  • Addition of a new field "Leave Details" in the LTA screen with dropdown val-ues from Infotype 2001 subtype ITEL. From the current calendar year in ESS

    Hi Experts,
    we are using portal 7.3 version,Our requirement  is addition
    of a new field “Leave Details” in the LTA screen with dropdown values from Infotype
    2001 subtype ITEL. From the current calendar year in ESS.The new field should
    be available only for the claim type LTA claim or claim against advance.
    please find the below screen shot and details.
    Current View
    Component: HRESS_CLMS_WD_EMCR
    Personalization: 4370750342A6297CC184E2B07FE6D13E
    Window: W_CLM_DYN_UI
    View: V_CLMS_DETAIL
    Application Component: PY-XX-RS
    Kindly help me how to add this field and in which method can i implement code.
    Thank you in advance
    Regards,
    Vanitha

    Hi Shankar Reddy,
    Business requirement is  the new field  should display the list entry in Infotype 2001 for the calendar year as selection option for employee. they would like to know ITEL subtype claim,
    Example.employee no: EE#9941
    As per screen shot you may see for EE#9941 there are 2 Leave requests.
    So in the leave details the selection drop down menu option or any other way  should be display 2 lines.
    Regards,
    Vanitha

  • DropDown component warning message - please help?

    Hi,
    I am using a DropDown component on my page. The issue is that the contents of the component are set based on another selection on the page.
    So when the user makes a selection that changes the contents of the DropDown widget ( by calling defaultOptions.setOptions( options[ ]) I get the following warning message:
    "com.sun.rave.web.ui.component.DropDown::The current value of component form1:dropDown does not match any of the selections.
    Did you forget to reset the value after changing the options?"
    Anyone know a way that I can get rid of the warning? I tried disabling the component and setting the selected value to null.
    thanks,
    jj

    Microsoft Windows XP Home Edition Service Pack 2 (Build 2600)
    Dell Inc. Inspiron 6000
    iTunes 6.0.2.23
    CD Driver 2.0.4.3
    CD Driver DLL 2.0.3.2
    LowerFilters: Cdr4_xp (6.1.1.17),
    UpperFilters: Cdralw2k (6.1.1.17), pwd_2k (6.1.1.18),
    Video Driver: Mobile Intel(R) 915GM/GMS,910GML Express Chipset Family\Intel(R) 915GM/GMS,910GML Express Chipset
    IDE\DiskHTS548060M9AT00_______________________MGBOA5EA, Bus Type ATA, Bus Address [0,0]
    IDE\CdRomTSSTcorpCDRW/DVD_TSL462C_______________DE01___, Bus Type ATA, Bus Address [0,0]
    If you have multiple drives on the same IDE or SCSI bus, these drives may interfere with each other.
    Some computers need an update to the ATA or IDE bus driver, or Intel chipset. If iTunes has problems recognizing CDs or hanging or crashing while importing or burning CDs, check the support site for the manufacturer of your computer or motherboard.
    Current user is administrator.
    Failed loading CD / DVD drives, error -43. Try doing a repair install on iTunes from the "Add or Remove Programs" control panel.
    The last failed audio CD burn had error code -128(0xffffff80). It happened on drive on -128(0xffffff80) media at speed 0X.
    okay thats what i got when i hit the CD diagnostics. hope that helpss!

  • Overlapping with html component

    Hi,
    Html component overlaps dropdown menu bar i.e when pdf is opened with in html componenet
    I have a problem with html component in flex...
    I have 12 drop down menus on top of the page...
    On click of item in dropdown the corressponding file opens in html component....
    There is no problem if its html file file....
    But  if pdf opens in html component the dropdown menu goes behind the pdf file....
    i.e  pdf file in html component overlaps drop down menus...
    Pls let me know how we can overcum this.....
    Thanks & Regards

    I never did find a solution for this.  The Reader just doesn't support it.  What I ended up doing back then was to use ColdFusion's CFPDF tag to automatically convert each page in the PDF to an png, then do the touch gestures on the pngs.
    Don Kerr

  • JSF/ADF - Referencing a Map with Integer keys

    I'm generating several ADF input text boxes from a HashMap using Java code in my managed bean. The Map contains Integer keys and String values. Each input text corresponds to a key/value pair.
    I'm trying to build a string to bind the text box to the String object, but I'm struggling with the EL syntax for Maps. I know a Map with String keys would look like this:
    #{bean.object.map['stringKey']}
    But is it possible to specify a non-String key?
    Thank you.

    Hi,
    why don't you try it ? My assumption is that yes, it
    will work because Integer objects have a toString()
    method
    FrankI'm building the binding string in my bean, so Integer's value is inserted, resulting in:
    #{bean.object.map[1]}
    I don't believe the EL supports this for Maps. At least I wasn't able to get it to work. I also tried:
    #{bean.object.map['1']}
    This suggest a string '1' which isn't right either. My guess is that it isn't possible, but I'm hoping someone can prove me wrong.
    From searching the forum I've read that calling processUpdates() might eliminate the need for the ValueBinding step, but I'm not sure. If I called:
    component.setValue(myString);
    Then processUpdates() on each component after the form submit, would this get the its text back to the bean object? If so, could the code go in the form's save action method?
    Thanks.

  • Generic Error at Image Mapping at CRXDE Component Extractor

    When I try to map a image from this website I just imported at CRXDE Lite at CQ5.4 (Component Extractor), I got this generic error message.
    I've already try to map the image with image component, flash component and others, everytime with the same error.
    Both the component folder and the Path folder exists. Can somebody help me?

    Here's the error.log output for this situation:
    14.03.2012 14:43:04.060 *ERROR* [0:0:0:0:0:0:0:1 [1331746984029] POST /libs/wcm/bin/siteimporter/generate HTTP/1.1] com.day.cq.wcm.siteimporter.servlet.PageGeneratorServlet Could not generate page component java.lang.IllegalArgumentException: relPath is not a relative path: {}
    {}etc
    {}designs
    {}logo.jpg
    at org.apache.jackrabbit.spi.commons.name.PathFactoryImpl.create(PathFactoryImpl.java:47)
    at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:62)
    at org.apache.jackrabbit.core.session.AddNodeOperation.perform(AddNodeOperation.java:37)
    at org.apache.jackrabbit.core.session.SessionState.perform(SessionState.java:200)
    at org.apache.jackrabbit.core.ItemImpl.perform(ItemImpl.java:91)
    at org.apache.jackrabbit.core.NodeImpl.addNodeWithUuid(NodeImpl.java:1783)
    at org.apache.jackrabbit.core.NodeImpl.addNode(NodeImpl.java:1735)
    at com.day.cq.wcm.siteimporter.util.PageGenerator.replace(PageGenerator.java:175)
    at com.day.cq.wcm.siteimporter.servlet.PageGeneratorServlet.doPost(PageGeneratorServlet.java :113)
    at org.apache.sling.api.servlets.SlingAllMethodsServlet.mayService(SlingAllMethodsServlet.ja va:148)
    at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:344)
    at org.apache.sling.api.servlets.SlingSafeMethodsServlet.service(SlingSafeMethodsServlet.jav a:375)
    at org.apache.sling.engine.impl.request.RequestData.service(RequestData.java:529)
    at org.apache.sling.engine.impl.filter.SlingComponentFilterChain.render(SlingComponentFilter Chain.java:45)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
    at com.day.cq.wcm.core.impl.WCMDebugFilter.doFilter(WCMDebugFilter.java:146)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at com.day.cq.wcm.core.impl.WCMComponentFilter.filterRootInclude(WCMComponentFilter.java:308 )
    at com.day.cq.wcm.core.impl.WCMComponentFilter.doFilter(WCMComponentFilter.java:141)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processComponent(SlingRequestProce ssorImpl.java:269)
    at org.apache.sling.engine.impl.filter.RequestSlingFilterChain.render(RequestSlingFilterChai n.java:49)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:64)
    at com.day.cq.wcm.mobile.core.impl.redirect.RedirectFilter.doFilter(RedirectFilter.java:185)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.engine.impl.debug.RequestProgressTrackerLogFilter.doFilter(RequestProgre ssTrackerLogFilter.java:59)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at com.day.cq.wcm.foundation.forms.impl.FormsHandlingServlet.doFilter(FormsHandlingServlet.j ava:220)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at com.day.cq.theme.impl.ThemeResolverFilter.doFilter(ThemeResolverFilter.java:67)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.i18n.impl.I18NFilter.doFilter(I18NFilter.java:96)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at com.day.cq.wcm.core.impl.WCMRequestFilter.doFilter(WCMRequestFilter.java:119)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.rewriter.impl.RewriterFilter.doFilter(RewriterFilter.java:84)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.portal.container.internal.request.PortalFilter.doFilter(PortalFilter.jav a:76)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.bgservlets.impl.BackgroundServletStarterFilter.doFilter(BackgroundServle tStarterFilter.java:135)
    at org.apache.sling.engine.impl.filter.AbstractSlingFilterChain.doFilter(AbstractSlingFilter Chain.java:60)
    at org.apache.sling.engine.impl.SlingRequestProcessorImpl.processRequest(SlingRequestProcess orImpl.java:161)
    at org.apache.sling.engine.impl.SlingMainServlet.service(SlingMainServlet.java:183)
    at org.apache.felix.http.base.internal.handler.ServletHandler.doHandle(ServletHandler.java:9 6)
    at org.apache.felix.http.base.internal.handler.ServletHandler.handle(ServletHandler.java:79)
    at org.apache.felix.http.base.internal.dispatch.ServletPipeline.handle(ServletPipeline.java: 42)
    at org.apache.felix.http.base.internal.dispatch.InvocationFilterChain.doFilter(InvocationFil terChain.java:49)
    at org.apache.felix.http.base.internal.dispatch.HttpFilterChain.doFilter(HttpFilterChain.jav a:33)
    at org.apache.felix.http.base.internal.dispatch.FilterPipeline.dispatch(FilterPipeline.java: 48)
    at org.apache.felix.http.base.internal.dispatch.Dispatcher.dispatch(Dispatcher.java:39)
    at org.apache.felix.http.base.internal.DispatcherServlet.service(DispatcherServlet.java:67)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.felix.http.proxy.ProxyServlet.service(ProxyServlet.java:60)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.sling.launchpad.base.webapp.SlingServletDelegate.service(SlingServletDelegate. java:277)
    at org.apache.sling.launchpad.webapp.SlingServlet.service(SlingServlet.java:148)
    at com.day.j2ee.servletengine.ServletRuntimeEnvironment.service(ServletRuntimeEnvironment.ja va:228)
    at com.day.j2ee.servletengine.RequestDispatcherImpl.doFilter(RequestDispatcherImpl.java:315)
    at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:74)
    at com.day.crx.launchpad.filters.CRXLaunchpadLicenseFilter.doFilter(CRXLaunchpadLicenseFilte r.java:96)
    at com.day.j2ee.servletengine.FilterChainImpl.doFilter(FilterChainImpl.java:72)
    at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:334)
    at com.day.j2ee.servletengine.RequestDispatcherImpl.service(RequestDispatcherImpl.java:378)
    at com.day.j2ee.servletengine.ServletHandlerImpl.execute(ServletHandlerImpl.java:315)
    at com.day.j2ee.servletengine.DefaultThreadPool$DequeueThread.run(DefaultThreadPool.java:134 )
    at java.lang.Thread.run(Unknown Source)
    I've already tried the follow paths to my component:
      /etc/designs/
      /etc/designs (with and without last character "/")
      /etc/designs/logo.jpg
      /etc/designs/test (with and without last character "/")
      /etc/designs/test/logo.jpg
    Can anybody help me figure out what's going on?
    Thanks.

  • Help with publishing component

    I've been working with the Strobe media playback package that I downloaded and installed as a component.  I have it loading videos and it is working fine in the Author mode, but not in publish mode.  I also downloaded a google maps package and installed which allows me to use google maps as a component, and it displays and works in the Author mode, but does not display in the publish instance.  Other changes show up fine in the publish mode, but it seems that all of the package components that Iv downloaded so far i can't see in the publish instance.  Can someone explain to me how to get these displaying in publish mode?  Thanks.
    -Jon

    Make sure you have activated the respective package from [1].  If you have already done that could you please eloborate more on the problem like where you have downloaded the package and what is the error you are getting in the publish.
    [1]  http://<host>:<port>/libs/wcm/core/content/misc.html#/etc/packages

  • Issue in Color Theme on the map with ADF geographic components

    I am facing an issue in bringing up a map using color theme .I can able to bring up a map with color themes using geographic components feature in ADF.
    The problem here is 'Edit Color Map Theme' dialog which lists Map Theme in five categories like continents,counties,countries,states_abbrev,states_names.
    we had implemented map using Color Theme based on the states_abbrev and found it was working properly.
    But after some days we found that the settings we made to work for the map no longer works and resulted in no color theme on the map being displayed on the page.
    It was found that the states_names works properly instead of states_abbrev by that time.
    But again after some days it didnt work with state_names and we revert back our code to follow state_abbrev so as to get the desired result.
    Does somebody know where is the problem and how to approach this issue?

    Quick Install is gone.
    Database repair doesn't work.
    Color coded categories is gone, and as you've discovered Theme colors are gone.
    Print to Excel is gone.
    Many desktop clients that worked with 4.2 do not work.
    It won't work with legacy devces.
    and others.... There are lots of complaints about 6.2 scattered around the forums.  Personally, the HotSync manager keeps forgetting the connections I've set, and goes to default views.
    You aren't missing much of anything, IMHO.
    WyreNut
    Post relates to: Centro (AT&T)
    Message Edited by WyreNut on 02-20-2009 12:18 PM
    I am a Volunteer here, not employed by HP.
    You too can become an HP Expert! Details HERE!
    If my post has helped you, click the Kudos Thumbs up!
    If it solved your issue, Click the "Accept as Solution" button so others can benefit from the question you asked!

  • How can I do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder which does not have firewire out/input? it comes only with a component video output, USB, HDMI and composite RCA output?

    I need to do live streaming with a Mac Book Pro 2011, using a new model of Sony HD camcorder (http://store.sony.co...ber=HDRAX2000/H) ..this camcorder model does not have firewire out/input ..it comes only with a component video output, USB, HDMI and composite A/V video output..
    I wonder how can I plug this camcorder to the firewire port of my laptop? Browsing on internet I found that Grass Valley Company produces this converter http://www.amazon.co...=A17MC6HOH9AVE6 ..but I am not sure -not even after checking the amazon reviews- if this device will send the video signal through firewire to my laptop, in order to live streaming properly? ..anyone in this forum could help me please?
    Thanx

    I can't broadcast with the built in iSight webcam... how would I zoom in or zoom out? or how would I pan? I've seem people doing it walking with their laptops but that's not an option for me... there's nothing wrong with my USB ports but that's neither an option to stream video because as far as I know through USB you can't connect video in apple operating systems ..you can for sure plug any video cam or photo camera through usb but as a drive to transfer data not as a live video camera...  is by firewire an old interface developed by apple that you can connect all sorts of cameras to apple computers... unfortunately my new sony HDR-AX2000 camcorder doesn't have firewire output...
    thanx

  • How to connect Apple TV (2g) HDMI to HDTV with only component video input.

    Trying to connect Apple TV (2g) HDMI to HDTV with only component video input.  Can I use a simple cable or do I need a converter box/plug? Is the HDMI signal coming from ATV encrypted or HDCP enabled?
    The TV is HD, but only has a component input and not HDMI.  Apple TV 2g only has HDMI output.

    google component hdmi converter
    but they are pretty expensive and may not work at all
    and will not work with any DRM material as in movies you reant and maybe netflix and the sports thingy

  • How to add a bing map with pins to a Siena Project

    Hi
    I just want to add a bing map with the current location and a few nice pins of some nice locations around me. Comming out of a Excel file. Potentially also draw some routing lines into the bing maps.
    Any ideas how I can accomplish that goal?
    Thank you in advance
    wbr.
    Joerg 

    yes you can (there is actaully one on the map, blue square)
    The syntax is listed on
    http://msdn.microsoft.com/en-us/library/ff701724.aspx
    You will however have to build the correct string to included in the image source (which you can do in the source excel or in runtime in siena)
    Concatenate is suitable to do that.
    http://dev.virtualearth.net/REST/v1/Imagery/Map/Road?pp=47.638197,-122.131378;;1&ms=350,500&key=KEYHERE
    the PP indicates the pin actually and the bing map autocenters on that. You have several options listed on the webpage listed above. It's a question of the one fitting you best.
    Please note that your bing key is yours so you need to hide it well enough.
    Regards
    StonyArc

  • Can i use WebApps to build a Google map with polygon territories instead of points (pins)?

    I built a map with Google Maps Engine Pro - http://www.jmbcompanies.com/Services/Mitigation/map.
    It showcases territories using a Google map polygon shape.  I wrote custom KML to create it.  However, with Google Maps Engine pro you cannot create custom hyperlinks.  It will link a URL that you put in the data, but you cannot name it or target the parent window, so therefore it opens a new tab for each click to more details.  I really want it to open the WebApp detail page for that item within the same window.
    So, is there a way to use the BC integrated Google maps technology and show polygons instead of points on the map? I've used {module_webappsmap,20754,a} to place individual locations on a map, but what about territories or polygon areas?
    I'm sure that I can create a WebApp to generate the KML for each placeholder.  But how do I turn that into a map?
    THANKS!!

    You can not create a kml file in BC through webapps. Modules do not work in other file types and you do not have server code access to generate a file type of results.
    You need to use the google API and do this yourself or you can just use this:
    And embed it into a custom field. My Maps

Maybe you are looking for

  • Hierarchy viewer - restart flash player

    Hi, I have created a hierarchy viewer to see the connections between customers and when I start the app, the first time I see the hierarchy viewer I can see it correctly, like Parent      Customer (Searched)          Child          Child but when I w

  • Error Details

    When a message is being suspended due to an error will the error details be available in the BizTalk table permanently??? If yes kindly provide the table details to help with. Regards, Vivin.

  • Can't preview video file in Organizer?

    Using trial version of Elements and can preview videos. When I switch to Organizer to preview, tag, etc., the screen is black. When I click play, it begins to play but nothing is there. 

  • Problems activating Adobe Viewer

    I recently purchased an e-reader a LEGGO from IBS Italy.  I have purchased two books but I can't download them as they require me to active the device by using my Adobe account.  There is provision for this on the e-reader.  I tap in logging  in with

  • Using 2 different machines with Some same files?

    I recently bought a new MacBookPro because I needed a more powerful machine to handle my audio mixes in Logic 9. My previous MacBookPro (from 2006) is still a good machine...I'd like to keep using it for Photos, I-tunes, etc., but there are some func