on 09-04-2009 5:50 AM
Dear All,
I have to call a subroutine when a record in IT0015 is created/changed based on certain condition of IT0003(Payroll Status).
I created the following dynamic action for the same:
0015 0077 06 1 P P0003-RRDAT<>SPACE
0015 0077 06 2 P P0003-RRDAT<=P0003-ABRDT
0015 0077 06 3 F CHECK_VAL(ZROUTINE)
But, despite the plausibilty conditions being true, the dynamic action is not getting triggered.
Please let me know the error I am committing.
Regards,
Kanupriya
hi,
You just this 0015 0077 1 P PSYST-IOPER = INSERT and then you pass the subroutine with PSPAR-pernr, PSPAR-BEGDA, PSPAR-ENDDA like this. I think it will work.
thanks & regards,
sekhar.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
If fields of other infotypes are used for comparison, these must be stored in the module pool of the current infotype.
0015 0077 06 1 P P0003-RRDATSPACE
0015 0077 06 2 P P0003-RRDAT<=P0003-ABRDT
0015 0077 06 3 F CHECK_VAL(ZROUTINE)
here the current infotype processed is 0015, and you are using the fields of infotype 0003, so P0003 must be accessible in module pool MP001500.
Structure named PSPAR, T001P, PSAVE and current work infotype 'PNNNN' are always can be accessed.
Pls check this point.
Good luck!
Chen Jian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
0015 0077 06 1 P P0003-RRDATSPACE
I think it should be
0015 0077 06 1 P P0003-RRDAT=SPACE (or "not equal"; sorry its not considering the actual inequality sign)
Its the little things that miss our eye!
Donnie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Donnie,
Actually I am using: P0003-RRDAT NE SPACE (It is not showing not equal to sign here).
It is written correctly in my dynamic action, I think I committed some mistake while copying it here.
I have a doubt whether fields of other infotypes can be used for comparison directly as I have done or it has to be done in a subroutine. If it can't be used directly then this won't work.
Regards,
Kanupriya
User | Count |
---|---|
95 | |
9 | |
8 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.