cancel
Showing results for 
Search instead for 
Did you mean: 

调用Odata API "Production Order Confirmation - Read, Create, Cancel"做生产报工时,不能用本地时间指定过账日期的问题

0 Kudos

各位好

  在调用Odata API "Production Order Confirmation - Read, Create, Cancel"做生产报工时,发现字段“PostingDate”不能指定为本地时间,如果指定成中国时间,接口会返回“过账日期不能是将来日期”的错误提示。我们知道Cloud System的时区设定是UTC,但中国的时区UTC+8,如何在接口中指定“PostingDate”为本地时间呢?

举例:

系统时间(UTC)2/27 5:00 PM

本地时间(UTC+8)2/28 1:00 AM

需求是,本地时间8:00 AM前,通过调用Odata API "Production Order Confirmation - Read, Create, Cancel"做生产报工时,字段“PostingDate”指定为本地时间2/28,而不是2/27.

期待回复。。。

Accepted Solutions (1)

Accepted Solutions (1)

former_member132363
Active Contributor
0 Kudos

Here are some SAP resources you may review based on your topic "production order,production order,production order"

2570257 - How to Cancel/Delete a Released Production Order

You are releasing a Production Order. You want to know how to cancel/delete this Production Order.

https://apps.support.sap.com/sap/support/knowledge/public/en/2570257

Monitor Production Orders or Process Orders

With this app, you can monitor the status of the production orders or process orders in your area of responsibility. Two tiles are provided for this app, one for each?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps%28'F0266'%29/S9OP

Release Production Orders

Provides an overview of production orders to be released based on individual variants. Gives end users immediate overview of missing parts. Detailed screen?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F0243')/W17

Answers (3)

Answers (3)

Jacky_Liu
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,RuiRui,

在填入POSTING DATE参数前,先通过代码将本地日期转换为系统日期 ,将转换后的日期填入POSTING DATE .

Amith_Nair
Advisor
Advisor
0 Kudos

Hi Ruirui,

My apologies but are you able to explain this in English please,may be, we could throw some light on what you're trying to achieve with your question on the OData API - Production Order Confirmation - Read, Create, Cancel"

Thank you! Amith Nair

former_member132363
Active Contributor
0 Kudos

Here are some SAP resources you may review based on your topic "production order,production order,production order"

2570257 - How to Cancel/Delete a Released Production Order

You are releasing a Production Order. You want to know how to cancel/delete this Production Order.

https://apps.support.sap.com/sap/support/knowledge/public/en/2570257

Monitor Production Orders or Process Orders

With this app, you can monitor the status of the production orders or process orders in your area of responsibility. Two tiles are provided for this app, one for each?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps%28'F0266'%29/S9OP

Release Production Orders

Provides an overview of production orders to be released based on individual variants. Gives end users immediate overview of missing parts. Detailed screen?...

https://fioriappslibrary.hana.ondemand.com/sap/fix/externalViewer/#/detail/Apps('F0243')/W17