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 is in include MPPERS00 (FORM dyn_measure) for every PA INFOTYPE (MPXXXX00 programs)
Start of code.
SELECT * FROM t588z WHERE infty EQ pspar–infty
and finishs after
MOVE pspar–dmsnr TO last_dmsnr.
Set breakpoint on (MOVE pspar–dmsnr TO last_dmsnr) for program MP000000 (0000 Infotype).
I performed hire action and got results.
Internal table DYNMEAS contains two actions which will trigger.
Internal table INITIAL_VALUE contains values for new/modified infotypes with reference to actions in DYNMEAS (field dmsnr for dynmeas-seqnr).
We can see values for two dynamic actions from t588z
If business logic in t588z is not enough you can add values to tables DYNMEAS and INITIAL_VALUE in your subroutines with F operations
Dynamic action counter is in global variable LAST_DMSNR.