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.

Similar Messages

  • GL account for Unit Price changes A/R Invoice

    Hi,
    I need to know where the GL accounts are determined for Item unit price changes. My problem is as below:
    I have a delivery created for 2 material items. After creating the delivery, we want to reduce the unit price from 2600 (default) to 2500 per unit. ( this is without going into the discount column) as we wnat to reflect the same in the deliver note printout.
    When this is copied to an A/R invoice and then and we try to add this, an error is generated saying "GL accout missing".
    Can any one help to tell me which account this is exactly and where this is entered. we are using SAP B1 2005 PL50.
    Thanks in Advance !

    Hi Nirushad.......
    Its in Administration> Setup> Financials> GL Account Determination> Inventory Tab--> Price Difference account.
    First check the Set GL Method of what
    For checking this go to Administration--> System Initialization > General Setting> Inventory Tab and Set GL Method
    If its Warehouse wise then go to warehouse where transaction is happening and put the Price Diff. Acct in accounting Tab
    If its ItemGroup wise then go to ItemGroup where transaction is happening and put the Price Diff. Acct in accounting Tab
    If its Item Level wise then go to Item Master Data where transaction is happening and put the Price Diff. Acct in Inventory Tab
    Regards,
    Rahul

  • Material unit price change during GR

    Hi All,
    We are doing import purchase and we have not done any changes for PO price but there is sudden change in material unit price in MIGO.
    Please guide
    Thanks and Regards
    Pavan

    Dear,
    Kindly check the currency which are maintained in the PO and GRN currency.
    There might be difference in the currency.
    Regards
    Utsav

  • Po unit price change

    hai
    I created  PO: 450000988 unit price are all wrong.  But I have done MIRO in SAP
    already and have a document  7160000610.After processing invoice and GR . is it possible to change the unit price in PO?
    Now my question is how to reverse this wrong process in SAP.
    Pls. tell me and the step.
    Thank you very much!!!

    Hi
    Subsequent credir/debit is also one option which will debit or credir vendor account with out  affecting Qty. supplied i.e u can  use it for price correction
    vishal...

  • AR Invoice Unit price/Discount change

    Hi Experts,
    I need your help regarding this....
    In Sales A/R process of SAP B1 8.82, we first do sales order then copy to AR Invoice to process the invoice.
    At some time users do the sales order and then copy to AR invoice and modify either unit price or discount as per the customer's requirement.
    I need a query to get all these type of invoices where there is a either unit price change or discount change.
    I found that any AR invoice update goes to ADOC and ADO1 table, but this table populates only when the AR invoice is saved once and then opened again and modify. but if the unit price or discount has been changed at first and saved then these table does not populate.
    So how can I get this changes log, from which table so that I can frame the query.
    Your assistance is highly appreciated.
    Rgds
    Suman

    Hi Gordon,
    I have got the solution through this query...
    SELECT T0.[DocNum],  T0.[CardCode], T0.[CardName], T1.[ItemCode],   T3.[PriceBefDi] ordrprice, T3.[DiscPrcnt] ordrdisc,T1.[PriceBefDi] invprice, T1.[DiscPrcnt] invdisc
    FROM [dbo].[OINV]  T0
    INNER JOIN [dbo].[INV1]  T1 ON T0.DocEntry = T1.DocEntry
    inner join ORDR T2 on t2.docnum=t1.baseref
    INNER JOIN RDR1 T3 ON T2.DocEntry = T3.DocEntry and 
    t1.itemcode=t3.itemcode
    WHERE T0.[DocDate] >=[%0]
    AND T1.BaseLine=T3.LineNum
    and  (T1.[Price] <> T3.[Price] or  T1.[DiscPrcnt] <> T3.[DiscPrcnt])
    Thanks to all

  • Authorisation for unit price in Sales Order

    Hi Experts,
    Is there a way to prevent users from being able to change the unit price of an item in Sales Orders?  If not directly can anyone suggest a workaround to prevent access to this field?  We have noticed recently that on some occasions when users were not able to apply certain discounts they had changed the unit price!
    Regards
    Geoff

    Hi Goeff........
    Its easily done by Authorization.
    Just unauthorized an user to change the Unit price in General Authorization in sales module.
    Or you can disable the unit price column through Form Setting and do not give authorisation to change form settings to that user........
    Regards,
    Rahul

  • Price changes in Purchase order Line Items its displaying as"WF-BATCH"

    Hi Experts,
    I need some Information about Price changes in Purchase order Line Items,In PO Documents Price changes through this wf-batch has  changed the value of this row to xxx.xx USD, which does not correspond the invoice.
    If  i selected the Item changes in the Purchase Order its displaying as"WF-BATCH".
    So please try to clarify where this batch originates from.
    Brgds,
    RK

    Hi Jurgen,
    Thanks for your reply.
    But how i can check this in Purchase orders,on what basis this price changes information is recorded in PO Line Item level.
    can you pls guide me some steps to check the price changes through WF-BATCH.
    Brgds,
    RK

  • PO Unit Price issue

    Hi Gurus.
    Have the following scenario:
    -- PO Qty is changed in Purchase order as per the Quantity delivered. In doing , the System automatically changes the Material Price
    -- Hence when the last invoice is made with reference to PO, the System shows different price than the original one.
    for example
    1.       The PO Qty was initially 462 KM and was changed to 458.7 KM. Hence the Unite Price changed to 40.65 from 40.62 as below
    Gross price = 36.92 /KM EUR
    Surcharges = 1710 (total)
    Unit Price = 36.92+(1710/458.7) = 40.65/KM
    2.       The PO Qty was again changed from 458.7 KM to 444.4 KM as below
    Now the unit price was revised to 36.92+(1710/444.4)= 40.77/ KM
    Requirement: Unit price not to be changed even after the change in the quantity, pls confirm is it possibble
    Thankyou very much

    Hi,
    As per standard SAP your requirement can't be met, please refer the Note 304178 - Absolute conditions in purchasing documents. I have pasted what is contained in the note, this cant be done.
    Summary
    Symptom
    Absolute conditions, for example, used at item level in the purchase order item, are calculated down to the item quantity.For the goods receipt, if a quantity differing from the item quantity is posted, this absolute condition is nevertheless quantity-dependent since it is only calculated proportionally.
    Other terms
    Delivery costs, freight costs, freight, absolute value, FRB1
    Reason and Prerequisites
    For the goods receipt, the actual posted quantity is not yet available, as far as the program is concerned, at price determination.If the actual posted quantity is available later, the condition technique is not used again for the calculation.Therefore the only option remaining is the proportionalization of the condition values.
    Solution
    None.

  • AR Credit Memo Unit Price Stored Procedure

    Dear All,
    I am trying to make a SP for A/R Credit Memo wherein the user will not have the option to make the unit price less than the defined price list.
    I am using the below SP but its not working and the AR Credit Memo is getting added without any blockage. Please advise
    -------------------------------AR Credit Memo Row Price Change-------------------------
    IF @OBJECT_TYPE = '14' AND (@TRANSACTION_TYPE = 'A')
      BEGIN
      IF EXISTS(
      SELECT T1.docnum
      FROM ORIN T1 Inner join RIN1 T2 on T2.DocEntry = T1.DocEntry
      INNER JOIN ITM1 T3 on T3.ItemCode = T2.Itemcode and T3.PriceList = '2'
      where t1.docentry = @list_of_cols_val_tab_del
        AND T2.Price < T3.Price)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='The price in the line is lesser than the Sales price!'
      END
    end
    Note : I am also using a SP for blocking AR Invoice with unit price change and that SP is working perfectly fine.
    IF @OBJECT_TYPE = '13' AND (@TRANSACTION_TYPE = 'A' or @TRANSACTION_TYPE = 'U')
      BEGIN
      IF EXISTS(
      SELECT T1.docnum
      FROM OINV T1 Inner join INV1 T2 on T2.DocEntry = T1.DocEntry
      INNER JOIN ITM1 T3 on T3.ItemCode = T2.Itemcode and T3.PriceList = '2'
      where t1.docentry = @list_of_cols_val_tab_del
        AND T2.Price < T3.Price)
       BEGIN
        SELECT @ERROR=1,@ERROR_MESSAGE='The price in the line is lesser than the Sales price!'
      END
    end
    Kind Regards,
    Ravi

    Hi,
    Tested only your main part query and working as expected.
    1. Make sure correct database is selected for above procedures
    2.  Make sure item tested is  same for both invoice and credit memo and same price list.
    3. Tested in SQL, there is no problem in blocking AR invoice.
    Thanks & Regards,
    Nagarajan

  • Unit price

    Hi,
    I need an approval whenever the unit price changes in sales order document... is that possible,,
    regards,
    Vignesh

    Hi Vignesh,
    Approvals in B1 does not work on line level... Only on header level...
    regards

  • Change quantity of a component in a BOM created through SDK

    I am creating AR Invoices which are based on Sales Orders through SDK. These SO have a BOM which has only 1 component, when I create a AR Invoice off of these SO I have to be able to change the quantity which is delivered. How do I specify that I am changing the quantity of the component and not the amount of the Parent?
    thx,
    Richard

    Owen,
    If you go to Document Settings and change the selection to Price and Total for Parent Item Only, when you choose this BOM which is a Sales Item, you can modify the quantity of the Child Item and it does not affect the Parent Items price or quantity.
    This is what I am trying to accomplisg through the SDK, but it seems all I can insert is the Parent Item in the Marketing Document, how can I alter the Child quantity?
    thx,
    Richard

  • Changing unit price after AP invoice has been created

    Hi all,
    We realized the unit price was incorrect after the PO, GR and AP invoice was already created. Is there a way to update the unit price on the item?
    Thanks,
    Jane

    Hi,
    This is not possible, you have to reverse transaction by AP Credit memo and recreate new transaction. If you have FIFO valuation method then you can change price through Inventory Revaluation but in that case your AP Invoice amount remains unchange.
    Regards,
    Sachin

  • Terms user query Changes in unit price in purchase order and a/p invoice

    Dear sir
         please give me a term user query for , if any changes in unit price in purchase order and a/p invoice

    Hi,
    Try this:
    SELECT  Distinct ' true'
    FROM adoc T2
    JOIN ado1 T0 ON T2.docentry = T0.docentry AND T2.Objtype = '22'
    JOIN por1 T1 ON T1.docentry = T0.docentry AND T1.Linenum=T0.Linenum
    WHERE  $[$38.14.number] != T0.Price
    Thanks & Regards,
    Nagarajan

  • PO unit price getting changed automatically

    Hi Team,
    In my case, the PO unit Price is getting changed automatically when pushed from a different system via Interface.
    In PO of the 3rd party system, Order unit price & Order Unit are the same, but when pushed from the 3rd party system to SAP only Order Unit price is getting chaged.
    When i tried creating a PO via FM in SAP, it gave the right one i.e. both Order Unit & Order Unit price are the same.
    PIR looks good with teh required Unit price.
    Please give me some tip to find the exact reason for change...
    Thanks in advance.
    Sravam

    >
    SAPMMSCM wrote:
    >
    >
    > When i tried creating a PO via FM in SAP, it gave the right one i.e. both Order Unit & Order Unit price are the same.
    > PIR looks good with teh required Unit price.
    >
    >
    Hi,
    If you are able to create the correct PO by executing the BAPI in SE37 and you are not able to do the same from external system, then the issue is the with the parameters only. Can you send the parameters that are being passed to the BAPI?
    Just to make sure, send the parameters by using external debugging, not from the source system.
    Regards,
    Sukumaran.E

  • Hide Unit price from sales order for sales user without change authorization of document setting

    Hi all expert
    Hide Unit price from sales user without change authorization of document setting.
    I have also refer this note
    SAP B1 2005 Purchas Order,Good Reciept PO'S, and Unit Price Block
    but sill I had not getting my proper solution.
    I want to restrict sales person to see & access unit price. Here I know option of block authorization of document setting but its not good option because , In future ,if sales user wants to changes forms setting in future so Its become problematic for user. so I want do this without restrict user for form setting & only hide unit price table from him/her. also He/her able to access form setting with out unit price.
    Please reply
    Amol Nikam

    Hi Experts,
    Please Tell me Is there any option "Hide Unit price from sales order for sales user without change authorization of document setting"
    Regards/Thanks
    Amol

