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

HR Dynamic Actions Subroutine

Former Member
0 Likes
670

Hi friends,

I have question on Dynamic Actions in HR module. I try to call a subroutine from Dynamic Actions. I have to pass P0041-DAT01, P0041-DAT02, P0041-DAT03, P0041-DAT04 parameters to the subroutine. I don't know the procedure / syntax to pass parameters. Can any one give me the example for this requirement. You help will be greatly appriciated.

Thanks in advance.

Hari

Hi friends,

I have question on Dynamic Actions in HR module. I try to call a subroutine from Dynamic Actions. I have to pass P0041-DAT01, P0041-DAT02, P0041-DAT03, P0041-DAT04 parameters to the subroutine. I don't know the procedure / syntax to pass parameters. Can any one give me the example for this requirement. You help will be greatly appriciated.

Thanks in advance.

Hari

2 REPLIES 2
Read only

uwe_schieferstein
Active Contributor
0 Likes
500

Hello Hari

I did this some time ago so I am not sure if my description will be complete. However, I can describe you what I did.

I defined a report containing a FORM routine that should be dynamically called.

In the header section of the report I have the following statement:

INCLUDE mppdat00.  " Common Part SAPFP50M

As data definitions I added the required infotype tables:

TABLES:  p0000.  " Personal-Stammsatz Infotyp 0000 (Massnahmen)
TABLES:  p0001.  " Personal-Stammsatz Infotyp 0001 (Org. Zuordnung)
TABLES:  p0002.  " Personal-Stammsatz Infotyp 0002 (Daten zur Person)

Now in the FORM routine I work directly with the variables (p0000, p0001, ...). When the FORM routine is dynamically called these variables contain the values of the infotypes.

Regards

Uwe

Read only

0 Likes
500

You can take alook at tshi std report HBRDYNMS..

~Suresh