Quantity gets divided by 1000 while a BAPI is used to create a quotation...

Hi all,
I am using a BAPI "BAPI_QUOTATION_CREATEFROMDATA" to create a Quotation. I am passing the value 1000 to the REQ_QTY field and that is getting stored as 1 in the Quotation. How should we handle this situation inorder to have 1000 as the quantity in the quotation?
Ur solutions will be rewarded.
Regards,
Kiran

Kiran,
Here is one:
what is the use of bapi_salesorder_simulate
You will see where the developer multiplies by 1000.
Note - All of the BAPI_CREATE objects have this same "1000" fact to them.
Now, you know it... so just code for it. 
Reward points accordingly.

Similar Messages

  • Which FM/BAPI is used for creating repair orders

    Hi,
       Please tell me which FM / BAPI is used for creating service notifications,Repair/Service order and Delivery Docs.How to find out??
    Please someone help me.
    Thanks,
    Neelima

    For service notification you can try using this.
    'BAPI_ALM_NOTIF_CREATE'

  • Error while doing BAPI extract using tcode  RSCRM_BAPI

    Hi,
      I am trying to extract a OLAP Bex query into a table.  However, I am getting the error message that
    Error: Metadata for extract /BIC/0CZCARRYOVR is inconsistent
    Error: Error 0 when generating from extract /BIC/0CZCARRYOVR
    Where ZCARRYOVR is my extract table.  What could be the reason?
    What had happened is that I created this extract table before and then deleted it from SE11.  But now I cannot create the table while extracting.  If I give a brand new table name then it works fine.  Is there any place where table metadata is stores.  I checked TADIR table and there was no extry.  I should have used SE14 and delete the table from database but cant use it now since the dictionary table doesnt exist.
    thanks

    Hi ,
    I have the same issues. If you have solved the issues can you please let me know the solution for this.
    Regards,
    Varma

  • Getting java.lang.NullpointerException while closing resultset aft using it

    Hi,
    I kindly request to share your ideas reg. my problem.
    I am opening a database connection using connection pool and i am using two or more resultsets and statement objects.I am closing these objects at the end of their usage.But i am getting java.lang.NullpointerException when i close them(if i don't close them it works fine). what might be the reason. Had i did any thing wrong in the code.
    please view the code
    public String storeNewConnection(String CIRCLE,String DIVISION,String SUB_DIVISION,String SECTION,String CONSUMER_NAME,String FATHER_NAME,String STREET_NAME,String DOOR_NO,String TOWN_CITY,String LAND_MARK,String PINCODE,String STDCODE,String PHONE_NO,String EMAIL,String NEIGHBOUR_SCNO,String DOCUMENT_CODE,String LT_APR_NO,String year1,String month1,String day1,String PCBNO,String CONSUMER_STATUS,String SOCIAL_GROUP,String CATEGORY_SUPPLY,String LOCATION_PREMISES,String PURPOSE_OF_SUPPLY,String DURATION,String LOAD_TYPE,String CONNECTED_LOAD,String CONTRACTED_LOAD,String APPLICATION_FEE,String DEVELOPMENT_CHARGES,String SECURITY_DEPOSIT,String ADDL_SECURITY_DESPOSIT,String DEPOSITED_THRU,String DD_CHEQUE_DETAILS,String year2,String month2,String day2,String REMARKS,String POLE_NO)
              int count=0;
              Statement st=null;
              ResultSet rs=null,rs1=null,rs2=null,rs3=null;
              PreparedStatement pst=null;
              String result="",query="",sysDate="",sysDate2="";
              String reg_no = "";
              try
                   st=con.createStatement();
                   //Check dates with sys date
                   String date1 =null;                    
                   String date2 =null;
                   if(! (year1.equals("") || month1.equals("") || day1.equals("")) )
                        date1=day1+"-"+month1+"-"+year1;
                        rs2=st.executeQuery("select round(to_date('"+date1+"','dd-Mon-yyyy')-to_date(sysdate,'dd-Mon-yy')) from dual");
                        rs2.next();
                        if(rs2.getInt(1) != 0)
                             return "false";                              
                   if(! (year2.equals("") || month2.equals("") || day2.equals("")) )
                        date2=day2+"-"+month2+"-"+year2;
                        rs3=st.executeQuery("select round(to_date('"+date2+"','dd-Mon-yyyy')-to_date(sysdate,'dd-Mon-yy')) from dual");
                        rs3.next();
                        if(rs3.getInt(1) != 0)
                             return "false";     
                   rs1=st.executeQuery("select to_char(sysdate,'yyyyMONdd'),to_char(sysdate,'dd-Mon-yyyy') from dual");
                   rs1.next();
                   sysDate=rs1.getString(1);
                   sysDate2=rs1.getString(2);
                   rs=st.executeQuery("select max(SERIAL_NO) from NEW_CONNECTIONS where to_char(sysdate,'yyyy') = to_char(REG_DATE,'yyyy') and to_char(sysdate,'mm') = to_char(REG_DATE,'mm') and SUB_DIVISION_CODE = "+SUB_DIVISION+" and DIVISION_CODE = "+DIVISION+" and CIRCLE_CODE = "+CIRCLE+" ");
                   if(rs.next())
                        count = rs.getInt(1);
                        count++;                              
                   else
                        count=1;
                   query="insert into NEW_CONNECTIONS ( "+
                        " REG_NO,SERIAL_NO,REG_DATE,CIRCLE_CODE,DIVISION_CODE,SUB_DIVISION_CODE,SECTION_CODE, "+
                        " CONSUMER_NAME,FATHER_NAME,STREET_NAME,DOOR_NO,TOWN_CITY,LAND_MARK,PINCODE, "+
                        " STDCODE,PHONE_NO,EMAIL,NEIGHBOUR_SCNO,DOCUMENT_CODE,LT_APR_NO,LT_APR_DATE, "+
                        " PCBNO,CONSUMER_STATUS,SOCIAL_GROUP,CATEGORY_SUPPLY,LOCATION_PREMISES,PURPOSE_OF_SUPPLY,"+
                        " DURATION,LOAD_TYPE,CONNECTED_LOAD,CONTRACTED_LOAD,APPLICATION_FEE,DEVELOPMENT_CHARGES, "+
                        " SECURITY_DEPOSIT,ADDL_SECURITY_DEPOSIT,DEPOSITED_THRU,DD_CHEQUE_DETAILS,DD_CHEQUE_DATE,REMARKS,APPLICATION_STATUS,POLE_NO) "+
                        " values(?,?,'"+sysDate2+"',?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)";
                   pst = con.prepareStatement(query);
                   String cnt ="";
                   if(count <= 9)
                        cnt="0000";
                   else if(count <= 99)
                        cnt="000";
                   else if(count <= 999)
                        cnt="00";
                   else if(count <= 9999)
                        cnt="0";
                   cnt+=Integer.toString(count);
                   reg_no = CIRCLE+DIVISION+SUB_DIVISION+SECTION+"N"+cnt+sysDate;               
                   int serial_no =count;
                   int pin = 0;
                   if(!PINCODE.equals(""))
                        pin =Integer.parseInt(PINCODE);
                   int std = 0;
                   if(!STDCODE.equals(""))
                        std = Integer.parseInt(STDCODE);
                   int status = Integer.parseInt(CONSUMER_STATUS);
                   int social_group = Integer.parseInt(SOCIAL_GROUP);
                   int supply = Integer.parseInt(CATEGORY_SUPPLY);
                   int location = Integer.parseInt(LOCATION_PREMISES);
                   int purpose = Integer.parseInt(PURPOSE_OF_SUPPLY);
                   int duration = Integer.parseInt(DURATION);
                   int laod_type = Integer.parseInt(LOAD_TYPE);
                   float conn_load = Float.parseFloat(CONNECTED_LOAD);
                   int cont_load = 0;
                   if(!CONTRACTED_LOAD.equals(""))
                        cont_load =Integer.parseInt(CONTRACTED_LOAD);
                   int app_fee = Integer.parseInt(APPLICATION_FEE);
                   int dev_chg = Integer.parseInt(DEVELOPMENT_CHARGES);
                   int sec_dep = Integer.parseInt(SECURITY_DEPOSIT);
                   int addl_sec_dep = 0;     
                   if(!ADDL_SECURITY_DESPOSIT.equals(""))
                        addl_sec_dep =Integer.parseInt(ADDL_SECURITY_DESPOSIT);
                   int dep_thru = Integer.parseInt(DEPOSITED_THRU);          
                   pst.setString(1,reg_no);
                   pst.setInt(2,serial_no);
                   pst.setString(3,CIRCLE);
                   pst.setString(4,DIVISION);
                   pst.setString(5,SUB_DIVISION);
                   pst.setString(6,SECTION);
                   pst.setString(7,CONSUMER_NAME);
                   pst.setString(8,FATHER_NAME);
                   pst.setString(9,STREET_NAME);
                   pst.setString(10,DOOR_NO);
                   pst.setString(11,TOWN_CITY);
                   pst.setString(12,LAND_MARK);
                   pst.setInt(13,pin);
                   pst.setInt(14,std);
                   pst.setString(15,PHONE_NO);
                   pst.setString(16,EMAIL);
                   pst.setString(17,NEIGHBOUR_SCNO);
                   pst.setString(18,DOCUMENT_CODE);
                   pst.setString(19,LT_APR_NO);
                   pst.setString(20,date1);
                   pst.setString(21,PCBNO);
                   pst.setInt(22,status);
                   pst.setInt(23,social_group);
                   pst.setInt(24,supply );
                   pst.setInt(25,location);
                   pst.setInt(26,purpose);
                   pst.setInt(27,duration);
                   pst.setInt(28,laod_type);
                   pst.setFloat(29,conn_load );
                   pst.setInt(30,cont_load);
                   pst.setInt(31,app_fee);
                   pst.setInt(32,dev_chg);
                   pst.setInt(33,sec_dep);
                   pst.setInt(34,addl_sec_dep);
                   pst.setInt(35,dep_thru );
                   pst.setString(36,DD_CHEQUE_DETAILS);
                   pst.setString(37,date2);
                   pst.setString(38,REMARKS);
                   pst.setInt(39,1);
                   pst.setString(40,POLE_NO);
                   pst.executeUpdate();
                   result=reg_no;                                   
                   rs.close();
                   rs=null;
                   rs1.close();
                   rs1=null;
                   rs2.close();
                   rs2=null;
                   rs3.close();
                   rs3=null;
                   st.close();
                   st=null;
                   pst.close();
                   pst=null;
              catch(Exception e)
                   e.printStackTrace();
                   result="false";
                   return result;
              finally
                   if (rs != null)
                        try
                             rs.close();
                        catch (SQLException e)
                        rs = null;
                   if (rs1 != null)
                        try
                             rs1.close();
                        catch (SQLException e)
                        rs1 = null;
                   if (rs2 != null)
                        try
                             rs2.close();
                        catch (SQLException e)
                        rs2 = null;
                   if (rs3 != null)
                        try
                             rs3.close();
                        catch (SQLException e)
                        rs3 = null;
                   if (st != null)
                        try
                             st.close();
                        catch (SQLException e)
                        st = null;
                   if (pst != null)
                        try
                             pst.close();
                        catch (SQLException e)
                        pst = null;
              return result;
    Also plz help me to improve the code if necessary so that it will work fine for multiple users
    thaks & regards
    Prasanth.C

    Thanks a lot.
    i replaced the code below
    if (rs != null)
                        try
                             rs.close();
                        catch (SQLException e)
                        rs = null;
                   if (rs1 != null)
                        try
                             rs1.close();
                        catch (SQLException e)
                        rs1 = null;
                   if (rs2 != null)
                        try
                             rs2.close();
                        catch (SQLException e)
                        rs2 = null;
                   if (rs3 != null)
                        try
                             rs3.close();
                        catch (SQLException e)
                        rs3 = null;
                   if (st != null)
                        try
                             st.close();
                        catch (SQLException e)
                        st = null;
                   if (pst != null)
                        try
                             pst.close();
                        catch (SQLException e)
                        pst = null;
    instead of blindly closing the resultsets and statements
    now it works fine.
    One more thing, is my code structurally correct, i mean the variables, try...catch blocks,results,statements,database connections and overall coding. whether it looks like professional code.
    thaks & regards,
    Prasanth.C

  • Getting the following error while parsing the values usng xml parser

    Hi
    I am getting the following error while parsing the values using the code in r12 instance on linux
    declare
    XML_PARSER XMLPARSER.PARSER;
    DOC XMLDOM.DOMDOCUMENT;
    DOCELEMENT DBMS_XMLDOM.DOMELEMENT;
    BEGIN
    -- NEW PARSER
    XML_PARSER := XMLPARSER.NEWPARSER;
    -- SET SOME CHARACTERISTICS
    XMLPARSER.SETVALIDATIONMODE(XML_PARSER, FALSE);
         IF P_DIR IS NOT NULL AND P_FILENAME IS NOT NULL
         THEN
         FND_FILE.PUT_LINE(FND_FILE.LOG,'DIRECTORY FOUND'||'-'||P_DIR);
         XMLPARSER.SETBASEDIR(XML_PARSER, P_DIR);     
         -- PARSE INPUT FILE
         FND_FILE.PUT_LINE(FND_FILE.LOG,'FILE FOUND'||'-'||P_FILENAME);
         XMLPARSER.PARSE(XML_PARSER, P_DIR || '/' || P_FILENAME);     
         -- GET DOCUMENT
         DOC := XMLPARSER.GETDOCUMENT(XML_PARSER);
         LOAD_SUPP(doc);
         ELSE
         DBMS_OUTPUT.PUT_LINE('DIRACTORY/FILENAME CANNOT BE NULL');
         END IF;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.PUT_LINE('DATA NOTINSERTED'||sqlerrm);
         ROLLBACK;
    END
    I am getting the following error
    DIRACTORYL-/home/appldevORA-0000: normal, successful completion
    FILE NAME-suppliersample_data.xmlORA-0000: normal, successful completion
    DATA NOTINSERTEDORA-31001: Invalid resource handle or path name "/home/appldev/suppliersample_data.xml"
    ORA-06512: at "SYS.XDBURITYPE", line 11
    ORA-06512: at "XDB.DBMS_XSLPROCESSOR", line 142
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    ORA-29280: invalid directory path
    It could be great if some one could give a suggestion/solution.
    Thanks
    Ajesh

    Besides this is not the correct forum try to google the error message first before posting:
    http://ora-29280.ora-code.com/
    cheers

  • Getting Error while accessing the data using odata service

    Hi All,
    Iam new to SAP FIORI. 
    Iam getting the below error while accessing the data using odata service.
    "Failed to load resource: the server responded with a status of 404 (Not found)"
    "No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin "
    i have tried all the solutions like changing the url pattern "proxy/htttp".
    and disabled - security in chrome (Chrome is Updated version).
    i tried with IE still got the same problem.
    And installed all the required software in eclipse
    While installing GWPA plugin i got the following error.
    let me know if any one have idea.
    Thanks in advance.

    > Do you want to add and/or update the data in the already existing tables or do you want to replace the content completely?
    >
    > so in that way :
    > bot the options are fine what ever take less time.
    Sorry mate, but YOU have to know what you want here.
    I gave you an easy to follow set of steps.
    As you don't seam to mind the outcome, just might just use them...
    > I wanted to know weathe i can use the  loadercli for thie export import or not? if yes then is there any new steps to do before i do the export import?
    We had this discussion before...
    >
    > For that the easiest option would be just to drop the tables of SAPR3 and run the import again.
    >
    > For ease of use you could also just do:
    > - logon as superdba
    > - drop user SAPR3
    > - create user SAPR3 password SOMEPW not exclusive dba
    >
    > After these steps you can easily pump the data into the database again.
    >
    > So here in th above given steps , i am creating a new SAPR3 user and why it is not exclusive dba ?
    >  i already have that user SAPR3 can i use the same.
    Yes, you do have the SAPR3 user.
    But you don't seem to like to read documentation or learn about how the tools work or anything like that.
    Therefore I gave you s simple way to reach your goal.
    Of course it's possible to reuse the user.
    But then you would have to deal with already existing tables, already existing data etc.
    You don't seem to be able to do that. So, the easy steps might be better suited for your needs.
    regards,
    Lars

  • Order Component quantity gets changed after operation confirmation

    Order Component quantity gets changed after operation confirmation.
    We are using CO27 to issue the Material to the Order.
    When we do the confirmation of  operation. Component quantity attached to operation get changed.
    Any solution for this.

    Dear
    Please Follow the Steps
    1. Go into Co02 there u do production order with qty select the Component overview u find the Materials there please check hhow much is the qty of that particular material
    EX: Production order qty for Header Material is 10 ea
    then ur Compannets Qty is 10 or 20
    depends on the Componet Qty the Operation takes place that is because u have maintatined a base qty in Routing and BOM
    With Regards
    Pushpalas

  • Getting SY-SUBRC=2 while uploading excel using ALSM_EXCEL_TO_INTERNAL_TABLE

    Hi Experts,
    I am getting sy-subrc = 2 while uploading the file using ALSM_EXCEL_TO_INTERNAL_TABLE wiht message OLE upload error.
    If i upload the same file in another system it is not giving any error.
    I want to know in which situation we will get this error & who will resolve this error means either basis,technical or admin.
    Please give me the best answer to resolve this issue.

    Hi Naresh,
    If i upload the same file in another system it is not giving any error.
    if it is working fine in another system , it seems the rights issue in your system try to login with admin rights.
    Regards
    Parveen

  • Error while posting initial quantities using stocktaking template of DTW

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode WarehouseCode Counted
    ItemCode WarehouseCode Counted
    CHA0002 1 500
    CHA0076 1 4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    Hi Gordon,
    Thanks a lot for your time. I am able to post the quantities. Now please let me know how to update the item cost/price for these items using DTW ?
    Regards,
    Noor Hussain

  • HTTP error while downloading solaris patches using wget

    Hello,
    I am getting a HTTP error while downloading solaris patches using wget.
    'Downloading unsigned patch 113096-03.
    --2010-06-18 03:51:15-- http://sunsolve.sun.com/pdownload.pl?target=113096-03&method=h
    Resolving sunsolve.sun.com (sunsolve.sun.com)... 192.18.108.40
    Connecting to sunsolve.sun.com (sunsolve.sun.com)|192.18.108.40|:80... connected.
    HTTP request sent, awaiting response... 302 Moved Temporarily
    Location: http://sunsolve.sun.com/pdownload.do?target=113096-03&method=h [following]
    --2010-06-18 03:51:15-- http://sunsolve.sun.com/pdownload.do?target=113096-03&method=h
    Reusing existing connection to sunsolve.sun.com:80.
    HTTP request sent, awaiting response... 401 Unauthorized
    Unknown authentication scheme.
    Authorization failed.
    Problem downloading 113096-03.
    What am i missing here... The credentials to login to sunsolve are correct and are updated in the downloadpatch.sh script.
    Please assist
    Thanks
    Sunny

    Try download via browser url:
    [http://sunsolve.sun.com/pdownload.pl?target=113096-03&method=h]
    You need a valid support contract not just Sunsolve account for many patches.

  • DTW error while posting initial quantities using stocktaking template

    Hi All,
    I am getting this below error while posting initial quantities using stocktaking template of DTW.
    Can not find this object in B1Application-defined or object-defined error65171
    I am using B1 8.8 PL10 version. Below is my sample txt file data
    ItemCode     WarehouseCode     Counted
    ItemCode     WarehouseCode     Counted
    CHA0002     1     500
    CHA0076     1     4000
    Any help is appreciated.
    Regards,
    Noor Hussain

    HI,
      The error might be because of the cell format of warehouse code. Check if the warehouse code in the system is "1" or "01". If it is "01" u need to change the format of the cells to text or else just put the symbol (  ' ) before  the warehouse codes. This might solve your problem.
    Thanks and regards.
    Pritesh.

  • While Posting 122 getting error M7021 "Deficit of PU GR quantity 2 EA : 1100000000 1000 G102"

    Hi Experts,
    While Posting 122 getting error M7021 "Deficit of PU GR quantity 2 EA : 1100000000 1000 G102".
    Scenerio : Have received 4 peices of this material with Goods receipt using 105 document and want to return 2 pcs back to Vendor using 122 movement type and getting this error.
    Please let me know the problem as when checked with OMCQ it is showing Warning but inspite i am getting error.
    thanks

    Hi Abhishek,
    Please find enclosed the screen print for 122 mvt type and Document used is of 105 mvt type.
    Material Document 5000000097 is used for return delivery.
    Thanks

  • PO Quantity divided by 1000 in LSMW

    Hi Experts,
    Hope you can help me.
    I created a LSMW to create PO. I'm using direct input and program RM06EEI0. Everything is working fine and the PO's are created in the system. The only problem is when I look at the PO (ME23N) to check if all the data is correct, I noticed that the PO Quantity (MENGE) are divided by 1000. I mean if the value in the LSMW files is 10, in the PO shows 0.010. This happen with all the quantities I loaded.
    Any idea what is causing this?
    I don't have any translation or user defined routine that is using this field.
    Thanks in advance,
    Mairo.

    Thanks JÜrgen.
    I added 3 decimals in the source file.
    It working fine now.
    Regards,
    Mairo.

  • BAPI to get the new pernr while hiring

    Hi Guys,
           what is the BAPI/FM used to hire a new person and get the pernr created for that person?

    Hi,
    I don't think there exists a single function module/BAPI to hire an employee by its own.
    At least, I haven't come across it yet.
    The best way to hire an employee via program is to use a BDC recording on PA40 screen.
    Regards,
    Dilek

  • Getting the following Error while extending HeaderVO,LinesVO -URGENT

    Hi,
    I am extendn HeaderVO,LinesVO with the help of JDeveloper and I am getting the following error while I Print a particular Quote (Using Asoprint.xsl template) from frontend:
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (SELECT qte.ui_line_number line_number ,qte.padded_concatenated_segments item_number ,qte.item_description item_description ,qte.uom_code Order_Quantity_Uom ,DECODE(qte.line_category_code, 'RETURN', qte.quantity*(-1), qte.quantity) Ordered_Quantity ,qte.line_category_code ,qte.service_ref_line_id ,UPPER(qte.service_ref_type_code) srv_ref_type_code ,DECODE(qte.line_category_code, 'RETURN', qte.line_list_price*(-1), qte.line_list_price) unit_list_price ,DECODE(qte.line_category_code, 'RETURN', qte.line_adjusted_amount*(-1), qte.line_adjusted_amount) line_adj_price ,DECODE(qte.line_category_code, 'RETURN', qte.line_quote_price*(-1), qte.line_quote_price) unit_selling_price ,DECODE(qte.line_category_code, 'RETURN', qte.extended_list_price*(-1), qte.extended_list_price) line_total_list_price ,DECODE(qte.line_category_code, 'RETURN', qte.extended_adjusted_amount*(-1), qte.extended_adjusted_amount) line_total_adj_amt ,DECODE(qte.line_category_code, 'RETURN', qte.extended_selling_price*(-1), qte.extended_selling_price) line_total ,line_number old_line_number ,to_char(qte.start_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) start_date_active ,to_char(qte.end_date_active,nvl(FND_PROFILE.VALUE('ICX_DATE_FORMAT_MASK'), 'DD-MON-RRRR')) end_date_active ,qte.service_duration ,qte.service_period ,qte.item_type_code ,decode(qte.item_type_code, 'MDL', NVL(qte.complete_configuration_flag, 'N'), 'Z') Model_Status ,qte.quote_line_id qlid ,qte.quote_header_id ,DECODE(qte.line_category_code, 'RETURN', (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0)) FROM aso_price_adjustments_v apav where qte.quote_line_id = apav.quote_line_id )*(-1), (select qte.quantity * (nvl(sum(decode(apav.applied_flag,'Y',decode(apav.charge_type_code,NULL,0,apav.adjusted_amount),0) ), 0)) FROM aso_price_adjustments_v apav where qte.quote_line_id = apav.quote_line_id )) line_charges ,DECODE(qte.line_category_code, 'RETURN', (decode(qte.item_type_code, 'MDL', decode (qte.config_header_id, NULL, qte.extended_selling_price, (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY) from ASO_QUOTE_LINES_ALL QUOTE_LINES, ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS where quote_line_details.config_header_id=qte.config_header_id and quote_line_details.quote_line_id =quote_lines.quote_line_id)), qte.extended_selling_price))*(-1), (decode(qte.item_type_code, 'MDL', decode (qte.config_header_id, NULL, qte.extended_selling_price, (select sum(QUOTE_LINES.LINE_QUOTE_PRICE * QUOTE_LINES.QUANTITY) from ASO_QUOTE_LINES_ALL QUOTE_LINES, ASO_QUOTE_LINE_DETAILS QUOTE_LINE_DETAILS where quote_line_details.config_header_id=qte.config_header_id and quote_line_details.quote_line_id =quote_lines.quote_line_id)), qte.extended_selling_price))) model_total ,qte.attribute3 comp_info ,qte.attribute8 comp_product ,decode(qte.attribute4,NULL,'',(select manufacturer_name from mtl_manufacturers where manufacturer_id = to_number(qte.attribute4) and rownum<2)) Comp_Name ,qte.attribute5 Comp_Unit_Price ,qte.attribute6 Annual_Usage ,(qte.attribute6 * qte.attribute5)Total_Atrium ,qte.attribute7 Tot_comp_price FROM aso_pvt_quote_lines_bali_v qte) QRSLT WHERE (QUOTE_HEADER_ID = :1)
    While I remove the customizations I get the complete seeded o/p but as and when I start extending and substituting HeaderVO and LinesVO the error comes.
    Please let meknow the cause if possible

    Sumit,
    A jsp page can not read view obects, because in a jsp how would u get AM refrence.The only way to use view object in a jsp is to create a standalone AM and then create dynamic VOs, but this is not at all recommeneded approach and i doubt user would have followed it.Secondly if this is Oracle html quoting, this should not be a oaf page.
    Because user is talking in terms of VO, it looks like some oaf page, if this oaf page, then getting error stack would only be possible through FND:Diagnostics
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Maybe you are looking for

  • Same Number Range for OTHR and DLFC

    Hi All, I want to know whether we can mantain different number range for OTHR and DLFC transaction Type for same Series Group. i.e for Returns Vendor Delivery Excise Invoice(MM side-OTHR) and Outgoing Excise Invoice(Sales Side-DLFC). Pls guide me.. W

  • Multi data sources with a mismatch of fields

    Post Author: [email protected] CA Forum: General Hi, I'm writing a crystal report (using crystal XI), pulling data from two different databases.  The first issue is how to display these concurrently - I'm guessing the best option is to build t

  • Bogus "Upgrade AIR Runtime" messages

    I am developing using Flash Builder 4.5.1 on Mac, debugging via USB on a Motorola Xoom.  Every time I run or debug my app on the device, I get the following dialog box: Upgrade AIR Runtime Your device has an older version of Adobe AIR installed. Woul

  • Distorted picture from camera and all photos that come in

    Got iphone 4 today, camera works but it is distorted almost and wont bring up photos to their full quality even through the internet or you tube footage. Anyone know what to do?

  • Unable to FTP a file

    Hi Experts,     My requirement is i have to send a file through FTP from SAP to WIndows Server...     I have checked the forum for the answer but couldnt solve my req..    My req is....     I have data in internal table ...now i have to place this da