Urgent....Restock Rate,Restock value

Hi..
Cany any one tell me from which tables the Restock Rate
and Restock value comes from????
Basing on the Condition type provided...
   i want to retrieve...Restock Rate
and Restock value...
Structure KOMV- Find where KSCHL equal ZRE%, IF found, then show KBERT     Restock Rate
Structure KOMV- Find where KSCHL equal ZRE%, IF found, then show KWERT      Restock Value
points will be rewarded...
Message was edited by:
        Rammohan Nagam

Hi Ram,
You can check in table KONV.
First get the document condition number KNUMV from VBAK table (if you are looking for sales order item conditions)  or VBRK (if you are looking for billing conditions)
Then go to KONV and search based on the condition type, document condition number and condition item number (this is the item number POSNR which you can get it from VBAP-sales order item line or VBRP-billing document item line)
Then you can get the KBERT and KWERT from KONV.
See if this helps you,
Regards,
Please reward if it helps

Similar Messages

  • Excise rate and value is not getting defaulted from the purchase order

    Hi all,
    While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
    Regards
    Vishal

    Hi,
    Follow STO Process for this;
    1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
    11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
    10. Create Delivery: VL10G
    12. Picking, PGI: VL02N
    13. Billing: VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Rgs

  • How to get the Benefits Rate multiplier value in HCM extract ? used Extract rule type Fastfomula, but returns null.

    how to get the Benefits Rate multiplier value in HCM extract ? used Extract rule type Fastfomula, but returns null.
    Formula:
    DEFAULT FOR BEN_ABR_NAME IS 'NA'
    DEFAULT FOR l_rate_multiplier IS 'X'
    L_BG_ID = GET_CONTEXT(BUSINESS_GROUP_ID, 1)
    L_EFF_DATE = GET_CONTEXT(EFFECTIVE_DATE, to_date('1951/01/01 00:00:00'))
    L_ABRT_ID = GET_CONTEXT(ACTY_BASE_RT_ID, 9999)
    CHANGE_CONTEXTS(EFFECTIVE_DATE = L_EFF_DATE, BUSINESS_GROUP_ID = L_BG_ID, ACTY_BASE_RT_ID = L_ABRT_ID )
    l_rate_multiplier = BEN_ABR_NAME
    RETURN l_rate_multiplier

    I used DBI - BEN_ABR_NAME.
    What is back end query ? can we use query to extract the value in Extracts ?

  • Duty rate & duty values

    Dear Experts,
    After excise  capturing and posting   while doing goods receipt for  IMPORT PO, I am facing  following problem,
    IN J1IEX  PART1 Entries
    1.IN  DUTY RATE TAB   all the entries like BED,  AED, SED  are zero,
    2. IN DUTY  VALUES  TAB all  entries are zero
    While doing  MIGO  System is  capturing  excise values  but it is not updating in to PART1 TAB,   System throwing message "   BED, AED, SED  for the  Excise item is zero"  Please  suggest
    With regards,
    ARABBAS

    Hi,
    Check the follwing points are maintained or not
    maintain the following conditions in excise default settings.
    JCV1, JECV, JADC
    path: spro>logistic general >tax on goods movements>india >basic settings>determination of excise duty >maintain excise defaults >
    along with ur taxprocedure maintain these conditons in the specified fields
    JCV1 in CVD condition field.
    JECV in ECS conditon field.
    JADC in ACD conditon field.
    in case of secess on CVD, no need to maintain.
    it is hardcodded in the standard
    Vendor in GR 2 (Entry always possible)
    Import scenario
    1.Create material master of import goods.
    2.Create vendor master record of import vendor and Customs clearing vendor.
    3.Maintain CIN settings.
    4.Maintain J1id.
    5.Maintain Pricing procedure SAP standard JIMPOR..,maintain required conditions..JCDB,JCV1...
    6.Assign the schema to respective import vendor in Purchasing view of VMR.
    7.Create import PO ,check in conditions of JCDB, JCV1 the customs clearing vendor(Indian vendor) and percentage is assigned..This can be done by In condition tab select condtion then click on display,then enter.
    Save the PO.
    8.MIRO --Capture Bill Of Entry.(Commercial Invoice No.,).Customs clearing first .Here CVD will b converted to BED.
    9.Capture Excisse invoice--j1iex.
    10.MIGO.
    12.Post Excise Invoice.
    13.MIRO...Payment to vendor(import vendor)
    Regards
    Pramod

  • Output Packet Discard Rate strange values

    Hi,
    I'm getting a lot of alerts regard to Interface High Discard Rate. When i went to see the Output Discard %, the value are not compressed between 0% - 100%. The values show in the following graphic are much higher than 100%.
    These are not the expected values​​. Has anyone experienced the same problem? Does anyone have solution for this?
    Thank you,
    Rui

    Hi,
    We may need to get the performance data on the problemtic computer, and check whether the value equal to what we can see on this view.
    In addition, as far as I can see, the value does not mean percentage, this should mean how many bits that was dropped per second.
    Regards,
    Yan Li
    Regards, Yan Li

  • URGENT:Making a poplist value freezed based on another poplist value

    Hi,
    I have a requirement to make a poplist value freezed(should get disabled so that no further change can be done) based on another poplist value.
    for ex : poplist 1 : A,B.
    poplist2: yes,no
    if A is selected, yes,no should appear in the poplist2.
    if B is selected, only YEs should appear in the poplist2 and it should get greyed out(disabled for further changing).
    Please help.
    Thanks,
    Veena.
    Edited by: Veena. on Dec 31, 2012 4:00 AM

    Veena,
    there is nothing urgent on this forum!
    You know that you should provide your jdev version so that we can help you solve your problem.
    Next it would help if you provide the code (of the page) so that we see how you setup the 'poplist' (whatever that exactly is).
    If you mean a selectOnceChioce you can implement a valuechangeListener on poplist A and depending on the new value set the value of poplist B to yes and disable it.
    Timo

  • Urgent! I get value when executing query of VO in page, but null in plsql.

    Hi, gentlemen,
    Please help me with this issue.
    1,My VO query sql is like this:
    SELECT acra.receipt_number as receipt_number,
    al_a.meaning as receipt_type, acra.currency_code as currency_code,
    acrha_a.amount as receipt_amount,
    acra.receipt_date as receipt_date,
    acrha_b.gl_date as gl_date,
    arm.NAME as payment_method,
    acra.doc_sequence_value as doc_sequence_value,
    al_b.meaning as status,
    acrha_a.acctd_amount as acctd_amount,
    rcta.trx_number as trx_number,
    rc.customer_name as customer_name,
    rc.customer_number as customer_number,
    rc.jgzz_fiscal_code as taxpayer_id,
    rsu.location as customer_site,
    acra.customer_receipt_reference as customer_ref,
    acra.comments as comments,
    acra.cash_receipt_id as cash_receipt_id
    FROM ar_receivable_applications_all araa,
    ar_cash_receipts_all acra,
    ar_lookups al_a,
    ar_cash_receipt_history_all acrha_a,
    ar_cash_receipt_history_all acrha_b,
    ar_receipt_methods arm,
    ar_lookups al_b,
    ra_customer_trx_all rcta,
    (SELECT hca.cust_account_id customer_id,
    hca.org_id org_id,
    hp.party_name customer_name,
    hca.account_number customer_number,
    hp.jgzz_fiscal_code
    FROM hz_cust_accounts_all hca, hz_parties hp
    WHERE hp.party_id = hca.party_id) rc,
    (SELECT site_use_id site_use_id,
    org_id org_id,
    cust_acct_site_id address_id,
    location location
    FROM hz_cust_site_uses_all) rsu
    WHERE araa.receivable_application_id = :1
    and acra.cash_receipt_id = araa.cash_receipt_id
    and al_a.lookup_type(+) = 'PAYMENT_CATEGORY_TYPE'
    AND al_a.lookup_code(+) = acra.TYPE
    AND acrha_a.cash_receipt_id = acra.cash_receipt_id
    AND acrha_a.current_record_flag = nvl('Y', acra.receipt_number)
    AND acrha_a.org_id = acra.org_id
    AND acrha_b.cash_receipt_id = acra.cash_receipt_id
    AND acrha_b.first_posted_record_flag(+) = 'Y'
    AND arm.receipt_method_id = acra.receipt_method_id
    AND al_b.lookup_type(+) = 'RECEIPT_CREATION_STATUS'
    AND al_b.lookup_code(+) = acra.status
    AND rcta.customer_trx_id(+) = acra.receivables_trx_id
    AND rcta.org_id(+) = acra.org_id
    AND rc.customer_id(+) = acra.pay_from_customer
    AND rc.org_id(+) = acra.org_id
    AND rsu.site_use_id(+) = acra.customer_site_use_id
    AND rsu.org_id(+) = acra.org_id
    2, I add the init func in VOImpl which is like this:
    the receiptApplicationId is 136877.
    public void initQuery(Number receiptApplicationId)
    setWhereClauseParams(null); // always reset
    setWhereClauseParam(0, receiptApplicationId);
    executeQuery();
    When executing the page, its value shows to be "現預金".
    And I used String receipt_type = (String)oaRow.getAttribute("ReceiptType"); in AMImpl, its value is "現預金".
    But when I execute above sql in pl/sql developer, its value is null.
    I am really confused with this.
    How could I get the whole running sql statement, and know why my issue is like this? It's very urgent, Thanks!

    This Query is Org Specific.(As this query using Ord_id attribute to fetch out row.)
    you need to set org_id at PLSQL Developer or Toad Level.
    Thanks, Avaneesh

  • Help needed urgently to get the values from the jsp page.

    hi,
    I am badly stuck into this problem.Please help me and find a solution.
    I am using ms-access and jsp.
    my database structure is as given below:
    m_emp_no | from_date | to_date | approver| status |
    1002 | 22/9/2008 | 23/9/2008|1003 |pending
    1004 | 29/9/2008 | 30/9/2008|1003 |pending
    2044 | 15/9/2008 | 16/9/2008|3076 |pending
    now this is exactly a leave apply scenario where a page is displayed and the user has to fill in the details to apply leave.then the approver has to approve that leaves so even, he should get the details in his account.
    for example here 1003 has to approve leaves for 1002 & 1004.i am able to fetch data from database for the particular approver here is the coding:
    <html>
    <body>
    <h2 align="center"><u><b><span style="background-color: #FFFFFF"><font color="#C0C0C0" face="Comic Sans MS">Leave
    Approval Requests</font></span></b></u></h2>
    <form method="POST" name="f1" action="update.jsp">
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:employee_details");
    PreparedStatement p=null;
    p=con.prepareStatement("select * from emp_leave_application where approver='"+username+"'");
    ResultSet r=p.executeQuery();
    while(r.next())
    %>  <table border="1" width="100%" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
        <tr>
          <td width="100%" bgcolor="#999966"><b><u><%=r.getString(2)%></u></b></td>
        </tr>
      </table>
      <table border="1" width="100%" height="171" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
        <tr>
          <td width="100%" height="165" valign="top">
            <p align="left"><b>User ID</b>        :
    <input type="text" name="id" value="<%=r.getString(1)%>"  size="4   
         <b>status</b>:<%=r.getString(5)%</p>
    <p><b>Leave From</b> : <%=r.getString(2)%></p>
    <p><b>Leave From</b> : <%=r.getString(3)%></p>
    <p><b>Approve</b> : <select  size="1" name="approved">
            <option value="Approved">Approved</option>
            <option value="Cancelled">Cancelled</option>        </select></p>
    <%
    con.close();
    %>
      <table border="1" width="100%" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
              <tr>
                <td width="100%" bgcolor="#999966">
                  <p align="center"><input type="reset" value="Clear" name="B1"> 
                  <input type="submit" value="Submit" name="B2"></td>
              </tr>
            </table>
            </td>
        </tr>
      </table>
    </form>
    </body>
    </html>{code}
    this will display both the rows but when i try to retrieve the values into update.jsp using the code given below it gives me only one value which is the first 1002.
    {code}approved=(String)request.getParameter("approved");
    id=(String)request.getParameter("id");{code}
    but i need both the values to be inserted into the update.jsp only then the approver will be able to approve the leaves individually with respect to the m_emp_no.
    please help me out.
    thanks in advance.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    My comments below are all between (((((( and ))))))
    <html>
    <body>
    <h2 align="center"><u><b><span style="background-color: #FFFFFF"><font color="#C0C0C0" face="Comic Sans MS">Leave
    Approval Requests</font></span></b></u></h2>
    <form method="POST" name="f1" action="update.jsp">
    <%
    Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
    Connection con=DriverManager.getConnection("jdbc:odbc:employee_details");
    PreparedStatement p=null;
    p=con.prepareStatement("select * from emp_leave_application where approver='"+username+"'");
    ResultSet r=p.executeQuery();
    while(r.next())
    %> <table border="1" width="100%" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
    <tr>
    <td width="100%" bgcolor="#999966"><b><u><%=r.getString(2)%></u></b></td>
    </tr>
    </table>
    <table border="1" width="100%" height="171" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
    <tr>
    <td width="100%" height="165" valign="top">
    <p align="left"><b>User ID</b> :
    <input type="text" name="id" value="<%=r.getString(1)%>" size="4   
    ((((((( in the statement above, name="id" should be changed to something like name="id"<%=ii%>
    Where ii is a counter that tells you how many times you have gone through the loop so far.
    The reason for this is that each textfield you generate must have a unique name rather than all have the same name
    such as 'id'. This change will give them names such as id0, id1, id2. Then when you submit the page, you can uniquely
    identify each input textfield.))))))
    <b>status</b>:<%=r.getString(5)%</p>
    <p><b>Leave From</b> : <%=r.getString(2)%></p>
    <p><b>Leave From</b> : <%=r.getString(3)%></p>
    <p><b>Approve</b> : <select size="1" name="approved">
    (((( the above select also has to have a unique name for each time through the loop. Change it to name="approved"<%=ii%>
    <option value="Approved">Approved</option>
    <option value="Cancelled">Cancelled</option> </select></p>
    <%
    con.close();
    %>
    <table border="1" width="100%" bordercolor="#FFFFFF" bordercolorlight="#FFFFFF" bordercolordark="#FFFFFF">
    <tr>
    <td width="100%" bgcolor="#999966">
    <p align="center"><input type="reset" value="Clear" name="B1">
    <input type="submit" value="Submit" name="B2"></td>
    </tr>
    </table>
    </td>
    </tr>
    </table>
    </form>
    </body>
    </html>
    (((((((note you would be better off long term to put your business logic in a servlet and dispatch to the JSP page which will only have the responsiblity to display the data.
    Also, connection pooling is better than the above.

  • Urgent: How to get value from Element Node?

    Hi All,
    I have an xml like below:
    <?xml version="1.0"?>     
    <Accounts>
    <Account rowid="1">
    <Account_Id>1</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>SB</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    <Account rowid="2">
    <Account_Id>2</Account_Id>
    <Customer_Id>1</Customer_Id>
    <Account_Type>CD</Account_Type>
    <Balance>1000.00</Balance>
    </Account>
    </Accounts>
    I am trying to get the value in the Account_Id element, but I am getting null everytime. Here is my code:
    import com.sun.org.apache.xerces.internal.impl.xs.dom.DOMParser;
    DOMParser parser = new DOMParser();
    parser.parse("D:\\Temp\\PCORDBMS\\"+tableName+".xml");
    Document doc = parser.getDocument();
    NodeList nodes = doc.getElementsByTagName("Account");
    for(int i=0;i<nodes.getLength();i++) {
    Node fc=nodes.item(i).getFirstChild();
    System.out.println(fc.getNodeValue());
    I think, since fc node is of the type Element - getNodeValue() is not returning the value. I also tried getting child nodes, getting attributes for fc & then getNodeValue.
    Am I missing something? Appreciate your help.
    Thanks,
    Niranjan

    Hi Niranjan,
    I used the JAXP DocumentBuilder and DocumentBuilderFactory classes. I use JSE 5.
    Here's the complete code that works for me:
    package com.trfsol.domtester;
    import javax.xml.parsers.DocumentBuilder;
    import javax.xml.parsers.DocumentBuilderFactory;
    import org.w3c.dom.Document;
    import org.w3c.dom.Node;
    import org.w3c.dom.NodeList;
    public class DomTester {
         * @param args
         public static void main(String[] args) {
              String filename = "C:\\Java workspaces\\Eclipse\\Workspace\\Test\\test.xml";
              try {
                   // Parse XML file
                   DocumentBuilderFactory factory =
                        DocumentBuilderFactory.newInstance();
                   DocumentBuilder parser = factory.newDocumentBuilder();
                   Document document = parser.parse(filename);
                   // Get all "Account" nodes
                   NodeList accountNodes = document.getElementsByTagName("Account");
                   // Iterate over nodes
                   for (int index = 0; index < accountNodes.getLength(); index ++) {
                        NodeList childNodes = accountNodes.item(index).getChildNodes();
                        for (int subIndex = 0; subIndex < childNodes.getLength(); subIndex ++) {
                             Node childNode = childNodes.item(subIndex);
                             System.out.println(childNode.getTextContent());
              catch (Exception e) {
                   System.err.println("Exception: " + e.getMessage());
    Regards, Ronald

  • Urgent : FB60 line item value splitting

    All,
    My client needs to split the value of line item by the specified percentage.
    When clicking simulate/Post button
    1. The amount of the line item is split by the specified percentage.
    2. The tax amount is split by the specified percentage.
    Does anyone know which user-exit or method i could use to meet this expectation?
    Thanks a lot!
    suresh

    Hi,
        How r u and this is anil.  i doesnt understand the question.
      will  u please clearly mention what do u want so that i can help u
    u rs friend
    anilkumar

  • (Urgent) Sorting search help values in Web Report

    Hello Friends,
    We have a web report which uses a variable made on 0CALMONTH. The order of display of values for this variable search help is 02/2004, 03/2004, 01/2005, 07/2006, 08/2006, 05/2007. In this order we have the latest date (05/2007) displayed at the end of the list. What we want is that the values in the search help of 0CALMONTH should be displayed in the reverse order i.e. latest date first (05/2007, 08/2006, 07/2006... etc).
    Thanks in advance for your assistance.
    Regards,
    Prem.

    Hi Premanand,
    If u display the report in Internet Explorer there you can see differnet buttons like
    Save View, Book mark, Variable Screen etc...There click Save View give tech name and descryption. After Sorting use this in WAD instead selecting query , select this view and execute.
    Assign Points Pls...
    Best Regards,
    SG

  • Urgent Regarding round off values in script

    Hi Gurus,
    I want to display round off values in total amount . Order conformation
    i wrote one suroutine but it is not working , it is going for dump.
    Eg:- total amount = 10004.49 it should display in 10004.
             total amount                 = 10004.51  it should display in 10005.
    Plz help.
    REPORT  ZVALUES.
    tables:komk.
    form round TABLEs INTAB  Structure ITCSY
                                         OUTTAB structure ITCSY.
    data: w_fkwrt type fkwrt,
             w_fkwr type fkwrt.
    read table intab with key name = 'KOMK-FKWRT'.
    if sy-subrc = 0.
    w_fkwrt = intab-value.
    w_fkwr = ceil( w_fkwrt ).
    outtab-value = w_fkwr.
    condense outtab-value.
    modify outtab transporting value.
    endif.
    endform.
    in layout i call this subroutine like this.
    /:DEFINE &KOMK-FKWRT1& := &KOMK-FKWRT&.
    /:PERFORM ROUND IN PROGRAM ZVALUES.
    /:USING &KOMK-FKWRT&.
    /:CHANGING &KOMK-FKWRT1&.
    /:ENDPERFORM.
    SU Final amount,,,,,,,,,,,,,,,,&KOMK-FKWRT(I13)&
    Thanks & Regards,
    Vamshi

    Use this FM
    CALL FUNCTION 'HR_IN_ROUND_AMT'
      EXPORTING
        amount        = p_amt
        rndoff        = '100'.
       RNDLMT        = 'N'
    IMPORTING
       RETAMT        =
       DLTAMT        =

  • Urgent - How to pass value to Multiline container element in workflow

    Hi,
      I hav a requirement as below...
    1) In a Bus. Object, there is a method with a parameter which is Multiline.
    2) When I execute it directly from Bus. Object, I am able to populate any no. of lines to the multiline parameter & execute it. It is working correctly.
    3) Now I have created a task for the same Method & used it in my workflow.
    4) I want to pass multiline values to the parameter from workflow.
    5) I dont have any internal table being filled in the previous steps. I directly want to assign variables or constants to it.
    How can I do it????
    Thanks,
    Sivagami

    hi sivagami,
    Please help me. I am also facing same type of problem. i am new to workflow. i am using using FM sap_wapi_write_container. to write into the container. but here my problem is i don know wat is the element name to refer to the value. if i give any element naem its taking as separate element & not as the same multiline container. i hope u will be able to assist me since u have worked on the same type of problem.
    If u help i will be highly thankful to u.
    Thanks & Regards
    Nigesh

  • URGENT: Mask on Total value

    Hi all,
    I have a customer who needs to format the Total value on a classic table to show it with 4 decimal places like this 10,500.0000. In order to achieve such requirement I tried the following code in 'processRequest' method, but no success.
    OATableBean tableBean = (OATableBean)webBean.findChildRecursive("AllocationDataTable");
    if(tableBean != null) {
    tableBean.prepareForRendering(pageContext);
    OAMessageStyledTextBean total = (OAMessageStyledTextBean)tableBean.findChildRecursive("UnitLandedCost");
    if (total != null) {
    oracle.cabo.ui.validate.Formatter formatter = new OADecimalValidater("#,##0.0000;#,##0.0000","#,##0.0000;#,##0.0000");
    total.setAttributeValue(ON_SUBMIT_VALIDATER_ATTR, formatter);
    Please, can anyone comment what is wrong? Workarounds?
    Thanks.
    Eduardo

    I did manage to solve this. My fields are VARCHAR2 to start with. So in the AM I save the final tota for the column in a view table (SprintTotals) .
    Then in the controller, I retrieve the saved total.
    OAViewObject voRow = (OAViewObject)am.findViewObject("SprintTotalsVO1");
    voRow.setWhereClause(null);
    voRow.executeQuery();
    Row row1 = voRow.first();
    String docs = "";
    if(row1 != null )
    System.out.println("in calls");
    docs = (String) (voRow.getCurrentRow()).getAttribute("*Totalcurchg*");
    System.out.println("docs = " + docs);
    //The following code handles the formatting
    OAMessageStyledTextBean regUSDAmtBean=(OAMessageStyledTextBean)webBean.findIndexedChildRecursive("*Totalcurchg*");
    Formatter formatter2 = new OADecimalValidater("$#,##0.00;($#,##0.00)","$#,##0.00;($#,##0.00)");
    regUSDAmtBean.setAttributeValue(*ON_SUBMIT_VALIDATER_ATTR*, formatter2);
    This line displays the total value for the field. It uses the actual value that is stored in docs
    regUSDAmtBean.setAttributeValue(*TABULAR_FUNCTION_VALUE_ATTR, docs* );
    This setting allows for the dollar sign in the column data and the total value. This procedure requires that the EO is defined first.
    The only problem I have let is right aligning the total value.

  • Urgent :How to get values after parsing

    Hi ..
    I am using SAX parser for parsing a xml document.
    After parsing i want to get the valuse to make a jsp page. how do i get the Values after parsing.
    the code i am working on is:
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    import java.io.IOException;
    import org.apache.xerces.parsers.SAXParser;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    public class performDemo
    public static void main(String args[]) throws Exception
         performDemo p =new performDemo();
         p.performDemo(args[0]);
    public void performDemo(String uri)
    System.out.println("Parsing XML File: " + uri + "\n\n");
    try {
    XMLReader parser = new SAXParser();
    ContentHandler contentHandler = new MyContentHandler();
    parser.setContentHandler(contentHandler);
    parser.parse(uri);
    } //try ends here
    catch (IOException e)
    System.out.println("Error reading URI: " + e.getMessage());
         } //catch ends here
    catch (SAXException e)
    System.out.println("Error in parsing: " + e.getMessage());
    } //catch ends here
    } //function ends here
    class MyContentHandler implements ContentHandler {
    private Locator locator;
    public void setDocumentLocator(Locator locator) {
    System.out.println(" * setDocumentLocator() called");
    this.locator = locator;
    public void startDocument() throws SAXException {
    System.out.println("Parsing begins...");
    public void endDocument() throws SAXException {
    System.out.println("...Parsing ends.");
    public void processingInstruction(String target, String data)
    throws SAXException {
    System.out.println("PI: Target:" + target + " and Data:" + data);
    public void startPrefixMapping(String prefix, String uri) {
    System.out.println("Mapping starts for prefix " + prefix +
    " mapped to URI " + uri);
    public void endPrefixMapping(String prefix) {
    System.out.println("Mapping ends for prefix " + prefix);
    public void startElement(String namespaceURI, String localName,
    String rawName, Attributes atts)
    throws SAXException {
    System.out.print("startElement: " + localName);
    if (!namespaceURI.equals("")) {
    System.out.println(" in namespace " + namespaceURI +
    " (" + rawName + ")");
    } else {
    System.out.println(" has no associated namespace");
    for (int i=0; i<atts.getLength(); i++)
    System.out.println(" Attribute: " + atts.getLocalName(i) +
    "=" + atts.getValue(i));
    public void endElement(String namespaceURI, String localName,
    String rawName)
    throws SAXException {
    System.out.println("endElement: " + localName + "\n");
    public void characters(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("characters: " + s);
    public void ignorableWhitespace(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    System.out.println("ignorableWhitespace: [" + s + "]");
    public void skippedEntity(String name) throws SAXException {
    System.out.println("Skipping entity " + name);
    PLese suggests.

    Dear Gaurav
    Please consider the blow JSP CODE:
    <%@ page import="sax.*,java.io.*,java.util.*,java.lang.*,java.text.*;" autoFlush="true" session="true" buffer="8kb"%>
    <HTML>
    <HEAD>
    <TITLE> SAX PARSER BEAN</TITLE>
    </HEAD>
    <BODY>
    <jsp:useBean id="p" class="sax.performDemo" scope="page"/>
    <%
    String file = request.getParameter("loc");
    String xpath = request.getParameter("xpath");
    %>
    <br> In <%=file%> and for <%=xpath%> is <br> <%=p.performDemo(file,xpath)%>
    <br><br>Node Names: <%=p.getNodes()%>
    <br><br>AttNames: <%=p.getAttNames()%>
    <br><br>AttValues: <%=p.getAttValues()%>
    <br><br><%=p.clearAll()%>
    </BODY>
    </HTML>
    THIS IS CORRESPONDING SAX BEAN TO THE ABOVE JSP CODE
    I am using "sax" package. PLease make changes accordingly.
    package sax;
    import java.util.*;
    import java.lang.*;
    import java.io.*;
    import java.io.IOException;
    import org.apache.xerces.parsers.SAXParser;
    import org.xml.sax.Attributes;
    import org.xml.sax.ContentHandler;
    import org.xml.sax.ErrorHandler;
    import org.xml.sax.Locator;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import org.xml.sax.XMLReader;
    import org.xml.sax.helpers.XMLReaderFactory;
    public class performDemo
    public static ArrayList NodeNames = new ArrayList();
    public static ArrayList attNames = new ArrayList();
    public static ArrayList attValues = new ArrayList();
    public static String QueryString="",QString1="", QString2="",start="",end="";
    public static boolean start_collecting=false;
    public static void main(String args[]) throws Exception
    performDemo p =new performDemo();
    System.out.println("\nResult: "+p.performDemo(args[0],args[1]));
    System.out.println("\nNodes "+p.getNodes());
    System.out.println("\nAttNames "+p.getAttNames());
    System.out.println("\nAttValues "+p.getAttValues());
    public String performDemo(String uri,String xpath)
    //System.out.println("Parsing XML File: " + uri + "\n\n");
    QueryString=xpath;
    StringTokenizer QueryString_ST = new StringTokenizer(QueryString,"/");
    if(QueryString_ST!=null)
         int stLen = QueryString_ST.countTokens();
         while(QueryString_ST.hasMoreTokens())
              if((QueryString_ST.countTokens())>1)
              QString1 = QueryString_ST.nextToken();
    else if((QueryString_ST.countTokens())>0)
                   QString2 = QueryString_ST.nextToken();
    try
    XMLReader parser = new SAXParser();
    ContentHandler contentHandler = new MyContentHandler();
    parser.setContentHandler(contentHandler);
    parser.parse(uri);
    return("Given File Parsed Successfully!");
    } //try ends here
    catch (IOException e)
    //System.out.println("Error reading URI: " + e.getMessage());
    return("IO Exception Occured!! \n \n Check the file name and path");
    } //catch ends here
    catch (SAXException e)
    //System.out.println("Error in parsing: " + e.getMessage());
    return("SAX Exception Occured!!! \n \n Check the xpath ");
    } //catch ends here
    } //function ends here
    public ArrayList getNodes()
    return NodeNames;
    public ArrayList getAttNames()
    return attNames;
    public ArrayList getAttValues()
    return attValues;
    public String clearAll()
    NodeNames.clear();
    attNames.clear();
    attValues.clear();
    return("Cleared!!");
    class MyContentHandler extends performDemo implements ContentHandler {
    private Locator locator;
    public void setDocumentLocator(Locator locator) {
    //System.out.println(" * setDocumentLocator() called");
    this.locator = locator;
    public void startDocument() throws SAXException {
    //System.out.println("Parsing begins...");
    public void endDocument() throws SAXException {
    //System.out.println("...Parsing ends.");
    public void processingInstruction(String target, String data)
    throws SAXException {
    //System.out.println("PI: Target:" + target + " and Data:" + data);
    public void startPrefixMapping(String prefix, String uri) {
    //System.out.println("Mapping starts for prefix " + prefix + " mapped to URI " + uri);
    public void endPrefixMapping(String prefix) {
    //System.out.println("Mapping ends for prefix " + prefix);
    public void startElement(String namespaceURI, String localName,String rawName, Attributes atts)throws SAXException
    start=localName;
    if(start.equals(QString2))
    start_collecting=true; //start collecting nodes
                   if(start_collecting)
    if((atts.getLength())>1)
                   NodeNames.add(localName);
                   for(int i=0;i<=(atts.getLength()-1);i++)
              attNames.add((String)atts.getLocalName(i));
              attValues.add((String)atts.getValue(i));
    //System.out.print("startElement: " + localName);
    //if (!namespaceURI.equals("")) {
    ////System.out.println(" in namespace " + namespaceURI + " (" + rawName + ")");
    //} else {
    //System.out.println(" has no associated namespace");
    //for (int i=0; i<atts.getLength(); i++)
    //System.out.println(" Attribute: " + atts.getLocalName(i) +"=" + atts.getValue(i));
    public void endElement(String namespaceURI, String localName,String rawName) throws SAXException
         end=localName;
         if(end.equals(QString2))
              start_collecting=false;
    //System.out.println("endElement: " + localName + "\n");
    public void characters(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    //System.out.println("characters: " + s);
    public void ignorableWhitespace(char[] ch, int start, int end)
    throws SAXException {
    String s = new String(ch, start, end);
    //System.out.println("ignorableWhitespace: [" + s + "]");
    public void skippedEntity(String name) throws SAXException
    //System.out.println("Skipping entity " + name);
    Cheers....!!
    Newton
    Bangalore, INDIA

Maybe you are looking for

  • Some tunes don't play in airport express

    A few of the tunes in my play list show a little display icon. Although most of of the tunes play just fine through my airport express, the ones with the display icon switch back to my computer for sound???? frank

  • DirectX problems - Onboard video problems? K9VGM-V

    I am having problems with loading the new Nero suite (7.xx) version.  It keeps coming back with a DirectX error.  The guys at Ahead are telling the same thing.  My question is:  Can I use DirectX 9.0c using the onboard video?  I don't know what bios

  • Multiple xml files in one application?

    Is it possible to split up the xml code and let different session info objects use different xml files in one application? null

  • ASMCA equivalent in pre 11GR2 versions

    OS platform : Solaris 5.10 Was there an equivalent GUI tool like ASMCA in pre-11GR2 versions (10GR2, 11GR1) ? Without a GUI tool, how will we know that a particular LUN is a 'Candidate' or not ? Were people using Trial and Error method or FORCE optio

  • Why TIF images loaded stay in DONE status??

    Hi: When I loaded images en IPM 11GR1, this images stay in DONE status.....and i can see public......the images not in RELEASE status please help me.