on 06-18-2008 12:06 PM
How to find the Driver program for the smart forms ?
Hi Manjunath,
Hope it will give clear idea abt trigger of smartform thru driver program.
Try this in IDES , you will get how the smartform will trigger for specific application thru message control.
but if you want to pass application table data like VBRK, VBRP,.... you need to identify the exact location
in PERFORM processing USING us_screen subroutine.
Program name is RVADIN01
Routine Name is ENTRY
SmartForm Name ZSF_RVADIN01 (Your Custom Form)
step1 : copy your RVADIN01 to ZRVADIN01
step2 : goto subroutine
FORM entry USING return_code us_screen.
*CLEAR retcode.
*xscreen = us_screen.
*PERFORM processing USING us_screen.
*CASE retcode.
WHEN 0.
return_code = 0.
WHEN 3.
return_code = 3.
WHEN OTHERS.
return_code = 1.
*ENDCASE.
---> Here call your SSF_FUNTION_MODULE_NAME.
ENDFORM.
step3 : In NACE, Replace the Program name as ZRAVADIN01.
and smartform name is ZF_RVADINO1.
step4 : Run invoice transaction and check the output.
Regards,
Vishvesh
if helpful, rewards it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
If you know the output types than you can find driver program in NACE transaction.
otherwise
In TNAPR Table , enter the form name in the FONAME and you will get the program name in PGNAM.
Hope it will help you.
Rewards Points if useful.
With Regards
Nikunj shah
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Manjunath,
If u want to find the smartform for specific driver program go with TNAPR table in SE11.
If u want to specify your smartform name for driver program,u need to go with NACE->specify Application->select the output type->go with processing routines.Here u can specify the smartform name that u want for that output type.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Select PGNAM
from TNAPR
into v_program_name
where SFORM eq 'Smartform Name'.
Try this.
If you have input for KSCHL, NACHA, KAPPL give those also, to minimize the selection.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Sorry ... Pass the form name in SFORM field
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi!
Check out TNAPR table. Write your smartform name into the SFORM field and you'll get the program.
Regards
Tamá
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Check out TNAPR table ..Pass the form name in the field FONAM and get Program name from PGNAM ...
Regards,
Santosh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.