Quantcast
Channel: SCN : Discussion List - SAP ERP Human Capital Management (SAP ERP HCM)
Viewing all articles
Browse latest Browse all 7926

Automatism in personal calendar generation (E)

$
0
0

Hello there,

 

In Spain, RPTGENE0 generate employee calendar according to data in infotypes 0000, 0001, 0003, 0007, 0041, 2001, 2002, 2003 update PCL1 u201CPCu201D cluster and infotype 0003 Date as of which personal calendar must be generated  field (PKGAB).

 

Not generating personal calendar would cause reject in payroll evaluation (rejection also occurs while simulating) so eventually calendar generation is include as a step to be executed prior to payroll evaluation.

 

To avoid manually having to generate calendar after changes in the above listed infotype occurring mostly in PA30 tcode, I have included a dynamic action that would automatically launch RPTGENE0 according to the logic attached below.

 

    • this logic works ok **. Thing is that RPTGENE0 list detail of generation in the result screen and I would like to know how I can avoid that last screen since the logic is just there to automatically update PC cluster.

 

Could just using FM RP_BUILD_CALENDAR_E with additional P0003 update logic would be suficient? or would a simple ABAP sentence such as "SKIP SCREEN" be ok? Ultimately aiming toset this process transporaent from a user-point of view (at least on the day to day basis).

 

LOOP AT lt_pcale INTO ls_pcale.        SUBMIT rptgene0 USING SELECTION-SET 'CUS&SDNCOMUNITY'              WITH pnppernr EQ pskey-pernr              WITH pnptimr6 EQ checked              WITH pnpbegda EQ ls_pcale-begda              WITH pnpendda EQ ls_pcale-endda              AND RETURN.      ENDLOOP.

 

Thanks!


Viewing all articles
Browse latest Browse all 7926

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>