cancel
Showing results for 
Search instead for 
Did you mean: 

Download Multiple Smartform

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (4)

Answers (4)

cesar_gr
Explorer

Hi, you can use RFRECPSFTLXML standard report to download multiple smartfrms

Regards!

Former Member
0 Kudos

FB_DOWNLOAD_FORM

this FM is used to download smartforms.. use this to what ever forms you want to download

Former Member
0 Kudos

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

Former Member
0 Kudos

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