Q
Problem solve Get help with specific problems with your technologies, process and projects.

Extracting current quota balances from a cluster

I need to extract current quota balances from a cluster (I am assuming PCL2) - the 3 fields I am interested in are related to the 2006 infotype:

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.
       ...

This was last published in August 2003

Dig Deeper on SAP ABAP

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchManufacturingERP

SearchOracle

SearchDataManagement

SearchAWS

SearchBusinessAnalytics

SearchCRM

SearchContentManagement

SearchFinancialApplications

Close