ktart - Absence Quota Type
anzhl - Number of Employee Time Quota
kverb - Deduction of Employee Time Quota
I have the code working from a previous post on using the PNP logical database and the macro based code from TRMAC. I think I just need to know which structure (rt, abc, etc.) I can find the above mentioned quota type fields.
This can be accomplished by using another macro from TRMAC. Typically, the RP-PROVIDE-FROM-FIRST and RP-PROVIDE-FROM-LAST macros are used to grab the first or last, repectively, instance of the infotype for a give date range. Assuming you're using the PNP logical databse for the base program, you can use the following code to grab the information you are looking for:
REPORT YOUR_REPORT_NAME. TABLES PERNR. INFOTYPES: 2006. ... START-OF-SELECTION. ... GET PERNR. ... RP-PROVIDE-FROM-LAST P2006 SPACE PNPBEGDA PNPENDDA. ...
Dig Deeper on SAP ABAP
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.