cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Smartform

Former Member
0 Kudos

Hi experts,

I would like to have, on the same output of a program, two different smartform; the 1st, is the coversheet, always the same, and the 2nd ( and, maybe, the following pages ) have the data ( Main window and so on..); there is anywhere a parameter for doing this ? Or something else I have to do ?

Thanks a lot in advance !

Best regards.

Marco

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hello Marco,

Just make bit Simple Copy the Cover page to your 2nd Smartform.

At the end of Cover Page call the Second page that contains the main page.

At the end of cover page right Click and create->flow logic->COMMAND line

in command line give your next page as SECOND (That contains the main window).

OR if you want to do it your way

need to pass the control parameter

WA_CONTROL_PARAMETERS-LANGU = 'E'.

  • Language of smartform

WA_CONTROL_PARAMETERS-DEVICE = 'PRINTER'.

*default o/p device

WA_CONTROL_PARAMETERS-NO_DIALOG = 'X'.

  • if you dont want the pop up screen , that asks you for printing make the value as 'X' .

other wise make it as space or clear it.

WA_CONTROL_PARAMETERS-PREVIEW = SPACE.

  • if u want the print preview , make it as 'X' , otherwise SPACE'.

Hope the above discussion was helpful.

Cheers,

Suvendu

Answers (5)

Answers (5)

Former Member
0 Kudos

solved myself

Former Member
0 Kudos

Hi,

Why doing it difficult if it is possible to do it easy?

Make your cover sheet the first page of your smartform.

Gr., Frank

Former Member
0 Kudos

i dont see why you need a own form for just a titlesheet include that in your smartform as page 1 or like this.

Anyway, calling a smartform means calling a function module (FM). when you call an FM you will return back to coding once it is processed. so right after your call of your smartform you can call another smartform, and if you want after that a third and fourth ...

Former Member
0 Kudos

Hi,

Why not add the cover page also as the first page of the second smartform?

Regards

Karthik D

Former Member
0 Kudos

Hi Marco,

Adjust the GUI of the program using SE41 two include two buttons in the application toolbar.

One button when cliekd shows the cover page data and the other button to show up additional data.

Design two smartforms as per your requirement and handle the form calling using the user_command.

Regards,

Babul.