Modify webdynpro at runtime

Hi to all,
i have a Tree element in my webdynpro and i'd like, when i do a double click on a node, that the system verify the number of its childreen. If this quantity is lower of a certain threshold the node is expanded, otherwise the node is not expanded.
How i can do this?
Thanks to all
Alessandro

then the expanded option should be available at each subnode leevl right....
while building the tree then you need to set this value for expansion.
By this time, you get to the subnodes and it's items right and also the threshold value..
while building a tree  you have to set the expansed option...
I willtry out some code and let you know...
I have a node FOLDER similar to the node of WDT_TREE...
Please refer this -
Inside this foler node i have one more attribute IS_EXPANDED..WDY_BOOLEAN..
Now, when I build my tree I specify this option...Refer this thread on the same -
WD Tree Expand Leadselection?
Edited by: Lekha on Dec 10, 2009 4:15 PM

Similar Messages

  • Modify WebDynpro without NWDS

    We are implementing XSS with NetWeaver 2004 at Portal 6.0. We do not have the NetWeaver Developer Studio, but we would like to make some changes to the default scenario's by downloading the .par file that holds the WebDynpro   's for the XSS scenario working time.
    Which .par file do we have to download and how can we make the changes and upload the .par file again?
    Thanks.

    Hi Bhupesh
    Follow these steps to customize logon screen
    1.      Navigate to <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.
    There you can find com.sap.portal.runtime.logon.par.bak.
           2.      Make a copy of com.sap.portal.runtime.logon.par.bak and rename it. In this example, it is renamed to my.new.logon.par.
           3.      Move my.new.logon.par to a location outside of the <J2EE-Engine_Instance>.
           4.      Extract the files from my.new.logon.parpreserving the directory structure.
           5.      Modify files in the extracted PAR file.
           6.      Put the modified files back into my.new.logon.par.
           7.      Copy my.new.logon.par back to
    <J2EE_Engine_Instance>\j2ee\cluster\server<X>\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd.
    Modify authschemes.xml to reference the new PAR file containing the modified logon UIs
           8.      In the authschemes.xml file, replace all occurrences of the string “com.sap.portal.runtime.logon” with “my.new.logon” in the tags
    <frontendtarget> and save the file. Edit the authschemes.xml file as described in Changing the authschemes.xml File.
           9.      Restart the nodes in the cluster for the changes to take effect.
    Additionally visit this link.
    /thread/112263 [original link is broken]
    Hope this helps
    Regards
    Ananda

  • How To Get GP Process Parameters in a Webdynpro Application runtime

    Hi ,
    Iu2019 ll hope you can help me to solve my problem with GP process.
    Iu2019 m trying to get GP process parameters from a Webdynpro application.
    I have to get parameters during the process runtime in every step of the process using
    a webdynpro application with the following code:
          IGPRuntimeManager rtm = GPProcessFactory.getRuntimeManager();
          try {
                IGPProcessInstance processInst = rtm.getProcessInstance(processId,userContext);
                IGPProcessInstanceInfo procInfo = rtm.getProcessInstanceInformation(processInst.getID(),
    userContext.getSAPUser());
                IGPStructureInfo inputstructInfo = processInst.getTemplate().getInputParameters();
                IGPStructure inputparams = GPStructureFactory.getStructure(inputstructInfo);
          } catch (GPEngineException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPEngineException:"+getStackTrace(e), false);
          } catch (GPInvocationException e) {
                // TODO Auto-generated catch block
    //          e.printStackTrace();
                manager.reportException("GPInvocationException:"+getStackTrace(e), false);
    But printing the values of attributes with u201Cinputparams.getAttributeAs... ("param name")u201C the value returned is always 0. On the contrary if I check the same parameters structure in the runtime
    GP view of the portal, the values are those that I have set in the start process wizard.
    Have you a solution for this question?
    Thanks in advance
    Luca

    hi Abhimanyu
    I believe originally access to session was deliberately not made available inside WDA.
    Growing security concerns due to misuse of session information and
    perhaps other reasons as well.
    X.509  is considered a better approach.
    This may not help you in your problem.
    But you may see a trend in WDA pushing more robust and client independent
    approaches.
    Full x.509 access should remove the need for session fiddling.
    Also when developers access such session info directly, there is a possiblity
    when they dont understand the technology exactly that they create a security hole.
    You may know how to do safely, it is however discouraged.
    Im not aware of a way to get at the session info inside the WDA framework.
    Well not without a mod to the framework.
    It may be possible without a mod, but I dont know the trick.
    If someone has a little trick... please post.
    You may need to use BSP, if your only solution requires access to the session info.
    regards
    Phil

  • Webdynpro application runtime error CX_FQDN

    Hi experts,
    I am encountering following error when running a sample webdynpor application from SE80. I have included details of my Hosts file entries and profile parameter in the details below.
    My SAP system is installed on my desktop computer as a standalone on a wrkgroup. Name of the host is 'ecc6'.
    Step by step instructions preferably with some example will be greatly appreciated.
    Thanks in advance. AP
    What has happened?
    The URL http://ecc6:8006/sap/bc/webdynpro/sap/z_tutorial_1 was not called due to an error.
    Note
    The following error text was processed in the system ECC : Die URL enthält keine vollständige Domainangabe (ecc6 statt ecc6.).
    The error occurred on the application server ecc6_ECC_06 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    ST22 dump is:
    Runtime Errors         UNCAUGHT_EXCEPTION
    Exception              CX_FQDN
    Error analysis
        An exception occurred which is explained in detail below.
        The exception, which is assigned to class 'CX_FQDN', was not caught and
        therefore caused a runtime error.
        The reason for the exception is:
        Die URL enthält keine vollständige Domainangabe (ecc6 statt
        ecc6.).
    System environment
        SAP-Release 700
        Application server... "ecc6"
        Network address...... "192.168.100.1"
        Operating system..... "Windows NT"
        Release.............. "5.2"
        Hardware type........ "4x Intel 801686"
        Character length.... 16 Bits
        Pointer length....... 32 Bits
        Work process number.. 0
        Shortdump setting.... "full"
        Database server... "ECC6"
        Database type..... "ORACLE"
        Database name..... "ECC"
        Database user ID.. "SAPSR3"
    User and Transaction
        Client.............. 001
        User................ "SAPUSER"
        Language Key........ "E"
        Transaction......... " "
        Program............. "CX_FQDN=======================CP"
        Screen.............. "SAPMHTTP 0010"
        Screen Line......... 2
        Information on Caller ofr "HTTP" Connection:
        Plug-in Type.......... "HTTP"
        Caller IP............. "192.168.100.1"
        Caller Port........... 8006
        Universal Resource Id. "/sap/bc/webdynpro/sap/z_tutorial_1"
    Information on where terminated
        Termination occurred in the ABAP program "CX_FQDN=======================CP" -
         in "CHECK".
        The main program was "SAPMHTTP ".
        In the source code you have the termination point in line 10
        of the (Include) program "CX_FQDN=======================CM002".
    Entries in C:WINDOWSsystem32driversetchosts
    127.0.0.1                 localhost
    192.168.100.1     ecc6
    Instance Profile in SAP transaction RZ10 is ECCDVEBMGS06_ECC6_
                Parameter Name                                      Parameter value
    login/no_automatic_user_sapstar                      0
    login/system_client                                            001
    SAPSYSTEMNAME                                           ECC
    SAPGLOBALHOST                                           ecc6
    SAPSYSTEM                                                    06
    INSTANCE_NAME                                             DVEBMGS06
    DIR_CT_RUN                                                 $(DIR_EXE_ROOT)$(OS_UNICODE)NTI386
    DIR_EXECUTABLE                                         $(DIR_INSTANCE)exe
    PHYS_MEMSIZE                                             512
    rdisp/wp_no_dia                                             6
    rdisp/wp_no_btc                                            3
    icm/server_port_0                                          PROT=HTTP,PORT=80$$
    ms/server_port_0                                          PROT=HTTP,PORT=81$$
    rdisp/wp_no_enq                                   1
    rdisp/wp_no_vb                                    1
    rdisp/wp_no_vb2                                  1
    rdisp/wp_no_spo                                   1
    DIR_CLIENT_ORAHOME                              $(DIR_EXECUTABLE)

    HI ,
    SAP has recommended it like that
    for accessing SAP web dynpro abap application you have to give the full FQDN i.e. host name with domain.
    simply hostname alone wont work.
    http://help.sap.com/saphelp_nw70/helpdata/en/67/be9442572e1231e10000000a1550b0/content.htm
    Pls go through the link.This mite help
    Thanks,
    Aditya.

  • Using Development Components in WebDynpro components - runtime failures

    Hi folks,
    I developed a couple of webdynpro components and those are working fine. As I found out that I had some common functionality ( for example tablesorter class) in there I decided to get that into a common java component that would be "used" by my other webdynpro components.
    Also that works fine as I have build a java component with corresponding public interfaces, attached the java component to the webdynpro components, uses the java classes in there, I can build the webdynpro components without any issues, ...
    But at runtime I get an exception telling me that basically the common class definitions cannot be found ...
    This is what I did :
    (1) Created a JAVA DC with a package with the common classes
    (2) Defined 2 public interfaces - API and Assembly
    (3) Created a J2EE Service Libary, added the JAVA DC Assembly Interface and build/deployed it ... No deployment issues. ( Also tried the same with "An external library" DC when the first one didn't work )
    (4) Added a reference in the WebDynpro DC towards the API public interface ( buildtime ) and to the Assembly public interface ( RunTime ) (-> not sure that one was necessary ).  The DC builds without any issues.
    (5) I run the WD application and get a dump ...
    Any ideas what I forgot or suggestions on solving this ?
    Thanks,
    Steven

    Thanks for your suggestions guys ...
    I deployed the libary JAR seperately with the J2EE Library DC ... that worked fine according to the deployment logs.
    And yes I referenced the project as well in the project configuration but that didn't do alot I am afraid ...
    I did some reading up about JAVA class loaders within J2EE and it seems that by default each J2EE application ( I assume Webdynpro is one as well ) will have a dedicated class loader which only loads the classes needed within the application ( plus the default ones ).  It seems that my library is not considered to be part of the application ... although by creating the link to the public interfaces I would assume it is ...
    Only other thing to remark is that all the components are developed as 'local components' ... I cannot imagine that would have anything to do with it ?
    Steven

  • Getting the Selected Role Tab in WebDynpro at runtime.

    Hello Friends,
    I have a requirement to know the selected Role tab in portal at runtime and want to use this reference in WebDynpro. I did a fare research and found that this is possible in tag library however i haven't got anything for WebDynpro.
    Requirement :
    I have couple of reports which behave differently for Admin and User.
    Currently i have done the coding by accessing parent group for the logged in user.
    But the issue comes when we assign both the roles to a superuser. He will be authenticated either by user group or by admin group not both. And If user is authenticated by user group then under admin role tab also the report will behave like  user view.
    Please recommend any solution.
    Thanks
    Shobhan

    If it is OK to depend on a feature that is new to JDK
    1.4, take a look at the javadoc for
    java.lang.Throwable.getStackTrace()
    It returns an array of StackTraceElement and you can
    call these on the first element:
    StackTraceElement.getClassName()
    StackTraceElement.getMethodName()
    If you need to work with an earlier JDK, you can
    convert the stack trace to a string via these lines,
    perhaps with this code where you have Exception ex :
    ByteArrayOutputStream baos = new
    w ByteArrayOutputStream();
    PrintStream ps = new PrintStream(baos);
    ex.printStackTrace(ps);
    ps.close();
    String result = baos.toString();and get the first line from the result String.Amorrow, thanks for your response--I appreciate the help. I'm 1.4-only so I'll do your first suggestion. If I have twenty exception handlers I can now just copy-and-paste the same code in.
    Thanks,
    Glen

  • Error BISoapConnection – READ_ONLY_STORE while modifying Connection at runtime from EM-MBean Browser

    I’m trying to create a webapp having a page pulling the BI analytics content using the BI-ADF control. I then deploy this on another standalone weblogic server.
    While this deployment works and I’m able to acess my pages etc. The connections are created statically in Jdeveloper
    However, the requirement is to be able to create/modify the connections at runtime. I am trying the way to do this using System MBean Browser but seems like I missed any configuration while creating the deployment, since I get the error for the READ_ONLY_STORE for this connection.
    Much appreciated any advice from you.

    Here is my help:
    The entire line of output up until the actual error means absolutely nothing to me or anyone else except you; it is means anything at all, then you need to get into your debugger and start stepping thorugh your code until you hit the error and see what is actually happening, then if you are stuck, write a question stating what the problem is and where it occurs in your code. You chould give some of the variable states in the same scope during the iteration inwhich the error occures, but unless you are willing to do this, I doubt anyone is going to do your debugging for you--paticulary since this is not even your own code.

  • Modify Query at runtime

    Hi everyone,
    I use Forms 6i to connect to a non-Oracle data source.
    Just wondering, can we modify the select query at runtime?
    I read the online help for the pre-select trigger. In the "Usage Notes", it says "Use a Pre-Select trigger to prepare a query prior to execution against a non-ORACLE data source."
    I can get the constructed query :system.last_query here. But I can't modify it at this stage.
    Please Help. Thanks

    Hi,
    I do use pre-query, but I use it to modify either the where or order by clause of the select statement. If that is what you want then you could use the set_block_property
    Example;
    set_block_property('blockname', default_where,'new condition');
    Hope this helps.
    Regards,
    Bob DJ

  • Modify object in runtime.

    Ok, I wonder, since there is no simulation loop or anything, how do I modify an object in runtime. For instance, I want an object to check a variable for the color of the object. I also made a grid/surface with different y-values in the coordinates with lineArray, and would like to update the surface in runtime. How is this done, with behavious or something else?
    Thanks in advance.

    Yes, you use the Behavior framework for that. You can select different stimuli to activate a Behavior (elapsed time, number of rendered frames, user input, ...).
    PS: There is a simulation loop, but it's not under user control. But the Behavior framework interacts with it.

  • Modifying Webdynpro log on file

    Hi,
    I want to modify the Webdynpro based log on file, not the logon.par. How will I get the webdynpro project in my  local NWDS. Please guide.
    I have already  located the application but unable to get the Webdynpro project in NWDS. The application is sap.com/tcsecumewdenduser/LogonHelpApp. But how do I modify this webdynpro project and again redeploy it.
    Regards
    Koushik Das

    Hi.
    Have you had chance to check this  parameter  "additionalLastFields"? . According documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/frameset.htm
    If the inbound structure has more fields than specified in the configuration then the XML outbound structure is created as follows:
    ○       ignore
    Outbound structure only contains the fields in the inbound structure
    ○       error
    Conversion is terminated due to the incomplete inbound structure. An error message is displayed.
    Regards

  • Modify VI during runtime

    Dear LabView users,
    I have a quite general question about project development what requires continuous control of the hardware. To be more specific, I am developing LabView control and DAQ softwares for large volume calorimeters in the last 2 years. Such a device requires several PID controls, and it has many subsystems. Due to the large heat capacities, it takes about 3-4 days to start up the system. So if I need to modify for example something in a final stage fine control of a specific subsystem, I have to shut down the LabView code, I modify the specific part, I restart the system, I wait 3 days, and then I can see the result of my changes.
    My question is kind of general: what is the common, lets say the "best practice" to avoid such a dead time?
    Is it possible to change a VI during runtime?
    I understand that, if I run independent VIs, what take care of the subsystems, I could avoid this problem. But if I have already a compact "main" VI, including all the subVIs, what can I do?
    It would be nice to have a kind of "hot swapping" feature in LabView, so during runtime of my project's main VI, I could edit the subVI what I want, and when it is ready to activate, the runtime engine would swap it with the old version.
    Thanks for any advice and opinions!
    Best Wishes,
    Solved!
    Go to Solution.

    Can you modify your algorithims to use parameteric data? If so you can input those control parameters in a variety of ways external to the code itself and change the behavior of the running code. If you need to maodify the code itself you will need to call the code dynamically. If you do so though you will need to make sure you actually load the code right before it executes otherwise you run the risk of using code in memory.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Trouble with Appplication after modifying WebDynpro Theme

    Hi all,
    since I modified a WebDynpro theme the behaviour of several UI Elements changed dramatically.
    The dropdown listbox is unclickable.
    The little calendar pop up of an input field being bound to the type date doesn't appear anymore.
    Basically every interactive Element refuses to be interactive
    I'm using a Viewset with T-Layout. The left column only contains links to views being displayed in the right column of the viewset.
    This afternoon even the links do not work anymore.
    I'm developing on SP12, Themeeditor and themes are as well based on SP12.
    Can anybody support me?
    Thanks a mill in advance,
    Otto

    Hi
    It looks like that the generation of the individual folders within the main folder(containing all the elements required for the theme)is missing or not generated properly. When you develop a theme, make sure its compatible ("with all browsers")and have the 'generate all'.
    Since you said, that you are using sp12 for development and are using the sp12 theme editor, it should work properly.
    Yes, we had issues with regard to combo control and date element with our previous SPs.
    I did a cross check on my side, where I had sp12 for development and used sp11 theme editor and looks good.
    Hence do re-generate your folders and try it out.
    Thanks
    sathyanarayanan

  • A Form when modified crashes - toggling runtime parameters temporarily solves problem

    A form is running in Forms 6i. Problem arises whenever user gives us requirement to modify it. Whatever modification we do, the form stops running. In fact it crashes and control goes back to Windows. That is the calling ( menu) form also exits.
    However we toggle/change following runtime parameters thru
    Tools --> Preferences --> Runtime and it temporarily solves problem.
    Buffer Records in File & Array Processing.
    However it is not fixed what combination of above parameters actually solves problem. We keep on trying and eventually it is solved.
    We want to know waht is this problem and how to resolve it.
    Note: The form is developed using SQL for purpose of insert/update/select. Built-in EXECUTE_QUERY is not used in this form.
    Pl. help.

    I don4t know if this can help, but
    we had problems with database links
    if we defined as db.world
    we must put exactly as db.world.
    When we use only @db it hanged up.
    Out of this we didn4t have similar problems .

  • Erecuitment- Webdynpro - Portal Runtime Error When Clicked On Page Or Iview

    Hi Guys,
    I am getting error for every link on recruiter tab in portal as below: 
    Portal runtime error.
    An exception occurred while processing your request. Send the exception ID to your portal administrator.
    Exception ID: 02:52_07/11/09_0292_3408050
    Refer to the log file for details about this exception.
    We are on EPH4 with web dynpro ABAP.
    Any clues?
    Thanks.

    Hi Ron,
    basically there can be 2 different reasons.
    If there is something wrong with the portal settings / connection to e-recruiting you will probably need your portal guys to have it checked.
    While the portal guys are checking the connection you should check if there is anything with the e-recruiting server. As a first step log on to the backend and check TCode SLG1 for any error entries. Perhaps it is something very basic like a missing candidate for your user you have to create using report RCF_CREATE_USER so you can solve on your own. If you encounter a message you cannot handle on your own, just post it again here, we will probably able to offer some guidance. In addition to checking SLG1 having a look into SM21 and ST22 can be always useful.
    Best Regards
    Roman

  • Modifying/designing Report at runtime?

    Hello,
    i´ve tested CR for Eclipse and BO Enterprise (older Version) as standalone Solution. Both have very nice features. Currently i am working on a project where users have to modify Reports at Runtime. This is possible with BO Enterprise, but i want to integrate it in a J2EE Architecture (Websphere) with EJB as Datasource. What possibilities does CR or BO offer to modify Reports at Runtime? Is there any Documentation available?
    Currently i am thinking of using OpenSource Software and modify the XML-Desginfile (most OpenSource Tools are based on XML-Designfiles) at runtime to fit my needs.
    best regards,
    Midrag

    <p>Hi,</p><p> I&#39;d be interested in the same information, personally, I&#39;m looking to see if reports can be made to take the users group into account, so one user viewing a report will see different data to another user who is in a different group</p><p> </p><p>Thanks,</p><p>Balmark </p><p> </p><p>ps. looking at the lack of posts on most of the threads and the time for any responses, does anyone from business objects respond in this forum? To be honest, this question is a very big question for me and whether we&#39;ll be using crystal reports and whether all our customers will be advised to. If its a stupid question with a simple answer, I&#39;d love to know. </p>

Maybe you are looking for

  • IPod Nano Video-Out to TV (Via new Apple Component cable) DOESN"T WORK

    It doesn't work on my nano. The sound plays fine, the video is distorted. It isn't the cable, since I have an iPod Touch that displays fine. I've tinkered with the settings : Widescreen, NTSC, Fit to Screen, etc... none of it helps. Still shows a dis

  • Array Example Not Working

    I'm working my way through a JAVA 6 text book to try and learn the basics of the language but I'm getting an error with code which is straight out of the book. the program is as follows. import java.util.*; import java.awt.*; class HalfDollar {      

  • ENET/100 causes host computer to power on

    I have an ENET/100 in a separate rack from my host computer connect via ethernet.  When power is applied to the rack containing the ENET/100, the host computer in the other rack powers on.  I have disabled all the wake on LAN options.  Any ideas?

  • I get itunes "error 0x800000A" (itunes wont connect Iphone 4)

    I get itunes "error 0x800000A" (itunes wont connect Iphone 4)

  • Iphoto does not recognise my cameras anymore

    Up to a week ago my iphoto 11 running snow leopard worked fine and now when I connect my 2 canonixuis 85 is the computer does not see them nor does it open the iphoto program. 3 weeks ago I got the new Lumix waterproof (i think FT3) and it connects f