Application Development 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: 

samrt form call from driver program

Former Member
0 Kudos

Hi Experts....

I am working in a smart form which runs while pressing print preview button from screen like VF03, VF01 etc. I need to change the same program so that the previwe wil cum while executing that driver program itself.

Is there any simple setting is there to change it. It passes so many nternal tables. I am coping that call function here. Pls help me out in this....

CALL FUNCTION lf_fm_name

EXPORTING

  • archive_index = toa_dara

  • archive_parameters = arc_params

control_parameters = ls_control_param

    • mail_appl_obj =

  • mail_recipient = ls_recipient

  • mail_sender = ls_sender

output_options = ls_composer_param

  • user_settings = 'X'

is_bil_invoice = ls_bil_invoice

is_nast = nast

  • is_repeat = repeat

importing

job_output_info = ls_job_info

  • document_output_info =

  • job_output_options =

TABLES

t_text = gt_text

T_ITM_TEXT = GT_TEXT1

EXCEPTIONS formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

IF sy-subrc <> 0.

  • error handling

cf_retcode = sy-subrc.

Here -is_bil_invoice = ls_bil_invoice through this so many internal tables were passed.

is_bil_invoice is of type

DATA: ls_bil_invoice TYPE lbbil_invoice.

Pls help me how to change it .

Thanks,

Hema

1 REPLY 1

OttoGold
Active Contributor
0 Kudos

Note there is ABAP Printing forum under ABAP, where you can get direct help on smartforms. Otto