Unit price for invoice

Hi Experts,
I want to get unit price for invoice line items from BSEG table.
How to get it.
What is the unit price field for invoice line items.
Regards,
Sangeeta.

Hi Sasi,
Should I take the line item amount(WRBTR) for unit price from bseg table?
Regards,
Sangeeta.
Edited by: Sangeeta on Dec 29, 2008 8:00 AM

Similar Messages

  • Wrong unit price for sourced item in iProcurement.

    Hi all,
    We have a BPA for a category, which has been revised and approved. Now when the user is going for shopping and searching the Item Description it is showing the correct/revised unit price for the item. But when the item is added to the cart and cart is viewed the Unit Price showing is different from the first search.
    Please guys help me out on this. Also if any one can guide me to the procedure/OAF VO query which fetches the details at the shopping cart level then also it will be helpful.
    Awaiting is your response.
    Regards
    Prakash Kumar

    Hi Guys,
    One of the reason I found out from metalink(136674.1) is the 3 listed profile options for iProc should have 3 distinct line types. I am testing it now. Once done will update the results here.
    https://support.oracle.com/CSP/main/article?cmd=show&type=NOT&doctype=PROBLEM&id=136674.1
    Thanks & Regards
    Prakash Kumar
    Edited by: prakashjnvb on Jul 25, 2011 2:30 PM

  • Net Unit Price of Invoice Item Not Kept/Deleted

    Hello everyone,
    Yesterday I had an issue with a supplier invoice uploader I've created --- it uploads consistently which is nice, but for some reason the unit price is disappearing on me. I've got the following lines:
    in which 'row.zItemNetUnitPrice' is decimal (currencyCode is always going to be GBP in this case, so I figured I didn't need it) and row.zAmountOrdered is obviously a Quantity type. Now, here's the strange part: when 'newSIItem' is created using siItem, the unit price is deleted --- as in, immediately after creation of newSIItem, the unit price is set to 0.00. But the amount ordered is kept as it was set. So obviously that's weird, and is causing all my invoice items to be created as zero price --- you'll agree that's not very helpful.
    What's also strange is that, in order to remedy this I tried to just set the unit price to what I wanted AFTER newSIItem was created, as according to the repository explorer it's not read-only. This worked --- up until I set the account assignment type, at which point it got set BACK to zero as follows:
    As you can see in the debugger, it says 'changing invoice price not possible...'. --- but the net unit price field isn't read-only. So my overall question is: what the hell is going on? Any help would be greatly appreciated. Attached is my entire mass-enabled AfterModify script and the XML file I'm using as part of a file input run on the custom business object to which this script belongs. Thanks!
    Lewis
    EDIT: I tried moving 'newSI.NetUnitPrice.Amount.content = row.zItemNetUnitPrice' to after the account assignment --- it seems it was invalidated by any subsequent command, even to the point that having it directly before setting gross amount to total gross amount would still not work. I also tried setting net amount instead of net unit price --- the debugger specifically told me that net amount is read-only. But the repository explorer says it has write access. Anyone able to shed light on this?

    I solved this --- I noticed that I had siRoot.DocumentGrossAmountsIndicator set to false but creating the root node (newSI = SupplierInvoice.Create(siRoot)) turned that back to true again for no apparent reason. My guess is that having this set to true, i.e. all values are gross, dynamically sets all net fields to read-only. Once I discovered this it was as simple as setting the indicator back to false post-creation of the root node, and then net price fields were accessible again.

  • Unit price in Invoice form(Rounding up issues)

    Hi Gurus!
    In my smartform I have used a formula to get the unit price of an item line which is giving me rounding up issues as it is calulating upto the 3 decimal places that I require in my output. Is it possible to grab the unit price field (KEBTR) directly into my form for the unit price so that I get the actual amount as in SAP into my invoice output rather than caluclting it in my code so that there is no discripancies.
    Like it shows on my form sometimes 98.999 or sometime 99.001 instaed of 99.00 as is in under the condition tab of the invoice, I would like it to show straght as is in SAP 99.000 rather tahn doing caluction and coming to a smallest decimal value.
    CLEAR: g_unit_price, g_min_charge_flag, g_item_tot, g_skto_kwert.
    * get skto amount (Cash discount)
    LOOP AT gt_konv INTO gs_konv WHERE kposn = gs_gen_del-itm_number AND
    kschl = 'SKTO'.   "Cash discount
    g_skto_kwert = gs_konv-kwert.
    EXIT.
    ENDLOOP.
    * For rental contracts there is no delivery so surcharges must be removed from net.
    IF is_bil_invoice-hd_gen-bil_type = 'ZFV'.
    CLEAR gs_gen_del-kzwi3.
    LOOP AT gt_konv INTO gs_konv WHERE
    kposn = gs_gen_del-itm_number AND
    stunr BETWEEN 230 AND 289.
    gs_gen_del-kzwi3 = gs_gen_del-kzwi3 + gs_konv-kwert.
    ENDLOOP.
    ENDIF.
    g_item_tot = gs_gen_del-netwr - gs_gen_del-kzwi3.
    IF gs_gen_del-fkimg <> 0.
    g_unit_price = g_item_tot / gs_gen_del-fkimg.
    ENDIF.
    Thanks
    Edited by: Aarav  Agnihotri on Jun 11, 2009 6:58 PM

    Hi Aarav,
    Check this links
    [Rounding|Rounding]
    [Rounding off value|Re: Rounding off value]
    Read Above for a clear idea about Rounding values.
    [Rounding of the Values|Rounding of the Values]
    [Quantity & Rounding condition values|Re: Quantity & Rounding condition values]
    [Rounding down values|Re: Rounding down values]
    For More results Search In SDN...
    Thanks & regards,
    Dileep .C

  • Cannot change unit price for selected items in iProcurement

    Hi,
    I have defined an item with "List Price".  Then, I create a PR in iProcurement for this item.
    But I cannot update the "Unit Price" of this item as the field is protected. How can I enable the field for updating? Thanks.
    (Note: If creating PR in the requisition form in Oracle Purchsing, then I can update the unit price. Why can't in iProcurement?)
    Regards
    Leo

    What's the value of POR: Allow Unit Price Update for Catalog Items?

  • Mat Ledger, Per.Unit Price for materials showing wronglu in Group Valuation

    Hi,
    Periodic Unit Price of the materials for plant 1300 belongs to company code 1300 showing wrong value in Group Valuation.
    Usually Periodic price for all valuations viz., Legal, Group and Profit center valuations should be same, why because we are using same cost component structure in order to arrive the actual cost for all the above three valuations.
    Even though Group Valuation of Per. Unit Price is not matching with the Legal and profit center valuations Per. Unit Price. But both legal and profit center valuations are matching.
    Please note that, actual cost component split for actual costing is not activated for plant 1300.
    When analyzing this issue, it is observed that only the settlement value in between the Group, Profit center and legal valuation is differing for material ledger document.
    But accounting document, PCA document, controlling documents are updating correctly.
    Please help us how can i proceed to get the details of cost components, even actual cost component structure is not activiated for actual costing.
    what are the possible reasons for differing values in Group valuations.
    Regards,
    S Vasu
    Because of this reason system is calculating different values in group valuation (comparatively with legal and PCA valuations) at lower levels and flowing the same values to multilevel.
    Edited by: VASU SIKHAKOLLI SIKHAKOLLI on Mar 8, 2009 5:53 AM

    Dear
    No all are different currencies
    Regards
    Sivakumar S.

  • Single unit price for import purchase

    hi gurus
    my client is procuring material from china so over head like purchase price,custom,clearing charges transportation and insurance come into picture.then while calculating costing he distribute the overheads proportionately base on product quantity.
    by adding all the costs for single unit client calculates per unit cost.
    how to do it in SAP???

    Many Many ways.
    You do not say whether it is for costing purposes, or for purchase order purposes?
    On PO you would add all costs using condition types. It also depends on whether you are shipping cost documents, or not, handling unit management or not.
    On costing side it depends on the business requirements: Plan price is usually used as input to the costing, if more etailed is required a raw material cost estimate can be created.

  • Unit price issues

    HI!
    In m my smartform Im getting the unit price for my invoice from the condition table directly instead of calculating it (Total / Quantity) which creates the rounding up issues. SO this works fine for us but the problem occurs when the condition pricing is like 300/ 1000 L or 4000/ 1000Kgs , what happens is that in the output the unit price and quantity when multiplied contradicts , though the net price per line item shows correctly but suppose qty is 3 L and the unit price is 300/1000L so total os .9 dollars which is correct but in  the form out put it shows  qty= 3 unit price 300  and total .9 dollrs, which si contracdictory, so what I did I used a calculation gaain and divided by condition price by condition pricing unit so when its 300/1000L it would show .3 /L which is now ok but another problem rose with metric ton, since the selling unit is MT and the unit price now after dividing by condition pricngi unit makes it per KG so output would show like qty =3 unit price  4 and total = 12000 dollars , so heer unit price is wrong as it should have been 4000/ Ton as the total os 12000 dollars.
    Is theer a way out to show the correct unit pricing as per the sales unit. I had used the code to just divide the total price of line item  divided by the Quantity but then the rounding up issues came up which was not required .
    read table is_bil_invoice-it_kond into gs_kond
    with key bil_number = gs_gen_del-bil_number
    itm_number = gs_gen_del-itm_number.
    if sy-subrc = 0.
      g_unit_price = gs_kond-kbetr / gs_kond-kpein.
    else.
    ** Loop around and get the price for it
      loop at is_bil_invoice-it_kond into gs_kond
      where bil_number = gs_gen_del-bil_number and
      itm_number = gs_gen_del-itm_number.
        if gs_gen_del-fkimg <> 0.
             g_unit_price = gs_kond-kbetr / gs_kond-kpein.
          endif.
    *  g_unit_price = g_item_tot / gs_gen_del-fkimg.
        endif.
      endloop.
    endif.
    * Get unit price and tot price.
    g_item_tot = gs_gen_del-netwr - gs_gen_del-kzwi3.
    *IF gs_gen_del-fkimg <> 0.
    *  g_unit_price = g_item_tot / gs_gen_del-fkimg.
    *ENDIF.
    thanks

    Well we would ike to grab the unit price directly from the condition mentioned in the billing documents , thats the reason this issue has errupted , We would like to pull it directly from teh document onto the invoice but as I said when its given per 1000 L or /1000 Kgs then the problem occurs as teh quantity may be in MT and the unit price in the condition on document maybe like 4000 dollars per 1000 KGS so it takes 4000 and multiplies bny quantity which is in MT which is 1000 times more than teh correct value. SO as per my piece of code its grabbing the unit price directly from teh condition in the billing document . If I just divide this unit price that I am gettimng from the condition table in Doc by the condition rate KPEIN then it works ok except in few cases like MT. The quantity will show 3 MT suppose and the unit price will be 4000/1000 = $4/ kgs so this will contradict the units but in case of per 1000L it would be ok as the resultant will be in litres only but in case of MT its converted to Kgs so basically a client will see 3 MT QTY for 4 / Kgs  and price will be 12000 dollars which dosent look alright though teh resultant is correct prioce.
    SO this becomes a special case when we dont need to divide by condition unit rate . My question is can be give such kind of exceptions in our code and proceed or will be wrong.
    Thanks

  • Creating order form and need Java Script to calculate unit price and quantity in Acrobat Pro.

    Hi,
    I am creating order form in Acrobat Pro , and I have
    code
    Order Quantity
    Unit price $
    201
    500
    $ 0.52
    201
    1000
    $ 0.36
    202
    300
    $ 0.26
    202
    500
    $ 0.2
    How make Subtotal and Total price with Java script.
    I do not know how to write java script.
    Anyone can help me?
    Thanks,

    Thanks for your response. I have 2 quantities and 2 Unit price for each code, I know a simple sum in calculation it works for 1 unit price and quantity.  Can you please let me know how to do it? One of the expert sent m this:
    //change field names as needed
    var qt1 = this.getField("qt1").value;
    var up1 = this.getField("up1").value;
    var qt2 = this.getField("qt2").value;
    var up2 = this.getField("up2").value;
    event.value = (qt1 * up1) + (qt2 * up2);
    I put this in total text field (calculation tab , Custom script) , but it  did not worked.
    I appreciate it if anyone can help or give me  suggestion.

  • Sql query unit price

    Hello Together,
    how can i find the unit price for an item with an query.
    I used this query:
    SELECT $[$34.0.68] FROM [dbo].[OITM]
    WHERE
    OITM.ItemCode = '10000-0000'
    but with the result '0' as price but in the item i have 5 $ as unit price.
    Thank you and best regards
    Edited by: Serkan Er on Oct 22, 2009 1:59 PM

    OH ok,
    i just want possibilitty to select the actual unit Price from the item master data.
    In the item master data we put in the field Price_List:  pricelist_1.
    Concerning this field the system shows us the Unit-Price for this item which is in the pricelist_1.
    In SQL i can find a table named OPLN - the records are only the information pricelist1, pricelist2 , e.g.
    how can i find the details to this records - for example pricelist_1
    is there a related table ????????????????

  • Moving average price for Standard price estimation

    Hi All
    We have 3 Costing variants for Legal valuation, Group valuation and Profit center valuation which has a valuation variant with strategy 1. Planned price, 2. Moving Average Price and 3. Standard price. When Planned Price is missing system is supposed to pick up MAP as the standard price. But I am not able to understand, when MBEW holds, old MAP, where from system is picking up the latest Periodic Unit price for calculation of Standard price for PV and GV, whereas for Legal valuation it is picking up the MAP as in the material master or MBEW table.
    Please help
    Regards,
    VB

    Thanks a lot praveen for your quick reply,
    we have kept MAP and STANDARD  PRICE for all materials wheather it is V or S,
    and kept costing variants active for both standard as well as moving average price.
    Standard value will be picked for planned and actual from MAP.
    But what we have done that as i told earlier for all materials we have updated with MAP and Standard price.
    so my question was will it get any reverse effect on material valuation.
    Waiting for your quick and valuable reply
    Rgds
    Ana

  • Find out the Selling Price and Unit Price.

    Hi All,
    Am trying to get the Selling and Unit Price Before an Order Creation and Quote , from the API of " QP_PREQ_PUB.PRICE_REQUEST " ,. based on Item ID , Quantity and two Modifiesrs(Price List ID and Order Type ID).
    i can get Selling Price and Unit from Temp table " qp_preq_lines_tmp ". after execution of Above API .
    but I am getting Unit Price correctly and about Selling Price, its dispaly the Priec as same as Unit Price only .
    I Dont' know what step i missed .
    Have anyone developed similar API for getting the Selling Price and Unit Price for an Item ?.
    Any suggestions are appreciated.
    Regards,
    Shan

    Hi Shan,
    I saw your posting on Oracle forum that is why I am sending this email to you.
    I have been using QP_PREQ_PUB.PRICE_REQUEST to pass item to get item list price thru Oracle Price Engine. I get Item list price without any issues the only thing I am stuck is when that item has multiple modifiers then item price I get is without applying modifiers.
    My case: When Item KD653 3/3MAT has 'X' price list and price of that item is set to 600.00. I have a modifier defined and that includes/qualifies above item for 10% discount. So when I pass my pameters like inv_item_id, list_header_id etc I get 600.00 not 540.00. So I am passing two lines one for regular item list price (600.00) and second for modifier that I have created for this item.
    Result: I get 600.00 Item Price but I don't get modified (10%) price applied to unit price. Also it doesn't recognize my list_header_id that I am passing for my modifier.
    I may be missing something to trigger the modifier part. If you got case details then that will be great.
    Your help will be highly appreciated in this case.
    Regards,
    Prakash

  • UNIT PRICE in Sales Order

    Hi Experts,
    I have created a sales order web service through Di-server.In posting my sales order i am entering the Customer Code,Doc Due Date,Item Code,Qty(web application).
                                          So,my problem is the unit price for an item is calculating by the back end itself even if i pass any amount from the front end.Is there any solution to take the unit price amount by what the amount that i have entered in my front end
    regards,
    shangai.
    Edited by: shangai Nights on Jul 29, 2008 8:40 AM

    Hi Bintha Joshi,
    iam not updating.....i can't able to insert the unit price from my front end(asp.net)....even if i pass any amount just by default it's taking by the factor calculation(OPLN & ITM1) calculation.
    UNIT PRICE column in sales order...
    regards,
    shangai.
    Edited by: shangai Nights on Jul 29, 2008 11:52 AM

  • Unit price change through SDK

    Hi,
    We have set limited rights to sales user (permission not given for user to "change row amounts") at sales order row level. Is there any way to change Unit Price or discount  in sales order through SDK?  We have to reset Unit price/discount for free Item.
    Can any one done this type of possibilites?
    Regards,
    Manish

    Hello Manish,
    what do you mean "free" items? Discoun of All items can freely changed or there are several items which discounts can be changed/cleared.
    Stored procedure is not a good idea, because updating by SQL a field is not allowed by SAP.
    >Is there any way to change Unit Price or discount in sales order through SDK? We have to reset Unit price/discount for free Item.
    If the user do not have a permission to change the "change row amounts", and cannot clear the Unit Price/Discount via GUI, DI API / Addon using single sign on the client will not change the unit price/discount, because it is running with the same rights as GUI.
    I am suggesting the following steps:
    1.  Grant the correct rights to the user to change the unit price/discount
    2.  Create a Formatted Search on the Discount field which clears the discount when an item is "free" item
    3. Block the changes of discount/Unit Price for  non free items via SP Transaction_Notification
    in point (2), (3) you the "free" items should be marked somehow (item property, UDF in Item master data, etc).
    Regards,
    J.

  • Item Master Data - Unit Price

    Hi all,
    In the window Item Master Data, I need the unit price for the selected item in a query.
    Anybody know how to make it?
    Oitm = Item Master Data
    OPLN = Price list

    +Chief wrote:
    <<Hi all,
    In the window Item Master Data, I need the unit price for the selected item in a query.
    Anybody know how to make it?
    Oitm = Item Master Data
    OPLN = Price list>>+
    Hello Chief,
    The price are stored under ITM1.
    SELECT
    T0.ItemCode,
    T1.ListName,
    T0.Price,
    T0.Currency
    FROM
    ITM1 T0 
    INNER JOIN
    OPLN T1 ON
    T0.PriceList = T1.ListNum
    WHERE
    T0.ItemCode = 'XX'
    KR
    Murielle

Maybe you are looking for