Query - order vs delivery first fill ratio
Hi Guys
We have the sales overview cube 0sd_c03 here in that we are loading sales,billing and delivery data
data source 2lis_11_vaitm, 2lis_12_vcitm, 2lis_13_vditm now i have a requirement of first fill ratio
that means in frist 48 hours what we is our delivery %.
lets sales order 100 is having 2 line item i.e 10 and 20 and 2 materials and quantity then the sales order records will be
orderno item material orderdate qty
100 10 m1 17.10.08 20
100 20 m2 17.10.08 79
for this sales order delivery entries will be like below lets asume
deliveryno item material Deliverydate qty
3000 10 m1 18.10.08 5
3000 20 m2 17.10.08 35
3000 10 m1 19.10.08 7
3000 20 m2 22.10.08 46
3000 10 m1 23.10.08 8
so first fill ratio will for m1 material will be
(12/20)100* 20 is the order qty , 12 is the quantity which has been delivered
within 48 hrs of the requested date so for material m1 60% is the first fill ratio.
same
(35/79)*100 = 44% for m2
can any one suggest how to get it i can get both order qty and delivery qty and devide it but this 48 hrs concept is there and another requirement is suppose u view this data on november by that time all goods have been delivered for M1 material but first fill ratio should be same whatever delivered within first 2 days.
Regards
Amiya
guys please give some ideas how we can proceed for this requirement is this possible in sales overview cube or we have to create generic ds.
Similar Messages
-
Payment should be paid before order or delivery.
Dear Guru,
My requirement the payment should be paid in full before the order or delivery. When we create the order or delivery it should check the payment of the customer and create the order or delivery. It should show the error msg if the customer is not paid while creating the order.Is there any user Exit for this.....?
Please help.
Regards,
Malagi.Hello !
I have worked on the similar requirement in one of my projects in which Customer has to make 100% of the order value or 10% of the value initially and rest 90% before delivery.
In this scenario, once the sales order is created, 2 blocks would be there. One is Delivery block and another is billing block.
Suppose if the Payment Terms is 100% of order Value:
Here after saving the sales order, we used to first remove the billing block in change mode of the sales order then create Invoice for total value in VF01 & receive the incoming payment in F-27. then once again go to change mode in sales order and remove the delivery block, do the delivery & PGI.
As far as Error msg is concerned you can take help from ABAP consultant.
Hope i have answered your query. Feel free for any clarification.
Regards,
Mayank -
Link Sale Order with Delivery through DTW
Hi All
While importing Deliveries through DTW, is it possible to Link a Sale Order with Delivery?
If it is possible then can any one tell me the procedure.
Thanks in Advance
Chakrapani BandaruIn the template for the document lines, you will find fields for base entry, base type and base line . Fill these with the object type for sales orders, the line number and the doc entry (not doc num) of the relevant linked document
-
Availability check on storages in sales order and delivery documents
Hi all,
I'm verifying if it's possible to find a standard or a custom solution for this type of problem:
I have a scenario in which there are more storages relevant for MRP (ex. 01, 02, 03, 04), and, in if I check availability in sales order or delivery (using checking rules "A" or "B") with setting which considering storages location inspection in availability check control, system check if there's stock available on all these storages.
I'm trying to verify if it's possible to consider only some on these storages (ex. 01 and 03 only) in sales order and delivery documents availablity check.
I know that in sales order storage location field is normally filled only using exit, but i don't know if it's possible to do, using a user exit, check availability considering only some storages and not all. At delivery level i have tried to use stock strategy, but this functionality don't have consequences on availability check, also if it's relevant during good issue phase.
Any suggestion will be appreciated.
Regards
GianpaoloHi Gianpaolo,
We had some issues with availability check on a Customer Site.
I don't remember right now if we had to exclude storage locations from MRP to take them out from ATP, but I guess Shiva is 100% correct.
At the end, what was done was to always "force" a unique storage location in the sales order item, which will be the storage location used for shipping of the delivery of course.
If you use WM in your plant, then you will have no problem in having a unique storage location, so no problem.
Anyway you are correct in your analysis, if the Storage location is not informed in the sales order item, then all the plant stock is taken in account for ATP.
Best Regards,
Franck
Freelance Logistics SAP Consultant -
Dear All,
In a sales return scenario i am using inspection type 05,at the time of PGR system is inspection lot with mvt. type 655,my query is i want to get sales order no & delivery no so that i can create notification on the basis of that.I have saved one layout but in QA32 screen but when i am QA32 with inspection type 05,it is not showing sales order no and delivery no.Kindly help me to resolve this issue.
With Regards.hi,
u create a notification manually or that notification created in bckgrnd while ur RR.
If it is bckgrnd genrated notification against lot than definitely u get those fields in ur layout. and if u create notification manually than in initial screen u need to enter the sales order / delivery order number.
if it is bckgrnd one than system shows F1 and if it is manual than it is Q1.
Regards -
Link from sales order to delivery not complete
2007A
We have a few cases where the link from a sales order to delivery is not complete. For example, we have a sales order with 2 lines on it. We copy to delivery and add. Remarks field has the comment "based on sales order ...." However if you try to get to base document the icon is not available. In looking at the base document, base reference, base line fields on the items they are blank.
We also have instances of this where there were 20 lines on a sales order, we copy to delivery and 19 lines are linked but one is not.
Any ideas as to why this might be happening?Hi Keith ,
It looks like an application error to me if the action is straight forward - copy from SO to Delivery .
If you can replicate the issue , it is definitely a bug and you probably need to test with upgrade if it is happening or not .
So far , I would look for a higher version of patch and see if that issue is particularly addressed and resolved .
Also use this query for more help
SELECT DISTINCT T0.DocNum FROM ODLN T0, DLN1 T1 WHERE (T0.DocEntry = T1.DocEntry) AND (T1.BaseEntry = [%0] OR T1.BaseRef = [%1])
Hope this helps
Bishal
Edited by: BIshal Adhikari on Dec 11, 2009 9:47 AM -
Change a sales order while delivery
Hi Gurus,
I need to change the status of a sales order line item from being complete to incomplete in case it fails some validation during delivery creation.
I was earlier planning to code this in the copy-control routine ( order to delivery) and use the standard FM BAPI_SALESORDER_CHANGE in the copy control code to attain this, but however, the sales order cannot be edited when being delivered.
Is there any other means of attaining this. Backend update of tables can lead to a couple of challenges and undesired behavior that I want to avoid.
Regards,
JasmitDear Jasmit ,
As Regards to the Change a sales order while delivery.
There will be 2 Approaches for it
1. Firstly use the User Exit SAPMV45A.
2. Use the Enhancement V45S0001/V50S0001/V50R0004
This will definitely help in your requirement .
Regards,
Saurabh Goel -
Credit management at order level ,delivery level and PGI Level.
Hi All,
I have a scnario where in at the order level i want to give a wariniog message ,at the delivery level again a warning message and at the pgi level the system should stop me form doing PGI!kindly specify the settings.
Second Scenario:Error at order level ,delivery level.
Regards
RKMHI,
First u assign credit group as 03 at pgi level in that particular sales order type in VOV8 document functionaliyt..
If you are using simple credit check then Put error message there in credit check field of VOV8..
In case of automatic credit check then please go to OVA8 t.code there u put reaction as warning message and then status as blocked...
Regards
sankar -
The order for delivery is blocked because of funds management
Hi sap gurus,
when i am doing out bond delivery(T .code -vlo1n) on that time i am getting error--
The order for delivery is blocked because of funds management
Its very very urgent
Thanks
SaiHi,
First of all, you go to t. code: KO22, there you check the total budget of the internal order and go to the t.code:S_ALR_87013019, there you check the availability of the budget of that particular order then budget management need to supplement (means increase the budget amount in the order by required amount) the budget KO24 , then you have to try to do Outbound delivery.
Regards,
Ramesh -
Approval Query for Sale Delivery Problem
Hello,
I have to set approval procedure of Sale Delivery in following condition
If i add sale order for Specific item for 10 Qty for example C01 customer & after that i add sale order for same item qty 10 for another customer ie C02 & i have stock for that item 50 but user give delivery first to C02 in staid of C01 but C01 give me first order
on this condition i have to set approval user can't deliver second sale order first he have to take approval from manager to do this & he deliver first order first then then don't have to need approval.
Can any one help me?Hi,
Row level approval is not possible in SBO.
You may check this for your reference: http://www.beonesolutions.com/ip/Solutions/ap.html
Thanks,
Joseph -
Customer reference from offer to order to delivery to invoice
Hello,
I want to copy my customer reference from offer to order to delivery to invoice.
I already found that I can use an UDF and formatted search to copy from 1 document to another.
But this doesn't work if I use the wizzard to go from delivery to invoice or from order to delivery.
I guess that I have to use SBO_SP_Transactionnotification. Is this correct? Does anyone have an example?Hi,
I think SBO 2005 SP1 includes this functionality. Haven't tested it yet, though.
Using SBO_SP_Transactionnotification for solving this problem is rather troublesome, as you are not allowed to modify the database directly with a query. Basically you could catch the event of adding a new document with SBO_SP... but then you would have to use another tool for updating the document. Such as DI API.
Henry -
ORACLE 9I의 HIERARCHICAL QUERY의 ORDER SIBLINGS BY CLAUSE
제품 : ORACLE SERVER
작성날짜 : 2003-10-22
(V9I) Oracle 9i의 Hierarchical query의 ORDER SIBLINGS BY CLAUSE
===============================================================
PURPOSE
이 문서는 Oracle 9i의 new feature인 ORDER SIBLINGS BY 절을
Hierarchical query에 사용하는 예를 통하여 특정 컬럼을 기준으로
Ordering된 형태로 display하는 방법을 보여준다.
Explanation & Example
Hierarchical query를 구현할 때 ORDER BY 절을 사용하는 것은
Oracle 7.1 버젼부터 가능한 것이었다.
그러나, 순서대로 ordering되지 않고 특정 컬럼(emp table의 ename)을
기준으로 ordering하기를 원한다면 <Bulletin:10373>처럼 procedure를
작성하여야만 하였다.
그러나, Oracle 9i 에서는 ORDER BY 절 대신에 ORDER SIBLINGS BY 절을
사용할 수 있어 user-defined stored procedure를 만들 필요가 없게 되었다.
1) Ordering 하기 전의 emp table의 Hierarchical query
SQL> @a
ename EMPNO MGR JOB
KING 7839 PRESIDENT
JONES 7566 7839 MANAGER
SCOTT 7788 7566 ANALYST
ADAMS 7876 7788 CLERK
FORD 7902 7566 ANALYST
SMITH 7369 7902 CLERK
BLAKE 7698 7839 MANAGER
ALLEN 7499 7698 SALESMAN
WARD 7521 7698 SALESMAN
MARTIN 7654 7698 SALESMAN
TURNER 7844 7698 SALESMAN
ename EMPNO MGR JOB
JAMES 7900 7698 CLERK
CLARK 7782 7839 MANAGER
MILLER 7934 7782 CLERK
14 rows selected.
Ordering 하기 전의 a.sql 은 다음과 같다.
col ename format a25
col empno format 99999
col mgr format 99999
col job format a15
select rpad(' ', LEVEL*5) || ename "ename", empno, mgr, job
from emp
start with job='PRESIDENT'
connect by prior empno=mgr;
2) 9i의 new feature인 Hierarchical query를 사용하여 Ordering한 경우
SQL> @new_a
ename EMPNO MGR JOB
KING 7839 PRESIDENT
BLAKE 7698 7839 MANAGER
ALLEN 7499 7698 SALESMAN
JAMES 7900 7698 CLERK
MARTIN 7654 7698 SALESMAN
TURNER 7844 7698 SALESMAN
WARD 7521 7698 SALESMAN
CLARK 7782 7839 MANAGER
MILLER 7934 7782 CLERK
JONES 7566 7839 MANAGER
FORD 7902 7566 ANALYST
ename EMPNO MGR JOB
SMITH 7369 7902 CLERK
SCOTT 7788 7566 ANALYST
ADAMS 7876 7788 CLERK
14 rows selected.
Ordering하기 위해 사용한 new_a.sql 은 다음과 같다.
col ename format a25
col empno format 99999
col mgr format 99999
col job format a15
select rpad(' ', LEVEL*5) || ename "ename", empno, mgr, job
from emp
start with job='PRESIDENT'
connect by prior empno=mgr
order siblings by ename;
Reference Documents
<Bulletin:10373>Thanks to Kendenny, Boneist and Odie.
Got the point that "Order Siblings by clause" cannot be used with connect by query with analytical function, Thanks Kendenny.
Yes, I now use main query and subquery, however the subquery be just "connect by" and have the all html tags added in the main query.
The below query is working now.
SELECT
CASE WHEN LAG(mylevel,1,0) OVER (ORDER BY myrownum) >= mylevel THEN '<li>'
ELSE
CASE LEAD(mylevel) OVER (ORDER BY myrownum)
WHEN mylevel THEN
CASE WHEN myrownum = 1 THEN '<ul id="sidebarmenu1" '
ELSE '<ul'
END ||'><li>'
ELSE
CASE WHEN myrownum =1 THEN '<ul id="sidebarmenu1"'
ELSE '<ul '
END ||' ><li>'
END
END ||'<a href="'||
CASE WHEN link_url IS NOT NULL THEN
link_url||'title="'||menu_item||'"'
ELSE '#"' END ||
'><span>'||short_menu_item||'</span></a>'||
CASE mylevel - LEAD(mylevel,1,1) OVER (ORDER BY myrownum)
WHEN -1 THEN NULL
WHEN 0 THEN '</li>'
ELSE REPLACE(LPAD('*', myleveL-LEAD(mylevel,1,1) OVER (ORDER BY myrownum),'*'), '*','</li></ul></li>')
END ||
CASE WHEN LEAD(mylevel,1,0) OVER (ORDER BY myrownum) = 0 THEN '</ul>'
ELSE NULL END unordered_List,
menu_item, menu_id,
above_menu_id
FROM (
SELECT LEVEL mylevel, ROWNUM myrownum,daevmt.*
FROM dae_vs_my_tasks daevmt
CONNECT BY PRIOR daevmt.menu_id = daevmt.above_menu_id
START WITH daevmt.above_menu_id = 'TOPMENU'
ORDER SIBLINGS BY display_order
) t;
Odie, I tried altering the session for the flag, still the first query was not working.
Thanks again all for your great time in answering me. -
Abap Report including sales orders and delivery data.
Hi Experts,
I Want to develop a new abap report which would contain the data for sales orders and delivery.
I want to fetch all the sales orders based on the ship date (LIKP-WADAT_IST) of the delievry.
Could anyone please let me know how to fetch teh data or is their any function module which would help me to solve my problem.
<Removed by moderator>
Thanks,
Komal.
Moderator message : Spec dumping not allowed. Thread locked.
Edited by: Vinod Kumar on Aug 10, 2011 1:25 PMpost this in ABAP forum for quicker response.
Regards
Raja -
The sales oreder # has a material to deliver it's requirement is 8400 and the stock is good but q"ty of 340 EA has not been picked up ...
IN the Delivery the Qty picked uo is 8060 not 8400.
but the order status in now fully delivered
any body can answer what is exact issue there an dis there any setting have to be made as there is no partial delivery in order but delivery qty is less than order qty.
if want more info pl let me know..
Regards !
Vaibhavbut the order status in now fully delivered
Check for your item category in VOV7 for the field Completion Rule
thanks
G. Lakshmipathi -
Can't change quantity when copy from Sale order for Delivery
Hi all!
Can i use authorization for can't change quantity when copy from Sale order for Delivery.Tien,
Approval will not work when you have mutiple rows of data. You would have to work with SP Transaction Notification
There has been threads before on the forum on the same topics.
Block the Quantity in Sales Delivery
Approval Procedure for chaning quantity in Delivery Document
Suda
Maybe you are looking for
-
Swtich with 2 wireless routers (configuration for best practice/advice?)
HI folks, I have a gigabit switch, and 2 wireless G routers. I'll leave the model numbers out as it's fairly irrelevant - all linksys. Router 1 is used as a router only (due to location in basement) Router 2 is used for wireless only My current netw
-
Managed vs Referenced vs Dups vs Junk
I try to keep all of my photos in Aperture, either as Managed or Referenced. I believe 95%+ are Managed and the others Referenced. I had some issue some time ago that forced me to have some of the Photos as Referenced. How can I tell what photos a
-
Issues with coverted files of captivate from CP2 to CP4
Hi Adobe, We have a captivate files made using CP2 and saved it as CP4 and published it for Flash8, AS2 and SCORM 1.2. This a multi-sco course and each SCO had one CP file 1st CP file contains the simulation with few self-checks in it and the 2nd CP
-
10.4.11 update and cursor jump
This problem occurs in Thunderbird, MS Word, Allgood Solitaire, Firefox, and so on. I let Software Update download the 10.4.11 patch. I installed, rebooted etc. The cursor jumps when I use the trackpad, and also acts as double-click when I mouse-over
-
IPad Air auto brightness doesn't dim
Hi guys I recently purchased an iPad Air, and I've noticed an auto brightness issue. Whenever I unlock the iPad in a bright room and move to a dark room, it doesn't dim (I've had it dim TWICE following that scenario, but after a long wait--30 minutes