Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

HR Abap - Using select query

Hello expert,

I've tried provide statement and macro both work fine. Now i want to do a select statement using bedga and endda entered on screen.

"getting all employee personal number & normal hours employee only

   SELECT pernr

     FROM pa0007

     INTO TABLE gt_007

     WHERE begda <= p_begda AND endda > p_endda.


Is this the right way? Because here we are dealing with with period interval not just comparing date, please let me know if this is correct

Tags:
Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question