cancel
Showing results for 
Search instead for 
Did you mean: 

How to know which Smart-Form is being called

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Answers (7)

Answers (7)

Former Member
0 Kudos

Dear Sonia,

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

Regards,

Adesh

Former Member
0 Kudos

hi adesh,

actually it is script not smartform, how can i edit that script.

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi Sonia,

Regards,

Sravanthi

matt
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Hi,

First check program name in table TSTC.

then check form name in TNAPR table.

hope it works.

regards,

Lokesh.

Former Member
0 Kudos

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.

Former Member
0 Kudos

Dear Mr Mahender Gonti

Thanks for reply .

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

Rgds

Sonia