My Oracle Support Banner

How to handle an SAP BAPI time value of "24:00:00" or "240000" in Java (Doc ID 1312560.1)

Last updated on JUNE 18, 2018

Applies to:

Oracle Java CAPS - Version: 5.1.3 and later   [Release: 5.1 and later ]
Information in this document applies to any platform.
SAP ABAP T data type


The SAP T (time) data type is fairly lenient on what values it is allowed to take. Some BAPIs return and expect the value of "240000" or "24:00:00". However, in Java, 24:00:00 is an invalid time value.

How does one handle a BAPI return value of "24:00:00" or send a value of "24:00:00" or "240000" to an SAP BAPI?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.