Skip to Content

I have donwloaded a smartform to my system and how to proceed further...

Hi friends,

I have copied a smartform to my system [ BC470_FLOWD_FINAL ]. And then if i execute it, it is not showing proper output. And also it is not taking any input from the user. In the sense we have to mannually write a program and pass the tables(data) to the smartform or what has to be done?

Please guide me in this regard...

Points will be rewarded

With Regards


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2006 at 10:44 AM

    Ya u have to write driver program with this function module and pass the required parameters.The parameters are which declared in the samrtform.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2006 at 10:53 AM


    Yes it requires a driver program. The driver program fetches all the details/data from database and passes to the smartform. It also fetches the printer details and passes to the smartform.

    You either need to create a driver program using trnx SE38 or Search the driver prog. of your smartform and copy paste it. Refer this thread for searching a existing driver program how-to-find-driver-program-for-a-smartform

    Best regards,


    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2006 at 10:54 AM

    Please go through this link , hope you will get some useful stuff from this.


    *& Form f9100_save_to_pdf


    • text


    • -->P_WS_FORMNAME text


    FORM f9100_save_to_pdf using value(ws_formname).

    data: i_lines TYPE tline OCCURS 0 WITH HEADER LINE.

    data: ws_bin_size type i,

    ws_filename type string.



    format = 'PDF'

    max_linewidth = 132


    bin_filesize = ws_bin_size


    otf = i_otf

    lines = i_lines


    err_max_linewidth = 1

    err_format = 2

    err_conv_not_possible = 3

    err_bad_otf = 4

    OTHERS = 5.

    IF sy-subrc <> 0.

    flg_exit = 'X'.

    MESSAGE i050 WITH 'Error converting to PDF format'.



    • Get the download path

    PERFORM get_download_path CHANGING ws_filename.

    if flg_exit = 'X'.



    • Download



    bin_filesize = ws_bin_size

    filename = ws_filename

    filetype = 'BIN'


    data_tab = i_lines


    file_write_error = 1

    no_batch = 2

    gui_refuse_filetransfer = 3

    invalid_type = 4

    no_authority = 5

    unknown_error = 6

    header_not_allowed = 7

    separator_not_allowed = 8

    filesize_not_allowed = 9

    header_too_long = 10

    dp_error_create = 11

    dp_error_send = 12

    dp_error_write = 13

    unknown_dp_error = 14

    access_denied = 15

    dp_out_of_memory = 16

    disk_full = 17

    dp_timeout = 18

    file_not_found = 19

    dataprovider_exception = 20

    control_flush_error = 21

    OTHERS = 22.

    IF sy-subrc <> 0.

    MESSAGE i050 WITH 'Error while File download'.

    flg_exit = 'X'.



    MESSAGE i050 WITH 'File downloaded successfully '.

    flg_exit = 'X'.





    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Badri T


      The black box may be problem in the layout.Goto smartform and see where exactly u are getting this black box.Goto that window and see how data is populating and see wether that window is overlaped by other window.

      Check debugging the smartform.


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.