How to display different screens when starting the Webdynpro app?

Hi All,
When user starting up the Webdynpro app, it will first check some value in the persistent layer. If the check result is ok, it will show the normal app screen to the user; if the check failed, it will show the error screen.
Now I write the check function in the view controller, But I think it is not a good approach, because there are some initialize code in the component controller, so before my check function reached, the server will waste some resource to execute the initialize code in the component controller.
Would anyone give me some hints on how to move the check function to component controller and then display the different screen to the end-user?
Thans and Best regards
Deyang

Deyang,
I've opened <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Web Dynpro</a> section on SDN and see the featuring article:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained</a>
<i>New resources demonstrate <b>how to navigate to certain views from within Web Dynpro components</b>, and fill some gaps in the Sample Application and Tutorial matrix.</i>
Should be exactly what are yuo looking for
Valery Silaev
EPAM Systems
http://www.NetWeaverTeam.com

Similar Messages

  • How to avoid blank screen when starting?

    When starting my mac book air, it only shows a blank screen, any suggestions to get back to normal?

    Hi Daniel,
    By blank do you mean that the screen is black? Is it gray? Is it blue? The word "blank" is vague when trying to determine and isolate startup issues.

  • Insert Mode when starting the Jclient app

    Hi!
    does anybody know how to make a jclient form( binded to a BC4J), to start up in Insert mode?
    That is , on starting the Jclient application, the user can insert data into the fields and doesn't have to press the new button?
    cheers
    Russel

    Deyang,
    I've opened <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro">Web Dynpro</a> section on SDN and see the featuring article:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/developerareas/webdynpro?rid=/library/uuid/751d003a-0b01-0010-8996-afbaa3fd5339">cross-component Navigation, Explained</a>
    <i>New resources demonstrate <b>how to navigate to certain views from within Web Dynpro components</b>, and fill some gaps in the Sample Application and Tutorial matrix.</i>
    Should be exactly what are yuo looking for
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • How can I stop iPad from starting the music app after ending a phone call when using Bluetooth headphones?

    music app automatically starts after using Bluetooth headphones during a phone call

    If you don't have iTunes you will need to buy the song from the iTunes store and download it that way. If it is a custom track you may be out of luck.  The only way to get a song on your device without iTunes involves jailbreaking it. 
    iOS is set up to prevent people from emailing each other songs, videos, movies, books, etc. This is how Apple got their contracts with the content providers by promising that they would do what ever it takes to prevent people from sharing content that they didn't pay for.

  • When starting the computer, I get a grey screen and following status: your startup disk is full. How can I still enter (in order to free-up some space)?

    When starting the computer, I get a grey screen and following status: your startup disk is full. How can I still enter (in order to free-up some space)?

    Simple way to make HDD free space is delete files you don't need anymore.
    Or get bigger drive and external HDD case, then:
    1) install bigger HDD in external drive case.
    2) connect external drive and format and mount it with Disk Utility.
    3) make clone with Carbon Copy Cloner or SuperDuper!(source drive is internal HDD, target drive is external one).
    4) install external bigger drive into your Macbook Pro.
    In the cace if your're using Mac Pro:
    1) get bigger HDD and install it in drive bay of Mac Pro.
    2) format and mount it with Disk Utility.
    3) make clone with Carbon Copy Cloner or SuperDuper!(source drive is old HDD, target drive is new one).
    4) Select boot drive to new bigger one.

  • How to display different Splash Screen depending on the Locale?

    Hi,
    I have a splash screen which is working fine.
    I want to display different spalsh screen depending on the locale the user has.
    Is this possible.
    I can display different Title,Description and the text of the short-cut icon on desktop and startup Menu based on the locale by mentioning it in the JNLP and altering my browser settings. I am not able to use the icon and splash screen corresponding to the specified locale. How to do this?
    EX:
    <information>
    <title> In english</title>
    <description> In english</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in English language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_english.gif"/>
    <icon kind="splash" href="images/splash_english.jpg"/>*
    <!-- locale="nl-NL" specifies dutch -->
    </information>
    <information locale="nl-NL">
    <title> In Dutch</title>
    <description>In Dutch</description>
    <shortcut online="true">
    <!-- create desktop shortcut -->
    <desktop/>
    <menu submenu="My Project in Dutch language"/>
    </shortcut>
    *<icon kind="shortcut" href="images/icon_dutch.gif"/>
    <icon kind="splash" href="images/splash_dutch.jpg"/>*
    </information>
    *Now here i am not getting the splash_dutch screen for the locale "nl-NL"(Dutch) and i am getting splash_english screen.
    Can we acheive this?*

    Hi anjali...
    I have problem with splash screen..
    here is my jnlp file
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8080/MyProject">
         <information>
              <title>MyProject1.0</title>
              <vendor>none</vendor>
              <description>Application Launcher For MyProject1.0</description>
              <description kind="short"></description>
              <offline-allowed />
              <icon kind="splash" href="images/Splash_MyProject.jpg" width="560" height="300"/>
         </information>
         <resources>
              <jar href="SwingApplication/mysql-connector-java-5.0.6-bin.jar" />
              <jar href="SwingApplication/MyProject1.0.jar" main="true"/>
              <jar href="SwingApplication/liquidlnf.jar" />
              <j2se version="1.6+" java-vm-args="-Xms32M -Xmx256M " />
         </resources>
         <security>
              <all-permissions/>
         </security>
         <application-desc main-class="com.mobius.ui.MainWindow">
              <argument>production%0%3#com.mysql.jdbc.Driver#MyProject4%jdbc:mysql://10.100.1.89:3306/MyProject4%MyProject%info123#MyProject2%jdbc:mysql://10.100.1.89:3306/MyProject2%MyProject%info123</argument>
         </application-desc>
    </jnlp>my post is in
    http://forum.java.sun.com/thread.jspa?threadID=5298381
    http://forum.java.sun.com/thread.jspa?threadID=5298466
    I am in big problem Help me...
    Edited by: arunnprakash on May 22, 2008 1:28 PM
    Edited by: arunnprakash on May 22, 2008 1:28 PM

  • CG54--Report from Template error when starting the display application

    Hi,
              Currently I have MS 2013 installed on my workstatsion. But now whenever I try to open a template for any specification I get error "
    An error occurred when starting the display application--Message no. C$772"
    I have SAP Logon 730 Patch 11. Also in User profile I maintain EXISTFRONT for ESWWI_INST. But for some reason it keeps on getting reset as WWISERVER.
    Need help on the same.
    Regards,
    Rohan

    Dear Rohan
    your local WWI installation seems to be dusrupted. Check e.g.  EHS- Inconsistent WWI Report behaviour for different users
    and many similar threads. Check OSS Marketplace for Release of WWI in regards of WinWord 2013
    Dear Camila
    according to my knowlede: the local WWI insztallaiton is not a "generation server" one. The parameter symbol you have mentioned is dedicated for WWI server set upin GLM area only. Therefore your hint will not work (according to my knowledge). But there is some "but"...
    With SAP ERP EnhPack 3 you need not to install any more a local WWi but could use a WWI gen server farm. If you can use this option the WWI set up is very different. In this case may be your hint is correct.
    C.B.

  • How to swf auto fit to screen when start

    how to swf auto fit to screen when start without any menu bar or window screen, i had use adobe flash player convert swf to ex, will fit to screen works in exe format?

    Dear Josephine,
       There is no option the way you want of autofit. Rather while opening the CSV in excel u can do the required formatting.
    Regards,
    Deva.

  • CG02 Report from Template error when starting the display application

    System info: SAP GUI 720 (patch 10007878), ECC 6.0, SAP_APPL/EA-APPL 605, WWI 2.7 (patch 20000084)
    Hi, folks.
    I was able to execute CG02 'Report from Template' function. My local MS Word 2003 would open successfully to display the report as expected. Suddenly, I couldn't do that anymore. I'm now getting msg "An error occurred when starting the display application" (C$772). And I didn't change anything.
    Any clue to what has happened or why it is happening? In my Word, I have 'C:\Program Files\SAP\FrontEnd\SAPgui\wwi' set as the file location for User templates. What else should I check?
    Thanks in advance.

    Hi, Caroline.
    Thanks for pointing me (back) to it! (I've encountered a similar issue with the same param back in 2010...)
    I'm positive that the problem started after I tried to run the transaction code (of my custom report program that does the CG02 'Report from Template' function) from the web gui ('You Can Also' menu function). Somehow, the standard SAP fms within It changed the param ESWWI_INST value from 'EXISTFRONT' to 'WWISERVER'. So when I ran CG02 and the WWI server is not available yet, I received the error msg.

  • Why is my G5 is stopping on the grey+apple logo screen when starting up?

    My G5 is stopping on the grey+apple logo screen when starting up and fans run faster than usual after a couple minutes. I have read many of the posts related here, but it seems none are exactly what I am experiencing. Here is what I have done:
    +Disconnected all peripheral devices (except for keyboard and mouse).
    +Unplugged power cord and plugged back in.
    +Unplugged ethernet cable.
    +Removed added memory.
    +Reset the SMU button on the logic board.
    +Reset the PRAM by pressing Command-Option-P-R keys. It makes its second start up chime but I still get the grey screen.
    +After opening the disc door with a paper clip, started up while pressing "C" with Hardware Test CD which found no problems.
    +However, also started up with Systemworks disc and ran Disc Doctor, but I get an "unexpected problem, Error found: disk error" while "Checking Directories: Catalog Structure". When trying to run Speed Disc, my hard drive doesn't even show up in the window to select it. Nor does it show up in Disk Viewer.
    I have not tried to start up from the original Mac Startup or installation disc that came with the computer. I am not at my G5 right now (having to use the internet at work). If I start up with that disc, will I loose any work (if I haven't already) that I haven't backed up?
    Also, the G5 manual suggests replacing the lithium battery inside the tower if I am having problems starting up. I have not read to do this anywhere else except in the manual. It mentions having problems with the date and time which I haven't so I doubt it's the battery.
    Any suggestions?
    Thanks,
    Tony
    G5 Power Mac   Mac OS X (10.0.x)  

    First and foremost you should never use Norton Utilities Disk Doctor or Speed Disk. They will corrupt your hard drive. NUM is not compatible with modern Macs and is no longer supported by Symantec. I highly recommend you uninstall it. You will find instructions here.
    You should do the following:
    Boot from your Tiger DVD. After the installer loads select your language and click on the Continue button, then select Disk Utility from the Utilities menu . After DU loads select your OS X volume from the list on the left, click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer. Now shutdown the computer for a couple of minutes and then restart normally.
    If DU reports errors it cannot fix, then you will need Disk Warrior (3.0.3 for Tiger) and/or TechTool Pro (4.1.1 for Tiger) to repair the drive. If you don't have either of them or if neither of them can fix the drive, then you will need to reformat the drive and reinstall OS X.
    If this does not fix the problem, then it's possible your system files have been damaged in which case you may need to reinstall OS X. You can do this by an Archive and Install which does not require erasing the hard drive. However, the hard drive must be verified as OK per the preceeding intructions.

  • I solve my problem of black screen when starting up my Mac pro, namely by the button lighting and then i saw the login screen. Hopefully it works for you too.

    I solve my problem of black screen when starting up my Mac pro, namely by using the lighting button and then i saw the login screen. Hopefully it works for you.

    It was the PRAM.

  • Firefox does not appear on screen when started from the start menu, but task manager says the process is running

    Firefox does not appear on screen when started from the start menu or the shortcuts, but task manager says the process is running.

    No - I get the message basically saying "Can't run program while Firefox is running. Please close down Firefox & try again".
    I rebooted my computer and it all works now - but that's weird it was happening before. Kinda weirded out that it happened at all.
    To avoid that happening again, I still wanna know what to do to avoid it or fix it for next time. Thanks

  • How do you stop all word documents from popping when starting the apple mac

    When starting the computer a blank new words page, powerepoint, excel and everything pops up. How can I stop this please?

    It's not an Apple product and there isn't a Microsoft forum here.
    http://support.microsoft.com/ph/12853

  • I can't get past white screen when starting up, any ideas?

    I Can't get past white screen when starting up, any ideas

    http://support.apple.com/kb/TS2570 Mac OS X: Gray screen appears during startup
    ===============
    When posting in Apple Communties/Forums/Message Boards.......It would help us to know which Mac model you have, which OS & version you're using, how much RAM, etc. You can have this info displayed on the bottom of every post by completing your system profile and filling in the information asked for.
    CLICKY CLICK---> https://discussions.apple.com/docs/DOC-3602
    CLICKY CLICK-----> Help us to help you on these forums

  • How to display list process, when i run sql*loader in c#

    Hello,
    How to display list process, when i run sql*loader in c#. I mean when i run sql*loader from cmd windows, i get list process how many row has been inserted. But when i run SQL*Loader from C#, i can't get process SQL*Loader.
    This is my code:
    string strCmd, strSQLLoader;
    string strLoaderFile = "XLLOAD.CTL";
    string strLogFile = "XLLOAD_LOG.LOG";
    string strCSVPath = @"E:\APT\WorkingFolder\WorkingFolder\sqlloader\sqlloader\bin\Debug\8testskrip_HTTP.csv";
    string options = "OPTIONS (SKIP=1, DIRECT=TRUE, ROWS=1000000,BINDSIZE=512000)";
    string append = "APPEND INTO TABLE XL_XDR FIELDS TERMINATED BY ','";
    string table = "OPTIONALLY ENCLOSED BY '\"' TRAILING NULLCOLS (xdr_id,xdr_type,session_start_time,session_end_time,session_last_update_time,session_flag,version,connection_row_count,error_code,method,host_len,host,url_len,url,connection_start_time,connection_last_update_time,connection_flag,connection_id,total_event_count,tunnel_pair_id,responsiveness_type,client_port,payload_type,virtual_type,vid_client,vid_server,client_addr,server_addr,client_tunnel_addr,server_tunnel_addr,error_code_2,ipid,c2s_pkts,c2s_octets,s2c_pkts,s2c_octets,num_succ_trans,connect_time,total_resp,timeouts,retries,rai,tcp_syns,tcp_syn_acks,tcp_syn_resets,tcp_syn_fins,event_type,flags,time_stamp,event_id,event_code)";
    strCmd = "sqlldr xl/secreat@o11g control=" + strLoaderFile + " LOG=" + strLogFile;
    System.IO.DirectoryInfo di;
    try
    System.Diagnostics.ProcessStartInfo cmdProcessInfo = new System.Diagnostics.ProcessStartInfo("cmd.exe");
    di = new DirectoryInfo(strCSVPath);
    strSQLLoader = "";
    strSQLLoader += "LOAD DATA INFILE '" + strCSVPath.ToString().Trim() + "' " + append + " " + table;
    StreamWriter writer = new StreamWriter(strLoaderFile);
    writer.WriteLine(strSQLLoader);
    writer.Flush();
    writer.Close();
    // Redirect both streams so we can write/read them.
    cmdProcessInfo.RedirectStandardInput = true;
    cmdProcessInfo.RedirectStandardOutput = true;
    cmdProcessInfo.UseShellExecute = false;
    cmdProcessInfo.LoadUserProfile = true;
    //System.Diagnostics.Process.Start("CMD.exe", strCmdLine);
    // Start the procses.
    System.Diagnostics.Process pro = System.Diagnostics.Process.Start(cmdProcessInfo);
    // Issue the dir command.
    pro.StandardInput.WriteLine(strCmd);
    // Exit the application.
    pro.StandardInput.WriteLine("exit");
    //Process[] processlist = Process.GetProcesses();
    //foreach(Process pro in processlist){
    Console.WriteLine("Process: {0} ID: {1}", pro.ProcessName, pro.Id);
    Console.WriteLine(pro.StandardOutput.ReadLine());
    // Read all the output generated from it.
    string strOutput;
    strOutput = pro.StandardOutput.ReadToEnd();
    pro.Dispose();
    catch (Exception ex)
    return;
    finally
    Thanks.

    friend
    sqlldr is an application residing in the OS. procedure runs in the dbms engine.
    you cannot run an os command directly from a procedure or a function or a package .
    If you want to do so you need to use either a daemon process created by a PRO*C program
    or a JAVA stored procedure to do so.
    just refer to previous question forums, you can find the solution. Somebody has already given a solution using
    java to run an OS command . check it out
    prakash
    [email protected]

Maybe you are looking for