Calculation of goods issue date in scheduling agreements with routes
Hello together,
i have a problem with the calculation of goods issue date in scheduling agreements when we use route, because the system ignore the days of transit.
Example:
We had customized the route 4711 with a transit time of 3 days. This route would be related to a scheduling agreement. But this setting has no influence to the calculation of the goods issue date for the schedules. The same happens with loading date and so on.
Can anyone give me a tip, which setting is additional necessary?
Regards
Andreas Walter
Hi,
check the following settings
1, Route determination Path : IMG>sales and distribution>Basic function>Routes>Route determination
2, Activate the route Determination for your sales document type in following path :IMG>sales and distribution>Basic function>Routes>Route Schedule Determination-->Schedule with route schedule for sales document type
3, Maintain Delivery scheduling and transportation scheduling in the following path:IMG>sales and distribution>Basic function>Delivery scheduling and transportation scheduling>Maintain Duration
Regards
Senya
Similar Messages
-
Calculation of goods issue date in sales order with routes
Hello Gurus,
This is my first post on SCN, I'm excited to share a new little problem I have.
I have configured my routes determination as per our requirements. For example, I have one route configured in 0VTC such that the transit duration is 1 hour.
When I create a sales order, I enter that route (1 hour transit.dur) under shipping on the line item. Then I set a delivery date sometime in the future to test out my config. Looking at the shipping "Goods Issue Date", I see that the date is 2 hours earlier than my delivery date. It's supposed to be 1 hour.
I looked through many forums and found no help on this. My factory calendar is configured such that all days, including weekends and holidays are production days.
Please advise at your earliest.
Thanks,
MidoHi TW Typewriter,
Yes, I am changing the date in the "schedule lines" tab for the sales order to a date next week, say May 23, 2014. When I click on the display "Shipping" info, I see:
1) Delivery date: 05/23/2014 - 00:00
2) GI Date: 05/22/2014 - 22:00:00
The expectation is to have the GI date 23:00:00 since my config for the route on the sales order is for 1 hr of transit time only.
See attached -
Hi experts,
Where we can find Goods issue date for Schedule line wise.
For line item wise we can find VBFA-ERDAT. for Scheduleline wise.....?
Pls tell me any aone...
Regards,
Murugan ArumugamVBBE Sales Requirements: Individual Records
VBEH Schedule line history
VBEP Sales Document: Schedule Line Data
VBFA Sales Document Flow
VBLB Sales document: Release order data
KONV Conditions for Transaction Data
KONP Conditions for Items
LIKP Delivery Header Data
LIPS Delivery: Item data
VBAK Sales Document: Header Data
VBAP Sales Document: Item Data
VBLK SD Document: Delivery Note Header
VBPA Sales Document: Partner
VBRK Billing: Header Data
VBRP Billing: Item Data
VBUK Sales Document: Header Status and
Administrative Data
VBUP Sales Document: Item Status
VEKP Handling Unit - Header Table
VEPO Packing: Handling Unit Item (Contents)
VEPVG Delivery Due Index -
VA01: Align Good issue dates existing on Schedule line table.
Hi Experts,
I will exemplify my question in order to make easier to understand it. I have a sales order with two lines. Both lines will have different routes determination due to those products have different classification (the first is non-dangerous and second on is dangerous). Dangerous items will have more transit time to get the customer than non-dangerous items. When we have different routes per line items in the sales order, the system will calculate schedule line dates (good issue date, material availability date) differently. However, what the Business wants is to deliver the goods at the same good issue date (VBEP-WADAT). So to get this approach we will have to:
- Check field complete delivery indicator).
- Set the route for non-dangerous good as same as dangerous good.
Both changes described above, it would be performed via USEREXIT. However, my problem is: When the non-dangerous item is the first item of the sales order, the system does not trigger again the calculation of the schedule line dates based on the new route (XVBAP[1]-ROUTE).
I have found out the routine that changes the schedule line dates, but I do not know how to use it. Do you have any other solution?
PERFORM VERSANDTERMINIERUNG_NEU
USING DA_MBDAT DA_MBUHR
DA_TDDAT DA_TDUHR
DA_LDDAT DA_LDUHR
DA_WADAT DA_WAUHR
DA_EDATU DA_EZEIT
TVAK-TRTRM TVAK-VSTRM
TVAK-TENUR
DA_BRGEW XVBAP-GEWEI
DA_GRULG MAEPV-LADGR
XVBAP-VSTEL XVBAP-ROUTE
XVBAP-LPRIO
XVBAP-POSNR XVBEP-ABART "DELETE HP_322509
XVBAP-POSNR "INSERT HP_322509
XVBAP-VBELN "INSERT HP_322509
XVBEP-ABART "INSERT HP_322509
XVBEP-BDART XVBEP-PLART "P40K039864
DA_SUBRC
VBAK-VSBED
MAEPV-TRAGR
TVAK-RFPA_SW
XVBAP-MATNR "INSERT HP_322509
XVBAP-WERKS "INSERT HP_322509
XVBAP-SOBKZ
LF_MENGE "INSERT HP_322509
XVBAP-LOGSYS
CHANGING DA_AULWE.Hi Marcelo,
You can try with User Exit MV45AFZZ (USEREXIT_SAVE_DOCUMENT_PREPARE).
Try with XVBEP. Loop at this table and copy the WADAT into EDATU.
Thanks,
Mandar -
Billing date(fkdat) in sales order item is not copied from Goods Issue Date
Hi All
we are facing problem at item level billing date field.This field should be filled with the GI Date in schedule lines shipping tab.
but, it(billing date) is not being filled with goods issue date but, with the required deliver date at sales order header.
Please give me a solution and the root cause. This is urgent as business is halted.
Thanks
KumarLakshmipati
This is from SAP Screen
"If invoice dates are defined for the customer, the system proposes the billing date from the invoice date calendar. If no invoice dates are agreed, then the actual goods issue date is formed on the basis of delivery related billing. In order related billing, the billing date of the order forms the basis of the billing date."
earlier it is happening as desired.i.e., billing date=GI Date.
but, as of now it is taken from the required delivery date.
Please give me solution
Kumar -
Wrong delivery date in Schedulling Agreement
Dear All,
We maintained scheduling agreements for our Customer's Materials.
For all tomorrow's deliveries i.e of 05.07.2008 all scheduling agreements are showing today's date i.e 04.07.2008 in VL10e as delivery.
Delivery Date : 05.07.2008
Goods Issue Date : 04.07.2008
Loading Date : 04.07.2008
Material Availability Date : 04.07.2008
Trans. Planning Date : 04.07.2008
Interesting point is that no delivery is showing pending for 05.07.2008 in Vl10e. All the deliveries of 05.07.2008 are appearing in today's date.
I checked factory & Sales calender of company. Saturday is working day
Regards,
Sagar Pande.
Points will definitely awarded.Hi,
If you have maintained Delivery Schedule for Scheduling Agreement as 20.05.2011 and Vendor has supplied materials on 15.05.2011 then you can not do GR on 15.05.2011 since Delivery schedule of Scheduling Agreement are firm and have control over dates.
You need to revise the delivery schedule in ME38 to 15.05.2011 and then do GR. -
Goods issue dates are different in sales order & delivery
Hi,
We have a situation where in sales order schedule line tab goods issue date is 21.30.2011
but in delivery the planned GI date is 28.03.2011.
There are two line item in the sales order & in both the line items all the dates are same.
Same route is there in sales order & delivery.
In delivery Item category avalability check Off is Y(Do not check avail. when reporting results of pick.request)
All the dates(delivery,loading,Transportation planning) are different .
waiting for responce.
Thanks In advence
Susrikantgoods issue date is 21.30.2011
What was the Actual GI date in delivery?? This should be the same as schedule line date.
thanks
G. Lakshmipathi -
How to fetch post goods issue date and sales order creation date
Hi All,
How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
Please let me know the solution .
Thanks in advance.Hi,
Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
after saving ur sales order...when u raise the Delivery using VL01n w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
You can the fetch the values using tables- Use T code SE12 or SE16
Vbak-----order header
Vbap-----order item
Vbek-----order schedule line
Likp-----Delivery header
Lips----Delivery item -
Want to change Del Date and Goods Issue date in Delivery scdl tab of PO
Hi Gurus,
I am in a situation wherein i need to change the Goods Issue date in Delivery schedule tab of Purchase Order and make it equivalent to Delivery date in the same tab.
Currently the Goods issue date that is taken by default will always be one day after the Delivery date.
Where is the control for this???
Regards,
TrishulHi Jürgen,
Thanks for your response. You are right. The Process is STO.
The delivery has not been created as yet. Everything is happening while creating the PO. The settings are such that the delivery date will be taken by the system automatically by doing the Availability check and simultaneously the goods issue date will be updated. But it will be one day later to the delivery date. But i want this to be same.
Incase if i change the Goods Issue date manually, this is the message i get "Goods issue cannot be carried out in the past"
Message no. V1062
Please let me know if i am not clear.
Regards,
Trishul
Edited by: Trishul Das on Mar 17, 2009 4:09 PM -
New planned goods issue date during delivery creation due to changed route
Hello All,
I have defined 2 routes with different values for transit time and transporation lead times. I have configured routes such that in order creation - route A is determined and while delivery creation due to weight group - delivery B is determined.
Now for Route A i have maintained transit time of 3 days and Transportation lead time of 4 days and for Route B it is 1 day each.
Delivery scheduling is active for the order type.
Now when i create the order with a delivery date of say 05/24/2010 then (route A with transit time of 3 days) is determined and the planned goods issue date of 05/21/2010 is in the order.
Now while creating delivery (Route B which has transit time 1 day) is determined due to the weight group. But the planned goods issue date is still the same 05/21/2010 as in order.
I am assuming that since the route B has a route of 1 day so the planned goods issue date should be re-determined to 05/23/2010? IS there no scheduling done during delivery creation even though route and subsequently transit time has changed?
Please let me know the answer to this...
Thanks
ShobhitHi ,
You can use TA - MASS . Enter object type - BUS2032(for sales orders) on initial screen and select sales item data.
Next screen enter selection fields like sales order no and items. After giving order no and item range , execute and enter all new values for any item data fields. After pressing button "carry out mass change", don't forget to press save button. -
Change goods Issue date and delivery date
while crating Sales document through VA01
i want to replace goods issue date (VBEP-WADAT ) with my Z calender date.
so that delivery date(ETDAT) aslo should chaged automatically ( bcz iof the change in goods isuue date ).
how to achive this ?
i tryied in Program program of MV45AFZZ/ MV45AFZB in the User Exists mentioned below:
1. Form Userexit_Check_VBEP
2. Form userexit_move_field_to_vbep
i was able to change goods issue date (VBEP-WADAT ) but not refleting in output screen,..
regards,
rameshHi Venkat,
Even it did not update in my user exit when I update from VBEP-WADAT. So, I did back calculation (considering route lead time) and updated Delivery date field VBEP-EDATU. It is simple. I have given the sample code as below.
if lines( xvbap[] ) = 1 and VBEP-ETENR = '0001' and "Calculate RDD while the first line item entered
vbap-route <> space and <<your GI date>> is not initial. "Only when header RSD is filled
select single TRAZTD into ws_traztd from tvro
where route = vbap-route.
ws_days = ws_traztd / 24 / 10000.
if ws_days <> 0. "Only when Transp. Lead time is maintained ( So, will not affect other entities )
select single FABKL into ws_fabkl from T001W
where WERKS = vbap-werks.
CALL FUNCTION 'WDKAL_DATE_ADD_FKDAYS' "Calculate as per Factory calender
EXPORTING
i_date = <<your GI date>>
i_fkday = ws_days
i_fabkl = ws_fabkl
IMPORTING
E_DATE = ws_date
E_FKDAY =
EXCEPTIONS
ERROR = 1
OTHERS = 2
IF sy-subrc = 0.
VBEP-EDATU = vbak-vdatu. "copy to the first line item
ENDIF.
endif.
endif. "Route days -
Good Issue date in the Sales order should 1 day difference from the MBDAT
For the particular customer, i want to have difference of 1 day in between the material availability date & good issue date in the schedule line. As per standard i can't made any changes in route and shipping point. Suppose material availability date in sales order is 22.09.2010 than my good issue date should be 23.09.2010 in the sales order. Any body having any idea how can we handle this case and what are things we need consider impact of this change.
Regards,
Srinivas.Hi,
I think you can easily enable this in Route scheduling /Delivery scheduling. You have to maintain the load time and pick/pack time as the total of 8hours. If this is done, then after material availability date, one more day will be added and the final day will be considered as GI date.
If you dont want to do this, you only have to enable this by Z by using a user exit where you can add one day to the MBDAT and update that in GI date. -
Delivery date and goods issue date anomaly
I am seeing issue in client site where when an order is entered for customer with a delivery date in December 2010 the goods issue date and loading are all correct. Soon as I put a delivery date after Jan 6, 2011 all the dates become the same. For example I enter Jan 29, 2011 as delivery all the goods issue, loading etc become Jan 29, 2011. Is there some config issue somewhere causing this issue.
hi harvinder
this is all happening because
when you entered the customer and material in sales order the system automatically prompts the delivery date of the material.
because in SPRO there is a setting called - DELIVERY SCHEDULING AND TRANSPORTATION SCHEDULING. with the help of factory calendar or shipping point calendar.
in the same process it has shown these dates and these dates might be the tentative because material may not be available at that time & as soon as you changed the delivery date in the system manually again system will do RE ATP and would have given confirmed date as 14.01.2001 & basing on the confirmed date every date follows.
this is standard behaviour of the system.
balajia -
Restriction of Validity start date in Scheduling agreement
Hi,
I am not able to convert the message 06 170( Start of validity period is in the past) in error message , when i am going to define attributes of system messages in purchasing and converting this message into error , system still does not give error message when i am selecting back validity start date in the header of Scheduling agreement (me32l)
What can be the possible reason.
Regards
SachinHi,
I believe the message 06-170 is hard-coded in Include "MM06EFRP_EKKO-KDATE" in the Program SAPMM06E
Laufzeitbeginn in der Vergangenheit -
IF ekko-kdatb < sy-datlo.
MESSAGE w170 INTO gl_dummy.
mmpur_message 'W' '06' '170' '' '' '' ''.
Please consul your ABAP Team on this to change it to Error.
But SAP does not recommend changing standard Programs, so please discuss this and see that its really required and will not have any effects to your business process, because there may be instances wherein you might require to create scheduling agreements with a past validity date sometime in future based on business requirement.
Regards
Chandra Shekhar -
Delivery before the schedule line date in scheduling agreement.
Hi All,
I have a situation where in I am using JIT delivery schedule for processing the delivery requirement from customer. In this, lets say, I have a schedule as 08/05/2009 for material A to deliver 1000 qty and the material is made available to me after production as of 07/05/2009 and I want to despatch the material on 7th only and not on 8th. The system does not allow me to do this.It allows me to make a delivery only on 08/05/2009.
Is there any alternative to this and is this SAP standard behaviour.I think you can change the schedule line date in scheduling agreement itself and do the delivery.
regards,
Sudhir
Maybe you are looking for
-
Replication of BP from CRM to IS-U (ECC)
Hello, Our problem is that the BP with the role sold-to party created in CRM is not being replicated in the contract partner role (MKK) in IS-U and the SD-customer is also not being created in ECC. I can see the problem is that an appropriate referen
-
How do you know hardware of Iphone 6 is Good
Hi; I am facing cracking of voice (receiver side) problem during call since last week in Iphone 6. I have submitted the device to service center for checking of unit. Service center representative told me that they will perform some sort of test to c
-
Dynamically changing the file name using the submit button
I am currently using a submit button to send information to myself from the user of the form. Is there any way to change the name of the file that is emailed as a .pdf file according to some type of parameter or data set that is collected in the form
-
Screen is wobbling and shifting
The entire screen on my imac is slightly wobbling and shifting and does it even more when I move my mouse. Now I want to say that it was doing the same thing on my PowerG5 and then I transferred all my files etc. to my new imac (which is one day old)
-
Apple Mobile Service must be started to recognize I-Phone?
Just downloaded I-Tunes latest version for Windows. I took over my wifes I-Phone 3 and in USB connecting get "This I-phone cannot be used because Apple Mobile Device Service has not been started?" How do I fix this?