Querries on V_V2
Dear Experts,
Needed your help.
We have 3 order types
Order-1 -Order type (ZH)
Order- 2 - Order type (ZM)
Order 3 - Order Type (ZL)
User has created multiple orders and all are awaiting for quntity confirmation to proceed for Dly/GI/Invoice.
In wearhouse, stock filling happens at 6AM, allocation happens at 8 AM by using T-code V_V2.
Now, the issues is, when V_V2 executed, system should consider and reserve stock as mentioned below prority
ZH- 1st prority
ZM- 2nd
ZL - 3rd
Could you please guide how to set this in V_V2 batch program ?..
Really appreciate if you can share any screen shots
Thanks in advance
KVK
Hi KVK,
Are all three order types using the same number range?
If not, then you can just sort with Document Number = priority 1.
I do not think there is a way to sort by order type. The sorting in V_V2 takes place at the following code:
SDV03V02 FORM XTAB_SORT
SORT xtab BY (LV_SORT1) (LV_SORT2) (LV_SORT3)
(LV_SORT4) (LV_SORT5).
The problem is that the XTAB structure does not contain an "Order Type" field. Therefore, the system will not sort by it.
Similar Messages
-
MS Access has a feature of creating querries to access only parts of a table. My question is there a way to retrieve those querries or run them to retrieve that specific data?
hi ,
i'am trying to update my database which resides on the server as of now.. The database being Microsoft access .. I defined the field type in access but when i run a servlet thru my .html file it is not updating the my database ... i'am using apache tomcat for this ....Instead it is giving me NUll Pointer exception..... here is my code plzz let me know where am i making an error.....
import java.sql.*;
import java.io.*;
import java.text.*;
import javax.servlet.*;
import javax.servlet.http.*;
public class TestServlet extends HttpServlet
private Connection con;
private PrintWriter out;
public void init(ServletConfig config) throws ServletException
super.init(config);
String dataSourceName = "LAVS";
String dbURL = "jdbc:odbc:"+dataSourceName;
try
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");//Load JDBC-ODBC Bridge driver
Connection con = DriverManager.getConnection(dbURL,"","");// set this to a MS Access DB
catch( ClassNotFoundException e){System.out.println(" JDBC-ODBC "); }
catch(SQLException e){System.out.println(" sql exception ");}
}//end of init
// doPost Method is called in response to the Post Request
public void doPost(HttpServletRequest req,HttpServletResponse res) throws ServletException
try {
Statement stmt ;// used to access database
ResultSet rs;// used for databae access
res.setContentType("text/html");//Set the content type of the data to be sent back to the client.
PrintWriter out= res.getWriter();//Get an output writer object to send data back to the client.
stmt = con.createStatement(); //Get a Statement object
String FirstName = req.getParameter("FirstName");//Get the incoming data parameters from the client
stmt.execute("insert into TEST12345 values(' "+FirstName+" ')");
//stmt.executeUpdate("INSERT INTO TEST12345("+"FirstName) " + " VALUES('"+ FirstName+"')");
out.println("<HTML>");
out.println("<Body>");
out.println("<h1> DATABASE UPDATED </h1>");
out.println("</Body>");
out.println("</HTML>");
System.out.println("Database updated");
stmt.close();
con.close();
catch (Exception err) { System.out.println(err);}
}//end of doPost
}//end of TestServlet
Thanks in advance .... -
Need to run the rescheduling job V_V2 whenever goods are received
Hi,
Whenever Goods are received into the warehouse then the rescheduler program v_v2 need to be run only for that particular material automatically.
Any help or suggestions would really be appreciated.
Thanks,
SreBalaji,
Thanks for your quick response.
Currently we are running V_v2 as a background job every night for all the materials.
But now we need to run it for a material for which goods are received.
If i run it as background job then it has to be run for a specific set of materials or for all the materials in the plant.
But my need is whenever I receive Goods through MIGO, I need to run V_v2 automatically for the material for which i received goods.
Hope its clear now...
Thanks,
sre -
Hi All,
Good Morning,
I am working on once Incident for Re-Scheduling Program V_V2 where the user has requested us to change the criteria for determining the priority of Sales Document based on Sort Item by date of creation. Currently they are using the Sort by delivery date of earliest schedule line in the Variant.
I would like to know the role these both options play in the Re-Scheduling program V_V2. I would like to know the impact of both of them and the kind of testing I need to perform to study the behaviour of Sales Orders especially when the material is out of stock?
Please explain with help of examples.
Thanks
Farhan.This is not that simple that an example would explain how this transaction works but I'll give you some examples.
Material A has SO1 and SO2 of 10KG each, stock is 20KG so both quantities are confirmed at today. A stock recount determines a reduction to 5KG. This program would change confirmed quantity of SO1 to 5KG and SO2 to 0KG if:
Creation date of SO1 is older then SO2 in strategy 1
1st delivery date of SO1 is smaller then SO2 in strategy 2
Material B has SO1 and SO2 with 10KG each but no quantity confirmed, stock is 0KG. A prodution adds 15KG to stock. The program would change confirmed quantities of SO1 to 10KG and SO2 to 5KG if:
Creation date of SO1 is older then SO2 in strategy 1
1st delivery date of SO1 is smaller then SO2 in strategy 2
I'm assuming a specific configuration, there are many other scenarios possible.
regards,
Edgar -
Scheduling agreement qty requirement is not considered in V_V2
Hi Friends,
We are facing a problem in rescheduling transaction V_V2. System is not considering the requirement of the confirmed schedule lines of the scheduling agreement while carrying out the ATP in V_V2 and the available qty is allocated to the sales orders.
Ex: Available Stock : 1000 EA
1. SA confirmed Qty: 1000
2. Sales order created for the qty of 1000, system is considering the SA requirement and confirming the SO based on RLT.
3. When we run ATP in sales order change, system is still considering the SA requirement and not changing the confirmed date.
4. But when we run the V_V2, system is ignoring the SA and confirming the SO line item with PULL-IN.
Because of this SO is stealing the stock reserved for the SA. Is there a way to change the behavior of V_V2 similar to VA02, which considers the SA requirement / confirmed qty while rescheduling.
Thanks,
RamHi Ram,
Rescheduling of sales documents is item specific. It is not possible to reschedule individual schedule lines of scheduling
agreements. Each schedule line is displayed but only the open quantity can be rescheduled.
You can find further information in SDV03V02 documentation.
The open qty on item level will be checked becasue rescheduling of sales documents (scheduling agreements) is item specific.
Availability Check in Rescheduling is always on item-level.
Thanks and best regards,
Smile -
Customer Opening Hours Vs V_V2
Dear All,
We have special requirement, when a customer places order it has to take consideration in to the customer opening hours in to consideration, for example if the customer opens only on TUE and Thurs if he places order on Friday it has to give automatically TUE as delivered date, incase there is no stock we have standard 6 weeks date will be given by the system and this date also need to be the date of customer opening day.
This is all happing fine when we create the sales order with the fully stock, when there is no stock partial stock and when we have more than one schedule lien at sales order level it is working fine.
But when I Run the V_V2 for rescheduling the sales and stock transfer requirement transaction., that means in case if I have any stock coming in to my ware house before the date is given in the sales order schedule line, in the program it shows me confirmed date for the rest of the qty as goods received date + GR Processing Time From MRP1 from material master.
Here the problem is in this program it is not taking into consideration of customer opening hours from customer master.
This gives the new date just after the goods receive date, but I want customer opening hours to be considered that means if the customer is opened on TUE even though I receive the Goods on Friday I dont want to deliver on Monday I want the deliver date to be Tue only.
Any Idea how can I achieve this???
V_V2 (Standard)
The 'Rescheduling' program (SDV03V02) processes sales document items that are contained in the item directory for the material. It takes into consideration open items and schedule lines from stock transfer items, stock transfer scheduling agreements and purchase order requests (items only), referred to hereafter as stock transfer documents, for the materials.
Thanks & Regards,
Sunduhello, friend.
try this...
1. first, define a customer specific calendar using t-code SCAL. this calendar can include the days the customer is open.
2. using XD02 or VD02, go to the Customer Master > General Data > Unloading points tab. in here, specify the unloading point and the calendar. (however, this may entail additional config on your part).
regards.
Edited by: jonathan yap on Feb 19, 2008 6:41 PM -
Transacation V_V2 is timing out
When attempting to run V_V2 Rescheduling Deliveries for Backorder
management the report times out and a Time Out message is received.I am
attaching the short dump below with this? Please advise on the soluiton and
if this is a basis related issue or not? The dump also mentions about increasing the parameter
"rdisp/max_wprun_time". The current setting is 600 seconds.
Runtime Errors TIME_OUT
What happened?
The program "SAPLV05L" has exceeded the maximum permitted runtime without
interruption and has therefore been terminated.
Error analysis
After a specific time, the program is terminated to make the work area
available to other users who may be waiting.
This is to prevent a work area being blocked unnecessarily long by, for
example:
- Endless loops (DO, WHILE, ...),
- Database accesses with a large result set
- Database accesses without a suitable index (full table scan)
The maximum runtime of a program is limited by the system profile
parameter "rdisp/max_wprun_time". The current setting is 600 seconds. If this
time limit is
exceeded, the system attempts to cancel any running SQL statement or
signals the ABAP processor to stop the running program. Then the system
waits another 60 seconds maximum. If the program is then still active,
the work process is restarted.
How to correct the error
Programs with long runtime should generally be started as background
jobs. If this is not possible, you can increase the system profile
parameter "rdisp/max_wprun_time".
Depending on the cause of the error, you may have to take one of the
following measures:
- Endless loop: Correct program;
- Dataset resulting from database access is too large:
Instead of "SELECT * ... ENDSELECT", use "SELECT * INTO internal table
(for example);
- Database has unsuitable index: Check index generation.
If the error occures in a non-modified SAP program, you may be able to
find an interim solution in an SAP Note.
If you have access to SAP Notes, carry out a search with the following
keywords:
"TIME_OUT" " "
"SAPLV05L" or "LV05LU01"
"WERTE_ERMITTELN"
|Increase the value of parameter "rdisp/max_wprun_time" in RZ10 or RZ11 t-code and try again.
Regards,
mahendra -
V_V2 Rescheduling Sequence Issue
V_V2 Rescheduling is not working properly for sort order sometimes. I set sort order by default - Document category > Delivery Priority > Date (Sort item by date of creation) > Document Number and Document item. And excute V_V2 as daily batch job. And for example, I created two OR orders A and B (A before B). The delivery priority of them is the same. Now, I only have enough stock for order A. Sometimes, system will remove the confirmed qty from A and move the stock to B, during V_V2 batch job. Does anyone have idea why system is working in this way? Thanks!
Also, ensure all the line item creation dates are accurate. There are times in my company where sales order B will take stock allocated to sales order A, even though sales order A was created before sales order B. The reason could be that a user created a new line item on sales order A, and even though the header date for sales order A was created before B, the line item date for A occured after the line item date for B. Hope this is clear.
-
V_V2 does not allocate if line can not be completely fulfilled
When we run V_V2 and total demand exceeds available inventory (based on Checking Rule "A-SD Order"), stock is not allocated to any line item unless that line can be completely fulfilled. Why? Can this be changed through any setting:
BEFORE: Available Stock 1200
Order 1 - 200
Order 2 - 400
Order 3 - 700 (nothing allocated)
Order 4 - 100
Order 5 - 300
AFTER: Available Stock - 200
I would think V_V2 would allocate 600 cases to Order 3 and nothing to Order 4 and Order 5 since they are lower in PRIORITY (based on the specified "Sort order".
Thanks for your help!!!
Pat HeffernPlease go through Note 549064 - FAQ: Rescheduling and backorder updating in R/3
thanks
G. Lakshmipathi -
having problem w 3rd party software ., there tech advsed me to repair permissions before reinstalling software . However , querrie says repairing permissions is not good for system . whats up ,, help !!!
I've fixed the problem - I think.
I forgot I had the program "Little Snitch" installed on my computer. So I went into it and saw that it was blocking most of my connections for all the programs I use on a daily basis. Once I lifted the RULE to those certain programs - BAM - everything came back to life in an instant! -
Some querries related to BOM,Rework order
Hi FRIENDS,
Really feeling good to being among SAP intellectuals.This is my first thread in community....
I am working in SAP QM past 2 yrs,and am trying to get some SAP PP knowledge...
pLz help me out in getting some knowledge......
a) Whis is it so that rework order is always created without material,it sounds confusing to me.Cant I prepare a standard order for a component say of 100 pcs and then confirm it by 95 pcs and create rew another order with material(same) for 5 pcs..
By co07,the user can book other component (apart from BOM component of that header) by going to co07---bom tab.
Can it be stopped....
b) Another querry is related with BOM....
Why By product is maintained in negative qty in BOM,Cant get the theory behind it.....
Plz answer my querries....Dear Snehal,
1.Normally a rework order will be created in order to address the product which does meet the expected quality parameters.
2.For a rework order which is created through CO07,no GR will be made and only confirmation will be required because
already the whole product exists as such and this order helps to capture the extra cost spent for correcting the product and
for settlement.
3.So for this reason order without material will be created without referring to any particular material or say product and in
case if you creating a production order with material GR will be made as an automatic process or manual GR.
4.A byproduct will be maintained in negative quantity because so much of product will be obtained as an output along with the
main product.In this the GR will be happening for the main product as well the by-product.So the normal components will be
maintained in +ve quantity which means consuming so much quantity the fianl product is produced and if any component is
maintained in negative quantity then it indicates that its a by product.
Check these links to explore more.
settings for co-product and by-product
Re: Co product and By Product
http://sapfunctional.com/PP/Co&BiProducts.htm
Regards
Mangalraj.S -
Cutomer Oping Hours and V_V2
Dear All,
We have special requirement, when a customer places order it has to take consideration in to the customer opening hours in to consideration, for example if the customer opens only on TUE and Thurs if he places order on Friday it has to give automatically TUE as delivered date, incase there is no stock we have standard 6 weeks date will be given by the system and this date also need to be the date of customer opening day.
This is all happing fine when we create the sales order with the fully stock, when there is no stock partial stock and when we have more than one schedule lien at sales order level it is working fine.
But when I Run the V_V2 for rescheduling the sales and stock transfer requirement transaction., that means in case if I have any stock coming in to my ware house before the date is given in the sales order schedule line, in the program it shows me confirmed date for the rest of the qty as goods received date + GR Processing Time From MRP1 from material master.
Here the problem is in this program it is not taking into consideration of customer opening hours from customer master.
This gives the new date just after the goods receive date, but I want customer opening hours to be considered that means if the customer is opened on TUE even though I receive the Goods on Friday I dont want to deliver on Monday I want the deliver date to be Tue only.
Any Idea how can I achieve this???
V_V2 (Standard)
The 'Rescheduling' program (SDV03V02) processes sales document items that are contained in the item directory for the material. It takes into consideration open items and schedule lines from stock transfer items, stock transfer scheduling agreements and purchase order requests (items only), referred to hereafter as stock transfer documents, for the materials.
Thanks & Regards,
Sunduhello, friend.
try this...
1. first, define a customer specific calendar using t-code SCAL. this calendar can include the days the customer is open.
2. using XD02 or VD02, go to the Customer Master > General Data > Unloading points tab. in here, specify the unloading point and the calendar. (however, this may entail additional config on your part).
regards.
Edited by: jonathan yap on Feb 19, 2008 6:41 PM -
Not showing any results V_V2 resheduling sales and stock transfer documents
My client using IS Retail . First i create sales order i want resheduling perticular order through V_V2 i enter article and site ,process sales documents,process stock transfer order,unconfirm quantity and leave simulation but it does not showing any results...previous showing from 2008 to 2010 sales orders only....
Please give answer i am waiting your reply...
Edited by: amitp2121 on Mar 3, 2011 11:57 AMHi Hweiling,
In my opinion V_V1 used to create confirmed backorder (line item where confirm quantity in first schedule line is 0 and there is no second schedule line) .
V_V2 is used when you want to alocate your stock based of priority or some criteria.
For example you have order 1 that created on 07.2007 confirmed but you hasn't delivered yet, then you have order 2 that created on 08.2007 it's not confirmed, and you have the other order 3 that create on 01.2008 and it's confirmed ready to deliver 03.01.2008. You can use V_V2 to alocate the stock to first order, 2nd order and third order. So you can deliver the first order first, 2nd order and then the 3rd order will be in backorder.
If you run V_V1, it's only update the stock for second item (if stock is enough).
If you think why it's not update the order that you want when you run V_V2, please check the criteria and the stock.
Guys please correct me if I am wrong.
tsalasi -
V_V2 and V_R2 Replanning the orders
Have looked into the transaction V_R2 and with this transaction we see how many orders and can evaluate the order stock for a special material. V_V2 is used to make the real replanning and it seems that this can only be used for orders not yet confirmed. Is there any transaction or is it possible with this 2 transaction to also get a replanning for orders already confirmed or is it only CO06 that can be used for replanning the orderstock for a certain material.
Motive behind the question:
The shortage of material for the moment is a big problem but sometimes it happens that the supplier has been able to supply us with shorter delivery time even though the purchase order is confirmed with longer leadtime. Our orderplanners want to have a tool to make replanning for all orders with a certain material and it should be easy to update the confirmation for these orders.
In CO06 they have to manually update order for order.
Do you have any solution for our problems ?Dear Expert
Will you please explain me the comparative analysis of these three transaction
Regards
Vinay -
V_V2 and VA02 authorisation restriction
Hi,
When we run the transaction V_V2 (rescheduling sales and stock transfer documents),once we get the open sales order document number the user is able to go to that particular sales order change mode by double click (VA02) changing the document i.e. he can change delivery block remove, Article QTY etcu2026
Can we restrict the user in transaction V_V2 should not allow to double click or change the document, as for some user we are not providing access to VA02.
Regards
RikinHi Eduardo,
No its not like that..i have two types of user..Power user and floor user. So those who are power user will have an access to Va02 and those who are floor user will not have an access to Va02 instead that only have an access to V_v2.
But these user are missing using the functionality of V_v2 and from there they are changing few fields like qty and removing delivery block etc..
So i want to restrict Va02 to floor user even via V_v2.
Regards
Rikin
Maybe you are looking for
-
I have a black band across my screen is it broken
I have got a black band across my screen on my I pad don't know how this has come is it an error or something, or is it broken.
-
Hai, When I try to upload a JSPDynpage in NWDS it is showing Build of project failed. But no errors when i upload Abstract portal component. Also please specify how to set classpath for JSPDynPage
-
Creating EDI file of fixed length from B2B
Hi Gurus, I want to create an edi 810 file from B2B(Outbound) for a partner which has an unusual requirement of the file length. The file length should be 80 characters long. The Output EDI should look something like this. ISA*00* *00* *01*041158668B
-
How to activate & process Notification
Hi Team Pls suggest me steps into Notification processing. I am not clear with Rel, Teco status. When to release & tech. complete this. Thanks
-
Need of ABAP logic for 0CDFY variable
Hi Everyone, Iam trying to use the Current Fiscal Year--0CDFY variable in one of query. I want to know the ABAP logic for that variable. anyone please help me out Thankyou ARUN