cancel
Showing results for 
Search instead for 
Did you mean: 

QUOTA GENERATION THROUGH PT_Qta00

former_member564796
Participant
0 Kudos

Dear All,

Here my client is generation quota through pt_qta00. Different quota generation rule is for different employee groups.

For workmen PL is total (attendance days+ some special leave)/20 & APL is (attendance days+ some special leave)/44.

Now the issue is in some employees group quota is calculated wrongly. Means for Ex; - X employee attendance and special leave added and divided by 20 pl should be 3 but its generating 14 and maximum entitlement is 15.This employee time management status is time evaluation with actual time.

They are not using any time schema. They are simply using negative time Management and running quota with pt_qta00.

So I want to know this logic I will check with any customize codding written by ABAPER or it is through the standard configuration.

Please let me know so that I will solve this issue soon, its urgent.

Thanks & Regards

Sanjukta Nayak

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Sanjukta,

I think your requirement can not be fulfill with out PCR, or you can feed absence quota manually in IT 2006. So you can write a PCR as per your requirement under Sub schema TQTA. It can be fulfill your requirement.

Thanks

former_member193652
Active Contributor
0 Kudos

Hi San,

If you would generate such quota you should use PCR to count for example att. days. How you are generating such a quota by the report.

I recommend to have a V_T559L and find your quota types in "Quota types" section and share a screen shot to have a look. If your quota type is "No generate." yes you are generating thru report otherwise schema is in charge of quota generation.

Regards,

Omid

former_member564796
Participant
0 Kudos

Dear Mr. Omid,

Find the screen shot, its is selected no generation. Please suggest where they have written the rule to calculate PL and APL. PL is Attendance+ Special Attn/20 and APL is Attn/Spe Attn/44 ,here they have negative time mgm, no time evaluation they are doing.

former_member193652
Active Contributor
0 Kudos

Dear Sanjukta,

If you are sure and the quota are selected correctly, as you see the quota type is "No Generate" so it's not possible to generate such a quota by schema and it does make sense by having negative time management.

For this kind of quota you have to generate quota manually thru RPTQTA00 by SA38. But for your scenario(PL is Attendance+ Special Attn/20) maybe there is one options. Having a custom developed ABAP program(Report) to count attendance days and special attendance days the generate quota.

It's better to ask client how have created these quotas last years for example.

Regards,

Omid


former_member564796
Participant
0 Kudos

Dear Omid,

They are saying they are using PT_QTA00 to generate quota. They have made sone varient for different employee groups. And I have checked with ABAPER that they are using cusatomer exit ZXPADU02. But nothing is written to calculate the quota. So, please suggest what will be done.

They are giving this much of imput and saying the quota is updated correctly for other employee groups except workmen.

Thanks & Regards

Sanjukta Nayak

former_member193652
Active Contributor
0 Kudos

Hi Sanjukta,

The sound is good. If the quota is created correctly and there is a problem just for a group I recommend don't look how they have developed the program / user exit and just focus on what is the origin of problem for this group. If you could not solve by this then go ahead to find and understand logic of program / user exit.

First of all check with clients if quota generation was ok for last year for example for this group? Or you have define this group recently and this is first time of quota generation for it.

If this is a new group or they have changed something recently maybe the grouping (ESG or PSG for time quota) and all related things for grouping are not correct. Go into V_T559L and find your quota selection rules then check if they are the same you expect by V_001P_ALL and V_503_ALL.

Regards,

Omid

former_member193652
Active Contributor
0 Kudos

By the way are you sure ZXPADU02 is the implemented user exit for quota and nothing else? Use Tcode: CMOD and ask them the project name then you can consider the projects and user exit they have developed one by one.

As I said the standard report for quota generation can't count att. days and so on. Therefore I am sure they have developed something.

Regards,

Omid

former_member193652
Active Contributor
0 Kudos

Hi Sanjukta,

If You search in TCode: SMOD by package for "PTIM" there is no such user exit. Are sure the name of user exit is correct?

Regards,

Omid

former_member564796
Participant
0 Kudos

Dear Omid,

I am aware of user exit.

But my question is how i will find that if the same logic is written in user exit or Badi. Here no one is giving the feedback , even abaper is saying there is one exit i,e ZXPADU02 and nothing is written in that.

I want to know where system is following this logic. The way to find the same logic.

Hope I am clear neither let me know.

Thanks & Regards

Sanjukta Nayak

former_member193652
Active Contributor
0 Kudos

Hi Sanjukta,

As I said use TCode: SMOD to search.

Otherwise the best way is debugging the system. Although it is time consume but it's awesome. You can understand the logic system works and find any developed code. Try it and if you are not familiar with debug you should ask a ABAPer to help you in this issue.

Regards,

Omid

former_member564796
Participant
0 Kudos

Dear Omid,

Thanks for your valuable feedback.As I said how I will know exactly what is the user exit they

have used. Nothing has written in ZXPADU02.

According to your suggestion I will request ABAPER to debug the same.

Thanks & Regards

Sanjukta Nayak

Former Member
0 Kudos

Hi Sanjukta,

Can you please tell me How PL & APL quaota calculate in the system, any PCR written for the same or feed data manually in IT2006?

Thanks

former_member564796
Participant
0 Kudos

Helo,

Here there is no PCR written, They are not updating the leave manuaaly in IT2006. They are running programme PT_QTA00 as said earlier. They are not running any time evaluation programme, they are not using any schema.

Thanks & Regards

Sanjukta Nayak