cancel
Showing results for 
Search instead for 
Did you mean: 

Production order basic dates

06-27-2022 12:58 PM
rajib86 Explorer
690 views 1 comments
0 Likes
SAP Managed Tags
Subscribe

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?

0 Likes

Accepted Solutions (0)

Answers (1)

Answers (1)

Prasath
Active Contributor
0 Likes

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