on 01-20-2012 6:08 AM
HI,
We can easily download smart-form using Utilities>Download smart form.
But i want to downlaod multiple smartform how i can achive this please share.
Hi, you can use RFRECPSFTLXML standard report to download multiple smartfrms
Regards!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
FB_DOWNLOAD_FORM
this FM is used to download smartforms.. use this to what ever forms you want to download
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI amolban,
I have an idea for you, wright a BDC for tcode smartforms.
SHDB--> recording name >tcode SMARTFORMS> start recording-> give form name> Utilities---> Download form
-->ENTER
IF its usefull give me a hug.
Regards,
Venkat suman.
Edited by: Thomas Zloch on Jan 20, 2012
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
For downloading mutiple smartform you can do it by two ways:
1) CALL FUNCTION 'CONVERT_OTF' used to convert Smartform OTF to PDF format.At last the Smartforms download is managed by call function WS_DOWNLOAD.
2) If you want to to open all the Smartforms simultaneously without having Print preview navigation Window then use the FM 'SSF_OPEN'.It has few importing and exporting parameters that you have to defined as per your requirement. Below is the example code for that call function.
***********************************************************************
Data Declaration * ***********************************************************************
DATA : control_parameters TYPE ssfctrlop,
wa_job_output_info TYPE ssfcrescl.
***********************************************************************
Call FM SSF_OPEN to Open all the letters * ***********************************************************************
CALL FUNCTION 'SSF_OPEN'
EXPORTING
ARCHIVE_PARAMETERS =
USER_SETTINGS = 'X'
MAIL_SENDER =
MAIL_RECIPIENT =
MAIL_APPL_OBJ =
OUTPUT_OPTIONS =
control_parameters = control_parameters
IMPORTING
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
control_parameters-no_open = 'X'.
control_parameters-no_close = 'X'.
SSF_CLOSE :- Using this call function you can close all the smartforms simultaneously. This call function is written when you have to close all the smartforms after having all the
***********************************************************************
Call FM SSF_CLOSE to Close all the letters *
***********************************************************************
CALL FUNCTION 'SSF_CLOSE'
IMPORTING
job_output_info = wa_job_output_info
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
OTHERS = 4.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
<removed by moderator>
Edited by: Thomas Zloch on Jan 20, 2012
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.