cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with PT50 (table PTQUODED is not updated through LSMW)

tamargegiaze
Participant
0 Kudos

Hi everyone,

Have an issue with PT50, absence quotas are not updated when we use LSMW to record absence data. So we used PA40 per person to record absence data (0000, 2001). Data in tables PA2006 and PTQUODED was always updated correctly. Now we use LSMW (text file is generated from external workflow program, which is then uploaded by employee in SAP through LSMW). LSMW is using tcode PA30. Data in PA2001 is written correctly, and quotas in PA2006 is updated correctly, but PT50 is using table PTQUODED which is not updated correctly no longer.

So if we use PA40 for abscences, then both tables PA2006 and PTQUODED show data correctly, and PT50 as well, but if we use LSMW, then table PTQUODED is not updated.

Can anyone help?

Regards,

Tamuna

Accepted Solutions (0)

Answers (1)

Answers (1)

BGibbons
Active Contributor
0 Kudos

Hi,

Can you try running ABAPs RPTUPD00 or RPTBPC10, cannot remember which one we used !

These "reprocess" the absences and we have used them in the past to correct quotas after changes to work schedules or configuration.

If it does the trick then it would be an extra step you would need to do after running the LSMW.

bg

tamargegiaze
Participant
0 Kudos

Dear Brendan,

Thanks a lot, we used this report, but since we register absences daily, it means that we need to run that report daily. This is an option yes, we can create background job, but it would be better not to do that, cause there is possibility that record collapse (due to specificity of our quotas). I just really dont' understand why there is problem only with lsmw, and not with PA40.

Regards,

Tamuna

BGibbons
Active Contributor

Tamuna,

I would imagine the behaviour you observe is related to the underlying complexity of IT2001 when linked to quotas. You could use FM HR_INFOTYPE_OPERATION to load them but I would guess you will encounter the same issue.

I believe SAP recommend that If time data from external time management systems is to be posted to the Attendances (2002) and Absences (2001) infotypes in SAP Time Management, then use the Business Object BUS7011 Manager for External Attendances/Absences.

In the past for this we have used the following in conjunction with transaction CAT6

BAPI_PTMGREXTATTABS_CHECK

BAPI_PTMGREXTATTABS_INSERT

bg