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

Regarding execution of smartforms without a selection screen.

Hi ,

I would like to know whether it is possible to generate a smart form, by calling a function module in a report program without the option of selection screen.Can anyone suggest me in this regard.

Thanks in advance,

Shwetha Korlepara.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • Best Answer
    Posted on Jan 11, 2007 at 10:42 AM

    Hi,

    You can do if the smartform generated does not require any input from selection screen.

    Check these links.

    http://www.sap-basis-abap.com/sapsf001.htm

    http://www.sap-img.com/smartforms/smartform-tutorial.htm

    Get back in case of any clarifications.Kindly reward points by clicking the star on the left of reply,if it helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 11, 2007 at 10:51 AM

    Hi,

    Yes, it is possible to generated a smartform by calling a function mdule in a report.

    1. Call FM 'SSF_FUNCTION_MODULE_NAME'.

    2. Pass your Smart Form name to the parameter FORMNAME.

    3. You will get a FM Name from parameter FM_NAME.

    4. Use CALL FUNCTION FM_NAME & pass all the required parameters to it.

    5. This will generate the smartform with data.

    Reward points if the answer is helpful.

    Regards,

    Mukul

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 11, 2007 at 10:47 AM

    Hi,

    When you call the smartform function module extracted using CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' you must set the following

    to supress the dialog screen - control_param-no_dialog = 'X'

    to delete spool req. - output_options-tddelete = 'X'

    to print immedietly - output_options-tdimmed = 'X'

    Regards,

    MG

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 11, 2007 at 11:39 AM
    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.