on 09-05-2008 12:06 PM
Dear Friends
I'm working with smartform and i want to 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 solve this matter.
Can you understand my question?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I Closed this thread, thanks for all, specially Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
data:
w_input TYPE ssfcompin, " Smart Composer input parameters
w_control TYPE ssfctrlop. " Control Structure.
Call function ssfcomp_open.
EXPORTING
input = w_input
EXCEPTIONS
error = 1.
LOOP AT t_tab INTO fs_tab.
w_control-no_open = ' '.
w_control-no_close = ' '.
*"Individual spool request.............................................
IF w_flag NE '1'.
w_control-no_open = 'X'.
w_control-no_close = ' '.
w_flag = 1.
call function w_nam-->smartform function module
call function w_nam-->smartform function module.
Call function ssfcomp_close.
EXCEPTIONS
error = 1.
Regards,
Sravanthi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Sravanthi
thanks lot, you were try to help me,
but dear I unable to follow your sample codes, can you please describe me
this is the my code
* Collect Function Module Name
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZPP014_REP_DAILYLINESITUATION'
IMPORTING
FM_NAME = LV_FNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
*
*
Itab pass to smartform by memory Id
EXPORT IT_SCHDB TO MEMORY ID 'SCHDB'.
** call the function module to print the layout
IF NOT LV_FNAME IS INITIAL.
call FUNCTION MODULE
CALL FUNCTION LV_FNAME.
after close the smart form this PDF part functioning (PRINT or just come back (BACK button)
you know, i want to function this part only after print
PERFORM PRINT_PDF USING LV_FNAME.
ENDIF.
i hope your can help me with your experience,
Thanks in advance
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.