cancel
Showing results for 
Search instead for 
Did you mean: 

delivery date jumps to Monday for the deliveries created on Sunday

former_member405498
Participant
0 Kudos

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

JL23
Active Contributor
0 Kudos

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.

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member405498
Participant
0 Kudos

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

raghug
Active Contributor
0 Kudos

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

former_member405498
Participant
0 Kudos

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.

JL23
Active Contributor
0 Kudos

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

former_member405498
Participant
0 Kudos

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.

JL23
Active Contributor
0 Kudos

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.

JL23
Active Contributor
0 Kudos

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

former_member405498
Participant
0 Kudos

Its coming through SOAP services which call an RFC in SAP