Plz Help.... MathFp giving negative value !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Hi All,
I m doing a calculation using MathFp .the resulting value is coming negative.
i thing some problem in this line of code.
String Value="";
MathFP.toString(MathFP.div(MathFP.toFP(Value),MathFP.toFP("1000")));
it gives currect output when we give value = "500000" but when we give value = "600000" or more it gives negative value.
plz help me.
if you have any other solution plz tell me.

First of all it sounds like you are using a very old version of MathFP. If you go to www.jscience.net you can download the latest 2.0.6 version that has both support for int and long based fixed point solutions. In addition if you want to stick with the int implementation then you can reduce the number of bits used for the fraction using the setPrecision API call.
So there are two solutions to your problem of which upgrading to the 2.0.6 with long based fixed points seem to be the easiest. It also doubles the precision of the fraction (i.e. a radix of 24).
In addition just as a side note don't forget to preverify the class. Many developers seem to get frustrated when they get a preverify error. Eventhough the error is pretty clear it seems nobody cares about reading documentation.
Cheers!

Similar Messages

  • PLZ Help: how to get value of a request scoped Bean/Attribute in JSF ?!!!

    hi,
    I noticed this part of code to retrieve session scoped beans/vars in an ActionListener or other jsf classes, but it does not work for request scoped beans/vars :( what's the problem then ? what shall i do ?
    Type var = (Type)Util.getValueBinding("myBeanInRequest")).getValue(context);
    I have also set that getPhaseId() returns UPDATE_MODEL_VALUES or APPLY_REQUEST_VALUES.
    Any comment or idea ?

    I have declared my Bean in my JSP page not in the
    faces-config.xml. Does this make any problem ? Also I
    have tried the way you told me as well, but still the
    returned attribute is null.
    P.S. My bean is declared in my JSP page this way:
    <jsp:useBean id="newSurveyVar" class="SurveyModel"
    scope="request" />
    This declaration causes the SurveyModel instance to be created in request scope when the page is rendered, but that doesn't help you when the form is submitted -- that is going to happen on the next request (so the request attribute created here goes away). Basically, <jsp:useBean> is not typically going to be useful for request scope attributes (it's ok for session or application scope, though).
    and further I have this jsf code:
    <h:command_button label="Create" commandName="create"
    action="create" >
    <f:action_listener
    r type="CreateNewSurveyActionListener"/>
    </h:command_button>
    and this is my
    CreateNewSurveyActionListener.processAction(ActionEvent
    e) {
    if (actionCommand.equals("create_the_survey")) {
    FacesContext context =
    t = FacesContext.getCurrentInstance();
    SurveyModel survey =
    y =
    (SurveyModel)(Util.getValueBinding("newSurveyVar")).get
    alue(context);
    if (survey==null) // returns true :(((
    And since I've declared my beans here there is nothing
    special declared in my faces-config.xml
    For me again it is really strange why it is not
    working !!!
    Any idea ? Because the event listener is fired in a separate request, so the one you created in the page is gone.
    This is why the managed bean creation facility was created. If your component contains a valueRef that points at the bean name (or you evaluate a ValueBinding as illustrated earlier in the responses to your question), then the bean will get instantiated during the processing of the form submit.
    Craig McClanahan

  • I am unable to verify my account info plz help I have 100$ but can't purchase any app

    I am unable to verify my apple I'd account information and can no more purchase apps.plz help

    Is it giving you a message saying your Apple ID has been disabled? If so, you need to use Apple Express Lane

  • 'FTP_R3_TO_SERVER' giving sy-subrc = 3 plz help me points must be given

    Dear   ,
    when i am trying to send data in internal table of type charterter declared below(i.e iresult) to FTP SERVER program giving the DATA ERROR = 3 when 'FTP_R3_TO_SERVER'  fuction module is exected and file it not creating in ftp server . plz help me pointS must be given .
    the FTP_CONNECT ,FTP_COMMAND function modules are executing properly giving handle 1 and its sy-subrc = 0 .
    when 'FTP_R3_TO_SERVER'  is executed it is giving SY-SUBRC = 3 ( DATA ERROR ) i.e it is failing to out internal table data in FTP SERVER . PLZ HIDE ME ITS URGENT .
    THIS IS CODE I USED .
      DATA :     BEGIN OF iresult OCCURS 5,
            rec(450),
           END OF iresult,
      DATA  :
              dest LIKE rfcdes-rfcdest VALUE 'SAPFTP',
              compress TYPE c VALUE 'N',
              host(64) TYPE c.
      DATA: hdl TYPE i.
      DATA: BEGIN OF result OCCURS 0,
            line(100) TYPE c,
            END OF result.
      DATA : key TYPE i VALUE 26101957 ,
             dstlen TYPE i,
             blob_length TYPE i.
      host = p_host .
      DESCRIBE FIELD p_password LENGTH dstlen IN CHARACTER MODE.
      CALL 'AB_RFC_X_SCRAMBLE_STRING'
        ID 'SOURCE'      FIELD p_password    ID 'KEY'         FIELD key
        ID 'SCR'         FIELD 'X'    ID 'DESTINATION' FIELD p_password
        ID 'DSTLEN'      FIELD dstlen.
      CALL FUNCTION 'FTP_CONNECT'
        EXPORTING
          user            = p_user
          password        = p_password
          host            = host
          rfc_destination = dest
        IMPORTING
          handle          = hdl
        EXCEPTIONS
          not_connected   = 1
          OTHERS          = 2.
      IF sy-subrc = 0.
        CONCATENATE 'cd' ftppath INTO ftppath SEPARATED BY space .
        CALL FUNCTION 'FTP_COMMAND'
          EXPORTING
            handle        = hdl
            command       = ftppath
          TABLES
            data          = result
          EXCEPTIONS
            command_error = 1
            tcpip_error   = 2.
        IF sy-subrc = 0 .
          CLEAR result .
          REFRESH result .
          CALL FUNCTION 'FTP_COMMAND'
            EXPORTING
              handle        = hdl
              command       = 'ascii'
            TABLES
              data          = result
            EXCEPTIONS
              command_error = 1
              tcpip_error   = 2.
          IF sy-subrc = 0 .
            DESCRIBE TABLE iresult LINES lines.
            blob_length =  lines * width .
            clear : lines.
    Delete the existing file
         CONCATENATE 'del' ftpfile INTO delfile SEPARATED BY SPACE.
          CALL FUNCTION 'FTP_COMMAND'
            EXPORTING
              handle        = hdl
              command       = delfile
            TABLES
              data          = result
            EXCEPTIONS
              command_error = 1
              tcpip_error   = 2.
    *End of deleting the existing file
            CALL FUNCTION 'FTP_R3_TO_SERVER'
              EXPORTING
                handle        = hdl
                fname         = ftpfile
                blob_length   = blob_length
              TABLES
                blob          = iresult
              EXCEPTIONS
                TCPIP_ERROR   = 1
                COMMAND_ERROR = 2
                DATA_ERROR    = 3
                OTHERS        = 4.
            IF sy-subrc <> 0 .
              WRITE 'Error in writing file to ftp' .
            ELSE.
              WRITE 'File downloaded on the ftp server successfully'.
            ENDIF.
          ENDIF.
        ELSE.
          WRITE : 'Path on ftp not found : ' , ftppath .
        ENDIF.
        CALL FUNCTION 'FTP_DISCONNECT'
          EXPORTING
            handle = hdl.
        CALL FUNCTION 'RFC_CONNECTION_CLOSE'
          EXPORTING
            destination = 'SAPFTP'
          EXCEPTIONS
            OTHERS      = 1.
      ELSE.
        WRITE 'Could not connect to ftp' .
      ENDIF.
    ENDFORM.                    " FTPFINANCEACCESS_DOWNLOAD
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF screen-name = 'PASSWORD'.
          screen-invisible = '1'.
          MODIFY SCREEN.
        ENDIF.
      ENDLOOP.
    Edited by: manoj kv on Feb 21, 2008 7:51 AM
    Edited by: manoj kv on Feb 21, 2008 10:31 AM
    Edited by: manoj kv on Feb 23, 2008 5:22 AM
    Edited by: manoj kv on Feb 23, 2008 2:59 PM

    Dear ,
    i exected RSFTP005 program and i got this below output .
    SAPFTP check
    Check RFC destination SAPFTP...
    ... OK.
    Ping RFC destination SAPFTP...
    ... OK.
    Check RFC destination SAPFTPA...
    ... OK.
    Ping RFC destination SAPFTPA...
    ... OK.
    in our previous discussion u told me that "You will get that file is not in proper format or it might be empty i.e. structure dose not support "
    plz tell me how u r telling that file will not get in proper order and which structure does not support .
    my client given issue that whole data storing in single line .
    plz do the needful help. points must be rewarded  .
    thanking u .
    Edited by: manoj kv on Feb 25, 2008 5:56 AM
    Edited by: manoj kv on Feb 26, 2008 9:38 AM
    Edited by: manoj kv on Feb 28, 2008 8:04 AM

  • Plz. help,table does not show value for one field

    hi all,
    i have a really strange problem , i have a string field in access database that contains the date and time value,this field for some strange reason does not show in my table created through html,
    i tried all combination(arranging the fields) ,renaming it w/o help, it shows the value using out.println(but then why is it not showing me in the table???)
    plz. help ASAP.
    the code is as under
    <HTML>
    <HEAD><TITLE> LOGGED IN ok</TITLE> </HEAD>
    <BODY bgcolor = "yellow">
    <%@ page import = "java.sql.*" %>
         <%! // declaring variables
    String s = "";
    java.sql.ResultSet rs=null,rs1=null,rs2=null;
    java.sql.Connection con;
    java.sql.Statement stmt,stmt1;
    String empId = "",compid ="",calltype ="",probheader="",probdescription ="",probcomment ="",priority ="",a="";
    %>
    Following are the pending complaints ..
         <TABLE BORDER=1 CELLSPACING=0 CELLPADDING=0 width="100%">
         <TR>
         <TD> ComplainD </TD>
    <TD> ComplainId </TD>     
    <TD> ProbHeader </TD>     
    <!--
    <TD> ProblemDescription </TD>     
    <TD> Problem Comments </TD>     
    -->
    </TR>
         <%
         try
         Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
         java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};" +"DBQ=c:/vishal/HelpDesk.mdb;DriverID=22;READONLY=false","","");
         //java.sql.Connection con = java.sql.DriverManager.getConnection("jdbc:odbc:Portal");
              java.sql.Statement stmt = con.createStatement(java.sql.ResultSet.TYPE_SCROLL_INSENSITIVE,java.sql.ResultSet.CONCUR_READ_ONLY);
              s = "select * from Complains";
         java.sql.ResultSet rs = stmt.executeQuery(s);               
                        while(rs.next())
                        //getting data from database
                                                           empId = rs.getString("EmpId");                    // out.print(" " + empId);
              compid = rs.getString("ComplainId");
              // out.print(" " + compid);
              calltype = rs.getString("CallType");
              // out.print(" " + calltype);
                        a = rs.getString("Complaindate"); //problem with this field
    out.print(a); // prints value
              %>               
                        <TR>      
                        <TD> <%=compid %> </TD>
                        <TD> <%=calltype %> </TD>     
                        <TD <%=a %> </TD>
                                       </TR>
    <%
                        }//while loop          
         %>
         </TABLE>     
         <%                
         }//try
              catch(Exception ep)
              out.println(ep);
              System.exit(1);
    %>
    </BODY>
    </HTML>
    value in database is as follows :-
    Complaindate
    5/18/2003 1:30:27 PM
    5/18/2003 7:32:43 PM
    5/18/2003 7:34:02 PM
    5/18/2003 7:49:19 PM
    5/18/2003 7:50:27 PM
    5/18/2003 10:49:42 PM
    5/18/2003 10:58:24 PM
    thanking u ,plz ask if any further clarifications

    Hi
    I am seeing nothing wrong with ur code..
    what about "view source" result.....plz check with that...
    whether u r getting all the trs and tds...
    revert back on this Issue..
    Mars Amutha

  • Hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out.

    hello, i just downloaded itunes on my acer laptop and its been giving me problems everytime i try to get on to the itunes store.. it gives me a message saying "itunes could not connect to the itunes store. an unknown error occurred. (310).plz help me out. i do have the internet on but it keeps giving me the same problems .. thanks..

    Hi Young Prada,
    If you are having issues connecting to the iTunes Store, you may find the following article helpful:
    Apple Support: Can't connect to the iTunes Store
    http://support.apple.com/kb/ts1368
    Regards,
    - Brenden

  • URGENT: Date format in Reports Giving me trouble...plz help me out

    Hi guru's Can any one help me out
    I
    n the front end apps we are getting the date value as
    BOM_SRS_DATETIME_STANDARD
    Where we are entering the date value as MM/DD/RRRR HH24:MI:SS
    The date format set in the company is like RRRR/MM/DD HH24:MI:SS
    SO I format masked the date parameter in .RDF to RRRR/MM/DD HH24:MI:SS format.
    While the actual date format in the data base is like DD/MM/RRRR HH24:MI:SS.
    I checked all the old reports and the date format is like they masked the date format to company format and used the afterparameter trigger like bellow:
    if :P_SENT_DATE_FROM is not null and :P_SENT_DATE_TO is null then
    :P_SENT_DATE_TO := :P_SENT_DATE_FROM;
    end if;
    if (:P_SENT_DATE_FROM = :P_SENT_DATE_TO) and (:P_SENT_DATE_FROM is not null) then
    :WHERE_SQL := :WHERE_SQL || ' AND CREATION_DATE = '||' to_date('''||:P_SENT_DATE_FROM||''''||','||'''DD-MON-RR'')';
    else
    if :P_SENT_DATE_FROM is not null then
    :WHERE_SQL := :WHERE_SQL || ' AND CREATION_DATE >= '||' to_date('''||:P_SENT_DATE_FROM ||''''||','||'''DD-MON-RR'')';
    end if;
    if :P_SENT_DATE_TO is not null then
    :WHERE_SQL := :WHERE_SQL || ' AND CREATION_DATE <= '||' to_date('''||:P_SENT_DATE_TO ||''''||','||'''DD-MON-RR'')';
    end if;
    end if;
    I tried this but i couldnt get the output either.
    I am pretty much confused.
    Plz help me out...

    If you want to use a dynamic where caluse in your report query you can use a Reference Cursor using REF CUR QUERY tool in your report like this :
    function QR_1RefCurDS return DEF_CURSORS.CHARACT_REFCUR is
    temp_CHARACT DEF_CURSORS.CHARACT_refcur;
    begin
    IF :FROM_NO IS NULL AND :TO_NO IS NULL THEN
    open temp_CHARACT for SELECT ACCT_CODE, ACCT_NAME
    FROM CHARACT
    ORDER BY ACCT_CODE;     
    ELSIF :TO_NO IS NULL AND :FROM_NO IS NOT NULL THEN
    open temp_CHARACT for select ACCT_CODE, ACCT_NAME
    FROM CHARACT
    WHERE ACCT_CODE=:FROM_NO
    ORDER BY ACCT_CODE;     
    ELSIF :TO_NO IS NOT NULL AND :FROM_NO IS NOT NULL THEN
    open temp_CHARACT for select ACCT_CODE, ACCT_NAME
    FROM CHARACT
    WHERE ACCT_CODE BETWEEN :FROM_NO AND :TO_NO
    ORDER BY ACCT_CODE;               
    ELSIF :TO_NO IS NOT NULL AND :FROM_NO IS NULL THEN
    open temp_CHARACT for select ACCT_CODE, ACCT_NAME
    FROM CHARACT
    WHERE ACCT_CODE<=:TO_NO
    ORDER BY ACCT_CODE;     
    END IF;
    return temp_CHARACT;
    end;
    But first you have to declare a cursor type in a package

  • Plz help me how to set values in js from form

    hi alll.......
    i have a problem in my jsp..........i had given hyperlink for second action in jsp, user will select an id from combo...and insert values in text box when they click on button i need to insert these values in database.......
    problem here is all values are passing null value........i am setting through form..i ma not getting the values from anywhere.
    i don't know the problem will u plz help me out in this.........
    thanks in advance.......]chintu

    Your question and the way you type doesn't make much sense to me. Could you be specific about the problem - maybe with code snippets.

  • My ipad is stuck at logo and looping countinuesly. when i tried to restore it is giving error 3194.plz help

    I am having ipad mini wifi + cellular. and now it is stuck at logo and restarting countinuesly. when i tried restoring it through itunes it is giving error 3194.plz help me
    GIREESH KUMAR

    See if the troubleshooting for that error code on this page helps : http://support.apple.com/kb/ts4451

  • Need help implementing Radix sort to handle negative values

    Hi !
    I'm in desperate need for some help here...
    I've been struggling with this Radix sort algorithm for some time now. It sorts positive integers very well, and very fast, but it cant handle negative values. Is there anyone who can help me improve this algorithm to also sort negative integer values?
    I need it to be as fast or even faster then the current one, and it has to be able to sort values in an array from address x -> y.
    Here's what I have so far
    /** sorts an int array using RadixSort (can only handle positive values [0 , 2^31-1])
          * @param a an array to be sorted
          * @param b an array of the same size as a (a.length) to be used for temporary storage
          * @param start start position in a (included)
          * @param stop stop position in a (excluded)
         public void sort(int[] a, int[] b, int start, int stop){
              int[] b_orig = b;
              int rshift = 0, bits = 8;
              for (int mask = ~(-1 << bits); mask != 0; mask <<= bits, rshift += bits) {
                   int[] cntarray = null;
                   try{cntarray = new int[1 << bits];}catch(Exception e){System.out.println("Error");};
                   for (int p = start; p < stop; ++p) {
                        int key = (a[p] & mask) >> rshift;
                        ++cntarray[key];
                   for (int i = 1; i < cntarray.length; ++i)
                        cntarray[i] += cntarray[i-1];
                   for (int p = stop-1; p >= start; --p) {
                        int key = (a[p] & mask) >> rshift;
                        --cntarray[key];
                        b[cntarray[key]+start] = a[p];
                   int[] temp = b; b = a; a = temp;
              if (a == b_orig)
                   System.arraycopy(a, start, b, start, stop-start);
         }I think it can be solved by offsetting all positive values the with the number of negative values found in "a" during the last run through the main for loop (as the last (or first) 8 bits in an 32 bit integer contains the prefix bit (first bit in an 32 bit integer), 0 for positive value, 1 for negative).
    Thanks in advance !
    /Sygard.

    ah, beautiful !
    /** sorts an int array using RadixSort (can handle values [-2^31 , 2^31-1])
          * @param a an array to be sorted
          * @param b an array of the same size as a (a.length) to be used for temporary storage
          * @param start start position in a (included)
          * @param stop stop position in a (excluded)
         public void sort(int[] a, int[] b, int start, int stop){
              int[] b_orig = b;
              int rshift = 0;
              for (int mask = ~(-1 << bits); mask != 0; mask <<= bits, rshift += bits) {
                   int[] cntarray = null;
                   try{cntarray = new int[1 << bits];}catch(Exception e){System.out.println("Error");};
                   if(rshift == 24){
                        for (int p = start; p < stop; ++p) {
                             int key = ((a[p] & mask) >>> rshift) ^ 0x80;
                             ++cntarray[key];
                        for (int i = 1; i < cntarray.length; ++i)
                             cntarray[i] += cntarray[i-1];
                        for (int p = stop-1; p >= start; --p) {
                             int key = ((a[p] & mask) >>> rshift) ^ 0x80;
                             --cntarray[key];
                             b[cntarray[key]+start] = a[p];
                        int[] temp = b; b = a; a = temp;
                   else{
                        for (int p = start; p < stop; ++p) {
                             int key = (a[p] & mask) >>> rshift;
                             ++cntarray[key];
                        for (int i = 1; i < cntarray.length; ++i)
                             cntarray[i] += cntarray[i-1];
                        for (int p = stop-1; p >= start; --p) {
                             int key = (a[p] & mask) >>> rshift;
                             --cntarray[key];
                             b[cntarray[key]+start] = a[p];
                        int[] temp = b; b = a; a = temp;
              if (a == b_orig)
                   System.arraycopy(a, start, b, start, stop-start);
         }That's what I ended up with - and it works !
    Thanks a million !!

  • My iphone is acting crazy plz help asap my phone is giving reading me everything i lay my hand on and is not letting me scroll down or select anything i must have accidentally switched some voice thing on plz help me close it:(

    my iphone is acting crazy plz help asap my phone is giving reading me everything i lay my hand on and is not letting me scroll down or select anything i must have accidentally switched some voice thing on plz help me close it:(

    First off, try triple clicking the home button.
    To scroll use three fingers and I think you have to double tap to get into something.
    Go to Settings>General>Accessability>Voiceover and then turn that off.
    Hope that sorts it for you

  • Plz help me out bapi message (urgent)

    hi
    i need help. i m passing values in bapi n taking message from table in bapi to print in out put.
    requirment is..
    a)     Pass the following parameters:
    NUMBER = NETWORK
    Tables: I_COMPONENTS_CHANGE
         COMPONENT = IT_COMP-COMPONENT
         BATCH = P_CHARG
    Tables: I_COMPONENTS_CHANGE_UPDATE
         COMPONENT = IT_COMP-COMPONENT
         BATCH = “X”
    b)     The components that failed update are provided in table, E_MESSAGE_TABLE. If MESSAGE_TYPE = “E”, get EXTERNAL_OBJECT_ID and MESSAGE_TEXT. Remove spaces from EXTERNAL_OBJECT_ID and then match against IT_COMP-COMPONENT to get MATERIAL, PLANT and NETWORK and write MATERIAL, PLANT and NETWORK and MESSAGE_TEXT to the job log.
    so for that i m doing coding like (this is part of my program)
    LOOP AT i_temp_comp.
        CLEAR : i_comp_change,i_comp_upd,i_e_msg.
        REFRESH : i_comp_change,i_comp_upd,i_e_msg.
        LOOP AT i_comp WHERE network = i_temp_comp-network.
          l_number = i_comp-network.
          i_comp_change-component = i_comp-component.
          i_comp_change-batch = p_charg.
          APPEND i_comp_change.
          i_comp_upd-component = i_comp-component.
          i_comp_upd-batch = c_x.
          APPEND i_comp_upd.
        ENDLOOP.
        CALL FUNCTION 'BAPI_NETWORK_COMP_CHANGE'
          EXPORTING
            number                     = l_number
          TABLES
            i_components_change        = i_comp_change
            i_components_change_update = i_comp_upd
            e_message_table            = i_e_msg.
        IF NOT i_e_msg[] IS INITIAL.
          LOOP AT i_e_msg.
            IF i_e_msg-message_type = c_e.
              READ TABLE i_comp WITH KEY network = l_number
         component = i_e_msg-external_object_id.       "#EC *
                IF sy-subrc IS INITIAL.
                  i_output-material = i_comp-material.
                  i_output-plant = i_comp-plant.
                  i_output-network = i_comp-network.
                  i_output-message = i_e_msg-message_text.
                  APPEND i_output.
                ENDIF.
              ENDIF.
            ENDIF.
          ENDLOOP.
        ELSE.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        ENDIF.
      ENDLOOP.
    problem is it is not showing message in i_output.
    so no data is printing.
    plz help me out

    There are several IFs in your code here.
    IF NOT i_e_msg[] IS INITIAL.
      LOOP AT i_e_msg.
        IF i_e_msg-message_type = c_e.
          READ TABLE i_comp WITH KEY network = l_number
              component = i_e_msg-external_object_id. "#EC *
          IF sy-subrc IS INITIAL.
            i_output-material = i_comp-material.
            i_output-plant = i_comp-plant.
            i_output-network = i_comp-network.
            i_output-message = i_e_msg-message_text.
            APPEND i_output.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ELSE.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.
    It can be any IF failure. Check in debugging and see how this "i_e_msg" internal table is filled. May be the return table is giving the component number in external format and you have it in internal format or vice-versa in the READ statement "component = i_e_msg-external_object_id".

  • Negative values in AIAB, AIBU

    Hi,
    I am tying to post negative values in transactin AIAB & AIBU. System is giving error mesage negative equilance values not allowed. How can I allow negative values.
    The asset on which negative values are posting , have already configured for negative values.
    Help me to resolve the issue.
    Thanks.

    Nitin,
    Goto AS02 -  Asset change - Goto Dep Areas - Double Click on 01 Dep area -  There you can see the Dep Area is in Negative or Positive.
    So for TEMPERORILIY change an do the AIBU/AIAB and make sure to change back once the posting is done.
    Thanks,
    Venkata Raju

  • Again got stuck with textpool experts plz help

    hi experts,
    plz help in resolving this issue this is very urgent.
    error is
    The line type of "RPOOL" must be compatible with one of the types
    "TEXTPOOL".
    and its coming in :
    read textpool  rname into rpool language sy-langu.
    FOR YOUR INFORMATION:
    form init_textpool using rname like rsvar-report.
    FYI:
    DATA: BEGIN OF RPOOL OCCURS 20,
    ID(1),
    NAME(8),
    TEXT(80),
    END OF RPOOL.
    and textpool is also a structure u can check the fields in se11.
    as the structure of textpool and rpool are not same
    i cannot declare the type of rpool as textpool because it ill change the functionality of the prog because in the rest of the prog we r using the fields of rpool. 
    plz help me.

    hi atish
    thanks 4 ur rply
    solution provided by you is not giving error but i think it ill change your functionality.
    i did this::::
    data: begin of rpool occurs 20,
                id(1),
                name(8),
                text(80),
          end of rpool.
    data: rname like rsvar-report.
    data : RPOOL_1 LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
    TYPEs : begin of RPOOL_1 ,
                id(1),
                name(8),
                text(80),
          end of rpool_1.
    read textpool  rname into rpool_1 language sy-langu.
    MOVE-CORRESPONDING rpool_1 TO rpool.
    write : rpool-id, rpool-text, rpool-name.
    later on in the program we r using name and text fields but in this when i debugged it is nt able to identify name and text fields only showing the value of id bcoz id is also dere in textpool structure.

  • Plz Help me Jump from DAYPR to detailed log

    Hi Experts,
    Plz help me to slove this issue
    while running payroll simulation iam getting the error as JUMP from DAYPR to detailed log Incorrect generation of WTS... 
    it is negative time recording,  the personnel number is assigned to '0' in IT07, but it is showing the same error
    Plzzzzzzzzz.....
    suggest me to slove this error...
    points will be rewarded ....
    Thanks
    Shravani

    Hi,
    Check the processing classes.
    Maitain the values in the following tables..
    T555E-Message Descriptions
    T551C-Period work schedule evaluation
    V_551C_B-Valuation class for Periodic work schedule
    V_t508A-Work schedule rule
    V_001P_H-Personnel Subarea grouping for Time Recording
    V_T555Z- Time type Determination
    V_T510S-Time wage type selection rule
    I guess your problem will be resolved.
    Thanks and Regards,
    Revathi.

Maybe you are looking for

  • Acrobat Pro X, Not all fill in text prints, help!!

    I am new to Acrobat. My problem is a fillable form that only prints the keyed in text does not always print the text. All keyable fields are marked visable but in print preview the keyed text does not show and does not print. I really need help. Than

  • Sharepoint Mailbox, Almost There

    I'm getting the following error message when I try to connect to my previously working sharepoint site mailbox: Almost there! We're not quite done setting up your site mailbox. Please check back in a few minutes. If you see this message in half an ho

  • Safari doesn't work properly with Ebay

    Safari doesn't work properly when listing items on Ebay. Fix it.

  • Change deployment target

    Hi everybody, I had OBIEE 11.1.1.7 deployed on Weblogic 10.3.6. Later I added ODI 11.1.7 to the same domain. I created a new server (odi_server1) which host ODI related deployments (odi_agent and odi_console). Today I noticed odi_server1 also hosts a

  • Error in upgradation

    hi.. I am upgrading the database 11.1.0.7 version to 11.2.0.1 version. I am gettin the error msg like dis. "there is an error while creating the following process , $ORACLE_HOME/bin/sqlplus -S /NOLOG".I am using linux os 5 redhat. Edited by: 845224 o