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

Debugging HR PA Dynamic Action

$
0
0

Sometimes we have done comlex dynamic action with many conditions and own subroutines. And this black box doesn't work with any message

 

Fortunately we can debug and see all results.

 

Logic begins in  row 1535 of include MPPERS00 for every PA INFOTYPE (MPXXXX00 programs) and finishs in row 1608

Set breakpoint on row 1609 for program MP000000 (0000 Infotype).

 

I performed hire action and got results.

 

Internal table DYNMEAS contains two actions which will trigger.

dynmeas.png

 

Internal table INITIAL_VALUE contains values for new/modified infotypes with reference to  actions in DYNMEAS (field dmsnr for dynmeas-seqnr).

initial.png

 

We can see values for two dynamic actions from t588z

t588z.png

t588z2.png

 

If business logic in t588z is not enough you can add values to tables DYNMEAS and INITIAL_VALUE in your subroutines with F operations

 

fs.png

Dynamic action counter is in global variable LAST_DMSNR.


Viewing all articles
Browse latest Browse all 889

Trending Articles



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