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: 

Adding custom buttons to print preview of smart form

sutthawee
Explorer
0 Kudos
705

Hello Experts,

In the picture below, if the black box is the preview window when I call a smartform, and the blue box is the PDF, the little red boxes are custom bottoms .

Is that possible that smartform's print preview page can add custom bottoms (the red boxes) like this?

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
583

You could generate the OTF output, and use a small custom code similar to SSFCOMP_PDF_PREVIEW to display it with your options?

  • This FM use HTML as suggested by frdric.girod
4 REPLIES 4

FredericGirod
Active Contributor
0 Kudos
583

You will have to rebuild everythink.

So create a popup windows with an HTML container, ....

what kind of action would you like to add ?

sutthawee
Explorer
0 Kudos
583

Hello frdric.girod

the bottoms are 'reject' and 'approve' because user don't want to close the preview window then clicking approve/reject. They need preview and the action in one popup window.

They use to have something like this in Fiori but I cannot figure if it can do the same or similar thing in GUI too?

raymond_giuseppi
Active Contributor
584

You could generate the OTF output, and use a small custom code similar to SSFCOMP_PDF_PREVIEW to display it with your options?

  • This FM use HTML as suggested by frdric.girod

0 Kudos
583

The requirements was changed a little in final that was instead of calling pop-up, it had to call another screen. Adapting you and frdric.girod suggestions, it works. Thank you both a lot!