Application Trip : Dropdownbykey

Hi all,
I m enhancing the application Trip on webdynpro/abap.
I want to delete the empty row from the drop down by Key from this UI-element (Destionations , Additional informations ..)
My UI element is binded to an attribute with a context that have a cartidanlity (1,1). and the null property is disabled.
Is there a specific method that add the empty row to these UI-elements ?
What can i do to delete this empty row from these standars UI-elements ?
References :
Web Dynpro Component: FITE_VC_GENERAL_DATA
View Information: GENERAL_DATA_VIEW
Information on Field
Field ID: TT_STATU
Type of UI Element:  DROPDOWN_BY_KEY
UI Element Library: STANDARD
Best regards

Hi Jcrios,
I have two suggestions:
1) You can enable the NULL property of this attribute TT_STATU through code in a post_exit method as shown below:
Data : lr_node_info type ref to if_wd_context_node_info,
          lr_node type ref to if_wd_context_node.
lr_node =  wd_context->get_child_node( 'GENERAL_DATA_VIEW' ).
lr_node_info = lr_node->get_node_info( ).
lr_node_info->set_nullable( is_nullable = abap_true name = 'TT_STATU' ).
2) If the above thing does not solve the problem then you can try setting the valueset for this attribute in a Post exit method. This may or may not help as I am not aware when the framework inserts the empty row.
You can use the above code to get the node_info and then set the value set of this attribute using the
lr_node_info->set_attribute_value_set( ) method.
3) If you just want that on launch of this application the user should not see an empty value then ina post exit method, set the lead selection to some other element.
Please revert back in case of doubts/issues.
Regards,
Sumit

