Delivery Date in delivery Vs. Delivery Date in Orders
Hi Everybody,
I've a problem building a query in Sap BO:
I'm trying to check if date of delivery in each row of the Sales order has been respected looking at the delivery date in delivery.
This is the query I built:
SELECT T0.DocNum, T0.U_CAUS, T1.ItemCode,T1.ShipDate, T2.ShipDate, CASE WHEN (T2.ShipDate <> T1.ShipDate) THEN 'DIFFERENT' ELSE ' ' END as 'SCOSTAMENTO' FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN RDR1 T2 ON T1.DocEntry = T2.TrgetEntry INNER JOIN ORDR T3 ON T2.DocEntry = T3.DocEntry WHERE T0.DocDate > '01/01/08' AND T1.ShipDate IS NOT NULL GROUP BY T0.DocNum, T0.U_CAUS, T1.ItemCode,T1.ShipDate, T2.ShipDate, CASE WHEN (T2.ShipDate <> T1.ShipDate) THEN 'DIVERSO' ELSE ' ' END
Problem is that, in sales order, where I've more than one delivery date for different codes, SAP gives me multiple results.
I thought to concatenate T1.DocEntry with T1.ItemCode and T2.TrgetEntry with T2.ItemCode and then link them with LEFT OUTER JOIN. Do you think is good? If so, can you help me with the sintiax of this function? Is ther a better way?
Thanks in advance
Edited by: Philip Eller on May 13, 2008 8:48 AM
Edited by: Philip Eller on May 27, 2008 11:32 AM*
Hi Suda,
thanks for your help but it doesn't work
Query now is:
SELECT DISTINCT T0.DocNum, T0.U_CAUS, T1.ItemCode,T1.ShipDate, T2.ShipDate, CASE WHEN (T2.ShipDate <> T1.ShipDate) THEN 'DIFFERENT' ELSE ' ' END as 'SCOSTAMENTO' FROM ODLN T0 INNER JOIN DLN1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN RDR1 T2 ON T1.DocEntry = T2.TrgetEntry WHERE T0.DocDate > '01/01/08' AND T1.ItemCode = T2.ItemCode
I still have duplication where I've the same ItemCode with 2 or more delivery dates in delivery...
Any ideas?
Similar Messages
-
Delivery schedule dates are coming in Past dates
Hi Friends,
In the Scheduling Agreements the delivery schedule dates are coming in the past dates even tough the scheduling agreements are having new schedules. There is also open quantities there for the scheduling agreements.
please kindly explain me what is the delivery schedule date in Scheduling Agreement.
Thanks in advance.
Regards,
Kannan MHi Khan,
Just check this thease might be the reasons to get correct the delivery schedule.
To access a delivery schedule, mark a scheduling agreement item and choose Goto ® Item ® .
The following data is displayed in the delivery schedule tabstrip:
· Delivery schedule number and date
· A wide range of standard cumulative quantities
· Delivery information
To display deliveries for the delivery schedule, choose Deliveries on the delivery schedule tabstrip.
In scheduling agreements involving external agents, the system displays deliveries made to the customer by external agents as consignment issues.
· Correction delivery information
To display or create correction deliveries, choose Corr. delivery on the delivery schedule tabstrip.
· An analysis function
· Information at a glance
To display a summary of delivery schedule data, choose Short disp. on the delivery schedule tabstrip.
· Schedule lines
Choose DlvSch.Hdr on the delivery schedule tabstrip to access the delivery schedule header. The following data is displayed here:
· Information on quantities received by the customer
· Information on the customer fiscal year and cumulative quantities reset due to a year change
· A wide range of cumulative go-ahead quantities
· Notes on the delivery schedule
Correcting Cumulative Delivered Quantities
Prerequisites
You correct cumulative quantities in scheduling agreements:
· In case of returns
· When there has been a processing error
· When there has been a year change
· When you are transferring initial quantities from a legacy system into the SAP System
To do this, you create a correction delivery within the delivery schedule itself. This delivery is not relevant for requirements planning, shipping, goods issue, or billing.
Correct cumulative quantities only when the customer has not posted goods receipt.
Procedure
To create a correction delivery (document type LFKO):
1. Choose Corr. delivery on the delivery scheduletabstrip.
The system displays a dialog box in which you enter a:
- Correction delivery date
For help on deciding where you want to position the correction delivery, choose Display. The system lists delivery dates in chronological order.
- Correction quantity
Enter a negative correction quantity by placing a minus sign after the quantity.
2. Choose Enter and save the scheduling agreement.
Result
When you save the correction delivery, the system updates the cumulative quantities in the delivery schedule.
To display correction deliveries, choose Deliveries on the delivery schedule tabstrip, or Environment ® Display document flow.
Example
Your customer returns 200 pieces of material from a delivery made on 7/10 because of damage during transport. Several other deliveries have been made before you prepare the correction delivery, so you view a list and choose an appropriate date. In this case you decide on 7/14 because it occurs after the delivery on 7/10 and before the delivery on 7/15.
Regards,
Murthy V.N -
M7279- Data for creating a delivery is incomplete (Vendor)
Dear All,
i am getting below error while processing Goods receipt.
"M7279- Data for creating a delivery is incomplete (Vendor)"
1.I am doing Goods receipt with mvt type 521( GR without ref to prod order).
2.storge location is WH manged + HU managed.
3.Material master is assinged with sales org / distribution channel- sales view.
4.maintained for Transportation Group . loading group - sales gen/plant data.
5. Maintaine for shipping data for Storage location ( customisation -SPRO-LE-Shipping-Basic shipping function- Shipping points and goods receiving points determination-Assign goods receiving points for Inbound Deliveries.)
6. HUM- setting - LG-HUM-HU requirement for storage location and default values for deliveries)
Why system is thowing this error message as in my case vendor does not comes in to picture ( I can cosider if a GR is with refence to PO , in that case in customer master number has to be maintained in vendor master + shipping condition entered in customer master)
Could you pl help me on above ( as this is 521 movement , it should not have any link with vendor or customer master) then why i am getting this error.
Appreciate your earliest response.
OmI am doing simple goods receipt without reference to any document ( mvt 521 - goods receipt without ref to production order) , in that case it should not ask for any vendor or should not search for vendor code , i am not getting why it is searching for vendor.
If i removed the setting related to HU management for storage location then it allows me to post the document without any error, but if i activate for HU managment in below path i am getting error ( even in below path if i entered any vendor code then it allows me to post the document)
Logistics general- Handling unit management- basics-materials management - inventory management -HU requirement for storage location and default values for deliveries
plant Storage location Partner storage location Sal org Dist chan shipping division vendor customer HU requred
05 ZBD1 ZPK1
in above if i entered any vendor code then it allows me to post the doc but i remove it then i am getting above error.
If there any alternative or other setting to overcome this error.
Thanks
Om -
What is the difference between delivery date and actual goods issue date?
Hi ,
Can you please tell me the difference between Delivery date and Actual goods issue date ?
Delivery data can be be greater than goods issue date?
Thanks,
AjayHi Ajay,
Delivery date means its the original date on which the delivery should be done.Actual goods Issue date is the date on which goods to be delivered according to the purchase order.There can be delay in the delivery so we maintain 2 objects.
Yes delivery date can be greater than Goods Issue date.
Hope this clears
Regards
Karthik -
Req. delivery date and Delivery date should be same in a sales order
Hi experts,
We need a customization for getting Requested delivery date, Material Availability date and Delivery date should be same.
Example if I keep request delivery date as 12/12/2012, system should consider same dates for MAD and Delivery and confirm the requested quantity.
How to achieve this customization..
Thanks,
Bala.system should consider same dates for MAD and Delivery and confirm the requested quantity
What you are going to achieve by this? Hope you know the concept of MAD and confirmed quantity fields. Let us assume, if stock is not there for a material for which sale order is created, can you let me know, you want the system still to confirm the quantity? You can post the goods issue only if system confirms the quantity in schedule line which is possible, only if stock is made available. If client asks something which is not possible in SAP, think in a logical way how SAP works and convince them accordingly.
G. Lakshmipathi -
How to change data in an inbound delivery
Hi,
I want to change the following data in an Inbound delivery:
Challan No (LIKP-LIFEX, LIKP-VERUR)
Date (LIKP-LFDAT, LIKP-ERDAT)
Quantity (LFIMG)
I have gone through the thread
how to change delivery date (LFDAT) in a inbound delivery
But still, it says only about changing the date.
Please provide solution so as to change Challan No and Quantity.LIFEX is in HEADER_DATA-EXTDELV_NO
If you really want to get the any other field in LIKP, you can use the BADI SMOD_V50B0001 method EXIT_SAPLV50I_009.
You will need to put your additional fields in the EXTENSION1. Then you can move them to the correct fields in the tables. -
Fieldes planned delivery date and actual good recipt date for SAP QUERY
Hi Gurus
I am changing sap query. I need to find two fieldes : planned delivery date and actual goods recipt date
I dont know MM tables, do you know wrhere are?
in table EKPO i don't find the fieldes.
Thanks in advanceThank a lot!
Regards -
Requested delivery date not copied from quote item to order item
CRM 7.0 copying from a quote to an order is ot copying the requested date at the item or header.
For the Header we are using copying routine SLSHDR and for the item SALES
There is a date profile assigned to both the quote & item category, these objects are in the date types.
BILL_DATE Billing Date
INVCR_DATE Billing Document Created On
OPP_DEL_DATE Requested Delivery Date
ORDERACTUAL Actual Dates
REQ_DLV_DATE Rqstd Delivery Date Proposal - Order Hdr
VALIDFROM Valid From
VALIDTO Valid To
This seems like it should not be so complicated, we are looking at a Badi for the copy rules but has been challenging to say the least. It seems like there should be a way to configure (not code) this issue.SAP OSS stated functionality not supported, we pushed it back a couple of times. Even though this is out of the box functionality in ECC copying a quote to an order.
Our developer was able to code a solution in method IF_EX_CRM_COPY_BADI~DATES, our ecommerce app calls this function when the quote is converted to an order in ISA. -
Update Delivery date programatically for inbound delivery
Hi all,
I need to update the delivery date in the inbound delivery programatically...How cna i do that?any FM available?
The field to be updated is LIKP-LFDAT.
Thanks.Check WS_DELIVERY_UPDATE , BAPI_INB_DELIVERY_SAVEREPLICA
ALso check how to change delivery date (LFDAT) in a inbound delivery -
Hi Experts,
why the delivery date is the same date as ‘transptn plan date” & loading date’ & ‘ good issue’ & GR end date’.
in shipping tab i can see Planned Deliv. Time 170 Days ... wat could be the reason.
Many Thanks:
Raj KashyapHi Jurgen,,
Thanks for quick reply!!
But i didnot find any things like that .. what could be the customizing .. and we are using GATP from APO side.
\Raj Kashyap -
Inbound Delivery for Schedule Lines of future date
We have a requirement where in we want to disallow inbound creation for scheduling agreements for schedule lines of the future. For example if we have the following schedule line for a scheduling agreement
Month Quantity
M 01.2010 100
M 02.2010 200
M 03.2010 150
Currently the system is allowing inbound delivery creation of quantity = 450 (100 + 200 + 150) in the month of February, 2010.
But I want that the system should allow inbound delivery creation in February, 2010 for quantity 300 only (100 + 200). Please let me know how we can do so in the system.
Regards,
Pratima.Hi Rami ,
Maintain different schedule lines in PO - Item Details - Delviery Schedule tab.
This would allow only those qty that is due on that date when creating inbound delivery.
Regards
Ramesh Ch -
Delivery tolerance (based on the delivery date)
Dear All
How to maintain delivery tolerance (based on the delivery date) in Purchasing Order
Would you help me, please
thanks
imronYOu can try with
u2022 ST: Date variance (value x days)
The system calculates for each item the product of amount * (scheduled delivery date - date invoice entered) and compares this product with the absolute upper limit defined. This allows relatively high schedule variances for invoice items for small amounts, but only small schedule variances for invoice items for large amounts.
IN transaction code OMR6 for a company code.
IN SPRO - Materials Management -- LIV -- Incoming Invoice -- Invoice Block. -
User exit for vf01 for delivery date should be a current date
Hi Experts,
I won t allow to save vf01 delivery date mismatch with system date. Delivery date must equal with system date. kindly give any userexit for this issue.
regards
G.VendhanHi Vendhan,
Probably we are waiting for your Reply.......
You didn't replied to MxG question.....that whether writing VF01 for delivery was a typing mistake or you actually mean it.
Your reply will help us to answer your thread.......in case you already solved the problem by yourself.....I suggest you to close the Thread......and you may share the solution implemented/used ...so as to avoid a redundant thread creation in the future. -
Date/time related to delivery
Hi experts,
Q1: Why the actual GI date cannot be showed directly in the report (VL06F)?
Q2: Where to find the actual GI TIME? For e.g., posting goods issue is at 12:00pm, where can I find this time in delivery or other reports?GI Date and Time can be fetched from Table LIKP and I dont think any standard report shows GI time.
thanks
G. Lakshmipathi -
Delivery split due to Conflicting Header data (ABSSC: uF0E0 000002)?
Hi All,
I have 2 line items of same material with different Schedule lines. I created a delivery for line item 1.Then I tried to enter the 2 line item in the delivery System is throwing error message as below :
Item 10: Delivery split due to Conflicting Header data (ABSSC: < 000002)?
Item 20: Delivery split due to Conflicting Header data (ABSSC: < 000002)?
Can some body explain why this message is coming and how to resolve this?
Regards,
RamHI,
I have 2 line items of same material with different Schedule lines. I created a delivery for line item 1.Then I tried to enter the 2 line item in the delivery System is throwing error message as below
Rather than going one by one Go to VL10A & VL10C and generate the Background Delivery number and go to VL02N do the PGI
or By using the T-Code VL01N give the Selection date is Future date like if one line item is today's Date and other line item is 25.08.2011 so you need to mention Selection date 25.08.2011 and system will accept 2 line items before that check the Stock in MMBE & MB52
The above solution is based on Single SO if it is multiple SO better to Go to VL10A or VL10C
and also check the Configuration like if it is Different SO with Same customer ,you need to check the order combination in Customer master
Revert
Regards,
Prasanna
Edited by: prasanna_sap on Aug 23, 2011 11:09 AM -
Delivery split due to conflicting header data
hi experts,
we have implemented CRM services with R/3 as back end system.
when ever a service order in crm with more than one material in line items get replicated to r/3 as sales order .during delivery we are getting the following error.
*Item 000020: delivery split due to conflicting header data (Function SH: Address Number: 9000001514 <-> 9000001509)*
*Message no. VL033*
even though the Ship to party is same.
can any one of you hlep me to solve this problem
Thanks & regards,
SRHi SR
This could be because of the order combination field that has been marked in your customer master in R3.
The field KZAZU is nothing but the order comination information in table KNVV
Hope this will help you...
Regards
Ramesh S. Narayanan
Maybe you are looking for
-
I can not get into my paid for PDF program-
Hi- I am having a great deal of hardship in trying to use the PDF program I signed up for- I may be at fault since I was able to open the startup etc. and now can not- I deleted an older PDF program I had and I may have deleted a part or all of my Ad
-
We are used QCCheckList.aip plugin for Adobe illustrator 10. This plugin is used for Unlock All object, Delete Unused Swatches, Delete Scanned image Layer, Check White Box Masking, Check True Type font. Change Leading Value, Check Text Size, Check Ru
-
Download step 2 says drag icon to folder when prompted, never got icon or prompt
I have a new macbook pro and am trying to download fire fox. It seems to have downloaded but step 2 says "when prompted drag icon into applications folder. After it finished downloading I never got an icon to move to the folder and there was no promp
-
How to make RAID5 in P35 platinum
Goodmorning to all of you from Greece.We are currently have a problem trying to solve. We have to turn 3 HDD 320 GB into raid 5 function. we are making(formating) the 3 HDD into raid 5 from the mob into raid5 in one apartment. when WE are installing
-
Intermittent issue with missing scroll bars
Occasionally I will open a website and the content will flow below the bottom edge but no scroll bar is available to scroll the content. Page up and down buttons as well as arrow keys will scroll the page. When this happens a page reload will not rec