Calling and displaying BAPI  values when the initial view is displayed

hi Gurus,
I am creating an application where I am calling a BAPI.
Now my problem is that the values should be called and displayed when I am starting the application ie in the first view itself.
Is there any way to execute the BAPI so as to retrieve the values from back end and get the values displayed in the initial screen/view.
Or else is there any onPageLoad method which can be used in such cases.
please help me how to go ahead.
Thanks and regards,
kris

Hi
Create a method in controller and insert the code,
wdContext.current<BAPI>Element().modelObject().execute();
And call the method in view, and check the size of BAPI's output node.If it is greater than 0, your BAPI is returning something. using any loop and get the Output
Saravanan K

Similar Messages

  • I am being charged for 3 GB that apparently Verizon hadn't caught up on that I had used!! The last night of my cycle I called and checked and I had .5 GB left and right before midnight when the cycle ended it caught up on 3 GB!! I now have to pay for this

    SO CRAPPY!!! SO FED UP WITH VERIZON!! WE ARE GETTING SCREWED OVER!! I am being charged for 3 GB that apparently Verizon hadn't caught up on that I had used!! The last night of my cycle I called and checked and I had .5 GB left and right before midnight when the cycle ended it caught up on 3 GB!! I now have to pay for this data I know I did not use! I never have my data on!! Now it says I used 7 GB last month!!!

    Data usages are always estimated...I don't believe any carrier post data usage in real time.  I've had my data increased due to a large chunk being unaccounted for at the time of my cycle.  Thankfully when I'm billed for it...it has never pushed me over my limit. 

  • Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7

    Why is the decline button for phone calls not available when the phone is locked? I need that button and it shows only when the phone is not locked on iOS 7

    Yep. You need to touch the sleep/power button once to silence the ring, and twice in order for the call to go directly to Voicemail.
    Personally, I dont understand why Apple eliminated this. If you wish to give Apple feedback, do it here:
    www.apple.com/feedback

  • How to display null values in the graphs, when i select a date range?

    Hi,
    Can you please help me in achieving the below requirement:
    We have a date promt, i have selected the date range from 12-Oct-2009 to 15-Oct-2009 and clicked on the go button.
    In the above date range, data is only availabe on 14-Oct-2009. here the requirement is to display as all the records (12th, 13th , 14th & 15th) in the bar graph.
    Currently the graph view is displaying the data only for 14-Oct-2009 in the bar graph.
    If data is not available it should display in the bar graph as empty for that particular dates.
    Help is highly apprieciated.
    Thanks in Advance.

    Check out [this post|http://obiee101.blogspot.com/2009/04/obiee-showing-zero-in-bargraph.html].

  • HT201401 My iPhone3GS has started crashing. I'll be mid-phone call, or using an app, when the screen will go dark. I have to restart it. Then it shows low battery sign (even though it was 100%). Within 1 minute of charging, iphone starts. Pl. resolve.

    My iPhone3GS has started crashing. I'll be mid-phone call, or using an app, when the screen will go dark. I'll have to do a restart. It dumps to the warning screen that there's no power and needs to be plugged in.
    Once I connect the phone to a power source, in a couple of minutes it's ready to roll again, and displaying a "full battery" icon.
    The phone is almost always fully charged when this happens, and I don't get a crash when the phone is plugged into a power source.
    Took my iphone to apple store, they informed that battery is very good and there is no need for replacement. Might be there is a problem with iphone motherboard. But they can't repair it as my 3GS crossed warranty.
    Where should I go to repair this. Within 2 years...this 32GB 3GS is almost garbage for me with no support from apple. I am ready to send it to apple for repairs and pay the repair charges.
    I tried everything... deep reset ... factory settings .... nothing is working... Apple staff pl. take care of your customers ...

    This is a User to User Forum... You are Not Addressing Apple here...
    iPhone User Guide
    The Basic Troubleshooting Steps are:
    Restart... Reset... Restore from Backup...  Restore as New...
    Restart / Reset
    http://support.apple.com/kb/ht1430
    Backing up, Updating and Restoring
    http://support.apple.com/kb/HT1414

  • Is there a way to obtain the text item's value when the mouse pointer at?

    Hi,
    Is there a way to obtain the text item's value when the mouse pointer at? Mouse pointer may be located somewhere out of current record and even out of current block.

    There is a when-mouse-over trigger and that works fine in client-server mode for Forms 5/6/6i, but that is less indicated when deployed using Application Server.
    In that trigger you may write whatever code is necessary, restricted package procedures.
    Still, I think, for your case, if you do not have to deal with a multi-record block, you should use the HINT property for that item and set_item_property with the HINT argument for that item in order to set the hint to the item's value - this should set_item_property should be called on the when-new-record-instance .

  • Date range to be displayed  & Displaying multiple values on the report

    Hi,
    I have date range parameters, but I also need it to be displayed it on the report. Is there any way I can display it. E.G If a parameter is created one can drag and drop it on the report if it needs to be displayed on the report, I tried to do the same for the date range parameter but it does not work.
    Also If a parameter is created by selecting the option 'Allow Multiple Values', and if you drag and drop it on the report only the first value is displayed and the rest does not show. Has anyone tried this before and been successful in displaying multiple values in the report.
    Thanks in advance.

    Hi,
    A multi-value parameter is actually treated as an array in Crystal Reports.
    To display the values selected in the parameter, create a formula from the Field Explorer and type this code:
    Join({?ParameterName},",");
    Place this formula on the header or the footer sections of the report.
    Regarding the date range issue, please follow Sastry's advice and it should work fine.
    Make sure you're using the parameter in the Minimum and Maximum functions. For eg: If I was to create a date range parameter called OrderDate, my formula to show the start date would look like this:
    Minimum({?OrderDate})
    -Abhilash

  • BAPI values in the Webdynpro dropdownbox

    Hi All,
    Is there a way to get the BAPI values in the Webdynpro dropdownbox?
    Thanks in advance,
    Pravin

    Hi Pravin,
    Check this links.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d352a790-0201-0010-5082-b1a608d22b6c
    set leadselection for dropdown by key
    When do you Use Dropdown by Index and  Key
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/8b7059da-0c01-0010-e09c-9ecabaf58864
    Regards,
    Mithu

  • TS4079 Siri used to work fine when making mobile calls in Ecuador until yesterday, when the administration of Ecuador added an aditional number in all mobile numbers existing in Ecuador. Since then Siri is unable to make any mobile calls with any new numb

    Siri used to work fine when making mobile calls in Ecuador until yesterday, when the administration of Ecuador added an aditional number in all mobile numbers existing in Ecuador. Since then Siri is unable to make any mobile calls with any new number.Help
    I`ve tried restarting, rebooting, nothing works.
    The interesting thing is that SIRI can call to previous mobile numbers (without the new digit) obviously not connecting , and, can call to any other numbers as an office or home number. So the problem is the new digit in the mobile number

    Ecuador has added an extra digit to mobile phone numbers but apple wont accept 10 digit phone numbers so we cant use facetime or apple IM or verify our new phone numbers. ( and Siri won't work either!) I have contacted apple support online but can't request a call back as the apple system says our new phone numbers are invalid. I am going to phone them tomorrow and you should complain too at http://www.apple.com/support/contact/.  . The more people that bring this to their attention the faster it will get fixed

  • Since I downloaded iOS6.1 I can not hear my messages/phone calls/emails or any sounds when the phone is lock. Any setting I can change?

    Since I downloaded iOS6.1 I can not hear my messages/phone calls/emails or any sounds when the phone is lock. It doesnt connect to bluetooth either. Any setting I have to change?
    My sounds settings are ON and my side mute button is NOT pushed down to orange.
    When the phone is unlock all the sounds are fine, but as soon as it locks it goes dead silent mode!

    http://support.apple.com/kb/TS1630

  • HT5312 Hello I have purchased the account from the shop for mobile phones and when Dgt a balance of $ 75 U.S. dollars tried to go down some programs, but ask me to answer questions and there have even when the shop is not accepted to give me any data abou

    Hello I have purchased the account from the shop for mobile phones and when Dgt a balance of $ 75 U.S. dollars tried to go down some programs, but ask me to answer questions and there have even when the shop is not accepted to give me any data about amyl which bearing correctly and password also trueThe name is true, how can I re-answer these questions??? replace phones is that Ahab Please give me the quick fix and sent the answer to Emile is:[email protected]

    Well I can't understand your english at all. If you need to reset your security questions, then try this:
     Account Security Team (AST) 
    Check the AppleCare number for your country here:
    http://support.apple.com/kb/HE131
    Call them up, and let them know you would like to be transferred to the Account Security Team.
    Or… click on the blue "Start your support request online" links.

  • HT4623 My texts have stopped getting through to one of my contacts. I can phone him and I can receive his calls and messages. I am the only one of his contacts whose  texts are not getting through. We have both restarted our iphones but the problem contin

    My texts have stoipped getting through to one of my contacts. I can phone him and I can receive his calls and messages. I am the only one of his contacts whose  texts are not getting through. We have both restarted our iphones but the problem continues.

    Have you talked to your carrier (or your friend to his)?  Could be an issue at their end.

  • What are the ports required for the Audio, Video and A/V conferencing when the following end points are enabled for QoS in Lync 2013 server?

    Hi All,
    What are the ports required for the Audio, Video and A/V conferencing when the following clients are enabled for QoS in Lync 2013 server?
    Client Type
    Port range  and Protocol required for Audio
    Port range and Protocol required for
    Video
    Port range and Protocol required for
    A/Vconferencing
    Windows Desktop   Client
    Windows mobile App
    Iphone
    Ipad
    Andriod phone
    Andriod Tablet
    MAC desktop client
    Please advise. Many Thanks.

    Out of the box, 1024-65535 for all of the client ports.  :) 
    https://technet.microsoft.com/en-us/library/gg398833.aspx
    You'll want to tune your client ports a bit
    https://technet.microsoft.com/en-us/library/jj204760.aspx as seen here, and then the client ports would use those ranges which is easier to set QoS markings.  I'm not sure the mobile clients respect that setting.
    Elan's got the best writeup for Windows clients here:
    http://www.shudnow.net/2013/02/16/enabling-qos-for-lync-server-2013-and-various-clients-part-1/
    However, the marking of the packets is the tricky part.  Windows can do it via Group Policy, but for the other clients you'll need to have the network specifically prioritize ports regardless of DSCP markings.  You have to do it based on ports
    as the traffic could be peer to peer.
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question please click "Mark As Answer".
    SWC Unified Communications
    This forum post is based upon my personal experience and does not necessarily reflect the opinion or view of Microsoft, its employees, or other MVPs.

  • I have updated to the latest version of iTunes (11.2.2.3). However, when I connect my iPod it shows in My Computer and iTunes opens automatically when the iPod is connected but the device doesn't show in iTunes.  Any ideas?

    I have updated to the latest version of iTunes (11.2.2.3). However, when I connect my iPod it shows in My Computer and iTunes opens automatically when the iPod is connected but the device doesn't show in iTunes.  Any ideas?  I am on Windows 8.1 and my iPod is a Classic

    Hi murr18140,
    Welcome to the Support Communities!  The article below will help you troubleshoot the issue you are having with your iPod classic not being recognized in iTunes for Windows:
    iPod: Appears in Windows but not in iTunes
    http://support.apple.com/kb/TS1363?viewlocale=en_US
    I hope this information helps ....
    - Judy

  • How do I make a 20 X 30 print with layers of 16 X 20, 12 X 18, 11 X 14, 8 X 12, 8 X 10, 5 X 7 and 4 X 6 of the same image to display the different sizes available to someone?  Using Elements 13 with Windows 8.1

    How do I make a 20 X 30 print with layers of 16 X 20, 12 X 18, 11 X 14, 8 X 12, 8 X 10, 5 X 7 and 4 X 6 of the same image to display the different sizes available to someone?  Using Elements 13 with Windows 8.1
    A senior citizen needs some help.
    Thanks

    Saving each image as different size - is it an option for you?  I would save images with their name as: 20x30.png, 16x20.png etc etc.
    Or explain whether you want these in a webpage  in which case only one image is necessary and different sizes are displayed with good CSS code.  this is question for Dreamweaver forum if this is what you want.

Maybe you are looking for