‎2006 Mar 31 1:57 PM
Hi friends,
how to know print program for SAP Script form name ?
‎2006 Mar 31 2:00 PM
Go to table TNAPR.
PGNAM = Program name:
FONAM: Form name(SAP Script or smartfrom).
‎2006 Mar 31 2:04 PM
Hi,
Press F1 on the form and click the Technical information in the Performance Assistance window. then you get the Program name.
regards
-Rakesh
‎2006 Mar 31 2:09 PM
Hi Christoper,
There are 3 methods up to my knowledge.
1) Go to table TNAPR give the forname you will get the driver program.
2) open the script and follow the path:
FORM->CHECK->TEXTS and then a diaglog window comes just press enter you see a table which shows the list of driver programs using the script.
3) using NACE you need know the application area of the script like sales or shippind etc.. and u need to know the output type also.procedure below.
Go to NACE.
select the application.
press output types on application tool bar.
select the output type.
double click on processing routines folder
you will see the programs and sap scripts configured.
Please let me know if any clarifications needed.
Regards
Anil Kumar K
‎2006 Mar 31 3:28 PM
I found standard program attached to my z form.
I need to add fields to this prog. and based on that fields i hav to configure printer settings. How to do this?
Because Print prog. is standard SAP Program
‎2006 Mar 31 3:47 PM
Generally for print programs you dont modify the standard program. You make a copy of it and modify it.
‎2006 Mar 31 3:48 PM
Hi ,
You can use the following code changes in the layout & see..
You have to create a program Z_BC460_EX4_HF for that..
***********
/:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
/: USING &CUST&
/: CHANGING &NAME&
/:ENDPERFORM.
Dear &NAME&
The ABAP routine could be defined as follows:
IMPORTANT: The structure itcsy must be used for the parameters.
REPORT Z_HENRIKF_SCRIPT_FORM .
tables scustom.
form get_name tables in_tab structure itcsy
out_tab structure itcsy.
read table in_tab index 1.
select single * from scustom
where id = in_tab-value.
if sy-subrc = 0.
read table out_tab index 1.
move scustom-name to out_tab-value.
modify out_tab index sy-tabix.
else.
read table out_tab index 1.
move 'No name' to out_tab-value.
modify out_tab index sy-tabix.
endif.
You could also fill the ouput parameter table this way
READ TABLE out_par WITH KEY 'NAME1'.
out_par-value = l_name1.
MODIFY out_par INDEX sy-tabix.
endform.
‎2006 Jun 14 3:37 PM
Hi All,
how are you doing,Please help me in how to proceed to the solution.
We are
My problem is We are upgrading SAP from 4.6C to ECC 5.0,
In the print program we getting error saying the
"Processing log for program SAPFM06P routine OLD_ENTRY_NEU"
"Processing routine OLD_ENTRY_NEU in program SAPFM06P does not exist"
Could please help me out how to do print program in new version.
Thanks in advance
Madhavi
‎2006 Jun 14 4:07 PM
Hi Madhavi,
SAP standard program SAPFM06P (Printin for purtchase documents) has no routine OLD_ENTRY_NEU.
Look at your old system, the may have modified the module pool and added this routine. The best way is to analyze the difference between SAP routine ENTRY_NEU and the called routine OLD_ENTRY_NEU. Then you could consider to do the same modification in your new system - I'd rather not do that.
Better change customizing to SAP standard routine ENTRY_NEU and find a way to circumvent modification.
Customizing for print programs and entry routines is done within purchasing - messages - message types.
Regards,
Clemens
‎2006 Mar 31 2:26 PM
HI
ITS ALL DEPENDS UPON THE KIND OF PROGRAM NAME YOU R SEARCHING FOR.
YOU CAN SEARCH USING TWO PROCESS
BY USING TCODE SPRO
BY USING TCODE V/G7
I HOPE THIS WILL HELP TO SOLVE YOUR PROBLEM.
THANKS
Mrutyunjaya Tripathy
‎2006 Mar 31 3:16 PM
if you can create the form online, then start SE71 first, use utilities-start forms debugger.
The call your form. The sapscript debugger breskpoint popup comes up, Use OK to continue. It then stops in the sapscript debugger. from there, use /h to start ABAP debugger. In ABAP debugger, use the call stack. You can sse the RSTX sapscript modules and then below the calling program.
This is not the customizing path for setting the program, but you know for sure where you come from.
Sorry, it won't work for smartforms. Many things don't work for smartforms.
regards,
Clemens
‎2006 Mar 31 3:21 PM
Please check the table TTXFP. It has form name & program name. Please reward points if it helps.
Regards
Yogesh