When does a value help in Java webdynpro 2004s get created automatically

HI All
when does drop down value help get created automatically (without coding) in java webdynpro NW 2004s application for a view field mapped to a abap dictionary like currency(Domain:waers) having a value table  TCURC but has to be created for a field like UOM(Domain:meins) having a value table T006
the only differnce I can see in the 2 domains in my current set up is, meins has a conversion routine & wears doesnt
this is a question that applies to both java webdynpro & abap so please dont ask me to post it in another forum.
Im sure some one has asked this question before. please guide me!!
Thanks
Prasad

Question:
If I start a java thread from the �main� thread of
execution and that thread I just created finish�s
executing its �run� method is that threads resources
automatically clean up? Or do we have to do this
clean up ourselves?Depends which resources you mean. There's nothing special about threads in that respect.
Memory is automatically reclaimed when it is no longer reachable, so unless the run method set some member variables in some object that remains reachable after it completes, no worries there.
Files, sockets, etc. remain open unless you close them.

Similar Messages

  • Passing values to ABAP/JAVA  webdynpro appl. when workitem invoked from UWL

    Hai,
    We are using universal worklist for invoking a workitem. The workitme may trigger a ABAP/Java based webdynpro application. I have registered the tasks associated with the workitem in universal worklist.
    I have few doubts in the integration part,
    1. When a workitem is clicked in UWL, I want to get some values from the workflow container and show it on the webdynpro application. In the webdynpro application I can call a function module to get the values from workflow container by passing in workitem id.How can I pass a workitem id to webdynpro application when a workitme is clicked.
    2. After the user open the workitem a webdynpro application is shown on the screen. Lets assume this screen is having "Approve", "Reject" and "Exit" button. When this button is clicked how to pass that information to workflow so that the workflow flow its paths.
    Please let me know how to do this.
    Thanks & Regards,
    H..K.Hayath Basha.

    Hai Chintan,
    I checked the blog, and found the below code,
    workflowrawdata =
        wd_context->get_child_node(
              'WORKFLOWRAWDATA' ).
      CALL METHOD
                  WORKFLOWRAWDATA->GET_ATTRIBUTE
             EXPORTING
                     NAME   = 'WI_ID'
             IMPORTING
                      VALUE  = wi_id.     
    I have the following doubts in the code,
    1. Where I have to put this code,
    2. Using which data element or type I have to declare, "workflowrawdata".
    3. Should I have to declare "WI_ID" in parameter tab of Webdynpro application.
    4. In webdynpro application what I did is,
    a. In the context of component controller, i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    b. I created a view and in view context i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    c. I created some UI elements in the view and binded that UI elements with view context.
    d. I binded view context with the context of component controller.
    e. I created a window and in the view context i have created attributes to store workflow id, and some attributes to store the value from workflow container.
    f. I did context mapping between window context and component controller context.
    g. I added the view to the window.
    h. I created a inbound plug with name "START". This creates a method called "HANDLESTART" to this method I added a importing parameter named "WI_ID" and added the below code,
    data : lo_node               type ref to IF_WD_CONTEXT_NODE,
           l_cont                 type standard table of swr_cont,
           l_cont_line            type swr_cont,
           rc                     type sy-subrc,
           l_wi_id                type sww_wiid,
           l_object               type SWOTOBJID,
           lv_workitem_attributes type swr_wihdr.
    call method wd_context->get_child_node
         exporting
           name = 'WORKFLOWRAWDATA'
         RECEIVING
           child_node = lo_node.
    lo_node->set_attribute( value = wi_id name = 'WI_ID' ).
    l_wi_id = wi_id.
    Please let me know what else i have to do to get the workflow id in ABAP-Webdynpro application.
    Regards,
    H.K.Hayath Basha.
    i.

  • Value help in ABAP Webdynpro

    Hi Experts,
    I have to create a value help for an icon in a table.
    The full story is:
    There is a table with a filed, which has the proper standard value help, which works perfectly
    The problem is that this column in the table  is just a "technical" field, becase it isn't displayed by the webdynpro, because in the next column  an icon is displayed for the field.
    Example:
    FieldName = ready
    Possible values: 0, 1.
    The AWD display the "red Light" icon for value 0 and "Green light" icon for value 1 in the table
    I'd like to display the value help for this field (it's an information for the user, what does the green/red light means)
    How can I do that? Is this even possible?
    Thanks
    N.

    Is it possible to have both thing in my field (display the icon and use the value help)
    No - not really...
    you can launch the value help from the link to action (in the action handler call the value help -  I think I've posted on how to do this before - have a search, but if you can't find it post another question)- but it won't display that nice little dropdown icon and I'm guessing you want two types of interaction - one on click and one just to explain/choose the current value. I'd probably go with the previously mentioned solution of using a tooltip - although again you have the issue of not being able to have anything other than text in a tooltip. Alternately I'd have the custom value help launched on click of the icon and then have another button to launch any other actions
    A legend somewhere in your screen might be useful - but perhaps your screen layout won't like that very much.
    If you're looking for a more graphical representation of a multi state option - you might want to consider the [Threshold Slider|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/dc/a65ca1b6054f06929ee40ac59f8a40/frameset.htm] rather than your own icons - but I guess it depends on your requirement.
    Cheers,
    Chris

  • Need help:  Distribution demand is not getting created when Iu2019m using Purch

    Friends,
    When Iu2019m running the heurisitic plan distribution demand is not getting created. Iu2019m working on SCM 5.1
    I have a transportation lane which are automatically created using the Purchase inforecords. Iu2019m not
    facing any issues tranfering this purchase info records (PIR). Iu2019m able to see this as transportation lanes
    in APO.  When I run the heuristic plan run purchase requsition are getting created but distribution
    demand is not getting created. I have tested the same  scenario by manually creating transportation
    lanes. The manually created transportation lanes  are generating distribution demand but purchase info
    record transportaton lanes are not generating the distribution demand. What may the cause?  I would really appreciate for
    your input in advance.
    Regards
    KRN

    Friend,
    I have maintained the means of transport to the tranportation lane
    Regards
    KRN

  • Help Pls Table is not getting created

    Hi,
    DECLARE
       CURSOR c
       IS
          SELECT * FROM emp;
        v_count NUMBER;
    BEGIN
       BEGIN
          SELECT COUNT (*)
            INTO V_COUNT
            FROM all_tables
           WHERE table_name = 'EMP_BKP';
          IF V_COUNT = 0
          THEN
             EXECUTE IMMEDIATE 'CREATE TABLE EMP_BKP AS SELECT * FROM EMP';
          ELSE
             DBMS_OUTPUT.put_line ('Table already created');
          END IF;
       END;
       BEGIN
          FOR i IN c
          LOOP
             INSERT INTO EMP_BKP
                SELECT *
                  FROM EMP
                 WHERE empno = i.empno;
          END LOOP;
       END;
    END;
    Error report:
    ORA-06550: line 15, column 13:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 15, column 1:
    PL/SQL: SQL Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:i don't understand why table is not getting created
    Edited by: 924575 on Apr 23, 2013 12:35 PM

    Frank Kulash wrote:
    Hi,
    924575 wrote:
    Hi,
    DECLARE
    CURSOR c
    IS
    SELECT * FROM emp;
    v_count NUMBER;
    BEGIN
    BEGIN
    SELECT COUNT (*)
    INTO V_COUNT
    FROM all_tables
    WHERE table_name = 'EMP_BKP';
    You probaly want to check <b>USER</b>tables, not  <b>ALL</b>tables.
    IF V_COUNT = 0
    THEN
    EXECUTE IMMEDIATE 'CREATE TABLE EMP_TEST AS SELECT * FROM EMP';Is this right: you want to create a table called emp_<b>TEST</b>, but only a table called emp_<b>BKP</b> does not already exst?
    ELSE
    DBMS_OUTPUT.put_line ('Table already created');
    END IF;
    END;
    BEGIN
    FOR i IN c
    LOOP
    INSERT INTO EMP_BKP
    SELECT *
    FROM EMP
    WHERE empno = i.empno;
    END LOOP;
    END;
    END;
    Error report:
    ORA-06550: line 15, column 13:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 15, column 1:
    PL/SQL: SQL Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:i don't understand why table is not getting createdWhat are you trying to do?
    Creating tables in PL/SQL is rarely a good idea.
    What can't you create the table, once for all, and TRUNCATE or DELETE the rows when necessary?Frank ,
    thank you so much for ur reply.
    Even user_tables also not working .i modifed as EMP_BKP that also not working.
    Yea. i agree. but requirement is i want to create dynamically. if same table already exists no need to create table.
    modified code is
    DECLARE
       CURSOR c
       IS
          SELECT * FROM emp;
        v_count NUMBER;
    BEGIN
       BEGIN
          SELECT COUNT (*)
            INTO V_COUNT
            FROM user_tables
           WHERE table_name = 'EMP_BKP';
          IF V_COUNT = 0
          THEN
             EXECUTE IMMEDIATE 'CREATE TABLE EMP_BKP AS SELECT * FROM EMP';
          ELSE
             DBMS_OUTPUT.put_line ('Table already created');
          END IF;
       END;
       BEGIN
          FOR i IN c
          LOOP
             INSERT INTO EMP_BKP
                SELECT *
                  FROM EMP
                 WHERE empno = i.empno;
          END LOOP;
       END;
    END;
    ORA-06550: line 24, column 22:
    PL/SQL: ORA-00942: table or view does not exist
    ORA-06550: line 24, column 10:
    PL/SQL: SQL Statement ignored
    06550. 00000 -  "line %s, column %s:\n%s"
    *Cause:    Usually a PL/SQL compilation error.
    *Action:

  • When do the CTI ports between CUCM and UCCX get created

    Hi All,
    I am trying to work out when the CTI ports between CUCM and UCCX get created.
    Do they get created during the post installtion wizzard when you selectthe number of HR licenses or do you need to manually create the CTI ports after the post installation wizzard.
    Many thanks for any help
    Regards

    In new versions (since 4.x) UCCX creates the CTI route points on Call Manager when a trigger is added on UCCX side.
    When you add a Call Control Group on UCCX side, that process creates all the CTI ports in CUCM automatically or updates the existing ones if you change settings for the call control group.

  • Problem with prepared statement where cluase when passing string value.Help

    I am updating a table using the following code. I am using string parameter in where clause. if I use Long parameter in where clause with ps.setLong , this code is working. Is there any special way to pass string value? Am I doing anything wrong?
    ===================
    updateMPSQL.append("UPDATE MP_Table SET ");
         updateMPSQL.append("MPRqmt = ?,End_Dt = ? ");
              updateMPSQL.append("where POS = ? ");
              System.out.println(updateMPSQL.toString());
              con     = getConnection(false) ;
              ps      = con.prepareStatement(updateMPSQL.toString());
              ps.setLong(1,MPB.getMPRqmt());
              ps.setDate(2,MPB.getEnd_Dt());
              ps.setString(3,MPB.getPos());
    result = ps.execute();
              System.out.println("Result : " + result);
    ==========
    Please help me.
    Thanks in advance.
    Regards,
    Sekhar

    doesn't Pos look like a number rather than a string variable?
    if I use Long
    parameter in where clause with ps.setLong , this code
    is working.
    updateMPSQL.append("where POS = ? ");
    ps.setString(3,MPB.getPos());

  • When does new hardware help ?

    Hello,
    i'm working with a 9.2.0.5 db on a hpux server with 2 processors and 8 gb ram. usually during the day there are about 500 - 600 dedicated connections on that server.
    Some "power" user's processes often consume about 25 % of one cpu for a few seconds up to one minute (they often have to do some kind of data loading)
    Sometimes on this system the cpu idle times goes down close to zero for a few minutes, which results in very bad response time of the db.
    Now i'm wondering if simply buying new hardware will help. I'm especially not sure if 2 processors are enougth for this amount of user sessions.
    Is there some kind of white paper which explains how to size an oracle db server for unix ?
    I have to add that i have no influence on the database design or the application that is using this database as its from a third party vendor.

    >
    i'm working with a 9.2.0.5 db on a hpux server with 2 processors and 8 gb ram. usually during the day there are about 500 - 600 dedicated connections on that server.
    Some "power" user's processes often consume about 25 % of one cpu for a few seconds up to one minute (they often have to do some kind of data loading)
    Sometimes on this system the cpu idle times goes down close to zero for a few minutes, which results in very bad response time of the db.
    Now i'm wondering if simply buying new hardware will help. I'm especially not sure if 2 processors are enougth for this amount of user sessions.You might be able to take a look at pinning some types of work to
    one processor - and the way things are going - you can set up fractions
    of processors. Check out your OS capabilities.
    I have to add that i have no influence on the database design or the application that is using this database as its from a third party vendor.Usual story. You could ask them if they've seen it before ("Yours is the only site we've had this kind of
    problem...Sir...") - google extensively.
    Paul...

  • When doing anything that would require log in, i get promted for a password. When inputting the correct password, the iphone does nothing as if i hadn't even put it in.

    As title, very annoying.
    Basically my boss registered again with the same email. No idea how, but now 2 other devices prompt for password and when inputted it just cancels the action as if i havn't even tried. Tried removing payment details etc but to no avail.
    Any help appreciated.

    "Is there anything I can do?"
    Yes, you can exchange the handset for a refurbished out-of-warranty product for £216.44 (includes shipping + VAT).  Treat your objects like women - with love, and respect.

  • When Streaming a PDF from a java servlet I get a grey screen on the Adobe Reader X plugin.

    I work on a webapp where we serve pdfs to clients by streaming via java servlets. Once we began to use Reader X we noticed that in IE the pdf will load Reader X with a grey screen. Chrome and firefox both work perfectly fine. If we use Adobe 9 it also works fine. We have no control over what our users use so any client side fix is not useful.
    We serve these pdfs to our user by opening a popup window to a url that streams the pdf directly to the response. We have noticed that if we have one popup window that has hit the grey screen - each new pdf in a popup works correctly - as long as the original grey screen is up, once all popups are closed the problem happends again. Refreshing the window with the grey screen will also show the pdf correctly.
    The problem is very similar to what is described here:
          http://forums.adobe.com/message/3335266
    However, we are not setting any caching headers - I have full control over what we can send and I have tried the suggestions - nothing works. Any ideas how to resolve this?

    You are prevented from Airplay mirroring certain things like DVD content as the material is usually protected so you get a checkerboard type display.  I think there is a theoretical risk that the Airplay stream could be intercepted and the protected video copied, albeitin lower quality.
    Apple may be being cautious or are required to do so with the DVD player app by movie studios/licensing authorities.  It makes no sense to the average consumer who is just trying to send their purchased DVD to the TV via the computer and AppleTV.
    Playback in something like VLC should work - not tried it myself but others have commented it doesn't have the restriction.

  • When I publish HTML Help from FrameMaker 12, I get a usable .chm, but if I copy the entire output folder to a network drive, I get a "Navigation to the webpage was cancelled" error instead of the content that shows locally.

    I'm sure I'm missing something basic here, but any assistance is appreciated.

    News flash – CHM on servers disabled – check out http://www.grainge.org/pages/authoring/chm_mspatch/896358.htm

  • Value help in webdynpro applications

    Hi,
      I have implemented a simple value help application in webdynpro as given in one of the pdf's and it is working fine.
    I get a value and description pair as popup.
    I have changed the field name to "Subject ID" as shown below. and it is working fine too. now i want to change the label for the "display text" field. how can that be done.
    I mean there are 2 fields in the popup. for the first field i have changed the label name to "subject ID" (SubjectType.setFieldLabel("Subject ID"))
    now i want the second field label also to change to "Initials" instead of "display text" which is usually shown as default.
    <b>ISimpleTypeModifiable SubjectType = attributeInfo.getModifiableSimpleType();     
    SubjectType.setFieldLabel("Subject ID");
    IModifiableSimpleValueSet valueSet = SubjectType.getSVServices().getModifiableSimpleValueSet();
         valueSet.put("SUBJ-001","A.B.");
         valueSet.put("SUBJ-002","C.D.");
         valueSet.put("SUBJ-003","E.F.");
         valueSet.put("SUBJ-004","X.Y.");          </b> 
    is there any way to implement that?

    hi,
       I tried implementing Object value selector. I'am getting the data in the OVS table but there are some problems i'am facing
    1.> I cant see the headers for the result table
    2.> I cant see labels for the search input fields.
    I have not used any model binding, am directly binding an element to a node and hardcoding values in the element to test it.
    <b>IPublicOVSCustomController.IOutputListNode node = wdContext.nodeOutputList();
    IPublicOVSCustomController.IOutputListElement elem ;
    elem= node.createOutputListElement();
    node.addElement(elem);
    elem.setName("");
    elem.setId("");</b>
    does it have to do with this kind of binding cause in the pdf it gives an example with a BAPI. there has been a model binding and they are calling it like this:
    IPublicOVSCust.IBapi_Flight_Getlist_InputElement ovsInput =
    (IPublicOVSCust.IBapi_Flight_Getlist_InputElement)
    queryInputNodeElement;
    and the tables automatically show the hearders and there are label fields...does it have to do anything with model binding?

  • Displaying both ABAP webdynpro and Java Webdynpro tasks in the UWL

    Hi,
    We have two an issue when trying to get the UWL to process two different types of workflow tasks : ABAP webdynpro and Java webdynpro. 
    Examples of these tasks are:
    TS12300097 u2013 LeaveRequestApprover u2013 Java Webdynpro
    TS17900100 - ASR_PROCESS_EXECUTE u2013 ABAP webdynpro
    We have two backend systems configured
    SAP_ECC_Financials u2013 This has the WAS host pointing to the java stack (xxx:50000)
    SAP_ECC_Workflow u2013 This has the WAS host pointing to the ABAP stack (xxx.80xx)
    In transaction SWFVISU all the tasks which use Java webdynpro have been configured to use the u2018Javau2019system (SAP_ECC_Financials) using the SYSTEM_ALIAS parameter
    In the UWL configuration the system SAP_ECC_Workflow has been registered
    In addition to this all u2018Javau2019 tasks have had an extra UWl config XML created to ensure that the SYSTEM_ALIAS is set to SAP_ECC_Financials
    The system SAP_ECC_Workflow has been re-registered
    The UWL cache has been cleared
    However when we try to launch the java webdynpro tasks the system is trying to access the ABAP stack (It is still trying to access the Web AS location for the system SAP_ECC_Workflow even though the system alias was specified as SAP_ECC_Financials )
    The ABAP webdynpro tasks (in this case a HCM process and form) are launched correctly
    If we try the reverse (i.e  register the Java system SAP_ECC_Financials and change the SYSTEM_ALIAS parameter for the ABAP webdynpro tasks to system SAP_ECC_Workflow)  then the reverse happens.  The java tasks can be launched and the ABAP tasks cannot.
    Does anyone have a solution to this problem.  Surely other people have implemented both ABAP and Java webdynpro workflows?
    Any help much appreciated
    Andrew

    Thanks  a lot for all your replies..
    The workitem type registration has been done already, but still it doesn't work..
    But here is the actual problem...
    There is a link 'Execute Workitem' in the inbox of the approver, or the second level manager...
    In the leave application, when we click on this link it is taking to the portal as the task is the Webdynpro Java application task. Whereas, when using ABAP webdynpro application task, it is taking to R/3 - which means that the user cannot access this link without R/3 access. The users are given only portal access, they don't have access to backend R/3.
    The requirement is that the link has to take the user to portal directly instead of R/3 - i.e it should ask only for the portal id and password.
    Since it was working fine with leave application, I changed the task to Java webdynpro task, but I think the Java Webdynpro application is not deployed in the server.
    Please can anybody suggest.
    Best Regards,
    Sushmitha

  • Visual Composer 7.0.1 (EHP1) - Value Help only shows "Single Selection"

    I tried to add a value help to a field that allows multiple selections. However, when I used the wizard through "Add Value Help" drop-down menu, I can only see one proposed selection -  "Single selection". However this SAP help document (http://help.sap.com/saphelp_nw70/helpdata/en/b5/036d391f074f769e00602634ee9960/content.htm) mentioned about the "Multiple selection" option. What I can do to make this selection available?
    I am using VC 7.0.1 (EHP1). Thanks for any helps in advance.
    Kelly

    Hi
    Are you using 'BI Query' as 'data Service'? & are you creating value help for variable? If Yes -
    Create necessary variable as 'Multiple Single Options' in your BEx query & then create value help in VC. Then it will allow multiple options or interval values.
    Regards
    Sandeep

  • Searh help in ABAP webdynpro with Adobe form is flickering/blinking

    All,
    I have an WDA that has an interactive Adobe form for input. I'm calling the SAP standard search helps when clicked for value helps from the Adobe interactive form that opens up the search helps pop-ups in the web-dynpro style. But strangely, the portion of the search help pop-up window that is just over the Adobe interactive form is always flickering/blinking whenever something is typed or moved on the search help pop-up window. This seems to be a standard bug/issue with SAP. Has anyone encountered the same issue and have found a solution to that?
    Regards,
    Sam

    hi rock,
         try this: sometimes any event might be calle din the backend which is overrirding your adobe form which is causing you the flickering. check it
    ---regards,
       Alex B Justin

Maybe you are looking for

  • Unable to download apps on Pixi

    I am unable to download free or paid apps.  I purchased an app today and have the receipt but am unable to download.  the button at the bottom in the app store changes to 'download for free' instead of 'lauch app' or whatever it is supposed to say. 

  • Exporting pdf does NOT show my headers and footers

    I export number files to my administrators. I've noticed when I print my file directly from my computer in iWork/Numbers it prints and show the footer and header. However, when I send a bcc to myself when I attach the pdf file to my administrator, it

  • Cfwindow header border-color

    I seem to be having difficulty changing the border color of the header of a cfwindow. No matter what attribute I set the left and right border of the header will not change to the color I want. I want the header to be all black but I still get a gray

  • I have received a message that my Apple ID has been disabled and don't know what to do?

    I recently purchased a new iPhone4 and registered it immediately on line. I needed to download an application to be able to use it with an FM transmitter in the car and I was informed that my Apple ID has been disabled. There was nothing about securi

  • APEX schema Restoration

    Hello all, I got a new hard drive, so am reinstalling all. I have a full export of the APEX schemas: FLOWS_030000, FLOWS_FILES, APEX_PUBLIC_USER. These all restore clean into the appropriate tablespace. I have followed all the external-to-the -databa