Sales per quantity
Hi Experts,
We have a requirement where client wants the unit price to be upto 4 decimal places .But as per SAP standard , currency fields can accept only 2 decimal places.So , in a Sales order pricing conditions, we manually put Rate/1000 qty so that unit price has upto 4 deimal place.
For eg-In our sales order,under item conditions for every condition type we put price rate as 9123.40 per 1000 quantity manually so that unit price has 4 decimal places. Eg-9123.40/1000=9.1234
Client wants this to be automatic & not manual i.e whenever user enters Rate =9123.40 in sales order pricing conditions ,automatically 1000 should appear under SALES PER QUANTITY so that unit price becomes 9.1234 .
Presently by default , Sales per Quantity is 1.
I think this can be done by some configuration changes in material master
Please help.
Regards,
Rahul
Hi Rahul,
Yes you can change it in OY04 as given in above post.
But my suggestion is to discuss this issue with FI consultant because if you change it in OY04 then it will impact many other feild.
So take any decision with the suggestion of FI resource.
Regards,
MT
Similar Messages
-
Tracking the actual sale order quantity
Hi Friends,
How to track the actual sales order quantity given by the customer.
Ex: we assume the customer has placed an order of 100 units and stock is only 90 so we create the sales order for 90 units only.
How to find out the difference of 10 units as a report in standard sap system.
Thanks
AJDear AJ,
This is how normal sales process works.
You create Sales Order line item for the quantity that customer has requested. (eg: 100)
Then you do a ATP for that Line item. Let's say you have only 90 in the stock. In that case system will confirm 90 for the sales order line item. (You can see the confirmed quantity in the Schedule line tab)
Normally we don't change the LI quantity as per the ATP confirmed quantity (i.e 90). Because then we loose the visibility to the customers original requested quantity (i.e 100).
Say you don't change your Line Item Order quantity to 90. Then your delivery & billing will be for 90.
So you can see in VA05, Order quantity as 100 and confirmed quantity as 90.
Your sales reports will show delivery & billing as 90. So that you have a clear visibility to the original order quantity, delivered quantity & billed quantity.
Further if remaining (open) quantity 10 is appearing your MRP & creating troubles, please use Line Item Rejection Reason as Completed. So that everything is perfect.
Coming back to your issue.
Since your changing LI quantity to 90, you cant see 100 in the VA05 report. It always show the existing sales order line item quantity, which is 90 in this example.
Only way you can find your original sales order quantity is in the Line Item / Change Log.
This can be view by selecting below Menu option.
Environment -> Changes
If you execute it for the relevant Line Item, you can see the Change log. In that by double clicking relevant quantity change line, you can see the old value & new value. (In this example 100 & 90)
But that is not a good practice to do as changes will show all quantity changes that you might do based on customer request. (Imagine if you customer ask to change it later to 95 not 100).
In that case change log will display 100 to 95, then 95 to 90. So your loosing the required visibility.
Hope this is helpful to you ! -
Sales Return Quantity to be adjusted in original sale order
Dear All,
We have a scenario, where Customer provides fixed quantity PO and we have to supply the items as per the schedule until the PO qty is completed and we have to supply additional quantity in case if there is any Sales return.
Say the customer rejects 10 nos, we inward the item through sales return process. But we require these 10 nos to be reduced in the original sale order schedules, else we do not have track about the customer rejections and have to manually keep track to send the additional sales return quantity.
Please guide how to accomodate the Sales Return Quantity in original sale order.
Regards,
Vinoth.Dear Vinoth,
You can always create a return delivery without referencing a Sales Order.
Goto the delivery type LR is the standard return delivery type.
You could copy this delivery type and create your own delivery type.
After copying then select the newly created delivery type and click on Details.
Under the order reference , select No preceding documents required for the order required field.
Click on save.
Now you can use this Delivery type to create return deliveries by using transaction VL01NO.
Note :- The above solution is provided for your question but is not recommended as Best Practices.
Thanks
Murtuza -
Storing and calculating sales per item
The case: We have a item, on that item we have a fee. If the item has sold more than 1000 copies, the fee will drop. Therefor i need to have a place that calculates/stores total sales per item. This can then be used to set the fee when i run my stored procedure
for sales etc.
Database explained shortly:
The sales database looks like this:
ItemID, SalesDate, Quantity, Name.
Example:
1399, 2014-01-01, 2, Fompa.
1081, 2014-01-01, 13, Asddd.
1399, 2014-01-03, 1, Fompa.
Etc.
The item database looks like this:
ItemID, Name, Author, etc
Now my boss asked me if i maybe should add total sales to the item database, but how is that possible?
I have also tried to gather all items and show the total sales, but something goes wrong, the itemID are not grouping together..
here is the query: select ItemID, QUANTITY from BOOK_SALES group by ItemID, QUANTITY order by MAX(quantity) DESC
If i get this query right, is it possible to store the query within a database table?Hey, thanks for a fast answer.
I modified your query a little,
select
itemid, sum(quantity) from book_sales group by
itemid order by MAX(quantity) DESC
but still, all of the itemIDs are not being grouped together.
Results show something like this:
1399, 981
1081, 344
1399, 199
etc.. -
Sample Report: Sales per Customer by Period - WITH QUANTITIES
I am trying to make some modifications to the 'Sales per Customer by Period' sample report, but am having problems. I want it to be YTD and comparative, so YTD-12. That part was easy enough. Then I wanted to add the quanty. So i want the report to show the sales amount and quantity for each customer, ytd and prior year ytd. This seemed easy enough also, until I looked further into the data. It doesn't match up with reports from Business One. The problem seems to be my items that are packs, like an item that is sold in packs of 10. If the invoice has 10 10 Packs on an invoice, my report shows a quantity of 10. The SBO report shows it as a quantity of 100 (10x10). I have tried to add Item level stuff, so I could go get the 'Items per Sales Unit' value and multiply it by the quantity. When I do this the report crashes.
Does anyone have any suggestions? Has anyone created a report like this? Any help would be appreciated.Hi,
What is your B1 version and PL? Is this a Crystal Report or PLD?
Thanks,
Gordon -
Open sale order quantity in VA05
hi all,
can anyone please tell me the function module or bapi or Table to find out open sales order quantity coming in VA05.
regards.First of all define what is open , is it created but notdelivered , or delivered but not invoiced.
The table VBUP has flags for statuses eg
A Not yet processed
B Partially processed
C Completely processed
A for open , B for partial C for complete , so by checking this table you will find which are actually delivered or invoiced completely.
Tcode V.02 gives u this option. -
Open Sales Order quantity & value
Hi,
We have a requirement here of report to show open sales order quantity & value for any month (monthend). There is a datasource 2LIS_11_V_ITM which gives Open order quantity. I have created an ODS with 2LIS_11_VAITM & 2LIS_11_V_ITM which can give me desired qty & value, but only for date of last data upload and not for date in the past.(and to get that, I have to sumup all open orders quantity without using any date filter)
I am thinking of creating a Infocube over this ODS to update the Open Order qty & value at the monthend (Snapshot scenario). But to update this, I am not able to get the logic for date to be used in time dimension.
If anyone can think of the solution or any alternate way to develop this kind of report, your help/suggestions are most welcome.
Thanks,
Vikram.Hi Vikram,
Find the link, which solves u r requirement
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/bi/arobustdesignofopensalesorderdataflow
Thanks & Regards
Ramakrishna Kamurthy -
SALE ORDER QUANTITY LESS THAN DELIVERY QUANTITY ? NO CECK IN SAP ??
Hello friends,
I created a sales order of quantity 10 , having two material codes each having quantity 4 and 6 . i created delivery for the one by putting delivered quantity 4 and save , then i created delivery for second and put delivered quantity 8 which was greater than the sale order quantity left ,system saved the delivery and didn't popped any error message.
Does SAP have options to over come this mistake by end users.
regardsDear Joshi,
Please get in touch with your abap er as there user exits which can be written to avoid this situation.
Let me explain you further one more situation.
First one, Your query is if for item A ord qty is 6 the system saved the delivery with 8 qty which is greater than ordered quantity. I know the gives a warning doing this.
Second Situation :
Say item A ordered qty is 5, and i made a delivery for 3 and saved it. Now the open quantity on the order is only 2. (5 -3 =2). But one of our users reduced the ordered quantity to 2 despite saving a delivery with quantity 3.
so the situation is ord qty is 2 and delivered is 3 qty. which is again wrong. But while reducing the ordered quantity less than the delivered quantity the system gives a warning message telling " ORDERED QUANTITY IS LESS THAN DELIVERED QUANTITY ".
Also just imagine we made delivery for qty 5 and invoiced it.After which you reduced the delivered quantity to say 3. So delivered is 3 but invoiced is 5.
Hence for these kinds of practical problems we have addressed them through user exits with the help of our ABAP'ers by turning those warning messages into error messages by selecting the suitable message class.
Hope the explanation helps you. And thanks for all your patient reading.
Reward points if useful.
Thanks & Regards
Sadhu Kishore -
Hi,
Does anyone know what table & field is the open sales order quantity stored?
Thanks.Hi Marc,
U can get the open order quantity like this.
First go to VBFA table. Give sales order number, item and document category as J(for delivery) in the fields VBELV(Preceding sales and distribution document), POSNV(Preceding item of an SD document), VBTYP_N(Document category of subsequent document) respectively. If an entry exist then that means the order has subsequent document created(Delivery in this case). If not then that order is open.
if it is open order then u can get the quantity from
VBAP-KWMENG.
Here subsequent document to the order depends on customization of ur system. In general subsequent to order will be delivery. But there is a possibility to have other than delivery as subsequent to order. So contact ur functional for more inputs on this.
Thanks,
Vinod. -
Sales order quantity billed instead of delivered quantities?
Hello. I am having an issue with billing delivered quantities. This is the scenario:
3rd party, non stock materials, are assigned to a network activity in cj20n. These items generate a PR which is then converted to a PO and goods receipt is posted to the network activity. A sales order is created and assigned to this wbs. Delivery from project is then carried out in CNS0 and picking and goods issue is posted in vl02n. If full quantity received to project is not issued out in vl02n, upon billing in vf01, the total sales order quantity is billed. How do I alter my configuration such that only delivered quantities are billed?Hi
Its seems that your sales order quantity billing issue has been solved.If it is solved then kindly share with us,how the problem has been solved.As there prices are not picking in the billing document, so please check the pricing type that has been maintained in the VTFL copy control.Secondly also check in VOV7 wheather item category is relevant for pricing has been maintained or not.
You get the delivery document to determine prices from sales order to delivery through copy controls.
NOTE:If the issue(Sales order quantity billed instead of delivered quantities) has been solved then kindly close the thread and post your issue through new thread
Regards
Srinath -
Hi Gurus,
This is my problem -
51 links (Base UoM) = 2.5 feet (Sales & Production UoM)
Delivery unit = 53 links
In VA01 -> when I entered Sales order = 12 feet system automatically rounded it to 12.990 feet.
I also received a pop up showing "Item 10 rounded to 265 lk. Rounding reasons 1,2,8 -> long text"
In MD04 -> when I look at the Sales order quantity = 264.996 links.
Ran MRP and the planned order quantity = 265 links
There is a surplus inventory of ------------> 0.0004 links
Settings in CUNI: (due to business reasons - Links can NOT be in Decimals. Feet has to be in decimals)
CUNI
Decimal places
Decimal rounding
Link
0
0
Feet
3
3
Please helpThanks a lot Dave. You are the only guy who really understood my issue in the first place.
And you asked all the right questions.
Just for the sake of our discussion - I created a brand new material (material setup is same as production client). MRP settings- Proc type E, PD, EX, no rounding profiles, strategy 40, Collective.
Material master sales view
Rounding on Sales order
MD04 before MRP run
MD04 after MRP run
MD04 in Feet
Production order conversion
Please let me know if you can not see these images.
I really appreciate your help.
Sorry for the delay in reply. I was travelling.
Thanks -
Purchase Order quantity must not Exceed Sales Order quantity
Dear Experts
My requirement is when i am creating PO in me21n and taking Document type as Domestic PO and giving account assignmnet as "C" Sales Order, must have to enter Material and quantity and must have to Give Sales Order number and item no in account assignmnet tab , the quantity i am entering in PO must not exceed my Sales Order quantity that is my requirement.
Regards
AbiHi,
You do not create a PO with reference to sales order. In PO you enter sales order number for reference. A purchase requsition can be created directly from Sales order or through MRP depending on the system settings. Then this PR can be converted to PO. here you can restrict the quantity. As in order to change the quantity in PR also you will have to change the quantity in sales order.
Regards
Raj -
Hello to all!
i have a requirement to make a query that will bring me report for Sales Per Customer
the desired fields are the following
CardCode
CardName
--, (Select sum(T6.LineTotal) from inv1 t6 where t6.docentry=t0.docentry) 'Price Bef. Disc.'
, (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode in ('6','7')) as 'Freight'
--, (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode='11') as 'W/TAX'
VatSum
.DocTotal
SlpName
till now i have written the following code
SELECT t0.docdate as 'Doc. Date', t0.docnum as 'Doc No.', T0.CardCode AS 'Customer Code', T0.CardName as 'Customer Name', (Select sum(T6.LineTotal) from inv1 t6 where t6.docentry=t0.docentry) 'Price Bef. Disc.', (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode in ('6','7')) as 'Freight', (Select t5.linetotal from inv3 t5 where t5.docentry=t0.docentry and t5.expnscode='11') as 'W/TAX',T0.VatSum, sum(T0.DocTotal) 'Doc. Total', T1.SlpName as 'Account Manager' FROM OINV T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode inner join ocrd t2 on t0.cardcode=t2.cardcode inner join ocrg t3 on t2.groupcode=t3.groupcode WHERE (T0.DocDate between '[%0]' and '[%1]')
group by T0.CardCode, T0.CardName, T1.SlpName, t0.docnum, t0.totalexpns, t0.docentry, t0.docdate,T0.VatSum
union
SELECT t0.docdate as 'Doc. Date', t0.docnum as 'Doc No.', T0.CardCode AS 'Customer Code', T0.CardName as 'Customer Name',(Select (-1)*sum(T6.LineTotal) from rin1 t6 where t6.docentry=t0.docentry) 'Price Bef. Disc.', (Select (-1)*(t5.linetotal) from rin3 t5 where t5.docentry=t0.docentry and t5.expnscode in ('6','7')) as 'Freight', (Select (-1)*(t5.linetotal) from rin3 t5 where t5.docentry=t0.docentry and t5.expnscode='11') as 'W/TAX', (-1)*T0.VatSum, (-1)*sum(T0.DocTotal) 'Doc. Total',T1.SlpName as 'Account Manager' FROM ORIN T0 INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode inner join ocrd t2 on t0.cardcode=t2.cardcode inner join ocrg t3 on t2.groupcode=t3.groupcode WHERE (T0.DocDate between '[%0]' and '[%1]')
group by T0.CardCode, T0.CardName, T1.SlpName, t0.docnum, t0.totalexpns, t0.docentry, t0.docdate,T0.VatSum
but i would like only once to be displayed each customer
do you have any idea?issue resolved
SELECT
T0.CardCode AS 'Customer Code'
, T0.CardName as 'Customer Name'
,(select sum(t5.linetotal) from inv1 t5 INNER JOIN oinv T6 ON T6.DOCENTRY=T5.DOCENTRY where t6.cardcode=t0.cardcode and t5.docdate between '[%0]' and '[%1]') 'Price Bef. Disc.'
,(Select sum(t7.linetotal) from inv3 t7 inner join oinv t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode in ('6','7') and t6.docdate between '[%0]' and '[%1]') as 'Freight'
,(Select sum(t7.linetotal) from inv3 t7 inner join oinv t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode ='11' and t6.docdate between '[%0]' and '[%1]') as 'W/TAX'
,(select sum(t8.vatsum) from oinv t8 where t8.cardcode=t0.cardcode and t8.docdate between '[%0]' and '[%1]') as 'VatSum'
,sum(T0.DocTotal) 'Doc. Total'
, T1.SlpName as 'Account Manager'
FROM OINV T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE (T0.DocDate between '[%0]' and '[%1]')
group by T0.CardName, T1.SlpName,T0.CardCode
union
SELECT
T0.CardCode AS 'Customer Code'
, T0.CardName as 'Customer Name'
,(select sum(t5.linetotal) from rin1 t5 INNER JOIN orin T6 ON T6.DOCENTRY=T5.DOCENTRY where t6.cardcode=t0.cardcode and t5.docdate between '[%0]' and '[%1]') 'Price Bef. Disc.'
,(Select sum(t7.linetotal) from rin3 t7 inner join orin t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode in ('6','7') and t6.docdate between '[%0]' and '[%1]') as 'Freight'
,(Select sum(t7.linetotal) from rin3 t7 inner join orin t6 on t6.docentry=t7.docentry where t6.cardcode=t0.cardcode and t7.expnscode ='11' and t6.docdate between '[%0]' and '[%1]') as 'W/TAX'
,(select sum(t8.vatsum) from oinv t8 where t8.cardcode=t0.cardcode and t8.docdate between '[%0]' and '[%1]') as 'VatSum'
,sum(T0.DocTotal) 'Doc. Total'
, T1.SlpName as 'Account Manager'
FROM orin T0
INNER JOIN OSLP T1 ON T0.SlpCode = T1.SlpCode
WHERE (T0.DocDate between '[%0]' and '[%1]')
group by T0.CardName, T1.SlpName,T0.CardCode -
Hi all,
I have requirnment where i have to find the sales per day,i.e if the user select the month jan then sales per day should be calcualated as the no.of days from jan 31st to july 1st 2011 which is considered as the trading financial start.
I want to know if we can give something like this logic -------timestampdiff of last sale date of (presentation variable) and july 1st 2011.
Please help And let me know the possibility.If possible could you give a step by step information how to do it as I am new to obiee.
Thanks and regards
SaraSet level as "Total" for Company dimension in CALENDAR_MEASURES Fact.
-
Hi..
How do u find sales per month for a company?
I have seen FS10N in GL Account display of the sales account but i am not able to comprehend as to what is the exact sales figure?
Please help?
Regards,
KiranHi Kiran,
check this may be it can help you.
Tcode: <b>MCH:</b> - STRPS
for more info <a href="http://help.sap.com/search/highlightContent.jsp">click here</a>
Regards,
Venu.
Message was edited by:
Venu Narayana
Maybe you are looking for
-
My daughters ipod touch has been disabled because of a wrong passcode. After 2 days of trying to get into Itunes, it will not help without a passcode and is not recognizing it as a device even though the computer is recognizing the USB. I know I ha
-
HP Solution Center and Windows 8.1
I am using an HP Envy Sleekbook, which is running Windows 8.1 I am connected, via a ethernet/router connection to an HP Officejet Pro 8500 Premier All-in-one device. I am able to add the device via the Windows Control pannel and print from any appl
-
How can I get out of the flashing Apple screen on Iphone 3 ?
How can I get out of the flashing Apple screen on Iphone 3 ?
-
Why wont i tunes recognise my ipod on win 8.1
why wont itunes recognise my ipo touch on win 8.1
-
HT4053 how do i get into the camera? when i push the camera icon it wont open
When i try to open the camera or go into my photos by pushing either of the icons it opens and clses right away....what am i doing wrong?