cancel
Showing results for 
Search instead for 
Did you mean: 

Production order basic dates

rajib86
Explorer
0 Kudos
294

Hi,

I am creating process order with idocs by calling BAPI BAPI_PROCORD_CREATE in back ground.
Basic start and end date is sent from a 3rd party system. but when the process order is created the end date is always 1 day short. For example if the end date is 07.07.2022 then it will show 06.07.2022 in order. I am using scheduling type only capacity requirement. In OPUZ I have deactivated automatics scheduling and adjust dates I am using option 2. But still issue not resolved.
If I create order manually with COR1 or calling the BAPI manually from SE37 then not facing the issue. Then dates are showing correct. I have debugged the IDOC program with ABAP resource, he said no problem in the program, it is happening once the final posting is done.

Any idea what can cause this?

Accepted Solutions (0)

Answers (1)

Answers (1)

Prasath
Contributor
0 Kudos

Hi Rajib,

When you are using BAPI to create process order may scheduling parameter will be not considered as a result both start and end date falls on same day.

We can't help you right now , only developer can debug by keeping watch point at scheduling parameter related coding & can get fix.

Regards

Prasath