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

Hi all,

hi ,

i facing problem with function module in samrtform assigning for PO in nace t-code. it is print program.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

FORMNAME = 'ZQUATATION'

  • VARIANT = ' '

  • DIRECT_CALL = ' '

IMPORTING

FM_NAME = FNAME

  • EXCEPTIONS

  • NO_FORM = 1

  • NO_FUNCTION_MODULE = 2

how can i call :call function fname.

Murali.

Add a comment
10|10000 characters needed characters exceeded

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 09:53 AM

    Hi,

    In your program, there is button called Pattern, click that and enter the value of fname there. This would call your smartform.

    Thanks

    Nayan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jun 19, 2008 at 09:58 AM

    Add the below mentioned this after this function module it will help you to close the thread.

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

    EXPORTING

    FORMNAME = 'ZQUATATION'

    IMPORTING

    FM_NAME = FNAME

    EXCEPTIONS

    NO_FORM = 1

    NO_FUNCTION_MODULE = 2

    ***Now goto smartform, display from menu Environment--> function module name

        • get the function module name Ex: /1BCDWB/SF00000016

        ***Goto your driver program and pattern and selection function module with the name and rename "/1BCDWB/SF00000016" with FNAME and pass all your import, export and table parameters

        EX: CALL FUNCTION FNAME

        If driver program is not in your control make sure you do the settings in nace tcode correctly.

        Ex:Goto Transaction NACE --> Select Application V1(Sales) --> Click on Output Types --> Select the output type as BA00 (as generally BA00 is the output type associated with Sales Order ) --> Double click on the Processing Routines folder on the left and it will display the Form name and the corresponding driver programs name.

        Close the thread once your question is answered.

        Regards,

        SaiRam

        Add a comment
        10|10000 characters needed characters exceeded

      • author's profile photo Former Member
        Former Member
        Posted on Jun 19, 2008 at 10:01 AM

        Hi,

        Get the dynamically created function module for your smartform (let say /abc/xyz.

        Now go to pattern (click on it), select CALL FUNCTION radiobutton, and give your smartform function module /abc/xyz in it and press enter.

        Now you will get the structure of function module of your smartform with IMPORTING and EXPORTING parameters.

        Now change text /abc/xyz to ZQUATATION (which is got from SSF_FUNCTION_MODULE_NAME').

        Then your problem will be solved, so that your smartform will be called.

        Reward with points if is helpful.

        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.