Application Development and Automation 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: 
Read only

Using external routine from Dynamic Action table

Former Member
0 Likes
488

Anyone has experience using external subroutines from table T588Z? I use this functionality using "F" to call the routine from a program. It goes to the routine with no problem but when I try to issue a call function "HR_INFOTYPE_OPERATION" to insert an infotype 19, it returns a condition code of 0 but the update does not take place. Am I missing something in the configuration?

2 REPLIES 2
Read only

Former Member
0 Likes
414

Hi,

I am facing a similar issue. Did you get a workaround for this?

Read only

0 Likes
414

You cannot use HR_INFOTYPE_OPERATION directly from Dynamic Actions, using the F-parameter. However, if you really want to do it there is a work around that cheats the system into running the function module anyway.

Just encapsulate the HR_INFOTYPE_OPERATION call into a report/program and call this program from the the location where you wanted to use the function module using a SUBMIT.

This will allow you to get the infotype operation done.

Be aware of not making changes to infotype entries you are already working on through Dynamic Actions or the consequences might not exactly what you hoped for.. but as a solution to creating/updating/deleting other infotypes from dynamic actions this works quite well..