Skip to Content
0
Former Member
Mar 11, 2009 at 08:58 AM

Dynamic action triggered but sub routine not recognised

26 Views

Hi,

I have a scenario where we hire an employee first by the action Hire Exclusive.

After this process a field (Pers.no.locked) in the IT0003 for the employee gets checked.

Then we have to again carry out the action Hire for payroll.

After this process we have a requirement to uncheck the field(Pers.no.locked).

For this purpose I tried to create a zprogram with a subroutine to uncheck that field.

I made an entry for the dynamic action via SPRO in the following fashion:

ITYPE STyp FieldN FC No S Variable function part

0000 04 1 F zprogname

Thenafter I executed the actions and got a runtime error saying:

The program "MP000000" is meant to execute an external PERFORM,

namely the routine "ZBINAYTEST1 " of the program "MP000000 ", but

this routine does not exist.

I think this may be becoz the routine is a custom one and the package is not matching with that of the program MP000000.

Please tell me if this is the correct means of getting this solved.

Or else is there any other means of geting this solved.

Regards,

Binay.