‎2008 Jan 21 6:14 AM
hello people,
i have to modify a smartform, however i do not know the name of the smartform and i only know the tcode which is for invoice printing. The tcode is VF02 and it has smartform attached to it. So how do i get the name for it. Any help would be appreciated and rewarded.
regards
sandeep salaria
‎2008 Jan 21 6:56 AM
sandeep,
There are different ways.
1.The best way to find a form name and print program name is to goto SE38, program RSNAST00. Keep breakpoint at following statement -
PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
US_SCREEN
IF FOUND.
Print document from respective transactions -
Check values of TNAPR-FONAM for form name and TNAPR-PGNAM for driver program name.
There is another way
If you have document numbers and output type name, you can check entries in TNAPR table.
2.Vf02 ->
Goto NACE -> select application V3 -> click on output types -> now select RD00
-> click on processing routines
here you can see form name and print program
same thing for VL02
here select V2 application..
you can find in TNAPR ,NAST Table
3.You have to dig in SPRO.
For FBCJ
From Spro> Fin Accounting>Bank Accounting>Business Transactions>Cash Journal-->
Here you can set up your Print program for correspondnce etc
For Purchasing....
From Spro >MM>Purchasing>Messages>Forms for Messages-->
For Customer account statement
From Spro>FI>AP & AR>Customer accounts>Line items>Correspondence>Make and check settings
Don't forget to reward if useful....
‎2008 Jan 21 6:39 AM
From VF02 screen you would come to know the output type,right?
Using this o/p type,you can go to Transaction NACE > Billing.
Select Billing and click on button outout types.Here you will find you o/p type that you got in VF02.Just select this o/p type and click on 'Processing Routines'. A screen appears where you will find the Smartform Name.
Reward points if useful.
Regards,
Bhavin P Shah
‎2008 Jan 21 6:56 AM
sandeep,
There are different ways.
1.The best way to find a form name and print program name is to goto SE38, program RSNAST00. Keep breakpoint at following statement -
PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCODE
US_SCREEN
IF FOUND.
Print document from respective transactions -
Check values of TNAPR-FONAM for form name and TNAPR-PGNAM for driver program name.
There is another way
If you have document numbers and output type name, you can check entries in TNAPR table.
2.Vf02 ->
Goto NACE -> select application V3 -> click on output types -> now select RD00
-> click on processing routines
here you can see form name and print program
same thing for VL02
here select V2 application..
you can find in TNAPR ,NAST Table
3.You have to dig in SPRO.
For FBCJ
From Spro> Fin Accounting>Bank Accounting>Business Transactions>Cash Journal-->
Here you can set up your Print program for correspondnce etc
For Purchasing....
From Spro >MM>Purchasing>Messages>Forms for Messages-->
For Customer account statement
From Spro>FI>AP & AR>Customer accounts>Line items>Correspondence>Make and check settings
Don't forget to reward if useful....