Assigning value for an integer

i'm having two jsp pages. i pass value from one jsp page to another jsp.
when i try to assign value for an integer, it is taking the default value. it is not taking the value what i assign. for string its taking correctly.
this is the query string.
document.book.action="cis1.jsp?lstr_bname=<%=lstr_bname%&lint_mss=<%=lint_mss%">
here for lstr_bname it is taking the value. but not the case for lint_mss.(taking default value).

Try this
document.book.action="cis1.jsp?lstr_bname=<%=lstr_bname%&lint_mss=<%=Integer.toString(lint_mss)%">
Bye

Similar Messages

  • How to assign values for more than one field

    Hi,
    I have written following code
    constants: fieldname(30) value '(SAPMF02D)KNA1-AUFSD'.
    constants: fieldname1(30) value '(SAPMF02D)KNA1-LISFD'.
    constants: fieldname2(30) value '(SAPMF02D)KNA1-FAKSD'.
    field-symbols: <L_FIELD>  TYPE ANY.
    field-symbols: <L_FIELD1> TYPE ANY.
    field-symbols: <L_FIELD2> TYPE ANY.
          Assign (fieldname) to <l_field>.
          <L_FIELD> = 'ZB'. " value according to your requirement
          Assign (fieldname1) to <l_field1>.
          <L_FIELD1> = 'ZB'.
    while debugging <l_field1> is not assinging (fieldname1).
    Im able to assing for (fieldname).
    how to assign value for (fieldname1).
    plz suggest me to assign values for more than one field.
    Regards,
    Brahmaji

    Hello,
    Because there is no field name called LISFD in KNA1. Actually you misspelled the field name.
    It is KNA1-LIFSD

  • How to assign values for boolean array in LabVIEW?

    I want assign values for boolean array.Iam not able to do that.For each boolen i want to assign each value.Plz help me......
    Please Mark the solution as accepted if your problem is solved and donate kudoes
    Solved!
    Go to Solution.

    Hi agar,
    values in an array are "assigned" by building an array (using BuildArray) or by replacing values in an existing array (ReplaceArraySubset)!
    Good starting point could be this...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Assign values for Application items

    Hi,
    I have some application items to which I want to assign values querying from a database table based on the user logged in. I have created an application process which does that. What process point I need to select so that the values in application items are available through out the session?
    Thanks,
    Asha

    Asha:
    I have been able to reproduce this issue. The application process appears to fire for every 'new' session-id. This explains the 'no data found' when you navigate to the application's login page. What is weirder is that APEX re-uses the session-id created when presenting the login page and therefore the application process no longer fires ! This needs more research. Clearly, my understanding of the the 'On New Session - After Authentication' is inadequate.
    In the meanwhile you can move the code you have for the application process and and use it as a 'Post-Authentication Process' for the application's authentication scheme.
    Varad

  • "non assigned" value for Calender year quarter not possible

    All of us know that we can not assign "#" value to calender year quarter.
    In my planning level (which is a part of multi planning area consinsting 2 cubes, Actual COPA cube and Plan COPA cube), I want to copy data from Actual copa cube to plan copa cube using planning function of formula type, but actual copa cube is not getting populated against calyear quarter.
    I want to retain calyearquarter as a characteristic in my level as it is acting as a key to  my plan data. What shoould be done in such a scenario?

    santoshkumar,
    I would suggest you build a characateristic relationship exit on calendar year quarter, probably based on fiscal year period or 0calmonth..  Make sure you leave Calendar year quarter out of your planning level in the copy so it would derive it.
    Hope this helps,
    Mary.

  • Any way to assign value for  variable of type Class List String ?

    I'm puzzled why I can declare a variable:
    Class<List<String>> clazz;but I cannot assign a value to it as
    clazz = List<String>.class;The compiler also complains about
    Class<List<?>> clazz0 = List<?>.class;yet it has the nerve to warn about raw types when I give up and use
    Class<List> clazz0 = List.class;Even using a dummy instance does not work.
            List<String> dummy = new ArrayList<String>();
            Class<List<String>> clazz1 = dummy.getClass();I only care because I've declared a method like
    public String useless( Class<List<String>> unSetable){
      return  unSetable.getName();
    }And now there seems to be no way to call it.

    Hello chymes,
    there is no way to get an instance of Class<List<String>> without at least one unchecked warning. Otherwise you could get away with the following:
    List<Integer> ints = new ArrayList<Integer>();
    Class<List<String>> clazz = List<String>.class;
    List<String> strings = clazz.cast(ints);
    strings.add("No Good");
    int i = ints.get(0); // CCETherefore the only way to get it is via unchecked cast:
    Class<List<String>> clazz = (Class<List<String>>) (Object) List.class;With kind regards
    Ben

  • Need help assigning range for an integer for subtracting time.

    Ok, so I'm having a little trouble getting this program to work. :x Maybe somebody could give me some help on what to do next. I'm new to Java, and I'm trying to write a program using NetBeans 6.9.1, and I ran into a problem. I'm trying to write a program for a time traveler Marty, who is going back in time. The time is set on a 24 hour clock, so am and pm is not an issue.
    I have the program written, but I'm having trouble with the subtraction of the time. Whenever I do the subtract, and the time traveled back (either in hours, minutes or seconds), is bigger than the current time, I just end up with negative numbers. I don't know how to set the value so it will just recycle through the 24 hours, the 60 minutes, or 60 seconds, instead of giving me negative numbers. Any help would be greatly appreciated. Also, I'm not sure how to make the users input italic. Here is what I got so far.
    package timetravel;
    * @author Jeff
    import java.io.*;
    import java.util.*;
    public class Main {
    * @param args the command line arguments
    public static void main(String[] args) {
    int hours, minutes, seconds, hoursback, minutesback, secondsback;
    Scanner keyboard = new Scanner (System.in);
    System.out.println("Hi Marty!");
    System.out.println("Enter current hour:");
    hours = keyboard.nextInt();
    System.out.println("Enter current minute:");
    minutes = keyboard.nextInt();
    System.out.println("Enter current second:");
    seconds = keyboard.nextInt();
    System.out.println("Enter how many hours you want to travel back");
    hoursback = keyboard.nextInt();
    System.out.println("Enter how many minutes you want to travel back");
    minutesback = keyboard.nextInt();
    System.out.println("Enter how many seconds you want to travel back");
    secondsback = keyboard.nextInt();
    System.out.println("When you arrive, the local time will be " + (hours - hoursback)
    + " hours, " + (minutes - minutesback) + " minutes, and " + (seconds - secondsback)
    + " seconds.");

    Well, basically, here's how I want the program to run
    Example program run:
    Hi Marty!
    Enter current hour: 8
    Enter current minute: 12
    Enter current second: 11
    Enter how many hours you want to travel back: 9
    Enter how many minutes you want to travel back: 36
    Enter how many seconds you want to travel back: 39
    When you arrive, the local time will be: 22 hours, 35 minutes, and 32 seconds
    (program input is written in italic)
    instead of how it runs now
    Hi Marty!
    Enter current hour: 8
    Enter current minute: 12
    Enter current second: 11
    Enter how many hours you want to travel back: 9
    Enter how many minutes you want to travel back: 36
    Enter how many seconds you want to travel back: 39
    When you arrive, the local time will be: -1 hours, -24 minutes, and -28 seconds
    I want it to cycle through the 24 hour clock, so if I travel back in time from 18 (1800 or 6pm) and i want to travel back in time 20 hours, I should get 22 (2200 or 10 pm) instead of -2.
    Same with minutes and seconds, except for it to cycle through 60 instead of 24, since there are 60 minutes in an hour, and 60 seconds in a minute. Also, if the minutes end up being negative, I need it to take away one from the hour spot, and so on for the other ones. Hopefully I explained it well enough... Sorry, I'm new to Java.
    Edited by: halo2jak on Sep 7, 2010 12:24 AM

  • Duplicate assigned value for Asset

    Hi Experts,
    Thanks for the reply the solution to reverse payment, then rev MIRO with MR8M, and rev MIGO with MBST. And then do ammendments to the PO. 
    But the Invoice already done payment, document had been posted. 
    Can we still proceed the adjustment ?
    thanks.
    rgds,
    tee

    Hi,
    I read your earlier message just now.
    If you want record this into small assets, you can do as below.
    You can do ABUMN ( Asset transfer within company code with partial transfer option).  This will take care of depreciation posted earlier with right proportion and transfer to small assets)
    Best Regards,
    Madhu

  • FM/BAPI for assigning a class and value for the class instead of manually d

    Hi guys,
    Instead of manually adding equipment class and assigning value for the class added can i get a FM or BAPI.
    this is for transaction IE02.
    rewards will be given.

    Hi
    I hope this thread can help you
    Characteristic Value
    Re: Equipment Characteristic Value
    Change Equipment Using Transaction IE02
    Regards
    pavan

  • Facing problem of Assigned Value in CJ33

    Hi All,
    I am facinfg a problem with Assigned value shown in CJ33 T code. My Sceneraio is like this.....
    1. I have activated availiblity controll on Released Budget.
    2. I have maintained tolerence limit  only for PR and PO.
    Now My problem is  that I budgeted one of my WBS as INR2000, Same amount is released also. I created a PR  for INR500. The same PR is converted to a Purchase order of INR500.
    Now in CJ33 T code my assigned value is comming as INR1000. Which is not correct for me because i have only used INR500 for my INR2000 budget and i want to use my Remaining INR1500 budget for another PR, But system is giving me Budget excedded error.
    Please advise. It would be a great help of all of you.
    Regards
    Rahul

    Hi Rahul,
    Refer this thread,
    Assigned Values For Project
    I had a strong feelilng that you were using ECC 5.0. I had come across the same issue. Just refer the note and try to apply the notes mentioned there. I am not sure which one i had applied but you can try out with the note number that Muraleedharan has mentiond in the thread. It should work.
    Kindly revert.
    Best Regards,
    Gokul

  • Budget Availability control and Assigned Value in Project

    Hi,
    Project is so structured that it is similar to the product structure. Assume a simple case with two level BOM where a sub assembly M1 includes another sub assembly M2.
    In project, these two sub assemblies are assigned under two different WBS elements W1 and W2 respectively where hierarchically W1 is assigned under W2.
    After release we have two Production Order P1 and P2 account assigned to W1 and W2 respectively.
    Assume M2 stnd price is 100 and M1 stnd Price is 150.
    My process output ultimately is only M1 so I would prefer to give a Budget of 150 Rs. However, since P1 and P2 production Orders are accoun assigned, a total 100+150 =250 Rs is showing up under assigned value and error of Budget over run is being encountered.
    One solution can be to give budget of 250 Rs, which not logical as I am producing only M1.
    We tried by un flagging Additional and Assign funds in plan indicators for Order category 20 and 10 in OPSV. But that did not help.
    Once P2 prod order is confirmed, the assigned value for W2 is becoming to actual cost of P2 and remains even after setting TECO and Settling P2. It becomes Zero only when W2 is removed from acct assignment of P2, which again can not be a solution as WBS and Prod Order will loose the linkage.
    We desire avaialbility control to verify only against the actual cost Project. No assigned value should be considered.
    Need your help to resolve it.
    Thanks
    Saikishore ganga.

    Hi Sudhir,
    Thanks for the valuable input.
    As you rightly said we can not produce M1 without M2. But budget has to be only 150 Rs. Because
    Cost M1 = Cost M2 + other mat Cost in assly + Assly operations Cost.
    Cost M1 = 100 + 10 (assume) + 40 = 150 Rs.
    Physically I am Producing only M1. So my budget would be atmost the cost of the item that is 150 Rs.
    But in project we had to assign M1 and M2 under two diff WBS elements because it takes considerable amount of time to completed entire qnty structure i.e BOM and Routing of M1 and then release. Till them M2 has to wait for M1 BOM and Routing to be completed. In order again time , M1 is assigned under W2 , W2 is released and in MRP W2-M1 BOM explodes and manufacturing begins.
    When M1 bom gets ready, it is assigned under W1 and then W1 will be released. Duplication of Prod Orders are taken care.
    However, by using exempt cost elements feature I think we can resolve the above.
    Will update once I do my experiments on this.
    Thanks for the input.
    Saikishore. Ganga

  • Assign value to ODI variable from Jython

    Hello Experts,
    I have a procedure where I'm using Jython code. I want to assign a value to an ODI project variable from a Jython function:
    Example:
    #COUNTER = len(v_jythonList) ---> being #COUNTER the ODI project variable and len() the jython function
    Now, i noticed that using ODI variables adds # sign which is use for comments in Jython code. Is there a way to assign values to ODI variables from Jython script?
    Please help!.
    Thanks.
    Pablo.

    Hi,
    Does this post help you :- How to assign value for a ODI variable from Jython Script
    Doc id 424579.1 on metalink should help.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Budget Question - negative assigned value

    Hi FI experts,
    We have IM module deployed in our system and we use WBS elements for budget tracking purposes only. A project  was created in 2009 with WBS element, say WBS09, which was assigned certain budget. In the same year there were some expenses incurred for another related project which wasn't approved. So, for tracking purposes the postings were made to WBS09 and the whole budget was consumed. In 2010 when the new project got approved and the original postings were removed out of WBS09 and posted to new WBS element (say WBS10) belonging to the newly approved project via document a FI document, thereby making assigned value for WBS09 negative in 2010 (as no budget was assigned to WBS09 in 2010). But this didn't release any budget back to WBS09 in 2010 and is now showing the project with no available funds. We are now expecting some expenses on WBS09 and are required to supplement the budget, which is not correct. Is there a way to correct this so that the amount that was transferred to WBS10 can be released from the WBS09's budget and be made available for spend.
    Thanks,
    Devansh
    PS: All answers will be duly rewarded

    Hi praveen
    thanks for reply.
    I checked CJI3 report. It is found that materials were tranfered from project to own(movement type 411). So actual budget consumption showing in negative.
    How can i transfer this negative  actual cost  to current fiscal year?
    Pl suggest.

  • Is there any bapi to upload c/s value for a material  in MRP3 view.

    Hello Expert
    Is there any bapi available to change material and upload the characteristic values in its MRP3 view? I want to change material and assign values for characteristic, I got one bapi /SAPMP/BAPI_MATERIAL_SAVEDATA which change material.. but I donu2019t know how to use it.. i.e. how to set c/s vales in MRP3 view. plz help.
    -Shweta

    Hi
    Check the BAPI
    <b>BAPI_CHARACT_CREATE</b>
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • How to get String assigned value

    Hi,
    As String is immutable and we know that the value of string is not changable.
    eg: String abc= new String();
    abc = "INDIA";
    system.out.println("1st abc : "+abc);
    abc=abc.toLowerCase();
    system.out.println("2nd abc : "+abc);
    As we know as string is immutable the value for the 2nd abc gives us india.As 2nd abc creates a new instance object stores in new memory location.
    Then y string is called immutable.It means the value is getting changed.
    Is their a way to retrive my original value or first assigned value for abc i.e INDIA.
    Thanks
    LeoSun.

    LeoSun wrote:
    Then y string is called immutable.It means the value is getting changed.No, it is not changed, you just assign a new value to your variable 'abc'.
    String abc = "INDIA";
             +-----------+
    abc -----+-> "INDIA" |
             +-----------+
    abc = abc.toLowerCase();
             +-----------+
    abc ---+ |   "INDIA" |
           | |           |
           +-+-> "india" |    
             +-----------+As you see, "INDIA" is not changed, a new String, "india" is created where your variable 'abc' points to.
    Is their a way to retrive my original value or first assigned value for abc i.e INDIA.
    ...Once you change the value of 'abc' (and there exists no reference to it's old value), then no, it's not possible.
    Why would you want that?

Maybe you are looking for

  • Provision a multivalued attribute from OIM to OID

    Hi, I have a requirement to provision a new multivalued attribute from OIM to OID. Steps followed: Created a child form Attached child form to the OID Parent form Created a process task adapter. Created a task in process definition and the attached t

  • Mac mini slow boot

    Hello, im new to macs having always had windows before. I bought my mac mini about a month ago and its been great, but the past few times ive booted it up its been slow to get to the log in screen and then once there my wireless trackpad and keyboard

  • Imac g5 ppc new hard drive update tiger10.4.11problem

    I replaced the hard drive in my Imac 20" g5 ppc 2.1gh installed tiger version 10.4.6 from my black retail tiger install disk. i want to update to tiger 10.4.11 but when i try i get a messsage update cannot be installed the digital signature for this

  • Finder periodically plagued with Spinning Beach Ball of Death

    SBBOD = Spinning Beach Ball of Death Could someone who understands MacOS X internals please explain to me why the finder needs to wait for an external Firewire drive to spin up to: 1. Open an app from the doc. (sbbod until the FW drive spins up) 2. Q

  • Adobe 9 pro portfolio print order

    I am trying to make it easy for our customers to print out our catalog.  I created a pdf portfolio.  I want the portfolio to print top to bottom, left to right.  It seems Acrobat 9 pro prints in alphabetical order according to the names.  Is there an