Web dynporo run-time methods parameters

Hi,
What is the best way of finding web dynpro run time method parameters ? I'm talking about methods like get_selected_parameters(), get_child_node etc..
Many thanks

Hi
You can use the Web Dynpro Wizard this will give you the required coding
or
go to attributes of the view
the context in the VIEW is of type IF_WD_CONTEXT_NODE. double click on this class you can find all the methods from there you can go to the parameter list
for that matter if you know a class the same can be done
Hope this will serve your purpose.
Regards
Ramchander Rao.K

Similar Messages

  • Check user role/authorization during Web report run-time?

    Hello again,
    I ran into a problem. I need to check <b>user's authorization during webtemplate execution (run-time)</b>. I want to have a possibility to allow in one web template extra functionality (through template menu) to key users. Normal users, who are running same report, should not have this extra menu visible.
    Is it possible to check user authorizations or roles during web-template run-time?
    Thank you!
    Vitaliy

    Hi Harinam,
    From my logic your are right.
    The restriction is in two new roles (Requestor and Approver role).
    But ->
    If I assign my approver role the selection possiblities of the request types during the AR creation is restricted and the AR search function does not work.
    If I assign my requestor role the restriction of the request type is not there, but the AR search function works again. :-(
    If I assign the original approver role of sap I have the same behavoiur for the AR search.
    Both new roles are a 1:1 copy of the SAP standard roles - > Exception, ristriction on request type 'Execption Approval' is not displ.
    I have execute ST01 now. If I try to open the log, the system syst "No records that correspond to these search criteria".
    But I have found something else.
    The problem appears only if I search for Process ID "Access Request Approval Workflow".
    If I select other Process ID such as "Control Assignment Approval Workflow" or "Fire Fighter Log Report Review Workflow", everything works fine.
    Very strange!
    BR
    Melanie

  • Adf web service run time cast error

    When I run the web service using the test client, I get the following error after entering the parameter and invoke
    <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault><faultcode>env:Server</faultcode><faultstring>app1.model.common.UiSDOImpl cannot be cast to app1.model.common.uiSDO</faultstring></env:Fault></env:Body></env:Envelope>
    What I can do to fix this please?

    Hi,
    given 11.1.1.3 this an old version of JDeveloper, can you create a simple testcase using a newer build e.g. 1.1.1.6 or 11.1.17? This prevents chasing down old issues.
    Frank

  • Run time error in Web Application design

    I have several run time errors whe I deal with big web templates in WAD. Sometimes the error raises when i try to move in html section of the web template (run time error 5: invalid procedure call or argument), some time when i try to open the template (run time error 9: subscript out of range).Did someone have the same problem? I saw a forum specking about librfc.dll file, but i couldn't find many details.
    Thanks.
    Valentina

    hi V.,
    support package level for front end 3.5 ?
    you can check in bex, 'business explorer'->help->about.
    the info version 3500.x.yy; x is the support package level.
    i have tried to use front end 3.5 to access bw 3.0, WAD open like to errors, after patch 7 applied, seems ok.
    you may try with front end 3.0b
    hope this helps.

  • JSP, Data Web Bean, BC4J: Setting the where clause of a View Object at run time

    Hi,
    I am trying to develop a data web bean in which the where clause of a View Object will be set at run time and the results of the query then displayed.
    My BC4J components are located in one project while the coding for the data web bean is in another project. I used the following code bu t it does not work. Could you please let me know what I am doing wrong?
    public void populateOSTable(int P_EmpId)
    String m_whereString = "EmpView.EMP_ID = " + P_EmpId;
    String m_OrderBy = "EmpView.EMP_NAME";
    oracle.jbo.ApplicationModule appModule = null;
    ViewObject vo = appModule.findApplicationModule("EMPBC.EMPAppModule").findViewObject("EMPBC.EMPView");
    vo.setWhereClause(m_whereString);
    vo.setOrderByClause(m_OrderBy);
    vo.executeQuery();
    vo.next();
    String empName numAttrs = vo.getAttribute(EmpName);
    System.out.println(empName);
    Thanks.

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by JDev Team (Laura):
    Here is how I have usually done mine:
    1. In the JSP, use a RowsetNavigator bean to set the where clause and execute the query.
    2. Use a custom web bean to process the results of the query (print to HTML).
    for example:
    <jsp:useBean class="oracle.jbo.html.databeans.RowsetNavigator" id="rsn" scope="request" >
    <%
    // get the parameter from the find form
    String p = request.getParameter("p");
    String s = request.getParameter("s");
    // store the information for reference later
    session.putValue("p", p);
    session.putValue("s", s);
    // initialize the app module and view object
    rsn.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtjoinView");
    // set the where clause string
    String theclause = "presname = '" + p + "' AND slideno=" + s;
    // set the where clause for the VO
    rsn.getRowSet().getViewObject().setWhereClause(theclause);
    rsn.getRowSet().getViewObject().executeQuery();
    rsn.getRowSet().first();
    %>
    </jsp:useBean>
    <jsp:useBean class="wt_bc.walkthruBean" id="wtb" scope="request" >
    <%
    // initialize the app module and VO
    wtb.initialize(application,session, request,response,out,"wt_bc_WT_bcModule.wtjoinView");
    wtb.render();
    %>
    In this case, the render method of my custom web bean mostly gets some session variables, and prints various content depending on the session variable values.
    Hope this helps.
    </jsp:useBean><HR></BLOCKQUOTE>
    Laura can you give the code of your walkthru bean? i wna't to initialize a viewobject, set the where clause and give that viewobject back to initialize my navigatorbar.
    Nathalie
    null

  • Setting FLVPlayback parameters at run time

    Hello,
    Is there a way to change the parameters on the FLVPlayback at
    run time? For example, I create a swf file to play the video
    "my_video", and I set the parameter "autoPlay" to false. I then
    embed the following code into a web page:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="my_video" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="my_video.swf" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="my_video.swf" quality="high" bgcolor="#666666"
    width="326" height="266" name="my_video" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    The video is embedded in the page, and the user can click the
    controls to play the video.
    What I'm wondering is ... can I change the parameters at run
    time by using the above code somehow? For example, can I change the
    autoStart parameter to true, so now the video would start
    automatically when the page is loaded. Or, could I change the
    contentPath parameter so the code would now play a different flv
    file?
    Thanks for any help.
    Bob

    Hi,
    Thanks for the quick response. Your suggestion works almost
    perfectly. I can now change the flv to any flv I want, and it plays
    the video I want. However, even though I am specifying
    autoPlay=false, it still plays automatically when the page loads.
    Here is my actionscript:
    flvPlayback.playPauseButton = myplayPause;
    flvPlayback.seekBar = mySeek;
    flvPlayback.muteButton = myMute;
    flvPlayback.contentPath = newPath;
    flvPlayback.autoPlay = autoStart;
    and here is my html:
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="326" height="266" id="xxx" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pokflvplayer.swf">
    <param name="FlashVars"
    value="autoStart=false&newPath=holiday_message_2007.flv" />
    <param name="quality" value="high" />
    <param name="bgcolor" value="#666666" />
    <embed src="pokflvplayer.swf"
    FlashVars="newPath=holiday_message_2007.flv&autoStart=false"
    quality="high" bgcolor="#666666" width="326" height="266"
    name="medical_imaging" align="middle"
    allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer">
    </embed>
    </object>
    Any idea why it will not recognize the autoStart paramenter?
    By the way, I had to change your myFLV.autoStart - autoS to
    flvPlayback.autoPlay=autoStart. The actual name of the parmameter
    is autoPlay, not autoStart. My guess is that was just a typo on
    your part. Thanks again for your help.
    Bob

  • How to set App Module Config parameters at run time?

    Hi,
    I am using jdev 11.1.1.3 and developed a Fusion Web Application application.
    Before moving the code to production I want to have a stress testing where I should be able to set the application module configuration parameters at run time.
    So I would like to know what are the options are there to achieve this instead of setting the same in design time.
    Any help would be appreciated.
    ~Abhijit

    AT SELECTION-SCREEN OUTPUT.
      PERFORM radio_hide_options.
    FORM radio_hide_options .
    IF rad =  ' '.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'RT1'.
              screen-input = '0'.
              MODIFY SCREEN.
            WHEN 'RT2'.
              screen-input = '0'.
              MODIFY SCREEN.
          ENDCASE.
        ENDLOOP.
      ELSEIF rad = 'X'.
        LOOP AT SCREEN.
          CASE screen-name.
            WHEN 'RT1'.
              screen-input = '1'.
              MODIFY SCREEN.
            WHEN 'RT2'.
              screen-input = '1'.
              MODIFY SCREEN.
          ENDCASE.
        ENDLOOP.
      ENDIF.
    endform.

  • Accessing web service in run-time

    Hello,
    In the project I am currently working we have a component (Device Monitor) that needs to access other web services which contain the same interface (MonitorRemote). The webservices wit the MonitorRemote interface register in run-time giving their end-point, wsdl url and any other information that we may need.
    My problem is to access these webservices in run-time. I have tried many approaches and nothing seems to work.
    Currently I am creating 2 webservices with the same MonitorRemote remote interface but different name, service name and portName.
    I try to execute the following:
    1)String serviceName = method.getMethodName();
    2)String portName= method.getPortName();
    3)URL wsdlURL = new URL(method.getURL());
    4)String namespaceURI = method.getNamespaceURI();
    5)QName serviceQName = new QName(namespaceURI, serviceName);               
    6)QName portQName = new QName(namespaceURI, portName);
    7)TimeoutMonitorService mtService = new TimeoutMonitorService(wsdlURL, serviceQName);
    8)MonitorRemote monitoringRemote = mtService.getPort(portQName, MonitorRemote.class);
    9)monitoringRemote.stopMonitoringFeature(0, 0);
    Before the execution I test my TimeoutMonitorService with the webservice navigator and it works fine. After I execute line 9) the TimeoutMonitorService crashes giving the following message:
    System exception 
    [EXCEPTION]
    javax.ejb.EJBException: Exception raised from invocation of public void com.sap.sii.devicemonitor.DeviceMonitorBean.stopMonitoringFeature(com.sap.sii.devicemonitor.entities.ResourceMonitoringSettings) throws com.sap.sii.dataStructures.exceptions.IncorrectParameterException method on bean instance com.sap.sii.devicemonitor.DeviceMonitorBean@92f4d2 for bean sap.com/SII_device_monitor_EARannotation|SII_device_monitor_ejb.jarannotation|DeviceMonitorBean; nested exception is: javax.xml.ws.soap.SOAPFaultException: com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException
    javax.xml.ws.soap.SOAPFaultException: com.sap.engine.services.webservices.espbase.server.additions.exceptions.ProcessException
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.JAXWSUtil.processFault(JAXWSUtil.java:341)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.call_SOAP(SOAPTransportBinding.java:984)
    at com.sap.engine.services.webservices.espbase.client.bindings.impl.SOAPTransportBinding.callWOLogging(SOAPTransportBinding.java:700)
    Afer the first time I receive this error I start getting many warining messages in the log files with the following message:
    Exception occurred during open of configuration [apps/sap.com/SII_device_monitor_EAR/TimeoutMonitoringTaskService].
    [EXCEPTION]
    com.sap.engine.frame.core.configuration.ConfigurationLockedException: Can not lock Configuration "apps/sap.com/SII_device_monitor_EAR/TimeoutMonitoringTaskService" because it is already locked.
    at com.sap.engine.core.configuration.impl.ServerEnvironment.lockConfiguration(ServerEnvironment.java:664)
    at com.sap.engine.core.configuration.impl.cache.ConfigurationCache.openConfiguration(ConfigurationCache.java:879)
    I tried to remove and re-deploy but the webservice only returns this error message once I execute my code. The only work around is to create a new project with different interface names.
    I am using:
    SAP NetWeaver Developer Studio
    SAP NetWeaver 7.1 SP05 PAT0000
    Build id: 200802021401
    Any help would be really appreciated.

    need bit more info. from where you are trying to access this webservice? what is the wsdl you are using

  • Run-time error -2147417848 (80010108), method '~' of object '~' failed

    Hello
    I have an application written in VB6 which uses Crystal 9 Reports (RDC). The application is running on Windows XP, SP2.
    On this PC is .net Framework 2.0 installed and since then from time to time I get the message:
    run-time error -2147417848 (80010108), method '' of object '' failed
    But this error doesn't appear always, but when it happens, it happens always at setting the datasource
    example:
    repReport.Database.SetDataSource rsDummy
    Does anybody know why this is?
    Thank you for your help.

    Hi, Urs;
    Whereever the error is occuring, you should ensure you have the latest version of our files. For a client install, be sure that you are using the latest Merge Modules from our web site to deploy your application.
    If you are not getting the error on your development system, you may have newer files there than on the client.
    Regards,
    Jonathan

  • Find out method argument values at run time

    Hi,
    I am looking to find out the argument names and values of a method at run time. (This would allow for instance to automatically log argument names and values without writing tedious code).
    The following thread did not seem to answer this problem
    http://forum.java.sun.com/thread.jspa?forumID=4&threadID=411455
    Any suggestions welcomed
    Ben

    As there is no Method-Object representing the current method call, I doubt you will get hands on the arguments passed to the method other than referencing them or building a framework "on top" (as, e.g., AspectJ). Also, Method in reflections does not hold the names of parameters, so it will be difficult to automatically print information on more than the signature.
    The following is a not very robust, little play-around code for logging. Maybe it delivers enough information for some situations:
    public class Test {
        void test(String arg0, int arg1) {
            log(new MethodGetter(){}.get(), arg0, arg1);
        public static void main(String[] args) {
            new Test().test("zero", 1);
        public static final void log(Method method, Object ... args) {
            final StringBuilder builder = new StringBuilder();
            builder.append(method.getDeclaringClass().getSimpleName()).append('.');
            builder.append(method.getName()).append('(');
            final Class<?>[] parameterTypes = method.getParameterTypes();
            for (int index = 0; index < parameterTypes.length; index++) {
                if (index > 0) {
                    builder.append(", ");
                builder.append('(').append(parameterTypes[index].getSimpleName()).append(") ");
                if (index < args.length) {
                    builder.append(args[index]);
                } else {
                    builder.append("null");
            builder.append(");");
            System.out.println(builder.toString());
        public static abstract class MethodGetter {
            public Method get() {
                return getClass().getEnclosingMethod();
    }It will print the following:
    Test.test((String) zero, (int) 1);
    Note that MethodGetter and log and main are enclosed for test purpose only.

  • Run-time error '1004' -- Method 'Container' of object '_Workbook' failed

    Dear All,
    One of our users is getting the following Microsoft Visual Basic error while running the report S_ALR_87013614.
    Run-time error '1004'
    Method 'Container' of object '_Workbook' failed.
    I have searched the forum posts for help. But I only found some details related to Run-time error 1004 related to some excel file security but not related to "Method 'Container' of object '_Workbook' failed".
    Could anyone please tell me how this error can be eliminated for the user?
    Regards,
    Lakshmi.

    Dear Arpan,
    We too observed a few PIDs along with the one that you have mentioned but they make no difference. Some users who has the PID G_RW_DOCUMENT_TYPE set with some value are getting the report.
    Upon further searching we are assuming that it could be an issue with the Microsoft applications or macro settings of the user. But not sure about it.
    Regards,
    Lakshmi Venigala.

  • How to pass parameters to cursor at run time - in a  Pro*C

    Can someone help me with this?
    I want to pass parameters to a cursor used within a Pro*C code.
    Cursor is declared below:
    EXEC SQL DECLARE CURSOR acct_disp_csr(prov_id number) is
    SELECT recoup_ma_ch_ind,
    recoup_acct_type,
    recoup_create_date,
    recoup_cr_dt_seq,
    recoup_prov_type,
    recoup_case_log_no,
    FROM fin.t_fin_recoup_claim_data
    where recoup_prov_no=prov_id;
    I get the following compile time error:
    EXEC SQL DECLARE CURSOR acct_disp_csr(prov_id number) is
    ........................1
    PCC-S-02201, Encountered the symbol "acct_disp_csr" when expecting one of the fo
    llowing:
    . @ cursor, database, statement, table, scroll, type,
    partition,
    The symbol "table," was substituted for "acct_disp_csr" to continue.

    Hi,
    You cannot generate items dynamically at runtime. The only thing you can do is show and hide item on time. Thay seems that they are generated at run time. Second thing you can do is that you can put items on stack canvas and set visible property of stack canvas to no and at run time set it to visible according to ur condition. Otherwise there is no way. If you find any other way, plz do inform here also.

  • Run Time Engine Web Service

    Hello Gents, Anybody knows why I can't access to VI (*.exe) on remote PC. On remote PC has been installed only standard 8.6 Run Time Engine. Do I need to install additional parts like NI LabVIEW Run-Time Engine Web Server or/and LV Web Server? And is it possible to communicate through this using RTE on both sites?  
    Solved!
    Go to Solution.

    Sure, with LabVIEW installed it works properly. But questions is "how I can to view VI interface on PC with RTE installed via Web browser in case when this VI has been uploaded on this PC?".
    It is mean that we are using Web Server for this. Are you sure standard LabVIEW Run-Time Engine contains this?  And as I’m understood I need to copy *.html files to somewhere…. on this PC? Thank you for support and advices      

  • Change the database log on parameters in the run time with CR10 Delphi2007?

    Hi,
    I'm using crystal report 10 and Crystal VCL for Delphi. How can I change the database log on parameters in the run time?

    You have to use the ConnectBuffer. See [this|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes.do] note for details.
    Also, consider searching the notes database:
    https://www.sdn.sap.com/irj/scn/advancedsearch?cat=sdn_ossnotes&query=&adv=true
    The search; VCL database crystal, returns a number of notes that may be of use.
    Ludek

  • How can I test the running time of a method?

    c.What is the running time of your method smallest, as a function of n, the number of elements in the list? Use big-Oh notation.
    I quoated from a java problem..
    Anyone can tell me how I can test the running time? Thanks ! :D

    it depends on what is in the method. For example a for loop executed n times would have a O(n). A double for loop (each loopp run n times) will have O(n^2). Do this: determine how many times each loop in the method is run. This is the first term in your runtime equation. Do this for all other loops in the method and add them all together. Most other statements that are not iterative should have a constant runtime so O(1). For conditional statements, the runtime depends on the most time consuming portion of the statement. Once all these are added together, take the O(equation) which should just leave the biggest term. i.e. O(5n^2+3n+8) = O(n^2). Hope this helps.
    note: this does not apply to recursive methods

Maybe you are looking for

  • Works on PreLoad but Not Resetting

    I bought a Fla file from iStockPhoto.com The file works fine however I made the 4 boxes larger by holding down the Shift Button and using the transform tool. Now the boxes are larger and still work. However on their reset/exit they do not reset prope

  • Not able to start the guest machine

    Hi, When I tried to start a guest either from VM Manager or using xm create vm.cfg' it is giving me this error saying cannot be mounted as loop device /dev/loop100 is already used in guest domain. PowerOn VM: INSYBVL1     failed:<Exception: return=>f

  • Importing iPhoto to Aperture, retouches done in iPhoto error

    I seem to have a bit of strange problem with modified pictures after they are imported in A3. I am using Iphoto 8.1.1 and have just bought Aperture 3. I decided to import all my iphoto pictures using the import iphoto library function. I noticed that

  • Polar plot scale labels and background colour

    Dear Labview Forum, I am trying to create a polar plot.  However when I put the polar plot indicator on my front panel and wire up some data and parameter control boxes, the scale labels are missing.  See polar plot basic.VI.  Are the scale labels th

  • Has anyone seen this? All by "c's" in a font are "blocks" upon export!

    It was a fairly short (test) project. Upon export, every "c" in my text was "blocked." What gives?