Passing data and command in url of the page

Hi,
I have a developed a page which has material as input field on first page
now on press of button on that page ,it feteches the data related to that material in the input processing of that page and display output on other page.
now i want to display out directly ,supressing the first page.
so is there a way where i can pass data + command (button press) in the url of that page so it will execute on i/p processing of this page directly and displays the o/p on other page.
for eg...  ?matnr=x.....(what to write for button click so it executes on i/p processing directly)
Remember my code for fetching the data is on the first page in input processing,so i need to call this page itself.

Hi Sushi,
I wouldn't do it quite the way you are - I would only build one page.
Make MATNR an auto page attribute. Then in <i>onInitialization</i> you can test
if MATNR is not initial.
and then fetch the data.
In the layout you can either display the input field, call it MATNR, and any error messages from the fetch data code or if the data was fetched okay display the results.
Now you can call the page with <i>?matnr=X</i> and it will work.
Cheers
Graham Robbo

Similar Messages

  • To extend SAP user date and to add months to the current date

    Hi All,
    I need to extent the user date in SAP based on one condition.
    If the condition is true extend the date by 12 monthd if false 6 months from the current date.
    Can i have the FM for user date extentions and FM for getting the date.
    Thanks,
    Chandu.

    Hi ,
    You can use this FM for exteding the date.
    CALL FUNCTION 'BAPI_USER_CHANGE'
        EXPORTING
          username   = us_username
          logondata  = e_bapilogond
          logondatax = e_bapilogondx
        TABLES
          return     = i_return.
    u need to pass date and correspoing flag also.
    For extension of the date by months u can use this FM.
          CALL FUNCTION 'MONTH_PLUS_DETERMINE'
            EXPORTING
              months  = 6 or 12 ( depending up on ur logic)
              olddate = sy-datum
            IMPORTING
              newdate = us_expdate.
    Thanks and regards.
    Sham

  • How can I get my safari 5.1.10 to download the java update so I won't continue to get notices that my browser is out of date and I need to download the update, which then won't download.  Cannot view anything in youtube or most other places.

    Jeez.  Trying to view items in youtube.  I keep getting a blacked out picture telling me my browser is out of date and I need to download the update.  I do that and then it doesn't connect so I'm back at square one. 

    Hi MiMattheMac, you probably won't have any problems but just be aware upgrading from Snow Leopard to anything later is a big leap. Old, PowerPC - only programs won't work, for example, and even more recently developed programs won't work if their developers have not been updating them for recent OS X versions.
    If you haven't made a backup of your Mac yet, and you consider the information on it important, please consider doing that. It is the only practicable way to "undo" an OS X upgrade should you want to. Merely having a backup seems to preclude the need to ever use it.
    If the information on your Mac is not important to you, upgrading to Mavericks is even easier since you can completely erase the Mac first.
    In any event let the download complete.
    If this raises any concerns about installing it, and you need to ask questions to alleviate those concerns, you can just close this window when it eventually appears:
    The 5 GB downloaded file will not be deleted and will remain available until you actually install Mavericks. You can do that at any time convenient for you.

  • My Macbook pro was stolen 09/12, the police just returned it to me. I want to remove all the data and start over. Format the drive's etc. I have windows 7 on 1 partion and mountain lion OSX on the apple partition. How is the best way to do this?

    My Macbook pro was stolen 09/12, the police just returned it to me. I want to remove all the data and start over. Format the drive's etc. I have windows 7 on 1 partion and mountain lion OSX on the apple partition. How is the best way to do this?

    Have a look here...
    what-to-do-when-your-hard-drive-is-full.html

  • Cisco SPA525g2 Date and time Not Synced with the PBX server

    Hello,
    We have a couple of SPA525g2 phone connected and registered to our PBX server. We were able to configure 3 extensions on different lines of the phone. However, at times we were encountering issues with the other lines configured on the phone. There are times wherein 1  extension configured on the phone is having one way audio issue, but the other extensions configured on the same phone is working fine. and we have to reboot/reset the phone several times for all the extesions configured on the phone to work.
    Also, whenever we reset the phone, the date and time will be way way behind the current date and time, eventhough we have already set the correct date and time before we reset the phone.
    How can we resolve the one way audio issue on 1 or 2 extensions of the phone, while the other extensions configured to it is working fine?
    How can we make the phone sync the date and time with the PBx server?
    Any input and help regarding this issue is greatly appreciated...
    Btw, date and time  issue not sync with the PBX server is just happening on SPA525g2, we have other phones like SPA303, SPA504, and SPA232D/SPA302D. All other phones' date and time is in sync with the server even though we reset them except SPA525g2.
    Thank you very much,

    PeterMacSF,
    It appears that in the past few days you have not received a response to your
    posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Visit http://support.novell.com and search the knowledgebase and/or check all
    the other self support options and support programs available.
    - You could also try posting your message again. Make sure it is posted in the
    correct newsgroup. (http://forums.novell.com)
    Be sure to read the forum FAQ about what to expect in the way of responses:
    http://forums.novell.com/faq.php
    If this is a reply to a duplicate posting, please ignore and accept our apologies
    and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://forums.novell.com/

  • Get date AND time to show in the menu bar

    What is that technique to get date AND time to show in the menu bar please?

    Install iStat Menu
    System Preferences -> iStat Menus -> Date & Time
    \[X] Show Date & Time
    Format .... \[Edit]
    (*) Custom (drag tokens to build a custom format)
    Drag a light blue token into the edit line below the token selections. If you want a space a colon a dash, etc... just type that character(s) before after draging a token into place.
    I created: 9:35 PM Sat 1-Aug-2009
    You can create anything you like in any order you like.
    The other alternative (if you happen to be a fan of the Unix strftime() function) would be to use the % formatting characters in the Expert time format expression box. Use the Terminal "man strftime" to find out all the available % formatting codes.
    But I think the Custom Drag & Drop section is the easiest to use.
    However, if this doesn't work for you, then I guess it is just a case of "Your Mileage May Vary".

  • When I open a new tab, the new tab used to show shots of 6 or so of the last sites I'd viewed, so I could easily click on one and go to it. Now it shows a blank tab and I have to type the URL of the page I want. How can I change it back?

    When I open a new tab, the new tab used to show shots of 6 or so of the last sites I'd viewed, so I could easily click on one and go to it. Now it shows a blank tab and I have to type the URL of the page I want. How can I change it back?

    Did you have the Google Toolbar installed?
    * http://www.google.com/support/toolbar/bin/answer.py?answer=115561 Web-browsing tools : Google new tab page and most visited websites
    Other extension that have a similar feature:
    *Speed Dial: https://addons.mozilla.org/firefox/addon/4810
    *Fast Dial: https://addons.mozilla.org/firefox/addon/5721

  • How do I store 4 hours of data and get it out of the "while loop" into a spreadshee​t file for documentin​g purposes? "See additional Text for additonal info"

    What a have is a VI that uses the following SUbvi's, starts with FP OpenVI, then FP Create TagVI, into a "While Loop" which contains a FP ReadVI outputting data into a Index ArrayVI outputting to a Display (DBL). This shows the output of a FP-AI-100 monitoring a 9v battery. I have to monitor this battery for a 4 hour period my problem is storing the 4 hours of data and getting it out of the "while loop" into a "Write to Spreadsheet File VI" all I seem to accomplish is just one data sample which I get into a spreed ship file with no problem. I just can't get 4 hours worth. By the way this is my first VI and I'm self
    trained so have mercy.

    I figured it out thanks.
    John Morris
    Glendinning Marine

  • How do I store 4 hours of data and get them out of the "while loop" into a spreadsheet file for documenting purposes? "See additional Text for additonal info"

    What a have is a VI that uses the following SUbvi's, starts with FP OPENvi, then FP Create Tagvi, into a "While Loop" which contains a FP READvi outputting data into a INDEX ARRAYvi outputting to a Display (DBL). This shows the output of a FP-AI-100 monitoring a 9v battery. I have to monitor this battery for a 4 hour period my problem is storing the 4 hours of data and getting it out of the "while loop" into a "Write to Spreadsheet File vi" all I seem to accomplish is just one data sample which I get into a spreed ship file with no problem. I just can't get 4 hours worth. By the way this is my first VI and I'm sel
    f trained so have mercy.

    I figured it out Thanks.
    John Morris
    Glendinning Marine

  • Can I capture the url of the page I am on and set it to a variable??

    Hi..
    I was wondering how I can capture the url of the page that I am on and then set it to a variable??? is that possible???
    Thx
    Rich

    Try this.
    String url =request.getRequestURI();
    Hope this helps.
    Fred

  • So my iphoto is set up with a different apple account from my current one... the email on the old account is out of date and i do not know the password for it. my copmuter will not let me update my iPhoto nor will my old email account allow me to accessit

    so my iphoto is set up with a different apple account from my current one... the email on the old account is out of date and i do not know the password for it. my copmuter will not let me update my iPhoto nor will my old email account allow me to accessit

    Did you try this Apple website regarding your old Apple ID and its password: Apple ID: If you forget your password
    OT

  • HT5714 Why did I pay $19 for Start Trek Into Darkness pre-order, if Apple KNEW they were going to release a bundle on the release date and I could have got the other Star Trek movie for just $5 more?  What the heck Apple, I feel completely ripped off.

    Why did I pay $19 for Start Trek Into Darkness pre-order, if Apple KNEW they were going to release a bundle on the release date and I could have got the other Star Trek movie for just $5 more?  What the heck Apple, I feel completely ripped off.
    I didn't even have time to cancel the preorder as that processed a couple minutes before the bundle was posted.
    Pre-orders are apparently not worth my time ever again.  

    Go here:
    http://www.apple.com/support/itunes/contact/
    and follow the instructions to report the issue to the iTunes Store. Perhaps there will be something they can do for you.
    Regards.

  • Open tabs that go unused for a few minutes no longer work and cause me to lose the page it was on.

    I like to keep many tabs open at all times, and recently Firefox has started messing up my tabs whereas I've never had a problem with this before. I believe it started after the latest Firefox update.
    As mentioned above, if a tab stays open but unused for a few minutes while working in other tabs, the site's logo next to the page's title (such as Amazon's "a" logo with the arrow under it next to "Your Orders" for example) gets replaced with the spinning green ring that usually indicates loading, but it spins much faster than it does when it's actually loading something. When you click on the tab to open it again, it is simply a blank tab and I'm forced to manually hunt down the page I was on again. However, when I log off my computer or restart it while the tabs have the spinning green rings on them, the next time I open Firefox after logging back in to my computer, it opens all the correct pages and tabs, but only if I didn't click on/open any of the tabs while they had the spinning green ring, thus rendering them back to blank tabs. If I click on a tab with the spinning green ring (rendering it blank) and then log off/restart and open Firefox again upon logging back in to my computer, Firefox will have indeed lost that page's information and it re-opens as a blank tab, as it was when the system logged off. To top it all off, if any tab(s) is/are doing that fast-spinning green ring glitch, it makes whatever I'm working on run slower, such as making a video lag that I'm watching on Youtube. If I notice that happening I'm forced to go click on the tab (losing its data in the process) and manually go back to the page I was on again just so it will stop doing the fast-spinning green ring and I can watch my video smoothly, but this only lasts for a few minutes before those pages start the green ring glitch once again and I have to repeat the process. Another oddity of note is that this only happens to tabs I actually click on and open during each session. If I restart or log off my computer and log back in and start up Firefox again, the green ring glitch doesn't happen to any of the tabs I don't touch during my session. It only happens to tabs I actually open during that session, but it happens to every single tab that I do I open during that session.
    This is getting highly irritating and it's making working in Firefox a huge hassle, as it's happening constantly. PLEASE fix this. Firefox has never done this to me before, so I don't understand why it's happening now. I haven't downloaded or installed any new plug-ins or add-ons to Firefox so I know that I've done nothing to the program to cause this.
    Thank you for looking into this for me. I look forward to hearing back ASAP and finding a remedy for this problem. This glitch is driving me crazy.

    Are there any numbered sessionstore-##.js files in the Firefox profile folder
    You can also check for problems with the sessionstore-backups folder in the profile folder.
    You can use this button to go to the currently used Firefox profile folder:
    *Help > Troubleshooting Information > Profile Directory: Show Folder (Linux: Open Directory; Mac: Show in Finder)
    *http://kb.mozillazine.org/Profile_folder_-_Firefox

  • How do I find out the URL of the page a document was downloaded from?

    I downloaded a PDF several months ago; I can see it in my downloads history. When I right click it there, I see the link to the PDF itself, but I need to know the actual page it came from.
    I've checked my History, but cannot identify the page.
    Is there a definitive way of determining the URL of the page that linked to the document?

    Open the Download Manager window and select that file.
    Copy and paste this code in the Code field in the Error Console and click the Evaluate button.
    *Firefox/Tools > Web Development > Error Console
    The code adds a tooltip to the area with the file type icon at the left hand side of each entry in the DM window and shows a tooltip when you hover that area.<br />
    It only works for entries that are currently visible in the DM and not for new entries that are added by downloading files and only as long as the DM window is kept open, so you need to rerun the code in the Error Console to get a tooltip.
    <pre><nowiki>const Cc=Components.classes, Ci=Components.interfaces;
    var enumerator=Cc["@mozilla.org/appshell/window-mediator;1"].getService(Ci.nsIWindowMediator).getEnumerator(null);
    while(enumerator.hasMoreElements()){var win=enumerator.getNext();
    if(win.location=="chrome://mozapps/content/downloads/downloads.xul"){
    var i,r,R,C='';
    r=win.document.getElementById("downloadView").getElementsByTagName("richlistitem");
    for(i=0;R=r[i];i++){
    var fP=R.getAttribute("path");
    var fU=R.getAttribute("uri");
    var sT=parseInt(R.getAttribute("startTime"));
    var eT=parseInt(R.getAttribute("endTime"));
    var cB=parseInt(R.getAttribute("currBytes"));
    var mB=parseInt(R.getAttribute("maxBytes"));
    var rU=R.hasAttribute("referrer")?R.getAttribute("referrer"):"<no referrer>";
    var sD=cB/(eT-sT);
    var tT=[];
    tT.push("FILE: "+fP);
    tT.push("URI: "+fU);
    tT.push("REF: "+rU);
    tT.push("");
    tT.push("Total Time: "+((eT-sT)/1E3)+" sec.");
    tT.push("Curr Bytes: "+cB+" bytes"+((cB==mB)?" (OK)":"(part)"));
    tT.push("Max Bytes: "+mB+" bytes");
    tT.push("Download speed: "+sD.toFixed(3)+" KB/sec");
    R.setAttribute("tooltiptext",tT.join("\n"));
    if(R.getAttribute("selected")=="true"){C=tT;}
    if(C)prompt(C.join("\n"),C);
    </nowiki></pre>

  • I have been using the kindle app to load books on my ipad. For the past two days I cannot access those books. I might get one page to show then the screen will freeze and I can't turn the page. Does anybody know what is going on. Help!

    For the past two days I cannot access my kindle books on my ipad. I might be able to get one page of a book to appear but then it freezes and I can't turn the page. I tried turning my ipad completely off and then on again. Any ideas to fix this?

    Start by doing a reset ,you will not lose any data
    hold home /sleep button until Apple logo appears  ignore off slider
    first try closing Kindle App on iPad

Maybe you are looking for