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

BAPI_USER_GETLIST Selection Range with date

syllerylle
Discoverer
0 Likes
1,169

Hi.

I am trying to create a filter (SELECTION_EXP) for BAPI_USER_GETLIST where only users modified after a certain date are selected.

I have tried to different approaches:

app1:

AND 2

LASTMODIFIED MODDATE GT 2020-12-31

LASTMODIFIED MODTIME GT 00:00:01

app2:

LASTMODIFIED MODTIME BT 2020-12-31 2021-01-28

Both approaches returns all users. So the filter is accepted, but is not filtering anything.

Anyone knows ho to format this filter correct?

cheers,

Søren

1 ACCEPTED SOLUTION
Read only

joltdx
Active Contributor
1,042

Hi!

You should use the internal format for representing the values, like '20201231' instead of '2020-12-31' and '000001' instead of '00:00:01'.

2 REPLIES 2
Read only

former_member34
Product and Topic Expert
Product and Topic Expert
0 Likes
1,042

Thank you for visiting SAP Community to get answers to your questions. Since you're new in asking questions here, I recommend that you familiarize yourself with https://community.sap.com/resources/questions-and-answers (if you haven't already), as it provides tips for preparing questions that draw responses from our members.

Should you wish, you can revise your question now by selecting Actions, then Edit.

Finally, if you're hoping to connect with readers, please consider adding a picture to your profile. Here's how you do it: https://www.youtube.com/watch?v=F5JdUbyjfMA&list=PLpQebylHrdh5s3gwy-h6RtymfDpoz3vDS . By personalizing your profile with a photo of you, you encourage readers to respond.

Best regards

Jennifer

SAP Community moderator

Read only

joltdx
Active Contributor
1,043

Hi!

You should use the internal format for representing the values, like '20201231' instead of '2020-12-31' and '000001' instead of '00:00:01'.