on 11-12-2007 7:15 AM
hi......
how can i find the print program for samrtforms?
i went n searched in TNAPR but i could not get it can any one please help me
Hello Srilatha,
<b>Hope this helps you.......</b>
REPORT ZDUMMY_ATG_2.
*======================================================================
Tablas
*======================================================================
TABLES: TTXFP.
*======================================================================
Tablas Internas
*======================================================================
DATA: T_TTXFP TYPE STANDARD TABLE OF TTXFP WITH HEADER LINE.
*======================================================================
Selection-Screen
*======================================================================
SELECTION-SCREEN BEGIN OF BLOCK SCRIPT WITH FRAME.
SELECT-OPTIONS:
PRINTNAM FOR TTXFP-PRINT_NAME,
TDFORM FOR TTXFP-TDFORM.
SELECTION-SCREEN END OF BLOCK SCRIPT.
*======================================================================
Start-of-selection
*======================================================================
START-OF-SELECTION.
PERFORM SELECT_DATA.
PERFORM PRINT_DATA.
&----
*& Form SELECT_DATA
&----
Seleccionamos los datos del reporte.
----
FORM SELECT_DATA.
SELECT TDFORM PRINT_NAME LAST_PROG
INTO TABLE T_TTXFP
FROM TTXFP
WHERE PRINT_NAME IN PRINTNAM
AND TDFORM IN TDFORM
ORDER BY TDFORM.
ENDFORM. "SELECT_DATA
&----
*& Form PRINT_DATA
&----
Imprimimos el resultado del reporte.
----
FORM PRINT_DATA.
FORMAT COLOR 3.
WRITE: 'Programa', 18 'Formulario', 50 'Flag de Ultimo programa'.
FORMAT COLOR OFF.
SKIP 1.
IF NOT T_TTXFP[] IS INITIAL.
SORT T_TTXFP BY PRINT_NAME.
LOOP AT T_TTXFP.
IF T_TTXFP-LAST_PROG EQ 'X'.
FORMAT COLOR 4.
WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM,
60 T_TTXFP-LAST_PROG.
FORMAT COLOR OFF.
ELSE.
WRITE:/ T_TTXFP-PRINT_NAME, 18 T_TTXFP-TDFORM,
60 T_TTXFP-LAST_PROG.
ENDIF.
ENDLOOP.
ENDIF.
ENDFORM. "PRINT_DATA
Execute this program.......
With Regards,
Vidya
*********************Reward with points ,if found useful
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Go for Report : RSNAST00. in debugging and supply the smartfrom name to get the corresponding print program name in debugging.
Regards,
Sree
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
You will get SD and MM related forms in TNAPR table FI related forms will be there in T001F table.TTFXP -Selection list of print programs will also be used for finding print program.
For finding the print program of a smartform,TNAPR is the table name.
Ex:
PGNAM:SAPFM06P
SFORM:LB_BIL_INVOICE
TNAPR table Processing programs for output
If you're speaking about a smartforms for logistics module (SD,MM), you can you the transaction NACE (or table TNAPR) in order to findout which program is assigned to that smartforms.
U can also try to find out all programs using the fm SSF_FUNCTION_MODULE_NAME and get only the program where the string containing the name of your smartform.
<b>Reward i f usefull</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
For which script/smartform are you searching the program?
for SD and MM search in TNAPR or NACE tcode
for FI forms/programs see in OB96 Tcode
for PM related forms see OID1 tcode
for certain programs lick cheque printing and dunning etc see in the SPRO
some important forms
SD
SALES ORDER/ENQUIRY/QUOTATION
Output type : BA00
ScriptForm Name : RVORDER01
Driver Program Name : RVADOR01
smartform name
DELIVERY NOTE
Output type : LD00
ScriptForm Name : RVDELNOTE
Driver Program Name : RVADDN01
smartform name : LE_SHP_DELNOTE
Smartform Driver Pgm: RLE_DELNOTE
INVOICE
Output type : RD00
ScriptForm Name : RVINVOICE01
Driver Program Name : RVADIN01
smartform name : LB_BIL_INVOICE
Smartform Driver Pgm: RLB_INVOICE
MM
PUCHASE ORDER/RFQ/CONTRACT
Output type : NEU
ScriptForm Name : MEDRUCK
Driver Program Name : SAPMF06P
smartform name : /SMB40/MMPO_L
smartform driver program: /SMB40/FM06P
GOODS RECEIPT
Output type : WE01
ScriptForm Name : WESCHEINVERS1
smartform name : /SMB40/MMGR1_A
smartform driver program: /SMB40/M07DR
GOODS ISSUE
Output type : WA01
ScriptForm Name : WA_SCHEINVERS1
smartform name : /SMB40/MMGI1_A
smartform driver program: /SMB40/M07DR
FI Forms
Account Statement : F140_ACC_STAT_01
Cheque Printing : F110_PRENUM_CHEK
Balance Confirmation: F130_confirm_01
Dunning Form: F150_DUNN_01
check the link below it provides steps to convert sap scripts to smartforms
http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
SMARTFORMS -Driver Program
PO: /SMB40/FM06P
SO: /SMB40/RVADOR01
GR: /SMB40/M07DR
Regards
Anji
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.