Unable to change Value  From M to S in p2011 for Orgini field

dear freinds,
             I have uploaded data using the F<M HR_INFOTYPE_OPERATION for infotype 2011 . However i am not able
change the value for Origin(defaulted as M) ......as this field is greyed out . As such when i am trying to pass another value through coding as S iam not able to do so ....and it is saving in the database as M only ......Is there any way i can get the value as S only?.
Please find my code below.
MOVE : fp_wa_temp_final20-pernr TO p2011-pernr,
           fp_wa_temp_final20-date  TO p2011-begda,
            fp_wa_temp_final20-date  TO p2011-endda,
          fp_wa_temp_final20-outtime TO p2011-ltime,
           fp_retyp                 TO p2011-satza, "P10
           'S'                      TO p2011-origf,
           '2011'                   TO p2011-infty. 
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
    EXPORTING
      number = fp_wa_temp_final20-pernr
    IMPORTING
      return = gv_return_struc.
  IF gv_return_struc IS  INITIAL.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
      EXPORTING
        infty                  = '2011'
        number                 =  fp_wa_temp_final20-pernr
      SUBTYPE                =
      OBJECTID               =
      LOCKINDICATOR          =
       validityend            = p2011-begda   "'99991231'  " p0050-begda
       validitybegin          = p2011-begda   "'18000101'  " p0050-endda
      RECORDNUMBER           =
        record                 = p2011
        operation              = 'INS'
      TCLAS                  = 'A'
        DIALOG_MODE            = '0'
      NOCOMMIT               =
      VIEW_IDENTIFIER        =
      SECONDARY_RECORD       =
     IMPORTING
        return               = gv_return_struc
          key                = gv_record_key.
     CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
      EXPORTING
        number = fp_wa_temp_final20-pernr
      IMPORTING
        return = gv_return_struc.
  ENDIF.
Could any one please correct me where i might have gone wrong or i mean to say how i pass the value forcefully as S
for the Greyed out filed (ORIGIN) in pa30.
regards
divya

Hi Divya,
Can you please let me know how you have solved the issue??

