Gross Price Calculation sql query

Hi Guys,
I have created a udf (quantity s) in purchase order service type. now i want the gross price to be calculated based on the quantity. can anyone help me on the query for the formatted search.
Please help.
cheers
satish

Hi,
         Try this......
SELECT (($[POR1.Price.NUMBER] ) * ($[POR1.u_sqty.NUMBER]))

Similar Messages

  • Gross Price Calculation problem

    Dear Experts,
    I'm facing one problem for gross price in Quotation as below, pl let me know the reason for the same.
    1) I'm using SAP 2007 B PL 07
    2) in doc settings, i've ticked  "Include tax in Quotation" option for Sales Quotations
    In a sale quotation for an item, following are row details
    Qty - 10
    Unit Price - 100
    Discount - 0
    Price After Discount - 100
    Tax Amt - 217.4 (this is BED@8EC@2HEC@1[email protected])
    Gross Price - 123.5
    Here, how gross price is coming as 123.5? shouldn't it be as 100 + tax amt per item i.e.217.4/10 = 21.74
    hence gross price should have as 100 + 21.74 = 121.74.
    But system is showing it as 123.5 I'm just not able to understand this.
    pl. help asap.
    thanks in advance.

    kaps
    you are right, sorry for that, may be i was in hurry to reach the client
    any ways as far as your problem is concerned the only thing you can do is please refer this note
    In the India  localizations, the values of the "Gross Price" and "Gross Total" fields are not correct for marketing documents. For example:
    If you change the value of the "Tax Amount" field, the values of the "Gross Price" and "Gross Total" fields remain unchanged.
    If a tax code contains a tax type with the "Included in Price" property, the application displays incorrect values in the "Gross Price" and "Gross Total" fields.
    Solution
    This is a known problem for the India and Brazil localizations. Currently, avoid using the "Gross Price" and "Gross Total" fields. The fixed solution will be provided in a future patch or release.
    hope you got it now
    Rizz

  • SQL Query Calculating Price based on logic

    Hi Experts,
    Here is my table records,
    SHIPMENT_ID     SHIP_PRICE     SHIP_ADDT_PRICE     PRODUCT_ID     PRODUCT_QTY
    1000          3.95          1          12          2
    1000          0          0          17          1
    1000          6.95          2          11          4
    1001          0          0          17          1
    1001          12.95          1          12          2
    1001          12.95          2          11          4
    1002          0          0          17          1
    1002          20.95          1          12          2
    1002          20.95          2          11          4For Each Shipment:
    I need to get maximum shipprice (no need to consider product and qty).
    then to manipulate as follows from existing sample records such as
    SHIPMENT_ID     SHIP_PRICE     
    1000          (1*6.95)+(4-1*2)     -- Maximum Price Calculation for particular shipment
    1000          (1*0)               -- Other product calculation for same shipment
    1000          (4*2)               -- Other product calculation for same shipment
    1001          (1*12.95)+(4-1*2)     -- Maximum Price Calculation for particular shipment
    1001          (1*0)               -- Other product calculation for same shipment
    1001          (4*2)               -- Other product calculation for same shipment
    1002          (1*20.95)+(4-1*2)     -- Maximum Price Calculation for particular shipment
    1002          (1*0)               -- Other product calculation for same shipment
    1002          (4*2)               -- Other product calculation for same shipment
    Max Shipprice Row for each Shipment
    (SHIP_PRICE)+(remaining PRODUCT_QTY if PRODUCT_QTY>1 + SHIP_ADDT_PRICE)
    Other than Max shipprice for each shipment
    (PRODUCT_QTY + SHIP_ADDT_PRICE)
    I am struggling here with logic how to proceed it, Any suggestions related to this?
    Thanks,

    Hi,
    Sorry to disturb you again, it seems the requirement is not met correct.
    The given answer just worked out for that data. May be i have not conveyed correctly.
    Here is what i need
    Table Records
    SHIPMENT_ID     SHIPMENT_PRICE     SHIPMENT_ADDT_PRICE     PRODUCT_ID     PRODUCT_QTY     VIRTUAL_COLUMN (Just for your Reference)     
    1000          6.95          2               11          4          1
    1000          6.95          2               11          4          2
    1000          3.95          1               13          2          3
    1000          3.95          1               12          2          4
    1001          12.95          2               11          4          5
    1001          12.95          1               13          2          6
    1001          12.95          2               11          4          7
    1001          12.95          1               12          2          8
    1002          20.95          1               12          2          9
    1002          20.95          2               11          4          10
    1002          20.95          2               11          4          11
    1002          20.95          1               13          2          12
    Repeated values in table with Maximum Value,
    SHIPMENT_ID     SHIP_PRICE     SHIPMENT_ADDT_PRICE     PRODUCT_QTY     PRODUCT_ID     VIRTUAL_COLUMN
    1000          6.95          2               4          11          1
    1000          6.95          2               4          11          2
    1001          12.95          2               4          11          5
    1001          12.95          2               4          11          7
    1002          20.95          2               4          11          10
    1002          20.95          2               4          11          11*
    In this Case, There are two rows same with maximum value for all three shipments,
    but need to take one row as maximum and to consider the other as like not maximum row to process the logic
    I have considered the Record with VIRTUAL_COLUMN value 1,5 and 10 as maximum value and others as not maximum values
    Expected Result (For Each Row) - Just listed for one shipment_id = 1000 here
    SHIPMENT_ID     SHIP_PRICE     CALCULATION          STEPS                                        VIRTUAL_COLUMN     
    1000          41.7          (1*6.95)+((4-1)*2)     Maximum ShipPrice + (PRODUCT_QTY-1)*SHIPMENT_ADDT_PRICE          1
    1000          8          (4*2)               PRODUCT_QTY*SHIPMENT_ADDT_PRICE                         2
    1000          2          (2*1)               PRODUCT_QTY*SHIPMENT_ADDT_PRICE                         3
    1000          2          (2*1)               PRODUCT_QTY*SHIPMENT_ADDT_PRICE                         4*Note: The virtual column in the provided data is just for reference and not exists in table                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Is there a way to consolidate calculations used in SQL Query Data Sets?

    I am building SQL Query Data Sets against multiple DB Views which all have different date formats. I have the date parameter working well, but want to consolidate the changes that I have to do to it especially for the quarter. For example the SQL against a monthly view would use "where year_month > to_char(:ST_DATE, 'YYYY-MM')" which is not too hard, but to make that work for the quarterly view I need several concats and a decode to get a "> '2012-Q2'". I would like not to have to do this within every where clause. I had put this into a global element hoping to use that in a filter for the data set, but the filter does not have access to global elements only parameters.
    Is there any way to refer to a calculated global element from the data set to do this? I am using Layout Templates, so even if I wanted to I could not do the condition within the template.
         Thanks,
         Rick

    Change the following line to include the red coloured parts
    <div class="MasterColumn" spry:repeat="ds4" spry:setrow="ds4" spry:hover="MasterColumnHover" spry:select="MasterColumnSelected">
      <span>{Dsp_#}</span><span>{Dsp_WkDay}</span><span>{Dsp_Event}</span>
    </div>
    The add the following style rule to your document:
    .MasterColumn span {
        display: inline-block;
    I hope this helps.
    Ben

  • SQL query not calculating

    SQL query not calculating
    gross_amount is giving the value of extended_amount and the gross_price_rc is giving the value of unit_selling_price
    select customer_trx_line_id,
    ( extended_amount / 1- (decode(decode(attribute6,null,0)+decode(attribute7,null,0)+decode(attribute8,null,0)+decode(attribute9,null,0)/100,null,0,1,0))) GROSS_AMOUNT,
    ( unit_selling_price /1-(decode(decode(attribute6,null,0)+decode(attribute7,null,0)+decode(attribute8,null,0)+decode(attribute9,null,0)/100,null,0,1,0))) gross_price_rc
    from ra_customer_trx_lines_all
    where attribute6 is not null or attribute7 is not null or attribute8 is not null or attribute9 is not null
    whats the isuue here??
    Thanks

    decode(attribute7,null,0)Looking at it again, this always returns 0 or NULL, so it not really surprising
    DECODE
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/functions040.htm#i1017437
    CASE
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/expressions004.htm#i1033392

  • Calculations Using SQL Query

    Hi All,
    I am using Oracle Database Version 11.2.
    I have a formula (A-B)/[(A-B)/10]. The tables that are holding the rows for this calculations are given below:
    ROWS_TAB
    ====== ===================
    Row          Amount
    ====== ===================
    A            5000
    B            -5000
    FORMULA_TAB
    ======== =========== ======== =============
    | ROW#  | Operator            | ROW        |   CONSTANT   |
    ======== =========== ======== =============
    | 10        |     E                   |      A       |                         |
    | 20        |     -                    |     B        |                         |
    | 30        |     E                   |      A       |                         |
    | 40        |     -                    |     B        |                         |
    | 50        |     /                    |               |      10                |
    | 60        |    /                     |               |                          |
    ======== =========== ======== =============
    The operator E starts a new calculation. The above formula has two sub-expressions thereby the table has two rows with E. Minus denoted by -, Plus denoted by +, Multiply denoted by *, and Division denoted by /.
    I want to write single SQL query to perform this calculation. Is it achievable in SQL?
    The scripts used to generate the tables are as below:
    create table ROWS_TAB
    (row_name VARCHAR2(1),
    amount NUMBER);
    create table FORMULA_TAB
    (row# NUMBER,
    operator VARCHAR2(1),
    row_name VARCHAR2(1),
    constant NUMBER);
    INSERT INTO ROWS_TAB VALUES('A', 5000);
    INSERT INTO ROWS_TAB VALUES('B', -5000);
    INSERT INTO FORMULA_TAB VALUES(10, 'E','A',null);
    INSERT INTO FORMULA_TAB VALUES(20, '-','B',null);
    INSERT INTO FORMULA_TAB VALUES(30, 'E','A',null);
    INSERT INTO FORMULA_TAB VALUES(40, '-','B',null);
    INSERT INTO FORMULA_TAB VALUES(50, '/','',10);
    INSERT INTO FORMULA_TAB VALUES(60, '/','','');
    Can anyone help in writing SQL query....
    Thanks in advance
    Best Regards
    Bilal

    As Frank said, it would be much easier to simply input the formula. Then, assuming you have OLAP option:
    variable formula varchar2(30)
    exec :formula := '(A-B)/((A-B)/10)';
    with t as (
               select  *
                 from  rows_tab
                 model
                   dimension by(row_number() over(order by row_name) r)
                   measures(
                            row_name,
                            amount,
                            count(*) over() cnt,
                            cast(:formula as varchar2(4000)) formula
                   rules(
                         formula[any] order by r = replace(nvl(formula[cv() - 1],formula[cv()]),row_name[cv()],amount[cv()])
    select  :formula || ' = ' || dbms_aw.eval_number(formula) result
      from  t
      where r = cnt
    RESULT
    (A-B)/((A-B)/10) = 10
    SQL>
    And if you do not have OLAP, you could use xquery:
    with t as (
               select  *
                 from  rows_tab
                 model
                   dimension by(row_number() over(order by row_name) r)
                   measures(
                            row_name,
                            amount,
                            count(*) over() cnt,
                            cast(:formula as varchar2(4000)) formula
                   rules(
                         formula[any] order by r = replace(nvl(formula[cv() - 1],formula[cv()]),row_name[cv()],amount[cv()])
    select  :formula || ' = ' || xmlquery(replace(formula,'/',' div ') returning content) result
      from  t
      where r = cnt
    RESULT
    (A-B)/((A-B)/10) = 10
    SQL>
    SY.

  • Creating a ad-hoc calculation using sql query

    Hi All,
    I want to know if its possible some way to create a ad-hoc sql query inside a workbook so as to create a calculation using that sql.
    I have a folder which gives me balance for any period. My requirement is to display current period balance along with prior years closing balance in same record for each code combination. I dont want to modify folder definition.
    Thanks for your inputs.
    Vishal.

    You could try creating a custom function for this purpose. You would need to register the function in the End User Layer and then you can call the function from your report.

  • Discoverer Report showing Null VS Show SQL query showing results !!!

    I created a simple Cross Tab Discoverer report from a custom SQL which has a calculation for balances. The output is giving all null values even though there are balances. The output doesn't seem right. So I copied the query from Tools-->Show SQL and ran the query in the TOAD where I'm showing balances for the report. I don't understand why it is not showing in the discoverer. Please help.
    Thanks
    Edited by: PA1B on Jan 27, 2010 11:40 AM

    Sorry for late reply.
    Below is the Show SQL query. I don't think the query is application dependent. C_1 is my calculation.
    SELECT o279709.SEGMENT3 as E279727,
    o279709.SEGMENT4 as E279728,
    CASE WHEN o279709.CURRENCY_CODE = 'USD' AND o279709.TRANSLATED_FLAG <> 'Y' THEN SUM(o279709.ENDING_BAL) ELSE 0 END as C_1,
    GROUPING_ID(o279709.CURRENCY_CODE,o279709.SEGMENT3,o279709.SEGMENT4,o279709.TRANSLATED_FLAG) as GID
    FROM ( --Foriegn Entity USD Balances
    SELECT                B.SEGMENT1,
                                       B.SEGMENT2,     
                                       B.SEGMENT3,
                                  (select distinct substr(cat.COMPILED_VALUE_ATTRIBUTES,5,1) from apps.fnd_flex_values cat
                   where FLEX_VALUE_SET_ID = (select bat.FLEX_VALUE_SET_ID from apps.fnd_id_flex_structures_vl aat, apps.fnd_id_flex_segments_vl bat
                                                                                                                       where bat.id_flex_code = 'GL#' and
                                                                                                                            bat.id_flex_code = aat.id_flex_code and
                                                                                                                            aat.APPLICATION_ID = bat.APPLICATION_ID and
                                                                                                                            aat.APPLICATION_ID = 101 and
                                                                                                                            bat.SEGMENT_NAME = 'Prime Account' and
                                                                                                                            aat.id_flex_num = bat.id_flex_num
                                                                                                                            and bat.id_flex_num in (select distinct chart_of_accounts_id from apps.gl_code_combinations gat
                                                                                                                                                                              where gat.code_combination_id = A.code_combination_id))
                                       and cat.flex_value = b.segment3) ACCT_TYPE ,
                                       B.SEGMENT4,
                                       B.SEGMENT5,
                                       B.SEGMENT6,
                                       B.SEGMENT7,
                                       B.SEGMENT8,
                                       B.SEGMENT9,
                                       B.SEGMENT10,
                                       B.SEGMENT11,
                                       B.SEGMENT12,
                                       B.SEGMENT13,
                                       C.NAME,
    A.SET_OF_BOOKS_ID,
                                       A.CURRENCY_CODE,A.TRANSLATED_FLAG,
                                  SUM(NVL(A.BEGIN_BALANCE_DR,0) - NVL(A.BEGIN_BALANCE_CR,0)) BEG_BAL,
                                  SUM(NVL(A.PERIOD_NET_DR,0)) DEBITS,
    SUM( NVL(A.PERIOD_NET_CR,0)) CREDITS ,
    A.PERIOD_NAME,
                                  SUM(NVL(A.BEGIN_BALANCE_DR,0) - NVL(A.BEGIN_BALANCE_CR,0))+ SUM(NVL(A.PERIOD_NET_DR,0) - NVL(A.PERIOD_NET_CR,0)) ENDING_BAL
    FROM                     APPS.GL_BALANCES A ,
                                       APPS.GL_CODE_COMBINATIONS B,
                                       APPS.GL_SETS_OF_BOOKS     C
    WHERE                     A.CODE_COMBINATION_ID = B.CODE_COMBINATION_ID
    --AND                           A.PERIOD_NAME = 'SEP-09'
    AND                          C.SET_OF_BOOKS_ID = A.SET_OF_BOOKS_ID
    --AND                           A.TRANSLATED_FLAG <> 'Y'
    --AND                           B.SEGMENT1 = '83101'
    --AND                           B.SEGMENT3 = '14602'
    --AND                           A.SET_OF_BOOKS_ID = 77
    --AND                           A.CURRENCY_CODE = 'USD'
    GROUP BY           A.CODE_COMBINATION_ID,
                                  B.SEGMENT1,
                                       B.SEGMENT2,     
                                       B.SEGMENT3,
                                       B.SEGMENT4,
                                       B.SEGMENT5,
                                       B.SEGMENT6,
                                       B.SEGMENT7,
                                       B.SEGMENT8,
                                       B.SEGMENT9,
                                       B.SEGMENT10,
                                       B.SEGMENT11,
                                       B.SEGMENT12,
                                       B.SEGMENT13,          
                                       A.CURRENCY_CODE,
                                       A.TRANSLATED_FLAG,
                                       C.NAME,A.PERIOD_NAME,
    A.SET_OF_BOOKS_ID
    ) o279709
    WHERE (o279709.PERIOD_NAME = 'DEC-09')
    AND (o279709.SET_OF_BOOKS_ID <> 72)
    AND (o279709.SEGMENT12 = '000')
    AND (o279709.SEGMENT3 IN ('10101','10301','10502','12001'))
    AND (o279709.SEGMENT1 IN ('82901','82902','82903','83001','83003','83201'))
    GROUP BY GROUPING SETS(( o279709.CURRENCY_CODE,o279709.SEGMENT3,o279709.SEGMENT4,o279709.TRANSLATED_FLAG ),( o279709.SEGMENT3,o279709.SEGMENT4 ),( o279709.SEGMENT3 ))
    HAVING (GROUP_ID()=0)
    ORDER BY GID DESC;
    Thanks,
    PA1
    Edited by: PA1B on Jan 29, 2010 12:50 PM

  • Using gross price instead of net price at Quotation

    Hi,
    I'm working at a company that just bought SAP ERP ECC 6.0. Our consultants told us that SAP only works with Net price in MM. It sounds a little bit weird for us, because here in Brazil we usually use Gross price in all our transactions.
    Here in Brazil we have some taxes that are included in gross price and it's a hard work ask the final user to calculate the taxes out of SAP and input net Price in the system.
    I read a little bit some documentation provided by SAP at Internet called SAP Library and I found an article titled:Entering a Quotation Against an RFQ
    In this article says the following: " You enter the net price per unit in the Net price field. This price includes the vendor's normal discounts and surcharges only. Cash discounts (for prompt payment) and taxes (e.g. value-added tax) are calculated separately.
    You enter the gross price in the Net price field, and maintain the conditions for the item. Then the system automatically replaces the entered gross price with the calculated net price (see Maintaining Conditions)."
    As we can see, there are two ways to input the price. Gross price and Net price. I'd like to know if is there the possibility to configure the "mentioned conditions" for a group material and at the moment I type the gross price in Quotation the system automatically calculate the net price?
    Our consultant told us that this procedure should be done for each item in quotation, in my opinion I guess that SAP can link the applicable taxes for the material based on its group material. If something like that is possible, our daily work will be simplified so much because the system will know the taxes that should be discounted for the material and calculate automatically the net price.
    If this possibility exists, could you please tell me in technique terms (transactions) that should be set?
    Another question is about Taxable Income, is there any place in SAP where I can configure the Taxable Income for a material or group material for the taxes set at "mentioned conditions"?
    Thanks in advance,
    Sorry about my English.
    Best Regards,
    Amorim, Rodrigo.

    What you need is a new pricing procedure design to fit your requirements. The standard pricing procedure allows you to enter the net price. Then the gross price is calculated after taking into account the discounts, taxes etc. These discounts and taxes can be designed to determined automatically through material group also. So to achieve your requirement the pricing procedure has to be changed accordingly to calculate the net price from gross price entered. While this can be done, but all other impacts on pricing reports and accounting document posting with correce valuation price etc. have to be tested in detail.

  • Error in SQL Query The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query

    hi Experts,
    while running SQL Query i am getting an error as
    The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    T2.LineText
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,T2.LineText
    how to resolve the issue

    Dear Meghanath,
    Please use the following query, Hope your purpose will serve.
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    CAST(T2.LineText as nvarchar (MAX))[LineText]
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,CAST(T2.LineText as nvarchar (MAX))
    Regards,
    Amit

  • How to determine a sql query size to display a progress bar

    I would like to show a progress of an sql query within a jsp page.
    Background:
    I have a reporting web application, where over 500 contacts can run reports based on different criteria such as date range....
    I current display a message stating 'executng query please wait', however the users (hate users) do not seem to wait, thereofore they decide to run the query all over again which affected my reportign sever query size (eventually this crashes, stopping all reports)
    Problem:
    The progress bar is not a problem, how would I determine the size of the query at runtime therefore adding the time onto my progress bar.

    Yes it's doable (we do it) but it sure ain't easy.
    We've got about 23,500,000 features (and counting) in a geodata database. Precise spatial selection algorithms are expensive. Really expensive.
    We cannot impose arbitrary limits on search criteria. If the client requires the whole database we are contractually obligated to provide it...
    For online searches We use statistics to approximate the number of features which a given query is likely to return... more or less the same way that the query optimiser behind any half decent (not mysql (5 alteast)) database management system does.
    We have a batch job which records how many features are linked to each distinct value of each search criteria... we just do the calculations (presuming a normal (flat) distribution) and...
    ... if the answer is more than a 100,000 we inform the user that the request must be "batched", and give them a form to fill out confirming there contact details. We run the extract overnight and send the user an email containing a link which allows them to download the result the next morning.
    ... if the answer is more than a million features we inform the user that the request must batched over the weekend... same deal as above, except we do it over the weekend to (a) discourage this; and (b) the official version ensure we have enough time to run the extract without impinging upon the maintenance window.
    ... if the answer is more than 5 million we display our brilliant "subscribe to our DVD service to get the latest version of the whole shebang every three months (or so), so you can kill your own blooody server with these ridiculous searches" form.
    Edited by: corlettk on Dec 5, 2007 11:12 AM

  • How to run a SQL query which is stored in a column using PL/SQL?

    Hello
    I have a table A and one of the column values is select * from emp where empno :=xyz;
    Now I would like to call this SQL query using a cursor in PL/SQL and run this for all the empno's and insert them into a temp table.
    Can anybody help me in writing this PL/SQL query?
    With Regards,
    Mohan

    user525114 wrote:
    The primary reason for doing this is we are calculating percentiles on an entity sales for different range periods, and there are several sql queries stored in a cloumn, so we would like to know whether we can run these queries by calling them in a pl/sql query, Its not necessary that we need to use a cursor, but once fetching the result set of the query we would like to insert them in a table.Vamsi,
    As said in response to Satya, executing dynamic SQL, looping over the result set and inserting the results one by one in a temporary table, is a horribly bad idea. Especially in terms of performance, but also regarding the maintainability of your code. It's just way more complex than necessary.
    If you want to calculate percentages, then use analytic or aggregate functions in SQL to do so. If you want to store them, use a single INSERT SELECT statement.
    If you want to continue on the same path, use Satya's code and use it inside a loop.
    Regards,
    Rob.

  • Generate PDF file from sql query

    I have a table having some now i want to perform some calculation on tht data and then want to export it into a 
    pdf file.
    All this thing thing i want to write in a sql query so tht i can put it in a stored procedure .
    Kindly suggest.

    timberwoods,
    One way is to use SSRS. You may embed a query and it generates the report which you can always download as pdf, excel etc. Look up on the net for this - that shud probably solve your requirement!!
    If not, found this at codeproject - allows you to generate pdfs - again using SSRS !
    http://www.codeproject.com/Articles/19236/Create-data-driven-PDF-on-the-fly-by-using-SQL-ser
    http://www.sqlservercentral.com/articles/Miscellaneous/creatingapdffromastoredprocedure/1104/
    Thanks,
    Jay
    <If the post was helpful mark as 'Helpful' and if the post answered your query, mark as 'Answered'>

  • Message no. 06211 Currency translation error in net price calculation

    Hi,
       When i am creating purchase order i am changing currency from INR to JPY for FOB condition type only, And system issuing error message Currency translation error in net price calculation. Document currency is INR.
    When i am using USD i am not getting this error.
    I have checked table OB08 and both conversion maintained INR to JPY AND JPY to INR valid from 01.01.2012
    Any solution for this please.
    Thanks in advance.

    Hi, Check in T-code M/08 for your import prizing procedure,what have you maintained for subtotal for gross price condition (PBXX,PB00), Maintain over there as '9', also for JPY currency there is issue with decimal also, ratio maintained in 100:1 ratio.
    Edited by: tej yadav on Jan 6, 2012 1:29 PM

  • Error in net price calculation, item 000010 (Please correct)

    Hi
    Can you tell me error and correction for the same ? It occurs during creation of Std.PO. whom RM1000 prcing procedure is assigned.
    Error in net price calculation, item 000010 (Please correct)
         Message no. 06213
    Diagnosis
         Possible causes:
         o   The net price is negative.
             Check the prices and conditions entered.
         o   An error has occurred during currency translation.
             Check whether the foreign currency is defined in the system.
         o   The unit of measure of an item is not allowed.
             Check the units of measure entered.
         o   An internal error has occurred during the price determination
             process.
             A mandatory condition type is not defined in the system. Please
    In the analysis under item details condition tab I got message 301 as Acess 0002 12 is missing.
    Acess seq. 0002 is assigned to condition type PB00.

    I know this thread is very old but I had the same issue and found the solution.
    Enter the SubTotal in the pricing scheme for condition P101 (in my Case 9 - Copy values to KOMP-BRTWR (gross value)).
    Than it works for my case.
    Hope this helps.

Maybe you are looking for

  • How to make the CTI respond to the work area again?

    Hello, i suddenly have a unusual problem (4 me). I  work on a project and i noticed today that the CTI dose not  act according to my work area when i RAM preview. After pressing 0 it just  goes after the end of the work area continuing to render . (g

  • Variable type 16396

    Can someone tell me what variable type 16396 is? I am receiving this error after the script has been called and ran, no probelms while the script is executing. After the script has finished is when this error presents itself. Thanks for any help. Pau

  • Update table TVARV

    Hi, I am writing a small program to update tavle TVARV. I don't want to use UPDATE TVARV statement, is there any FM or Transaction I can use? Thanks.

  • Have you used the new workflow features in CM 12?

    In CM 12.0, users can optionally deploy the standard approval processing or new flexible, workflow approval processing based on the project and/or document. Have you used the new workflow features? Do you think the new workflows will allow your organ

  • Ipod shuffle does not appear in devices

    I can't get Itunes to recognize my Ipod shuffle.