Purchase and Sold Prices
Hi gurus,
Could someone tell me how to retrieve the purchase price according (Table MBEW, I don´t know which is the right field) to a given material Number (MATNR)?
Besides that, could someone tell me wether there´s a BAPI to retrieve Sold price according to the same material. This field can be found in table KONP, field KBETR.
Thanks In advanced
Hi Ian,
It's true that we can get the decimal places setting of company database using sbobobscom. But the problem I'm facing is not that.
Let me give you an example to show you the incorrect total that I mentioned:
If you create a Goods Receipt:
1. Item A with qty=1000 with unitPrice= $1.7755
Note: Decimal places for Prices is set to 3.
So, if i enter the unit price and quantity, i will end up getting the total = $1,776
(because unitprice is $1.7760 instead of $1.7755)
And it's not correct because I should actually get the total = $1,775.50.
And that's the reason why I want to enter Total instead of unitPrice so that I can have total = $1,775.50.
This is really confusing, because the rounding method of the system is different between SBO2004 and SBO2005.
In 2004, if you set the decimal places to 3, even when you enter value with more than 3digits after decimal point, it will still save the whole number but only show 3digits after decimal point.
However in 2005, it will save and show 3digits after decimal point.
cheers
erwine
Similar Messages
-
Dear Experts,
I do require a report in which we can compare last purchase vs sales price of same item.
Item Code, description, last purchase rate, last sales rate , Profit , %
1234 , furniture , 1500.00 , 1800.00 , 300.00 , 20%
I can find last purchase price from master data but couldn't find last sales price.
Any inputs will be highly appreciated.
Regards,
RaviHi,
Try this query:
SELECT case when T1.[ObjType] = 17 then 'OR' end as DocType,
T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price] FROM OCRD T0 INNER JOIN ORDR T1 ON T0.CardCode = T1.CardCode INNER JOIN RDR1 T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[ItemCode] = [%0] and T0.[CardCode] = [%1] Group by T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price],T1.[ObjType]
union all
SELECT case when T1.[ObjType] = 15 then 'DN' end as DocType,T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price] FROM OCRD T0 INNER JOIN ODLN T1 ON T0.CardCode = T1.CardCode INNER JOIN DLN1 T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[ItemCode] = [%0] and T0.[CardCode] = [%1] Group by T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price],T1.[ObjType]
union all
SELECT case when T1.[ObjType] = 23 then 'QT' end as DocType,
T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price] FROM OCRD T0 INNER JOIN OQUT T1 ON T0.CardCode = T1.CardCode INNER JOIN QUT1 T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[ItemCode] = [%0] and T0.[CardCode] = [%1] Group by T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price],T1.[ObjType]
union all
SELECT case when T1.[ObjType] = 13 then 'AR' end as DocType,T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price] FROM OCRD T0 INNER JOIN OINV T1 ON T0.CardCode = T1.CardCode INNER JOIN INV1 T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[ItemCode] = [%0] and T0.[CardCode] = [%1] Group by T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price],T1.[ObjType]
union all
SELECT case when T1.[ObjType] = 16 then 'SR' end as DocType,
T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price] FROM OCRD T0 INNER JOIN ORDN T1 ON T0.CardCode = T1.CardCode INNER JOIN RDN1 T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[ItemCode] = [%0] and T0.[CardCode] = [%1] Group by T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price],T1.[ObjType]
union all
SELECT case when T1.[ObjType] = 14 then 'AR' end as DocType,
T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price] FROM OCRD T0 INNER JOIN ORIN T1 ON T0.CardCode = T1.CardCode INNER JOIN RIN1 T2 ON T1.DocEntry = T2.DocEntry WHERE T2.[ItemCode] = [%0] and T0.[CardCode] = [%1] Group by T1.[DocNum], T0.[CardCode], T1.[DocDate], T2.[ItemCode], T2.[Dscription], T2.[Quantity], T2.[Price],T1.[ObjType]
Thanks & Regards,
Nagarajan -
Purchase and sales price on same screen
Hi,
I have to write a report that shows for some material / article whole PO pricing and whole Sales pricing, like VKP5 does.
Is there any simple solution or function modules which can be called to catch proper pricings?hi,
you can get tota purchase price of article by gettin its all PIR.
Against article you get info record in EINA table and for all info record you get purchase price in EINE table.
For sales price use tcode VK12.
I hope you will get start. -
Hi
After updating purchase price, what is the transaction for calculation of effective price?
Whether we can change effective price in ME1M?
Thanks and Regards
HariI suggest you ask that question in an MM forum, not in a database forum.
Markus -
This question is for anyone who has purchased an item from iTunes.
What action or actions do you take inbetween having selected the item to be purchased and having the word BUY appear on your screen for you to clic on it?
I have been told to clic on the price. When I do that this list appears; gift this, add to wish list, tell a friend, copy link, share on Facebook & share on Twitter.
Should I clic on one of thses or press enter after having clicked on one of these?
What action do you take inbetween having chossen an item to purchase and being able to see the word BUY?Thank you for the answer. Apple support has been working on this question for several days.
I don't think they see any difference between the two tabs as I didn't think there was any seperation and the arrow was the place to clic on the price.
What would it take to get your statment added to the iTune tutorial?
For that matter what would it take to get actual tutorials listed under the heading Tutorials listed at the bottom of most iTunes screens. If you clic on the heading Tutorials at the bottom of iTunes pages it lists ads not tutorials.
Thanks again for your help. -
i recently made a download purchase for "numbers" online and the price quoted was for usd9.99 but my credit card company says that i have made an online purchase for usd39.98. How do I make a payment dispute on this purchase.?
There was a mistake with your purchase. Contact with the iTunes Store support to get a refund > http://www.apple.com/support/itunes/contact
-
I want to sell one of the iPhones that I've purchased and wanted to know if AppleCare would still cover it, of I were to sell it to someone else!
Apple Care follows the device, not the person that purchased it. As long as the device is registered under the Apple Care, then it stays with the device. The person purchasing the device would get the advantage of Apple Care.
-
User-exit in VA01/VA02 to add order item and condition price
Hi experts,
I have an urgent requirement to add an order item and pricing for VA01/VA02 when certain logic are met. Do you know a user-exit in VA01/VA02 to add sales order item and condition price for an order?
I am currently using user-exit USEREXIT_SAVE_DOCUMENT_PREPARE but I can only add the required order item to xvbap but I also need to add a condition code and condition price for the added item (in xkomv). Your response are very much appreciated.
Thanks in advance!Hi Leo,
Check out few more exits:
Exit Name Description
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
SDAPO001 Activating Sourcing Subitem Quantity Propagation
Reward points if this helps.
Manish -
Material both purchased and produced- accounting impact
Hi,
could you help me to find a solution to this problem.
Has it never happened that a material could be used in your company as a purchasing and production material ?Our goal is to manage this situation using the same material code. For this reason we can assign only a valuation class for each material. I heard that split valuation could be a proper solution for such this cases but considering that we have ML active and I know that one of the pre-requisites for splitting valuation is moving average method , I would like to know if there is anything else that sap could propose for solving this problem.
I appreciate any advice
Thanks in advance
AndreaDear William,
For maintaining some flexibility on our production process we have sometimes a material, identified with a single code, which could be produced internally but that in case of over loaded production capacity we purchased by external supplier. For accounting purposes we need to distinguish the G/L accounts to be valuated when we receive externally the goods (It will be treated as Raw Material) from when we produce internally (It will be treated as semi-finish product). This is due to cost of goods sold infact in our company we implemented Material Ledger, we capture cost of production with activity type so at the end of month we have to distribute the cost variance into COGS or into consumption or into Stock account .
solution proposed by our collegues are:
- Slit valuation with two valuation classes but with the risk not to manage the standard price which is the base of Material ledger
- Substitution/valiadation rules
not yet dealt with.
Let me know if it is more clear
Thanks
Andrea -
Combined Report for Purchasing and Inventory Management.
Hi All,
Is there any standard SAP Report available where I can get all the information related to Purchasing and Inventory Management in one.
Like Material,Purchasing details of the material (vendor, price etc ) and Inventory Management (Stock qty and value etc.).
Regards,
kumarI don't know any. We have one Z or if you want you can make a simple query.
Best regards. -
Report displaying Material Standard Price and PO Price
Hello Experts
We have materials which are purchased. Price control is maintained as standard price and standard price is maintained using T Code MR21 periodically.
Due to this when PO price is different from standard price maintained in material master (usually PO price is higher than standard price) all price difference are posted to price difference GL at the time of GR.
Now users want to check variations between standard price and PO price for the material receipts.
Can anyone suggest me any report which provides details of standard price and PO price for the material receipts?
Thanks in advance for your help.
Satya AlapatiNothing std I'm aware of either. You could consider using the messages 06 205/6/7 to get a warning at the time POs are created that price varies significantly from std.
Config help text below:
Set Tolerance Limits for Price Variance
In this step, you define the tolerance limits for price variances.
When processing a purchase order, the system checks whether the effective price of a PO item shows variances compared with the valuation price stored in the material master record. In addition, it checks whether the specified cash discount value is admissible.
Variances are allowed within the framework of tolerance limits. If a variance exceeds a tolerance limit, the system issues a warning or error message.
In the SAP System, the types of variance are represented by the tolerance keys. For each tolerance key, you can define percentage and value-dependent upper and lower limits per company code.
Standard settings
The standard SAP System supplied contains the following tolerance keys:
PE Price variance, Purchasing
Tolerance limit for system message no. 207. This message appears if the specified effective price exceeds the predefined tolerances when compared with the material price.
SE Maximum cash discount deduction, Purchasing
Tolerance limit for system message no. 231. This is a warning message, which appears when the specified cash discount percentage exceeds the predefined tolerances.
Note
You can specify whether the system message appears as a warning or error message using the menu options Environment -> Define Attributes of System Messages.
Activities
Maintain the tolerance limits for each tolerance key per company code.
Regards,
Nick -
Comparing prices for a BOM with selling and distribution price
Good day
I have been working on a query to bring information for a crystal report required by a client they want to compare the finished BOM with the selling price or distribution price of that BOM. I am not understanding a scenario where this BOM is sold to a particular BP price will definitely vary with BP depending on the terms and special prices. Can anyone help me enhance my query to have valuable results.
SELECT
Distinct T0.Father AS [BOM Product N0.],
T0.Code AS [BOM Item Component],
T2.ItemName AS [BOM Description],
T0.Quantity AS [Component Qty],
T0.Price AS [Comp Cost],
(Select (t3.Factor * t0.Price * t0.Quantity)
from OPLN t3
where t3.ListName = '1.selling price' ) [Selling Price],
(Select (t3.Factor * t0.Price * t0.Quantity)
from OPLN t3
where t3.ListName = '3.distPriceList' ) [Distribution Price],
T0.PriceList AS [Comp Price List],
T1.ListName AS [Price List Name],
T2.AvgPrice
FROM ITT1 T0
INNER JOIN OPLN T1
ON T0.PriceList = T1.ListNum
INNER JOIN OITM T2
ON T0.Code = T2.ItemCode
Where T2.ItmsGrpCod NOT IN (101,110,105)Hi,
Special price is in OSPP / SPP1 /SPP2 tables. Check the table to find the link.
Thanks,
Gordon -
Excise Invoice for Purchase and Sales
Dear All,
I am getting the problem regarding excise invoice for Purchase and Sales.
In item master i Define the item as Excisiable, that item having Purchase and Sales.
For Purchases I am going to post the Incoming Excise Invoice but
Same material at the time of selling I don't wannt make the Outgoing excise Invoice
In this scenario how i make the settings in Item Master Data and How can i Prepare the Excise or Modvat Groups in SAP B1.
Please guide to me
Best Regards,
K.Prasad,
+919921525560.
[email protected]Hi Prasad,
Greetings,
Functionaly if the item is excisable when purchase that has to be sold as excisable item ie.. credit the duty when purchase and debit the duty when sales depends upon your client(B1 user). If your client (B1 user) is a manufacturing unit, they will take the excise duty and deduct while sell. But if your client is not a excise assessee just they do trading, don't tick the excisable item, eventhough that is an excisable item, since they are not all use excise duty for their business.
In this scenario they no need to create excisable invoice for both purchase and sales.
Hope this will help you,
Venkatesan G. -
Fetch Sales order number and PO number from ship to party and sold to party
HI,
I need to get Sales order number and PO number
from ship to party and sold to party.
I have only ______sold to party and ship to party and req del date_______ in selection screen as mandatory
Please let me know
SreekanthHi,
You can do this:-
SELECT VBELN FROM LIKP
INTO TABLE T_DELIVERIES
WHERE KUNNR = SHIP TO PARTY
AND KUNAG = SOLD TO PARTY
AND LFDAT = DEL DATE.
You will get a table containing the list of deliveries.
Use VBFA to get the sales orders from deliveries.
SELECT VBELV FROM VBFA
INTO TABLE T_SALESORDERS
WHERE VBTYP_N = 'J'
AND VBELN = T_DELIVERIES-VBELN.
T_SALESORDERS WILL give you list of sales orders.
From Sales Orders you can get Purchase orders through EKKN Table.
Using EKKN pass T_SALESORDERS-VBELN and get corresponding EBELN.
Regards,
SUbhashini -
Purchase and install Lightroom 6 for Mac
Can someone please tell me how to purchase and download the upgrade version of Lightroom 6 for a Mac. I do NOT want Lightroom CC!
Adobe has gone to great lengths to make it extremely difficult to do this. They are really pushing CC. I found a page that seemed like the correct page but when I proceed to checkout I arrive at an order verification page that shows the product, sometimes the correct price, but there is no means to proceed further!?!?!?! There is no Proceed, or Next, or Complete Transaction button at all. I have tried for the last 3 days using Safari and Firefox without success.
Please advise.
Thank you.
Hector
HEY ADOBE - DON'T MAKE THIS SO DIFFICULT. EVERYONE IS NOT INTERESTED IN CC!!!!Thanks Brett - I get the screen you sent in your response as you can see in the following screen grab from my computer but please read on below the picture.
At this point I click the Checkout button and that is when I get stuck at the following screen. !?!?!?!
Maybe you are looking for
-
How can i set up a distribtuion group on mail for iPhone?
Hello, I was able to set up a distribution group on my "icloud.com" account. I used my contacts and created a group and then went to my mail and was able to send it to that group. My next step is to do that on my iPhone 5. I see the group under the
-
When I try to upgrade Photoshop Elements 13 I get error report No.U44M1T210, can anyone tell me what this means. Thank you Malmor1.
-
I've installed Tomcat 4.1, mySQL. My JSP pages are put in a sub-directory of CATALINA_HOME/webapps and I've also set up the web.xml file in /web-inf. When I invoked the JSP pages for the first time, they worked properly. But when I refreshed the page
-
How to reverse F.19 GRIR regrouping
Dear Experts, We already finished F.19 GRIR regrouping, but later our user do the GRIR again, so we need to do the GRIR regouping again. So can anybody help me on this? How to reverse the original posting done by F.19? Thanks! Cindy
-
Install Solaris10 on HP DL185-G5 ??
We just got 2 HP DL185-G5 boxes to replace 2 ancient Dell Sol8 boxes. I've installed Solaris 10 on several DL385 boxes in the past with essentially no problems. This one is killing me. The DL185 has the HP P400/256 RAID controller that requires the '