‎2021 Jan 28 5:41 PM
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
‎2021 Jan 29 5:05 AM
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'.
‎2021 Jan 28 5:42 PM
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
‎2021 Jan 29 5:05 AM
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'.