Similar Messages

  • Unable to access values from database in login page..

    Hey all,
    Friends I have a login.jsp page and I want if i enter username and password then it will be accessed from database and after verifying the details it will open main.jsp.I made a database as "abc" and created DSN as 1st_login having table 1st_login. But the problem is that I am unable to access values from database.
    So Please help me.
    Following is my code:
    <HTML>
    <body background="a.jpg">
    <marquee>
                        <CENTER><font size="5" face="times" color="#993300"><b>Welcome to the"<U><I>XYZ</I></U>" of ABC</font></b></CENTER></marquee>
              <br>
              <br>
              <br>
              <br><br>
              <br>
         <form name="login_form">
              <CENTER><font size="4" face="times new roman">
    Username          
              <input name="username" type="text" class="inputbox" alt="username" size="20"  />
              <br>
         <br>
              Password          
              <input type="password" name="pwd" class="inputbox" size="20" alt="password" />
              <br/>
              <input type="hidden" name="option" value="login" />
              <br>
              <input type="SUBMIT" name="SUBMIT" class="button" value="Submit" onClick="return check();"> </CENTER>
              </td>
         </tr>
         <tr>
              <td>
              </form>
              </table>
    <%
    try {
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection connection = DriverManager.getConnection("jdbc:odbc:1st_login");
    Statement statement = connection.createStatement();
    String query = "SELECT username, password FROM 1st_login WHERE username='";
    query += request.getParameter("username") + "' AND password='";
    query += request.getParameter("password") + "';";
    ResultSet resSum = statement.executeQuery(query);
    //change: you gotta move the pointer to the first row of the result set.
    resSum.next();
    if (request.getParameter("username").equalsIgnoreCase(resSum.getString("username")) && request.getParameter("password").equalsIgnoreCase(resSum.getString("password")))
    %>
    //now it must connected to next page..
    <%
    else
    %>
    <h2>You better check your username and password!</h2>
    <%
    }catch (SQLException ex ){
    System.err.println( ex);
    }catch (Exception er){
    er.printStackTrace();
    %>
    <input type="hidden" name="op2" value="login" />
         <input type="hidden" name="lang" value="english" />
         <input type="hidden" name="return" value="/" />
         <input type="hidden" name="message" value="0" />
         <br>
              <br><br>
              <br><br>
              <br><br><br><br><br>
              <font size="2" face="arial" color="#993300">
         <p align="center"> <B>ABC &copy; PQR</B>
    </BODY>
    </HTML>
    and in this code i am getting following error
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:93: cannot find symbol_
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:93: cannot find symbol_
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:94: cannot find symbol_
    C:\Project\SRS\build\generated\src\org\apache\jsp\loginjsp.java:95: cannot find symbol_
    4 errors
    C:\Project\SRS\nbproject\build-impl.xml:360: The following error occurred while executing this line:
    C:\Project\SRS\nbproject\build-impl.xml:142: Compile failed; see the compiler error output for details.
    BUILD FAILED (total time: 6 seconds)

    As long as you're unable to compile Java code, please use the 'New to Java' forum. This is really trival.
    To ease writing, debugging and maintenance, I highly recommend you to write Java code in Java classes rather than JSP files. Start learning Servlets.

  • How stop PS6 from removing the DPI value from an image when using "save for the web"?

    How stop PS6 from removing the DPI-value from an image when using "save for the web"?
    Example:
    - Open a tif image, that contains a dpi value (resolution).
    - Use the splice tool in PS6.
    - Export the slices with "Save for web", as gif-files.
    Then the dpi value is removed, the gif files has no dpi value (it's empty).
    How can we stop PS6 from removing the dpi value when using "save for web"?
    OR:
    When using the slice tool, how can we save the sliced pieces without PS removing the dpi value?

    you can make your art go a little bit over the bounds. or you can make sure your artboart and art edges align to pixels

  • The value 4010 39 99 is not allowed for the field MARC-STEUC/BAPI_MARC-CTR

    Hi all,
    BAPI' BAPI_MATERIAL_SAVEDATA' throws error the below error while creating material.
    'The value 4010 39 99 is not allowed for the field MARC-STEUC/BAPI_MARC-CTRL_CODE'
    Any idea abt this error.
    Regards,
    Thiyagu

    Hi,
    As this BAPI is triggered from external sytem that by client in production environment , I would not be able to dig it further.
    Thats why I asked if anybody confronted the same error previously.
    Thanks for suggestion.

  • Getting change values from a collection

    Title says it all. I have a collection connected to a
    datagrid and have a simple form that allows me to add/modify/delete
    entries from the collection. Now I want to send the changes to the
    collection back to the server. How do I read/parse the collection
    for these changes? Examples would be helpful. Below is what I have
    so far to examine the collection (found elsewhere) how do I extract
    the name/value pairs that have changed?
    public function
    collectionEventHandler(event:CollectionEvent):void {
    switch(event.kind) {
    case CollectionEventKind.ADD:
    addLog("Item "+ event.location + " added");
    break;
    case CollectionEventKind.REMOVE:
    addLog("Item "+ event.location + " removed");
    break;
    case CollectionEventKind.REPLACE:
    addLog("Item "+ event.location + " Replaced");
    break;
    case CollectionEventKind.UPDATE:
    addLog("Item updated");
    break;
    }

    ArrayCollection supports the length property, so you can
    simply iterate over it with a for loop and use the bracket notation
    to return each item. Build the structure you want to sent, then
    away you go.
    If you are wanting to only select changed values, you will
    have to track this yourself.
    Tracy

  • How do I use pots on my client machine to change values, from the field, on my server machine and all other client machines?

    I am using Lookout 4.5, build 12, and I am having a problem concerning pots. I have data tables created for the different size sewer stations my system monitors. For each station, there are setpoints for starting and stopping of the pumps. I want to be able to change the setpoints for a station on the client file using a pot and have it change on all other machines running Lookout. I did this in 3.8 using DDE, but I don't want to use DDE anymore.
    I created a pot on the client file and URL'ed it to a pot on the server. On the server I created a table with a generic member "A" named "Lead Setp" and then created a member "A1" named
    "C5_1LeadSetp" then a member "A2" named "C3_1LeadSetp" and so on....
    In this table I connected the generic member "A" to the Pot I created on the server, and I connected A1 to its corresponding setpoint signal coming in from the field.
    On the client file I connected (in the table similar to the one on the server but with all signals for the station) the "A1" member to the setpoint signal coming in from the field, and I connected the "A" member to the Pot I created on the client file which is URL'ed to the pot on the server file.
    But, when I change the value of the pot on the client file, only the pot on the server and the "A" member in the table on the server change to the value of the pot on the client. The "A1" member whose screen I am changing the values from on the client does not change! This is the last thing I have to do and my file will be completely converted to 4.0. Does anyone have any ideas?
    Thanks for any responses..
    GBWY
    Jason
    Jason Phillips

    Hi Jason,
    If I understood your task correctly, you want to change the Setpoints on the Server DataTable using Pots from different clients. And also reflect these changes on the clients locally.
    You correctly remoted the Pots on the Clients to the corresponding Pots on the Server. However, you do not need tables on your clients. All you need is Expressions on each client to the particular cell of the Clients.
    So, to summarize: On the Server, the Pots write to the DataTable. And since the Pots on the Clients are remoted to these Pots on the Server, you can affect any change using these Pots. Because of the common remote source (Server Pots, i.e.) all of these Pots will always be in sync. Finally, to get the Setpoints on the Clients, just insert Expressio
    ns to the Server's DataTable.
    I am attaching a simple example (exmpl.zip) which does this. There are three processes -- My_Server, My_Client1, and My_Client2. I had them setup on the same machine so the paths are all process relative, but you can always change those to computer relative or absolute and move the client processes to diff machines.
    Hope this helps.
    Rgds,
    Khalid
    Attachments:
    exmpl.zip ‏12 KB

  • Function module to find out the changed values from tables

    What is the standard function module to find out the changed values (the old & new values) from tables in SAP ?

    Hi Harish,
    Please elaborate your requirement...
    Please have a look on CDHDR AND CDPOS tables... it contains changed data... but all chages are not being tracked using it..
    Try Below FMs as well..
    For Header Level...
    CALL FUNCTION 'CHANGEDOCUMENT_READ_HEADERS'
        EXPORTING
          date_of_change    = cdhdr-udate
          objectclass       = cdhdr-objectclas
          objectid          = cdhdr-objectid
          time_of_change    = cdhdr-utime
          username          = cdhdr-username
        TABLES
          i_cdhdr           = icdhdr
        EXCEPTIONS
          no_position_found = 1
          OTHERS            = 2.
    For Item Level
    CALL FUNCTION 'CHANGEDOCUMENT_READ_POSITIONS'
          EXPORTING
            changenumber      = icdhdr-changenr
          IMPORTING
            header            = cdhdr
          TABLES
            editpos           = icdshw
          EXCEPTIONS
            no_position_found = 1
            OTHERS            = 2.
    Hope it will solve your problem..
    Thanks & Regards
    ilesh 24x7
    ilesh Nandaniya

  • Unable to retreive values from selection screen built using WDR_SELEC_OPTIO

    Hi All,
    I have created a selection screen as below
    lr_field = wd_this->m_handler->create_range_table( 'YFMTFLOW' ).
    *  ASSIGN lr_field->* TO <fs_range>.
    *  ls_date-sign   = 'I'.
    *  ls_date-option = 'EQ'.
    *  ls_date-low    = 'US'.
    *  APPEND ls_date TO <fs_range>.
    * Add the select-option to the group
      wd_this->m_handler->add_selection_field(
        i_id           = 'FLOW'
        i_within_block = 'PROC'
        i_no_intervals = abap_true
        it_result      = lr_field ).
    If i enter some value  and click a button to retireve the values as below
    DATA
        lt_sel_item TYPE if_wd_select_options=>tt_selection_screen_item.
    types: ty_flow type range of yfmtflow.
      FIELD-SYMBOLS:
        <fs_sel_item> LIKE LINE OF lt_sel_item,
        <fs_process>   TYPE yfmtprocess,
        <fs_flow>   TYPE ty_flow.
    * Get the selection-screen items
      l_handler->get_selection_screen_items(
        IMPORTING et_selection_screen_items = lt_sel_item ).
    * Retrieve the values from the select-options items
      LOOP AT lt_sel_item ASSIGNING <fs_sel_item>.
        CASE <fs_sel_item>-m_id.
          WHEN `PROCESS`.
            ASSIGN <fs_sel_item>-m_value->* TO <fs_process>.
          WHEN 'FLOW'.
            ASSIGN <fs_sel_item>-mt_range_table->* TO <fs_flow>.
        ENDCASE.
      ENDLOOP.
    <fs_flow> is empty
    but after I enter value and then press enter and then click the button to retrieve the values I am able to get low value <fs_flow> not the sign and option
    Is it the standard functionality ,if yes how can we overcome
    Thanks
    Bala Duvvuri

    Am giving clear coding of select options.
    nOTE: S_CARR_ID IS THE DATA ELEMENT OF CARR ID  FIELD,
    FOR THAT I AM APPLYING SELECT OPTIONS IN BELOW CODING.
    WRITE THE BELOW CODE IN WDDOINT( ) METHOD OF
    REQUIRED VIEW
    Data: lt_range_table type ref to data,
         read_only type abap_bool.
    WD_THIS->M_WD_SELECT_OPTIONS = WD_THIS-
    >WD_CPIFC_SELECT_OPTIONS( ).
    WD_THIS->M_HANDLER = WD_THIS->M_WD_SELECT_OPTIONS-
    >INIT_SELECT_SCREEN( ).
    WD_THIS->M_HANDLER->SET_GLOBAL_OPTIONS(
         I_DISPLAY_BTN_CANCEL = ABAP_FALSE
         I_DISPLAY_BTN_CHECK = ABAP_FALSE
         I_DISPLAY_BTN_RESET = ABAP_FALSE
         I_DISPLAY_BTN_EXECUTE = ABAP_FALSE ).
    LT_RANGE_TABLE = WD_THIS->M_HANDLER-
    >CREATE_RANGE_TABLE( I_TYPENAME = 'S_CARR_ID' ).
    WD_THIS->M_HANDLER->ADD_SELECTION_FIELD(
              I_ID = 'S_CARR_ID'
              IT_RESULT = LT_RANGE_TABLE
              I_READ_ONLY = READ_ONLY ).
    BELOW CODE IN REQUIRED ACTION( SAY IN SOME BUTTON
    ACTION WHICH WILL RETRIEVE THE DATA FROM DATABASE TABLE
    USING SELECTI OPTIONS VALUES)
    fIRST THE GET REFERENCE TO NODE( CTRL F7--->READ
    CONTEXTB---FLIGHT NODE )
    ***THEN BELOW CODE
    DATA: RT_CARRID TYPE REF TO DATA.
    DATA:IS_FLIGHT TYPE TABLE OF SFLIGHT.
    FIELD_SYMBOLS: <FS_CARRID> TYPE TABLE.
    RT_CARRID = WD_THIS-> M_HANDLER-
    >GET_RANGE_TABLE_OF_SEL_FIELD( I_ID = 'S_CARR_ID' ).
    ASSIGN RT_CARRID-> TO <FS_CARRID>.*
    SELECT * INTO CORRRESPONDING FIELDS OF TABLE IS_FLIGHT
       FROM SFLIGHT WHERE CARRID IN <FS_CARRID>
    NODE_FLIGHT->BIND_TABLE( IS_FLIGHT ).

  • Retrieve changing values from TextInput Flash Component

    Hi,
    I've been banging my head against the wall with this one....
    I've placed aTextInput Flash Component on the stage which
    reads/displays a value from an external text file. So far so good.
    If I enter new text during run-time - editable is set to true
    - the TextInput component updates to reflect what I've typed. BUT,
    how do I retrieve that text to a variable? (I need to save the new
    value back to the external text file).
    Current code:
    myfieldtext = sprite(51).text
    And eventPassMode is set to passAlways
    this retrieves the initial value regardless of what I type.
    Any help appreciated!

    I'm not sure if this all helps, but I had to make a flash
    name input box
    recently. I was getting all sorts of weird results trying to
    get the text
    out of flash. It was giving me all the font info etc, and I
    just needed the
    name. So what I ended up doing is when they were done
    entering the text, I
    put the text into a variable within flash, then pulled the
    data from that
    variable rather than striaght out of the text.
    in director, in the behaviour attached to the flash sprite:
    myText = sprite("nameInput").getVariable( "myNameString",
    True)
    where the sprite is named "nameInput". It seems better to
    name the sprite
    and refer to it that way than using the sprite number, such
    as sprite(51).
    In flash I have the text input field named "textInput", and
    the following
    code attached to the save button. You may have to use a
    different event,
    like when they text input loses focus.
    on (release) {
    var myNameString = "";
    myNameString = textInput.text
    trace(myNameString)
    getURL('event:doEvent,1')
    Timm
    "tayl" <[email protected]> wrote in message
    news:edjutm$ptl$[email protected]..
    > Hi,
    >
    > I've been banging my head against the wall with this
    one....
    >
    > I've placed aTextInput Flash Component on the stage
    which reads/displays a
    > value from an external text file. So far so good.
    >
    > If I enter new text during run-time - editable is set to
    true - the
    > TextInput
    > component updates to reflect what I've typed. BUT, how
    do I retrieve that
    > text
    > to a variable? (I need to save the new value back to the
    external text
    > file).
    >
    > Current code:
    > myfieldtext = sprite(51).text
    > And eventPassMode is set to passAlways
    >
    > this retrieves the initial value regardless of what I
    type.
    >
    > Any help appreciated!
    >
    >
    >

  • Unable to change package from $TMP to Z***

    hi friends,
    i have created a screen 700 in function group XCN1,which is under CN package. I have created this screen for enhancement CNEX0007 for customizing fields in WBS elements.
    The problem is coming when i am saving the screen, its not generating any pop-up window asking for new package or transport request number. it is automatically saving it in $tmp package. Even tried to change the package for that particular screen 700 using SE80 and SE03, but its not changing.
    Plz help.

    Hi,
    When I right click on the Screen 0700 which we have added,  the option 'Other Functions - > Change Package Assignment' is not available. When I try  'Write Transport Entry', I get below error:
    XCN1 cannot be included in request/task
    Message no. TK301
    Diagnosis
    "XCN1" is in the package "$TMP".
    Packages whose names start with $ are for temporary objects that you do not want to be used productively.
    The Transport Organizer does not record objects in this type of package, and you cannot include them in requests or tasks.
    Please advise, how to change this screen to a transport.
    Thanks.

  • Enterprise Project Fields Default values do not Register on PDP Pages for mandatory fields

    Is it normal for "mandatory" eneterprise project field to come up as blank in a PDP page, when I have defined it to default value to a specific value in a list?
    I've inserted such fields using the project field web part within the PWA Category.  They display with the red astericks at the end of their name, but the field is blank.  The default value does not appear in the field.  However, if I select
    the button next to their name and display the the list, the default value is shown in bold as if it is the one selected.  I
    I am not using any workflows in the EPT that is responsible for displaying such pages.  Aslo, this is not a problem when the fields are not set to mandatory; they display the default value.
    the problem with this is that you have to manually select the default (or some value form the list) in order to check in the project. 
    Would you agree that this is a bug in 2010?
    /Spiro Theopoulos

    I tried anothe approach using javascript. I documented
    here...
    Juan Pablo.
    surpoint.blogspot.com
    jpussacq.me
    @jpussacq

  • Unable to retrieve values from a table

    I have created a table called ct_temp and it's structure is:
    create table ct_temp(id char(2),srs number(3),amt number);
    Result : Table Created
    I now insert the following rows into the table:
    id  srs  amt
    1 62 30000
    2 65 50000
    3 65 70000
    4 65 80000
    5 62 16000
    6 65 10000
    7 65 100000
    8 65 10
    Commit
    Then I issue the following query to retrieve data based on a specific criteria (Actually I have condensed the table and data because in Production, I have large number of rows; so for simplicity I am using 8 rows with one table)
    criteria : I then want to retrieve the following:
    for srs = 62, all values that is greater than 10,000
    Answer: select decode(srs,62,ab.amt)temp1 ,decode(srs,65,ab.amt)temp2 from ct_temp ab
    where decode(srs,62,ab.amt)>10000
    Works like a charm and retrives the results.
    Now comes the big issue
    I want to retrieve the values for srs = 62 which is greater than 10,000 and at the same time I also want to retrieve the values for srs = 65 which is less than srs = 62.
    Typically I wrote the query as:
    select decode(srs,62,ab.amt)temp1 ,decode(srs,65,ab.amt)temp2 from ct_temp ab
    where decode(srs,62,ab.amt)>10000
    and decode(srs,65,ab.amt)<decode(srs,62,ab.amt)
    Expected results should be:
    srs amt
    62 30000
    62 16000
    65 10
    I should atleast get one row for srs = 65 which is id # 8 but it displays blank rows or "no rows returned".
    I am actually preparing a ad-hoc report for the business analyst and stuck at this step due to which I am unable to proceed any further. I have used DECODE function because of the requirement specified by Business Analyst.
    I have tried the following in the office:
    using EXISTS operator = no luck
    using INLINE VIEW = no luck
    using UNION operator = No luck
    Is there any way around? Please help me guys.
    Sandeep
    NOTE: The reason why I have used DECODE function is because in Production environment there are columns called
    a) return line item which has numerous values like '001', '002', '062', '067'
    b) there is another column called amount
    c) so for every return line item there is an amount
    so the business wants:
    d) if the line item number = 62 then the amount should be dispplayed and it should be displayed as "AB Taxable income"
    e) if the linte item number = 65 then the amount should be retrived and displayed as "Amount taxable in AB"
    So seeing these multiple conditions for a "SELECT" statement, I used DECODE fuction.

    user11934091 wrote:
    What I have not been able to understand is why you have taken "0" there? Nulls! You need to use a number and not a null for a maths predicate.
    The following is ALWAYS false:
    and decode(srs,65,ab.amt) < decode(srs,62,ab.amt);
       is in fact: 
    and NULL < numberNull is not smaller than any number. Null is not larger than any number. Null is not equal to any number. Null is null. When it is not, that condition using Null is FALSE!!! Always.
    So look at your data. You are introducing 2 new derived values called TEMP1 and TEMP2 using decode(). So let's add these to derived values as columns to the table so that you can see how the data set now looks like:
    // add the 2 new columns
    SQL> alter table ct_temp add( temp1 number, temp2 number );
    Table altered.
    // populate these new columns using your decode statements
    SQL> update ct_temp
      2  set     temp1 = decode(srs,62,amt),
      3          temp2 = decode(srs,65,amt);
    8 rows updated.
    SQL> commit;
    Commit complete.This is how the data set now looks like:
    SQL> select * from ct_temp;
    ID        SRS        AMT      TEMP1      TEMP2
    1          62      30000      30000
    2          65      50000                 50000
    3          65      70000                 70000
    4          65      80000                 80000
    5          62      16000      16000
    6          65      10000                 10000
    7          65     100000                100000
    8          65         10                    10
    8 rows selected.Here are your 2 queries on this data set:
    // 1st query finds 2 rows
    SQL> select * from ct_temp where temp1 > 10000;
    ID        SRS        AMT      TEMP1      TEMP2
    1          62      30000      30000
    5          62      16000      16000
    // 2nd query finds the same 2 rows and then test
    // whether TEMP2 is smaller than TEMP1 - as TEMP2
    // is NULL for those 2 rows, this smaller than condition
    // is FALSE. Thus no rows are found.
    SQL> select
      2          temp1,
      3          temp2
      4  from       ct_temp ab
      5  where      temp1 > 10000
      6  and        temp2 < temp1;
    no rows selected
    // You thus need to change NULLs into a number - this is done
    // below using the NVL function. In my original example I did
    // this in the DECODE itself by returning 0 instead of NULL.
    SQL> select
      2          temp1,
      3          temp2
      4  from    ct_temp ab
      5  where   temp1 > 10000
      6  and     nvl(temp2,0) < nvl(temp1,0);
         TEMP1      TEMP2
         30000
         16000Bottom line. YOU CANNOT EVALUATE NULLS USING MATHEMATICAL PREDICATES.
    So - change the NULL to a number and the do the evaluation. Or determine what the business rule is for when there is no value to evaluate in the predicate and apply that rule.
    That simple.

  • Unable to retrieve values from request.getAttribute()

    I had a JSP file called targetJspPage.jsp that contains the following statement within a set of <form> tags:
    <% request.setAttribute "url","/myProj/targetJspPage.jsp");%>This information is then submitted to a servlet using POST method which will use a RequestDispatcher to retrieve the the url from the request attribute that I had set just now. The statement is as follows:
    RequestDispatcher dispatcher = getServletContext().getRequestDispatcher((String)request.getAttribute("url"));
              if (dispatcher != null)
                   dispatcher.forward(request, response);The purpose of this procedure is to let the servlet know which JSP file it is suppose to forward the processed results. The url is always the url of the page that is calling the servlet. Eg. In this case, my JSP file is targetJspPage.jsp which resides in myProj folder. So, in this JSP file, the url set for the servlet will be /myProj/targetJspPage.jsp. But my problem now is that the (String)request.getAttribute("url") statement in the servlet always returns null. Why is that so?
    This type of question was asked numerous times in the forums but the solutions aren't working. I do not want to use a session to store the value. However, I also tried using session before and the result is the same.

    Hi Sad,
    1.
    Is it possible that you post the codes that we can see clearly what is going on? (If possible only).
    (Unless I'm wrong, it may be that the request.setAttribute is used to pass object on the server side only, ie you can't use the request.setAttribute to keep data like the session object during the client-server trips of request/response.
    The fact that you get null for (String)request.getAttribute("url") is because the Browser send a new request object which is different from the old one (request.setAttribute which is gone once we down the client)
    (2. I want to learn too, and hope some one will find a solution for you)
    -- Paul.

  • Viewer slow while retrieving data while changing value from a page item

    Hi, I am using 9.0.2 to create reports. My end-users are using Viewer to run these reports. Recently, we are experiencing performance problems with Viewer. We have reports with Page Item. Let say a report takes 1 min to run. After running the report if a different value is selected for a page item, it is takes another 1 min to get new data. Whereas, Desktop is not taking any additional time (noticable) for a different value for the page item. Recently, we are experiencing this problem. I thought that it was cache problem in Application server, so we restarted all the pieces in aps server. However, the problem still exists. We are using a materialized for this particular report.
    Any tips would be highly appreciated. Thanks.

    The performance differences can be attributed to the differences in product. Desktop is a client server product. A query executes and ALL data is returned to the desktop. You can manipulate that data in any way and the database is not required. Web (Plus/Viewer) only return the data needed to satisfy the query currently being viewed. If you change a page item, a database call is made to retreive additional/different data.
    In other words this is just how things work. You can alter settings in your prefs.txt file to improve performance in Viewer/Plus. Changing number of rows returned, memory settings, row fetch limits, rows per fetch all can improve/reduce performance.
    As best I know there is not a "magic" setting for these values. It is based on the server/volume of data/workbook content/ workbook layout. etc. Crosstab workbooks are much slower to return data than page -detail.

  • CProjects - Unable to change tabs from graphic to table/detail

    Hello experts,
    when the tabs in a project under cProjects changed from graphic to table/detail the Display remains to "Please Wait".
    Further processing of the project is no longer possible. It is  equal if i use WebDynpro application cProjects directly or is called from the portal. 
    I appreciate any hint!
    Thanks in advance!
    Regards
    Lutz

    we had to implement the following notes:
    1471832 Korrekturen zu Unified-Rendering bis SAP_BASIS 700/21 V
    1415405 - JS-Fehler in GANTT
    Now the problem is solved.
    Best regards
    Lutz

Maybe you are looking for

  • Warning :: Derived class hides the base class virtual function

    We are porting from CC5.3 to CC5.8 compiler with Sun Studio one compiler. After plenty of hurdles we are in the final stage of removing the warning messages... Amoung the plenty the following one is very common and in different files. Why am I gettin

  • Sending an email from Lotus Notes release 5.0.4a

    I need to write java code for sending an email from Lotus Notes release 5.0.4a. Initially, I tried using Lotus Domino Toolkit for java, but the current release, "Lotus Domino ToolKit for Java/Corba release 5.0.8" is not compatible with the notes clie

  • Multiple subscriptions

    I have 3 subscriptions: (a) a top-up subscription for one specific country in Europe; (b) 60 minutes a month of international calls I got with Office 365 and (c) a 400 minutes a month subscription for calls within Brazil. I live in Brazil. Whenever I

  • Flickering video in timeline and export from premiere

    I called tech support, and they said on Friday (07.18.2014) that they would call me back monday, and then never heard back from them. Anyway, I need to downgrade from Adobe CC2014 Premiere back to the previous version of Premiere, and I have to do it

  • High level of Noise when using Jabra Bluetooth Hea...

    Hi, I recently purchsed a Jabra BT250v Bluetooth HEadset for use with my Nokia 6110 Navigator. But even if I move a few feet from the phone there is a lot of static and crackling noise in my earpiece. I have tried several units of Jabra Headset and a