Skip to Content
avatar image
Former Member

How to know which Smart-Form is being called

Dear Sir,

We need to know the name of Smart-Form being called in Transaction FBCJ . In Tcode FBCJ if we click on Edit and then select the option "Print Receipt" then a Smart-Form is called and output gets generated .

Kindly guide us as how can we know the name of Smart-Form being called .

With Thanks and Rgds

Sania Agarwal

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

8 Answers

  • Best Answer
    avatar image
    Former Member
    Apr 22, 2009 at 04:47 PM

    This is a very loaded question as it really depends upon which module you are speaking...most DEVELOPERS know SD/logistics' NACE IS where an output condition is attached to a program and form. The form can be SMARTFORM/SAPscript or SFP (adobe PDF form).

    If you know what transaction or better what print program is calling the SMARTFORM then your job is easier as SMARTFORMS are basically functions that are found with same function within the program. LV_TDSFNAME would be the name of the SMARTFORM while FM_NAME is the corresponding function module used by the SMARTFORM where you do all your debugging.

    So in the NACE tcode you get the outputs configured to the print program and the form and these are held in table TNAPR.

    You need to remember that NACE does not do all modules and some modules such as FI can be challenging but ultimately all should be found within IMG using SPRO.

    *--Get Functiona module name

    CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

    EXPORTING

    FORMNAME = LV_TDSFNAME

    IMPORTING

    FM_NAME = FM_NAME

    EXCEPTIONS

    NO_FORM = 1

    NO_FUNCTION_MODULE = 2

    OTHERS = 3.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 22, 2009 at 04:20 AM

    Hi Sonia,

    Go to NACE TCODE. There u need to select the appropiriate Application Area which is provided by Functional Consultant.select that appication Area and click on Output types select as provided by functional and click on processing routines there u will find Driver Programs and Smartforms which are assigned for that TCODE.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Dear Mr Mahender Gonti

      Thanks for reply .

      How can I know about the Application Area / Output Type .

      Rgds

      Sonia

  • avatar image
    Former Member
    Apr 22, 2009 at 04:26 AM

    Hi,

    First check program name in table TSTC.

    then check form name in TNAPR table.

    hope it works.

    regards,

    Lokesh.

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 22, 2009 at 05:29 AM

    Moved - SmartForm questions belong in Form Printing, not General.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 22, 2009 at 06:15 AM
    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 22, 2009 at 09:01 AM

    Hi Sonia,

    What output type you are using to display the output?

    Before clicking Print Preview, you must be entering some value (output option).

    Based on that output option, You can goto transaction 'SPRO', you can get your smartform name using this transaction.

    Please get back to me if you need more information.

    Thanks,

    Archana

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 22, 2009 at 09:06 AM

    open in debug mode.

    From there you can find out the tcode.

    Using the output type also you can find out which smart form is triggering,

    Give the output type in TNPR table and execute.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Apr 22, 2009 at 05:21 PM

    Dear Sonia,

    This is the standard form 'F140_PAY_CONF_01'. For further qurries u can contact to ur FI consultant.

    Regards,

    Adesh

    Add comment
    10|10000 characters needed characters exceeded