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

Query : Function module

Former Member
0 Likes
306

Hi every body,

I need in a query to calculate duration from 2 dates/ Times.

There is a function module to calculate a duration. How can i use it in my query.

Please guide if there is another proposition.

Thanks in advance.

1 REPLY 1
Read only

Former Member
0 Likes
275

You can use this SD_DATETIME_DIFFERENCE But I'm not sure if you can use it inside a SAP Query (SQ01)....I remember that there is a way to include ABAP code...But I just used SQ01 one time...

Greetings,

Blag.