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

Smartform Clossing Problem

Former Member
0 Likes
914

Dear Friends

I'm working with smartform and i wanna do small adjustment

when user display the print screen ( i mean display page) he can go back with BACK button or can print with PRINT button

so if he tack print i want to do another part, that is save that print as a PDF format (I mean tack a print and save PDF also)

*i have PDF creating part

if you can suggest, how to close smartform and return to main program after Print (without BACK button) i can handle*

Please help me to close this matter.

7 REPLIES 7
Read only

Former Member
0 Likes
856

Hi Nelson,

did you look for an userexit after you hit the printbutton? If there is one, you may be able to create the PDF-output. At this stage in the process you should be in standard SAP, so, userexit/badi/enhancement point are the options.

Cheers,

Stefan

Read only

0 Likes
856

Thanks Stefan

but how can i find related userexit or some thing like that.

Read only

0 Likes
856

This message was moderated.

Read only

0 Likes
856

Hi,

I can suggest you a work around for this....

In your driver program before calling the smart form show a popup asking whether the user want to get the output in PDF or Smartform, based on the user input, call Smartform or PDF processing...

Hope this helps you...

Regards

Karthik D

Read only

0 Likes
856

>

> Dear Friends

>

> Please try to solve this matter.

Please Read the [Rules of Engagement|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/home/rulesofEngagement]...

Read only

0 Likes
856

Karthik

its possible i know it but i want to automate it, if user click print button only i want to save pdf.

Thanks in Advance

Read only

Former Member
0 Likes
856

for this question still not answered

but i would like to close this thread.

Thanks you all