MM SUS Invoice unit price issue
Hello ,
We are using MM SUS invoice scenario. In MM PO has created for order quantity 2000 EA, and net price is 73.51 USD for 1000 per unit.
During invoice, price information of item is like this:
Price 0.07 USD, Per 1 EA and value is 147.02 USD
But during invoice processing, system calculated net value to 140 USD, and invoice posted for 140 USD only, any advice or suggestion how to handle this in?
System is SRM4.0 and ECC 6.0
Thanks in advances for replay.
Sunil
Hi Virender,
Value in SXMB_MONI in SUS is correct.
<NetUnitPrice>
<Amount currencyCode="USD">73.51</Amount>
<BaseQuantity unitCode="MTK">1000</BaseQuantity>
</NetUnitPrice>
</Price>
but in BBAP_PD (table BBP_PDIGP) entry is :
PRICE 0,07
PRICE_UNIT 1
PRICE_ORIGIN
VALUE 147,02
Normally it should PRICE 73.51 and PRICE_UNIT 1000 ,any guess we are in SRM4.0?
Thanks
Sunil
Similar Messages
-
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.
thanksWell 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 -
Hello all, based on a condition specified at my SO stage, i would like the user to be able / unable to edit the unit price at the AR Invoice stage.
Basically, once the DO is drawn to AR Invoice, and then based on the condition specified on the SO, the AR Invoice should / should not let the user change the unit price on this invoice.
Please advice on how to go about this ?Hi Gautam,
You can not make a system field as 'Non Editable'.
Instead, on the basis of your condition, you can make Bubble Event = False on Event Beforeclick.
like,
EventBeforeClick
if(Your Condition==True)
bubble Event=true; //it will restrict the user to change the Unit Price
else
bubble Event=false; //it will allow the user to change the Unit Price
Edited by: anuj singh on Jan 23, 2009 10:32 AM -
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 muchHi,
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 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
SumanHi 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 -
Dear All,
I'm directly creating an A/R Invoice of a Service Type Item. In the Item Master, Price List is selected- Base Sales Price List. But When Creating A/R Invoice, Unit Price is not coming. How does Unit Price come?Dear Sengupta,
I would like to add that in the item master data you can also choose a different type of item: labour or travel. In that case, you can add a price in the field Unit Price. That means that when you create an ar invoice you will see the unit price.
Please, also note that the labor and travel items are just sales item therefore they cannot be added into a delivery.
Kind Regards,
Marcella Rivi
SAP Business One Forums Team -
Unit Price and Discount % is INACTIVE
Hello Experts,
In A/P Invoice unit price column is inactive rather not allowing to enter value in it. In form settings it is active.
Help Required.
Shazad NazirNazir
I guess full authorization is needed to enter unit price, check in
Sales Reports --> Change Row Amounts --> Full Authorisation
and also have a look at this thread
Authorisation for GRPO
Thanks
Rizz -
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 PMHi 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 -
Wrong unit price on the invoice.
Hi guys,
Im requested to look at the production issue where an invoice gets its unit price printed incorrectly, though the other things such as gross weight, net weight , quantity and amount are printed correctly.
also we have the sapscript which calls function module in other abap program.
Guys any ideas on this issue please post them.
Thanks,
VenkatHi,
You need to sit with ABAPer and debugg the program and check why the value is printing wrongly.He is the only one who can solve your problem.
Reward points if useful
Regards,
Amrish Purohit -
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 validation in Purchase Order, Goods Receipt PO and A/R Invoice
Hello!
I want to have validation of the Unit Price field in Purchase Order, Goods Receipt PO and A/R Invoice documents.
This means that user has to get some kind of message if she/he do not enter the Unit price in above mentioned documents.
I can not use the price lists for this, to get the field populated automatically, because I do not have all the prices...
I am no longer newbie when it come to SAP, but this really puzzles me
Thanks,
DejanHello guys,
I have tried to add this code to check if the field Unit Price was empty in the Purchase Order form (Object ID 22)
But it gives me an error message - Error converting data type varchar to numeric (CINF)
I am getting the same error message even if I have some value in the Unit Price field...
I am really confused - what is wrong with it???
Here is the code from the Transaction notification
IF (@object_type = N'22' AND @transaction_type in (N'A', N'U') )
BEGIN
IF EXISTS (SELECT T1.DocEntry FROM OPOR T0 inner join POR1 T1 on T0.DocEntry = T1.DocEntry
WHERE (T1.PriceBefDi IS NULL OR T1.PriceBefDi = ' ') AND T0.DocEntry = @list_of_cols_val_tab_del)
BEGIN
Set @error =1
set @error_message = 'Unit Price cannot be blank'
END
END
Thanks,
Dejan -
I need to find the field that has invoice item unit price. I know NETWR is net value, but I am looking for unit price of each item.
Hi Megan,
It should be VBRP-CMPRE and NOT VBRK-CMPRE.
This field value (VBRP-CMPRE) should be equal VBRP-NETWR/VBRP-FKIMG.
Regards,
Ferry Lianto -
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,
JaneHi,
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 -
Block item unit price from decrease in a A/R Invoice
Dear experts !
How can I prevent a sales user to decrease an item unit price in an A/R Invoice for a customer for which a special price (based on quantities) was defined. The user can increase the item unit price in the A/R Invoice for that customer.
Thanks for your precious help.Hi yves,
try below in transaction notification:
if (@object_type = '13') and (@transaction_type IN ('A', 'U'))
BEGIN
IF exists (SELECT * FROM INV1 T0 INNER JOIN ITM1 T1 ON T0.ItemCode = T1.ItemCode and T0.[PriceList]=*2* WHERE isnull(T0.[Price],0) <> isnull(T1.[Price],0) and t0.DocEntry=@list_of_cols_val_tab_del)
Begin
SET @error = 30
SET @error_message =N'Unit Price can`t be different than price defined Price List'
end
END
Change price list number (bold ) in above query to price list number you want.
you can check price list number using query
Select * from OPLN
- listnum column.
Thanks,
Neetu -
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
Maybe you are looking for
-
Material consumption by Equip during outside repair process
Hi All, if I send one equipment for repair outside(eg. Telephone), first time during repair process he replaced Wire, next time after few month suppose he replaced Keypad. the both materials he(third party) changed are not maintained in our material
-
Just installed LR5- not importing RAW files from a card
I just installed LR5 on a MAC. I have pics to import from cards, one card loaded no problem, the next card brought up the images and when I go to import them I recieve a message saying "Some Import Operations Were not Performed." giving me the foll
-
Spinning Beachball: what's going on?
Hello everyone. I keep getting the spinning beachball with even the simplest of actions. What do I mean? Allow me to elaborate. This is happening so often that I've ran several virus scans, I've done the permissions things, run daily, weekly and mont
-
Oracle access tables in SQLServer through Transparent Gateway
HI, I want to access tables in SQLServer2000 through Oracle Transparent Gateway, but i could not get the resqult when I excute sql " select * from mytable@tg4msql". everthing seems all right and when i use " *tnsping tg4msql* ", it also return OK: At
-
i bought a mac air yesterday and i was trying to download maverick but i could not do it, i try to download the old version of numbers because i needed for work, but i could not neither, but now when i check to download numbers is asking for to pay?