Skip to Content

delivery date jumps to Monday for the deliveries created on Sunday

May 17, 2017 at 03:43 AM


avatar image
p m

Hi Gurus

when a delivery is created on Saturday/Sunday with reference to a SO through an interface,the delivery date on the delivery document header jumps to a Monday. We do not have any scheduling and always a sales order line is confirmed to the CRD. so all the dates on the schedule line shipping tab will be equal to the CRD.

If a Delivery is created through an interface on Sunday, picked and PGi the actual PGI date is updated to Sunday but on the header the delivery date is updated as Monday.

As test i unchecked today (Tuesday) and tomorrow in SCAL and created a delivery in the foreground and PGi it ,the delivery date is picked as today.

I have checked the interface and it only create the delivery documents, updated the delivery Qty and picked Qty and PGIs it.

So not sure why the delivery document created on a Sunday has PGI date as a Sunday but Delivery date as Monday

10 |10000 characters needed characters left characters exceeded

you closed the question with reason "other". What does that mean? We tried to help you, now we are curious to know what the reason was.

* Please Login or Register to Answer, Follow or Comment.

3 Answers

Jürgen L
May 17, 2017 at 04:52 AM

how does it come through an interface? Is it an Idoc (which one?) or anything else?

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Its coming through SOAP services which call an RFC in SAP

Raghu Govindarajan May 17, 2017 at 04:03 PM

I think it is related to your calendar and the fact that Sunday is set up as a non-working day.

Show 4 Share
10 |10000 characters needed characters left characters exceeded

To replicate the scenario i have set up Tuesday and Wednesday as holidays and created a delivery and it did not jump the LIKP-LFDAT to Thursday.


poor programmers hard code weekends instead of checking calendars, just saying...


i have checked the interface FM and does not look like the interface is updating any dates. And i do not think Delivery create user exit is enhanced.

i have checked couple of other deliveries created during the weekend and found the same issue . All the dates on the delivery header processing tab is set to next Monday and the Planned PGi and actual PGI are set to the same date as delivery creation.

is there some OSS note which are aware of for such issues.


can you post the name of this interface function module that you checked, if this is an own developed FM then you wont find any OSS note. Make your weekend working days and do another test and see if it still jumps.

p m May 18, 2017 at 01:50 PM

I was able to replicate the issue and this happens only when the delivery is created through the interface.

if i create a delivery using Vl01N, all the dates in the processing tab of the header are copied from the schedule line of the Sales order ,Planned PGI is from SO schedule line and actual PGI is today.

if i create a delivery using delivery interface which is calling a standard BAPI BAPI_DELIVERYPROCESSING_EXEC , the dates on the processing tab of the header are for Tomorrow,today being a holiday as per Fac cal.Planned PGI is tomorrow and actual PGI is today on the delivery created through Interface.

Why is the behaviour different when using a BAPI vs VL01n

10 |10000 characters needed characters left characters exceeded