1. First, get Personnel Area (WERKS) and Personnel Subarea (BTRTL) from PA0001.
2. Next, get Personnel Subarea grouping (MOABW) from table T001P using WERKS and BTRTL from step 1.
3. To get the Absence types related to Quota type, Query table T554S using MOABW from step2 and the Quota type (KTART),
you will get the differnt Absence types (1 or more) from field T554S-SUBTY.
4. Last but not the least, Search PA2001 for records with SUBTY IN T554S-SUBTY from step 4.
5. If there are no records shown it means that the current PERNR doesn't have a booked Absence with Quota.
- Blogger Comment
- Facebook Comment
Subscribe to:
Post Comments
(
Atom
)
0 comments:
Post a Comment