Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

RFC&BAPI for timestamp

Former Member
0 Likes
756

Hi, everyone.

I need to get a timestamp of the sever.

I know I can achieve it as following:

GET TIME STAMP FIELD s_tst.

But according to the requirement, the third party one need this timestamp. So I need a RFC & BAPI, which can return the timestamp for the caller.

I know, I can create a RFC & BAPI by myself, but my question: is there any exists BAPI & RFC which can achieve my target?

Any reply is welcome.

Hope your reply, thanks a lot

1 ACCEPTED SOLUTION
Read only

andreas_mann3
Active Contributor
0 Likes
568

Hi try that,

CALL FUNCTION '/BDL/_GET_CENTRAL_TIMESTAMP'

DESTINATION dest

IMPORTING

tag = date

uhrzeit = time .

CONVERT DATE date TIME time INTO

TIME STAMP stamp TIME ZONE 'UTC+12'.

Andreas

2 REPLIES 2
Read only

andreas_mann3
Active Contributor
0 Likes
569

Hi try that,

CALL FUNCTION '/BDL/_GET_CENTRAL_TIMESTAMP'

DESTINATION dest

IMPORTING

tag = date

uhrzeit = time .

CONVERT DATE date TIME time INTO

TIME STAMP stamp TIME ZONE 'UTC+12'.

Andreas

Read only

Former Member
0 Likes
568

You can use GET_SYSTEM_TIME_REMOTE rfc FM.

cheers,