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: 

Call PA40 tcode from a custom report

simantini_sh
Explorer
0 Kudos

Hi All,

I have a requirement. So I need to create a custom report, where we will give input as SSO ID and on SAVE, custom report should trigger PA40 tcode and and complete the hiring process, but the screen which holds SSO ID field, should already be auto populated from our custom screen.

Custom report with SSO is created, but how do we auto populate it on the PA40 screen on hiring process?

Thanks in advance.

1 ACCEPTED SOLUTION

former_member226519
Active Contributor

What is SSO ID?

to call the transaction simply use:

      set parameter id 'PER' field my_pernr.
set parameter id 'BEG' field my_begda.
set parameter id 'END' field my_endda.
set parameter id 'ITP' field '0000'.
set parameter id 'SUB' field '10'. "hiring action
set parameter id 'FCD' field 'INS'.
call transaction 'PA30' and skip first screen
2 REPLIES 2

former_member226519
Active Contributor

What is SSO ID?

to call the transaction simply use:

      set parameter id 'PER' field my_pernr.
set parameter id 'BEG' field my_begda.
set parameter id 'END' field my_endda.
set parameter id 'ITP' field '0000'.
set parameter id 'SUB' field '10'. "hiring action
set parameter id 'FCD' field 'INS'.
call transaction 'PA30' and skip first screen

raymond_giuseppi
Active Contributor
0 Kudos

Did you try to call FM HR_MAINTAIN_MASTERDATA in dialog mode '2' ?