Delivery Creation before a Scheduleline Date
Hi Gurus,
I have a requirement to create a delivery before a scheduleline date, but system is not allowing to create a delivery and throwing a error message .Is there any user exit to create a delivery befoe a scheduleline date without hanging the date in sales order.
Regards,
Pasapula.
Hello Pasapula,
For Eg:When we do the availability check system is proposing
the delivery date as on 30.01.2011, but some times the stock
will be ready by 25.01.2011 (Before the scheduleline date),
then system should allow the delivery creation on 25.01.2011,
because stock is available in plant.But while trying to create the
delivery in VL01N by giving the date as 25.01, then it is throwing
error saying that delivery is only possible aftet 30.01.
I think when the system does the availability check for the Sales Order you have created in the system, depending upon the current stock level, forward or backward scheduling takes place. In either of the cases the system will confirm the exact date on the basis of which the total goods can be delivered. You can check it out in MD04.
Regards,
SARTHAK
Similar Messages
-
Incorrect delivery creation date in stock transport order
Hi,
I've checked SAP notes and forums but no answers to this one....hope you can help.
I have 2 plants, in separate company codes. One orders from the other using a full inter-company process.
The issue is, when i raise a PO the delivery date (shipping tab) is updated correctly, using the agreed lead time (planned delivery days)
However, the Delivery Creation Date is usually updated with 'todays' date. It's as though the planned delivery days on the material master or PIR is being interpreted as a transit time between the plants.
This has 2 undesirable effects:
1. The supplying plant has no notice, requirement date is NOW
2. Delivery creation batch jobs create deliveries which aren't really due yet
I really need the Delivery creation date to be a true material availability date ie the date the goods are required to be available in the supplying plant. For us this would be 3 days (transit time between plants) before the delivery date.
Any help greatly appreciated.
Regards
GuyGuy,
true lead time.
is a bit ambiguous. The system does exactly what you tell it to do. 'True Lead time" is not defined in SAP. What do you mean by this term? Are you talking about "Total replenishment lead time" in the material master?
Anyhow, you are telling me you want the delivery creation date to be "three days prior to Delivery date". No problem, set PDT to 3 days. So, if you today created an STO with a delivery date of July 30, and the PDT was 3 days, the delivery creation date would be July 27. If you also want cushion, then today convert the STPRs with a delivery date of July 30. Don't wait until July 27 to convert these PRs.
How are you creating STOs today? You mentioned delivery dates being populated by the system. How? What transaction/what program? If your current process is to automatically convert all existing STPRs into STOs, then you probably need to consider adding some time to Purchase Req processing time. OMEW in config.
Rgds,
DB49 -
Hi Gurus,
We have an STO that has the delivery creation date on the shipping tab and when we create delivery for the corressponding STO line items the delivery creation date<LEDAT> is disappearing on the STO line item.
Is this an SAP standard???
Is there an enhancemnet that we can add delivery date field<EINDT> on the selection screen of VL10B transaction????
Thanks
SAMHi John
Thanks for your reply.I have an STO whose delivery creation date exists before creating the delivery from the STO but after running VL10B delivery is getting created and when I go to STO line item in the shipping tab the delivery creation date is dissappearing.
I am wondering if this is an SAP stanndard????????
Thanks
SAM -
Delivery not before date and Delivery not after date
Hi Everyone,
Can anyone help me in this issue, we need to map "delivery not before date" and "delivery not after date" from an EDI 850 into a sales order.
Are there any fields to which we can map the data? if not would anyone suggest how to go about it?
Thanks,
Michelle.Michelle,
We have a similar requirement, albeit we call it a Delivery Window. We have implemented this by mapping two E1EDK03 qualifiers (we use 033 & 034) to two Z fields extended to VBAK, which we then include in our Sales Order Delivery Date logic.
Not very elegant, but then my understanding is that SAP has no concept of the Delivery Window.
Cheers, Paul. -
Delivery Creation Date under Shipping Tab in Purchase Order
Hi All,
When my client creates a Purchase Order with 5 line items, for 3 itmes he can create Delivery ( with delivery date of 25/03/2010) however for line itme 40 and 50 it gives error while creating delivery ( 0 units available of that material)
Stock exist in delivering plant as checked in MMBE.
On checking the PO, the difference i could find between line items 10.20.30 (which can be delivered) and line item 40, 50 (which cant be delivered) is that under Shipping tab for item 10,20 and 30 Delivery Creation Date is Blank. However for item 40 and 50 Delivery creation date is maintained same as delivery date i.e. 25/3/2010.
In VL10B we have already tried inputting Delivery creation date as 25/03/2010 and then executing after supplying the PO number but it still gave the same error messgae.
Kindly guide as it is stopping Business. A speedy reply will be highly appreciated.
Thanks in advance.
BR,
AnshulRe: Only 0 KG of material available
Kindly check above mentioned thread. -
Delivery creation date under shipping tab in STO
Dear Experts,
please explain me how the Delivery creation date is calculated IN STO order, and the same date is carried to the MRP date of Supplying plant in MD04.
thanks
SatyaPlease check these answered links:
Delivery Creation date in STO
Re: Delivery dates in STO
STO Delivery date
Edited by: Afshad Irani on Apr 29, 2010 10:04 AM -
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. -
Very urgent : shipping point and delivery creation date
Hi :
I have a custom table with fields :
belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz.
Custom Transaction with fields :
vbeln (field name belnr) , aufnr, delivery vbeln ( field name livbeln ),werks, mat .avail.dat ( mbdat ), transport.plan date(tddat),
matnr, and sales order item (posnr).
I have to select sales order , item from custom table based on plant (werks) shipping point , and delivery creation date.
how can i relate shipping point and delivery creation date to my query.
For delivery creation date, it should be selected based on current date+-2 and should choose MBDAT OR TDDAT which ever is earlier based on current date.
I would appreciate if anyone can give me som idea and full points r rewarded.
Thx.
RagHi,
Try this:
select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
on a1belnr = vbapvbeln
inner join vbep
<b>on vbapvbeln = vbepvbeln and vbapposnr = vbepposnr</b>
where a1~werks = p_werks
AND vbap~vstel = p_vstel
AND vbep~edatu = p_edatu
AND (vbep~mbdat <= p_edatu OR
vbep~tddat <= p_edatu ).
regards,
Anji -
Shipping point , delivery creation date
Hi :
I have a custom table with fields :
belnr, posnr, btyp, aufnr, ebeln, ebelp, livbeln, liposnr,matnr,wadat,kunnr,werks,bmeinh,getri,inaktiv,wabukz,erdat,aedat,loekz.
Custom Transaction with fields :
vbeln (field name belnr) , aufnr, delivery vbeln ( field name livbeln ),werks, mat .avail.dat ( mbdat ), transport.plan date(tddat),
matnr, and sales order item (posnr).
I have to select sales order , item from custom table based on plant (werks) shipping point , and delivery creation date.
how can i relate shipping point and delivery creation date to my query.
For delivery creation date, it should be selected based on current date+-2 and should choose MBDAT OR TDDAT which ever is earlier based on current date.
I would appreciate if anyone can give me som idea and full points r rewarded.
Thx.
RagHi Pankaj,
Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
you can refer below code, it may be helpfull for you to create delivery.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
zmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr zmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = v_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-zmeng.
t_request-quantity_base__uom = t_vbap-zmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return.
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
Regards,
Prasenjit -
Shipping point and delivery creation date
Hi :
im selecting sales orders , items and schedule line
from a custom table based on plant, shipping point and delivery creation date.
Is there any relation between Schedule lines and delivery creation date.
For delivery creation date d_date = SY-DATUM, and should select Mat Avail dt MBDAT or Trans. planning dt TDDAT which ever comes earlier.
vbep-edatu = itab-d_date.
select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
on a1belnr = vbapvbeln
inner join vbep on a1posnr = vbepposnr
where a1~werks = p_werks
AND vbap~vstel = p_vstel
AND vbep~edatu = p_edatu
AND (vbep~mbdat <= p_edatu OR
vbep~tddat <= p_edatu ).
can anyone help me with this select statement.
Thanks.
RaghuHi,
Try this:
select a1belnr a1posnr vbep~etenr into corresponding fields of table itab from a1 inner join vbap
on a1belnr = vbapvbeln
inner join vbep
<b>on vbapvbeln = vbepvbeln and vbapposnr = vbepposnr</b>
where a1~werks = p_werks
AND vbap~vstel = p_vstel
AND vbep~edatu = p_edatu
AND (vbep~mbdat <= p_edatu OR
vbep~tddat <= p_edatu ).
regards,
Anji -
Delivery creation date field in STO
Friends,
I have created 2 STO's ...for 1st STO i can see the delivery creation date in Shipping tab......however for 2nd STO shipping tab is there but the delivery creation date field is blank...
what could be the reason...how this gets calculated ?
Regards,
VijayHi,
Whenever you create a STO and save it, the delivery creation date is
determined based on the delivery date and planned delivery time.
(Note 498143 question 2)
And if certain STOs are subjected to release strategy, the delivery
creation date is not populated for those STOs. Once the STOs are
released you will have the delivery creation date populated correctly.
regrads,
Lalita -
Default 'Delivery Creation Date To' on VL10G
Hi All,
We've upgraded SAP4.7 to ECC6.0. After that, The default value on 'Delivery Creation Date To' in tcode
VL10G, it's showing 30 days ahead from current date.
Is there any configuration to change it to current date?
It was current date in SAP 4.7.
Thanks for help.Hi,
The default value in the field 'Delivery Creation Date' was due to the list profile maintained for the transaction VL10G.
To change this default value to any desired value(Todays Shipping Date) do the following.
Go to -->'User Role' tab in the transaction VL10G.
Click the 'Role' button, select the role in change mode.
Change the default value in the field 'Rule DlvCrDate' to the desired value.
Thanks,
Srikanth.G -
Converting Delivery Creation Date/Time into the Local Date/Time
Hi
I have two fields like 'Delivery Creation Date' and 'Delivery Creation Time' in ECC system . My user wants the Delivery Creation Date / Delivery Creation Time in Local time of Plants .
For example :
Delivery Plant DelivCreationDate DelivCreationTime DelivCreationDate(Local) DelivCreationTime(Local)
312456 1650 11/2/2007 4:30 11/2/2007 3:30
Here the Plant 1650 is in Mexico . The above delivery is created in Canada in ECC system according to the candain time .
But user wants to convert the Candain Delivery Creation Date and Time into the Local Date/Time of specific plant .
So we need to convert the Candain Delivery Creation Date and Time into Mexico timings .
How can it is possible this one and user wants to automate this process .
Please let me know
MubeenDATA :
timestamp like TZONREF-TSTAMPS,
time like sy-uzeit,
date like sy-datum.
The following function module is used to convert the
time and date into GMT timestamp
CALL FUNCTION 'IB_CONVERT_INTO_TIMESTAMP'
EXPORTING
i_datlo = <source_fields>-delivery_date
i_timlo = <source_fields>-delivery_time
I_TZONE = CAD'
IMPORTING
E_TIMESTAMP = timestamp.
The following function module is used to convert the
above obtained timestamp to MEX timezone date and time.
CALL FUNCTION 'IB_CONVERT_FROM_TIMESTAMP'
EXPORTING
i_timestamp = timestamp
I_TZONE = MEX
IMPORTING
E_DATLO = date
E_TIMLO = time.
CAD and MEX are variables i have used...
the challenge is to find the canadian and mexican time zone....CAD and MEX.
which you can get by performing a lookup in table T001W and passing country as parameter. -
Bapi for creation of delivery by using SO,shipping point,delivery creation date
Hi experts,
I am looking for bapi that takes sales order,shipping point and delivery creation date and generates delivery.
I have tried with bapi GN_DELIVERY_CREATE but i am not able to understand whether this bapi is used for inbound or outbound deliveries.If this bapi is ok then what are the mandatory fields for this bapi.
Regards,
Pankaj JainHi Pankaj,
Please try to use BAPI 'BAPI_DELIVERYPROCESSING_EXEC' for creating delivery form sales order , you can pass value and create delivery.
you can refer below code, it may be helpfull for you to create delivery.
DATA: BEGIN OF t_vbap OCCURS 0,
vbeln LIKE vbap-vbeln,
posnr LIKE vbap-posnr,
zmeng LIKE vbap-kwmeng,
matnr LIKE vbap-matnr,
werks LIKE vbap-werks,
END OF t_vbap.
DATA: t_request TYPE STANDARD TABLE OF bapideliciousrequest
WITH HEADER LINE.
DATA: t_created TYPE STANDARD TABLE OF bapideliciouscreateditems
WITH HEADER LINE.
DATA: t_return TYPE STANDARD TABLE OF bapiret2 WITH HEADER LINE.
SELECT vbeln posnr zmeng matnr werks
INTO TABLE t_vbap
FROM vbap
WHERE vbeln = v_vbeln.
LOOP AT t_vbap.
t_request-document_numb = t_vbap-vbeln.
t_request-document_item = t_vbap-posnr.
t_request-quantity_sales_uom = t_vbap-zmeng.
t_request-quantity_base__uom = t_vbap-zmeng.
t_request-id = 1.
t_request-document_type = 'A'.
t_request-delivery_date = sy-datum.
t_request-material = t_vbap-matnr.
t_request-plant = t_vbap-werks.
t_request-date = sy-datum.
t_request-goods_issue_date = sy-datum.
t_request-goods_issue_time = sy-uzeit.
APPEND t_request.
ENDLOOP.
CALL FUNCTION 'BAPI_DELIVERYPROCESSING_EXEC'
TABLES
request = t_request
createditems = t_created
return = t_return.
READ TABLE t_return WITH KEY type = 'E'.
IF sy-subrc = 0.
MESSAGE e208(00) WITH 'Delivery creation error'.
ENDIF.
COMMIT WORK.
Regards,
Prasenjit -
VL10A - Delivery creation date
Hi
I have a issue in VL10A
sales order creation date and sales document date is on 29.05.2011, Requested delivery date is on 30.05.2011
Scehdule line confirmed date is 30.05.2011
When i processed for the dleivery list display in VL10A for this sales order
Delivery creation date is shown as "27.05.2011"
Can any one tell me why the dleivery creation is back date
Regards
KKHi Ankur,
THanks for the inputs
Bu this is single sales order, this dleivery link with only one sales order
When we check the VL10A display list it will shows us the creation delivery date as 27.05.2011
In delivery the creation date is 30.05.2011 as per the requeted delivery date in the sales order
Maybe you are looking for
-
Please can anyone new or has re-contracted to this new service help me confirm a few things. I re-contracted from infinity option 2 which I have had since launch, so the only really difference is that I will not be traffic shaped anymore. Well unfort
-
How to upgrade MAC Book Pro with OS X 10.5.8 to OS X 10.6
I have a MAC book Pro (Intel core 2 Duo based) HW Rev 3.1. I am trying to upgrade to OS X 10.6. When i tried inplace upgrade it errored out with a message that I cannot upgrade. I wiped the disk clean using Disk utility and tried booting with the 10.
-
Photoshop does not start, instead, only annoys with CS6 Extended Test Version
Hello all, since today, after a correct start, when starting Photoshop CS6 (Windows), only a dialog stating "Login for CS6 Extended Test Version" (or similar, as the text is in German). Afterwards, Photoshop simply exits. How do I get rid of this and
-
Dear All, I just want to burn all my photo edited in Aperture into a disc DVD. I choose iDVD but it seems it can't achieve what i basic need. Since I have around 200pics photo and i try to separate it into several slideshow folder created in iDVD. Ho
-
Protecting iPad data from unauthorized access
When somebody connects my iPad to his computer with installed iTunes (not my computer, not my iTunes), he is able to view my videos and hear my music as well as delete my data by syncing his own data to my iPad. My iPad is protected by the 4 digit co