Similar Messages

  • Standard Application: TRIP

    Hi Experts,
    Id like to get to know if SAP Reuses the same (FM,ROUTINES,..) From the transaction code PR05 in the TRIP package PTRM_WEB_POWL. (Application: FITV_POWL_ASSISTANT )
    I mean if they just make the UI in the Wedbdynpro/Abap  part with the same Business logic (FM,..)  that's used in
    the tcode PR05.
    Best regards !

    Have you done any customizing on your task descriptors?
    regards

  • DropDownByKey UI element always Disabled

    Hi,
    I have created a dropdownbykey UI element and I have bound the selected key to the view context element which is of simple type country. In the local dictionary I have created a simple type country and given it values like India, USA etc..
    But when I run the application, the dropdownbykey element is always disabled. Please help. Does someone know what I am doing wrong.
    Thank you.
    Ashish

    Hi Ashish,
    Check the cardinality of the node bound to this control make it 1..n. Reason is, You dont have a element under the context where the data can be hold.When you set it to 1..n frame work will create one for you.else you need to create an element of the node using createandelement method.
    The property selectedKey must be bound to a context attribute Key having a simple type like String with a value set.
    The selectable items of the drop-down list are the keys of the value set, the displayed texts are the corresponding values. The currently selected item is given by the current value of property selectedKey.
    Deepak!!!

  • Enhancements Webdynpro

    Hi all,
    I want to make some enhancements in a standard Webdynpro application  (TRIP).
    My problem is that ; the VIEW properties remain inactive even if I'm in enhancement mode.
    I want to know if there is an OSS note to resolve this ,because I do the same thing in another system R/3 and it's work fine.
    Any other ideas are welcome.
    Thank you in advance
    Best regards

    Hi,
    Thank you for your reply. Well they are totally diffrents , normally they must have the same behavior.
    But i dont understand why the other system doesn t work.
    Any ideas will help.
    Best regards

  • How to minimize Client-Server Round-trip in ADF Faces application ?

    Hi All,
    We have just finished POC on our prototype of ADF Faces + ADF BC application. The POC Emphasizes on Bandwidth requirement.
    After receing the result from the communication provider, including : TCP packets send, Bytes sent from/to server and number of Client-Server Round-Trip.
    There are several part of the application that Must be tuned for the application to run on acceptable performance.
    Here is some page/ function that should be tuned :
    - First page, ADF Read Only Table with two images and some buttons, cause 5 round-trip
    - ADF Dialog Returning Value (as LOV), cause 4 Round-trips
    - On ADF Form, press Commit button, cause 3 Round-trips.
    So the question is :
    1) How to reduce round-trips on ADF Faces application ?
    2) How to minimize the bytes send from / To server on a specific user action ?
    Please give me some recommendation..
    Thank you very much,
    xtanto

    Hi Frank and Steve,
    Thank you for your reply.
    Yes Frank, what I mean by Round-Trip is the traffic between Client and the Server. And Yes, we will use VSAT where the latency is 1 - 1.5 second, so that round-trip matters significantly.
    What I will do is :
    - use minimal skin and No image at all
    - don't use Dialog for LOV because it requires AutoSubmit there.
    - Use 'Apply-Changes' button to do server-side validation before Commit.
    Then do the POC / testing again.
    Thank you,
    xtanto

  • Error when initially calling Travel Trip Form Web Dynpro application

    Hello all,
    we are facing a problem when calling for the first time the Travel Trip Form Web Dynpro application.
    In the trace file we get the following error message:
    application [webdynpro/dispatcher] Processing HTTP request to servlet [dispatcher] finished with error.
    The error is: com.sap.tc.webdynpro.services.sal.core.DispatcherException: Wrong Web Dynpro URL: "../WebDynpro/Servlet/<deployableObject>/<application>/xx?..". xx is not allowed without exchange key. Retrieved URI path: /sap.com/esstratri/TripForm/~wd_key890_1246626831816/background.gif.
    Exception id: [001E680CB1CE0078000002A600007B4A00046DCCEE3F358A]
    This appears when a trip has been initially created and if the user wants to display a travel trip form.
    However, this does not appear anymore, if you click on the travel trip form again.
    Best Regards
    Philipp

    Hello Philipp,
    We are having same problem. Please let me know solution....
    Som

  • POWL UI Element in ESS- My Trips and Expenses Application

    Hi Experts,
    There is an application My Trips and Expenses in ESS. The WD ABAP component for which is FITV_POWL_TRIPS. In the application we can see a TabStrip UI element on which there is an ALV on "All My Expense Reports" Tab. I want to hide the "Attachments" Column on this ALV. I have not worked on POWL UI element before. So please suggest how to hide it. As its needed urgently.
    Thanks & Regards,
    Vaibhav Tiwari.

    HEllo Pooja,
    In the feeder class(NAme of feeder i donot know), You can get from POWL_TYPE tx.
    There is method get_field_catalog ( ), you can do there.
    Other way, Go To POWL_QUERY Tx,
    Open the Query, click on settings and save the Query.
    Run report POWL_D01 and run.
    Best regards,
    Rohit

  • I have an app on my iPhone that I want to download on my iPad . Red icon with Chinese writing. Because I do not speak Chinese I do not know how to find it. The application is photography by different individuals of their vacations/trips. Can someone help

    I have an app on my iPhone that I want to download on my iPad . Red icon with Chinese writing. Because I do not speak Chinese I do not know how to find it. The application is photography by different individuals of their vacations/trips. Can someone help

    On your iPad  go to the App Store icon, Tap on the Purchased Tab.
    It will show you all the Apps that have been bought with the Apple Id currently in use by the iPad.
    Assuming its the same one being used on the iPhone, you should be able to find the App there.
    To further help you find it you can tap on the "Not on this iPad" button to limit the results to just Apps not currenlty installed on your iPad.

  • Trip Distance application functioning of firmare h...

    Can anyone who has updated their software past version 11.047 get the Trip Distance application to work? I have updated with a prior N85 to version 20.175 and it caused the feature to stop calculating distance.

    Moved to navigation section

  • Enhancement FPM of Trip application

    Hi all,
    I am enhancing the component FITV_FPM in the package: PTRM_WEB_UI.
    I have create a specific component ZWDR_COMPONENT in witch i have a node TRIPNODE (with Interface node attribute : checked )
    In FITV_FPM I have ZWDR_COMPONENT as component use. Now i mapped the node TRIPNODE to FITV_FPM but i get an error : Mapping not possible due to recursion
    Is theire any way to get this node from ZWDR_COMPONENT in the standard component FITV_FPM ?
    Any ideas will be helpfull.
    Best regards.

    Hi,
    I am not understanding what you mean by
    I have tried this way (Using component usage), but seems doesnt work ..
    as far as i know there is no special thing with FPM component. Do you get the same problem as your first post or do you get something other problems.
    See the procedure to cross verify.
    You have your custom component as used component in FPM component.
    1.In the Component controller of the FPM component, you select the interface controller of your custom component as required controller.
    2.save the whole thing.
    3.open the component controller node
    4.double click the custom component interface controller.
    5.drag the node TRIPNODE from rightside to leftside to ROOT context.
    6.Save.
    Explain in detail, what is not working, what error or behavior you get there.

  • Adobe Creative Cloud application manager asks for daily login

    Hi,
    While I am I am at home or work, I can easily login to my Adobe Cloud services, in two months I'm going to be on a boat in the middle of nowhere with little, if any, Internet access. I will need to use this software offline for about a week and I need to nip this problem in the bud now.
    Why am I being asked to login daily? This started after the credit card I was using for the monthly fee was stolen and I waited for its replacement. During that time my account was suspended but has since been updated, charged, and things should be back to normal with my new credit card but they are not.
    Can anyone please tell me how to fix this?
    Thank you,
    john

    well Jeff...nothing changed. I am leaving at 0600 tomorrow morning for 10 days and i have no use of the adobe tools when i am not connected to the internet. i told the rep khahil or whatever his name was and he said something along the lines of the problem with my account does not matter because i have a payment due in june and i asked him twice what that has to do with anything and he never replied.
    i am sick to death of the good for nothing reps. they do not understand english. they do not seem to care (at least the ones I've had the misfortune of working with). when i tell one of them to call me at 10am CDT and he calls me not once, not twice but 4 times after I've told him when I am available and he cannot seem to do it.
    I updated the installer. I have done everything I was told to do or suggested I do and this 'cloud' service is not what i am paying for. i am paying for something that works as advertised and this comes no where near it. no where does the plan's fine print say that i must maintain a constant connection to the internet for the tools/applications to work.
    no where does the terms and conditions say that i need to log in every time i reboot my computer or lose my internet connectivity. if this is the future of adobe...i am not looking forward to it. forcing all users to this rental software model is insane especially when it does not work...and mine clearly does not work.
    so now i am leaving on a trip with no lightroom and no photoshop and after i began working on this a month ago with you. i made the mistake of trusting your technical support people to know their business and to handle your clients with some sense of urgency.
    when i return, i will be calling your executive offices and i will tell them in detail how frustrating this whole process has been which has only been aggrevated with your poor technical support team. Jeff...I honestly feel like you're the only Adobe representative that I have talked to up to this date that actually gives a flying flip about my experience. the people i have been handed off to both in chat, on the phone, and the other tech i've talked to on this forum who told me that my problem "doesn't matter" and never responded to my last question posted yesterday afternoon, clearly do not care about anyone. 
    count me as VERY UNHAPPY with Creative Cloud as a product and my opinion is it is a failure and a waste of my money. I should have bought the disc version and not gone down this 'rental software' route.
    Message was edited by: JohnChampion2

  • Application is not working in Enterprise Portal (Access Denied)

    Hi,
    I have created one application..........This application contains one DropDownByKey element whenever i run this application all the material numbers are automatically populated from R/3....... once i selected material number all the fields related to that material number are displyed in my view..... It is working fine in my NWDS(WebDynpro).....
    I have integrated this application into Enterprise Portal their i am not getting any data into DropDownList box from R/3.... when i run the application i am getting "ACESS DENIED" error ............
    But i have another applicaton(FlightList) which is already integrated into Enterprise Portal..... its working fine......This is also accessing data from R/3.... but its working......
    The material application is not working........
    Please Help Me.....
    Thanks & Regards
    Ravi Shankar B
    <b></b>

    Hi,
      How have you defined the property "WAS host" for the portal system that you have created for the back-end?
    You might get this error if the way you have defined this WAS host property and the way you are calling the portal are different. For example, if your WAS host property is "<hostname>:<portnumber>" and you are calling your portal as "localhost:<portnumber>", then you will get this error.
      Also are you connecting to your portal using the fully qualified domain name? Don't call the portal simply as
    <i>http://<host>:<port>/irj</i> but call it as http://<host>.<domain>:<port>/irj.
    Regards,
    Satyajit.

  • TS3274 its almost 10 months,i purchased ipad2 32 3g wifi.itinially i got problem with applications shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs freq

    its almost 10 months,i purchased ipad2 32 3G wifi.itinially i got problem with applications and safari shut off frequently now since last 4 months my ipad starts with a message (connect iTunes)like first time start and going to restore mode and it occurs frequently.plz advise.

    If you have followed the standard Apple troubleshooting processes (see user guide )
    probably a trip to the local Apple Store Genius bar is called for before warranty runs out
    Assuming the iPad has been released in your Country if not you may have to take it to a
    neighbouring Country where it is available
    This page will tell you ,via the drop down menu Countries that can support iPad
    http://support.apple.com/kb/index?page=servicefaq&geo=United_Kingdom&product=ipa d

  • Questions on deploying Java desktop applications

    Hello,
    I have searched the forums and been unable to find the information I need. I am not sure this is the appropriate forum to post at but had to start somewhere!
    I have a Java desktop application which has only been used internally at my organization for R&D. We are now working with our legal folks on setting up various licensing options. The funding organization today said that they wanted the software set up such that deploying it externally would have behaviors such as:
    * preventing one CD being used to install on multiple machines,
    * preventing someone from copying the installed software from one machine to another,
    * have a way for the software to "expire" after a set amount of time.
    I have never had to deploy software externally before (nor does it seem has anyone else at my organization - we do science R&D) and am at a loss as to how to best do this. I have googled around a bit but not found any solutions. Has anyone here done this and could perhaps give me some pointers?
    Much Thanks,
    Keri

    kgoorley wrote: Hello,
    I have searched the forums and been unable to find the information I need. I am not sure this is the appropriate forum to post at but had to start somewhere!
    Given you new not only to deployment, but also
    posting to these forums, I will take the opportunity
    to point out that I let this post be for a couple of
    days since in had no Dukes assigned. To my
    eye, dukes indicate how important a question is
    to whoever asked it, and I do not generally have
    time to answer questions that are not important.
    You can add dukes to a thread at any time.
    kgoorley wrote: ..licensing options. ..
    * preventing one CD being used to install on multiple machines,
    * preventing someone from copying the installed software from one machine to another,
    * have a way for the software to "expire" after a set amount of time.
    Web start apps. are usually deployed directly off
    a server/internet site. Although deployment off CD
    is theoretically possible, it is uncommon.
    The basic answer to all your questions as asked is 'no'.
    However, if the legal people can take a slightly different
    line, and that server/site has some 'active' element to it
    (e.g. it is generated using servlets), there might be other
    options worth considering.
    The basic approach would be not to sell licenses
    per machine, but per 'use', in the sense that if
    I were to sell you a license, it would be for 'nn users',
    rather than 'nn machines'. This means that if you
    had a license for 'two' users (let's call them Bob
    and Harriet), both Bob and Harriet could use any
    PC in the organization to use the software,
    but once they were both logged in, no further
    users of the software would be allowed.
    The way to achieve this is to have the application
    'phone home' to the server and tell it the
    username(/password). Every 2-3 minutes,
    the app. should get back to the server and
    confirm it is 'still running..'. If the app. cannot
    reach the server, it reports a problem to the
    user, and exits.
    If the server does not get a 'still running' confirmation
    in a time longer than that few minutes, it assumes
    the app. is off-screen, and frees that 'licence slot'.
    The reason to keep letting the server know it is
    there, is that if Harriet were to be logged in, and
    Bob accidentally trips over the power cord and
    drops Harriet's computer in a screaming heap,
    her app. will never have the chance to 'log out'
    and inform the server to free the slot.
    As such, it is important to allow her to log-in again in
    'a few minutes' (which is probably about the amount
    of time it will take her machine to reboot, and chide
    Bob for his oafish carelessness).
    Using this system, the first & second requirements
    above become redundant - as it is not the number of
    PC's that we care about - just the number of users.
    The third requirement could easily be handled on
    the server-side, checking licenses as users
    log-in, and confirming that license is still valid.
    Edited by: AndrewThompson64 on Sep 27, 2007 7:30 AM

  • I recently purchased FaceTime from the Application Store. After approx. ±10 meg, the application resets and starts downloading again. I have tried to download it at different times of the day but with the same results. I have been in contact with Apple su

    I recently purchased FaceTime from the Application Store. After approx. ±10 meg, the application resets and starts downloading again. I have tried to download it at different times of the day but with the same results. I have been in contact with Apple support and have tried different options with the same result. I cannot download a new Version because in my Purchased List the applicaiton (FaceTime) is still there, and because I have halted it it tells me to resume. I can’t, because the same thing is going to happen. I have tried all the various troubleshooting tips supplied by my ISP and also Apple Support with no luck. I am currently working on a IMac OS 10.6.7. Has anybody got any ideas? Any suggestion would help. Thanks

    Amol Soni wrote:
    As I said, I tried everything what the manual says, but hard luck. I have taken an appointment for today, lets see what happens.
    Also there is no activity on unit when I use the remote. The unit is stuck on the first page itself where we have to choose the language. The unit seems to be fine to me but the real problem is remote does'nt have activity. The IR is not responding while pressing any of the button.
    Good luck with your appointment.
    Not much consolation but even new products can have issues and might need a trip to a store to return/replace.
    The reason i asked about the LED on the AppleTV is that occasionally it thinks it's paired with a specific remote and ignores others - the unpair keypress I described is quick and free.
    AC

Maybe you are looking for

  • Touch ID; feature or bug?

    hello, I just configured Touch ID on my iPad Air 2 (ios 8.1) and switched the finger i used between the 2 step where Touch ID reads your fingerprint. Now Touch ID only shows 1 registered finger but I can unlock the iPad with Touch ID using both finge

  • Generating graphs/diagrams

    Does anyone have a good tip on how to generate a diagram/chart/graph over a database table? Do I need some extra program or are there allready something that I can use? Very grateful for tips / Daniel

  • Summing Track Stack not properly saving as a patch???

    Hey Guys, So... - I created a Yah-Yah talking bass with the FM setting on the Retro Synth - used a bitcrusher to create the formant effect by downsampling - Then I created a new track for a sub bass sound seperate from the Yah-Yah - I put both the Ya

  • As i type single letter it displays list of ids , how to overcome it ?

    when ever i type a single letter to log in to gmail or yahoo it displays a list of email ids with that letter . Is there any option to remove it so that it won't display any ids or won't remember any . == Operating system == windows xp

  • Compatibility With PS3 (Playstation 3)

    Has anyone been able to connect their 2nd gen ipod shuffle to a PS3? I don't have a normal ipod but I've seen reports / videos that it works fine. I'm just trying to use the shuffle as a memory stick, but when I plug it in the lights on the shuffle c