Maybe you are looking for

  • BBC iPlayer just stopped working on N97 - 29/04/10

    N97 Firmware v21.0.045 Just last night BBC iPlayer stopped working for me has been working every other day (and have used it every day for last week or so) and never had any problems in the past. Symptom; app a bit slow to start and a bit slow to loa

  • How to pass value to Multiline container element in workflow ?

    Dear Experts, I am using the BAPI "SAP_WAPI_WRITE_CONTAINER" to write into the workitem container elements. now i want to write the data into a multiline container element. i am unable to do the same. please guide me how to write the data into multil

  • Weblogic 7.0 sp4 failing to resolve from /etc/hosts on solaris 8

    Hello, I am facing a strange problem on one of the installations of weblogic 7 in using the JNDI lookup. This weblogic instance throws me the following exception whenever I try to lookup through JNDI a remote EJB; weblogic.utils.NestedError: This add

  • Making a Pages document compatible with Word and Full-screen view

    Hi there! I would like to know if it is necessary to have Microsoft Office installed on my computer in order to be able to save a Pages document as "Microsoft Word" compatible. As of now, when I select the "Save As" option, I'm only able to save my d

  • End of Session ITS

    Hi! I have problem with transaction iView in ITS, When I click the execute botton, I get "End of Session - Thank you for working with Internet Transaction Server" text. What's wrong? Why is not displayed the transaction? Other transactions incl. Leav