Skip to Content
author's profile photo Former Member
Former Member

smartofrm does not generate spool when run in background mode.?

Following print prameters are being provided but the smartform is not showing any SPOOL where as the jobs gets successfully executed.

CONTROL-NO_DIALOG = 'X'.

CONTROL-GETOTF = 'X'.

CONTROL-PREVIEW = 'X'.

OUTPUTOPTIONS-TDNOPREV = 'X'.

OUTPUTOPTIONS-TDDEST = G_PRINTER-TDDEST.

OUTPUTOPTIONS-TDNEWID = 'X'.

OUTPUTOPTIONS-TDNOPRINT = ' '.

OUTPUTOPTIONS-TDIMMED = ' '.

Pl advise.

Ven

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • Posted on Nov 29, 2007 at 08:30 PM

    Hi

    I believe you need to check the Immediate Option to 'X' then it will create the spool immediately

    Thakns

    Pavan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 29, 2007 at 10:40 PM
    • Control parameters

    p_ls_control_param-device = 'PRINTER'.

    p_ls_control_param-no_dialog = c_on.

    p_ls_control_param-getotf = c_on.

    p_ls_control_param-langu = sy-langu.

    • Composer parameters

    p_ls_composer_param-tdimmed = c_on.

    p_ls_composer_param-tddest = p_rddest. "printer name

    p_ls_composer_param-tdnoprint = c_on.

    p_ls_composer_param-tdnewid = c_on.

    p_ls_composer_param-tddelete = c_on.

    • Assign and determine smartform function module for Customer Statement

    c_on = 'X'.

    This will create the spool in background and in foreground. It worked for me.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 03, 2007 at 04:29 PM

    Added code to output ALV List as Smartform is not spooling for some reason.

    Add a comment
    10|10000 characters needed characters exceeded

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.