cancel
Showing results for 
Search instead for 
Did you mean: 

HRForms to Smartforms

Former Member
0 Kudos

Hi,

Can anybody help me figuring out how to pass the selection screen parameter value to the smartforms?

The selection screen is the print program generated by HRFORMS.

There is the selection screen payroll administrator field and I want the value entered by the user passed in the smartforms, problem is the program is generated by the HRFORMS and I cant edit the program.

Thanks.

Regards,

Tin

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

thanks everyone, I have found a way to get the selection screen values.

Former Member
0 Kudos

Hi,

Please use program lines and declare a local variable in the global definitions.

then capture the field content into the local variable and then display.

make sure first by debugging the FM generated for the smartform whether you get the required content in it or not.

Regards,

Ram

Former Member
0 Kudos

hmmm since the program is generated and cant be edited, this is quite hard.

But well you may give it a shot to do a dirty assign on your generated program in initialisation of your smartform.

Former Member
0 Kudos

Hi Florian,

Im sorry but can you show how to do that assignment?

Thanks.

Former Member
0 Kudos

field-symbols: <fs>     type any.
assign (yourprogramname)yourvariable to <fs>.
Former Member
0 Kudos

Thanks.

I should put this code inside the initialization of the smartform right?