Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic action triggered but sub routine not recognised

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

suresh_datti
Active Contributor
0 Kudos

>

> Hi,

> ITYPE STyp FieldN FC No S Variable function part

> 0000 04 1 F zprogname

> Binay.

the entry for Dyn Action in V_T588Z should be as shown below..

ITYPE STyp FieldN FC No S Variable function part

> 0000 04 1 F <routinename>(zprogname)_

~Suresh

1 REPLY 1

suresh_datti
Active Contributor
0 Kudos

>

> Hi,

> ITYPE STyp FieldN FC No S Variable function part

> 0000 04 1 F zprogname

> Binay.

the entry for Dyn Action in V_T588Z should be as shown below..

ITYPE STyp FieldN FC No S Variable function part

> 0000 04 1 F <routinename>(zprogname)_

~Suresh