How to fetch Print program name of a SAP script?
Hi abapers,
Could you please tell me how to fetch the name of a script's print program with the help of the script's name?
I have tried with table TNAPR and T-code NACE,it didnt help.
Is there any function module that returns the print program's name.
Please reply.
Thanks,
Suchi.
hi ,
GOTO SE71 Txn
Enter standard script name.
Click on Display.
"in menu bar
"form------>Check--->text ----->press enter
Now you can view the standard print program name
Thanks & Regards
Similar Messages
-
How to list ABAP programs that uses a SAP script form?
Hello everybody.
Can you please tell me how to list all ABAP programs that uses a particular SAPscript forms? That is, given a form name, I can then list all programs that uses that form.
Thanks in advance. I'm trying to Google this same info but I'm having a hard time formulating my search terms.
Thanks.
-- CarlHi Carl,
You can get them from table TNAPR,
Give the FORM NAME and all the programs are listed
check this table also TTFXP , TTXFPT
Message was edited by: Chandrasekhar Jagarlamudi
Message was edited by: Chandrasekhar Jagarlamudi -
How to find output type givenSapscript form name and print program name
Hi Experts,
Can anyone tell me how to find the output type of a sapscript form if the print program name and sapscript form name is
known.Hi,
There are two ways:
1. Use table TNAPR .. Here is table give PGNAM as your print program name and FONAM as form name.. Now the field KSCHL will be the output type assigned to your script.
2. You can also check the NACE t-code.. In that select a application(Corresponds to your area) -> click on Output types tab -> Here you get list of output type.. You need click on Processing Routine folder to get all other info.. -
Print program name for the dunning form F150_FR_DUNN_01 in sapscript
Hi,
I am not getting the exact print program name for the dunning form F150_FR_DUNN_01 in sapscript. After an extensive search I have come across few names of print program like SAPF150D2 and SAPLF150. But still I am not understanding which one to use for the form and also how to use it. I am unable to understand which include I should use to write my code.
Kindly help me.
Thanking you.
Pujarini PatraHi,
Yes, you should be able to assign F150_FR_DUNN_01 in Dunning Forms customizing:
and yes, I too would absolutely try to go for either a Smartform or even a PDF Form (if i'd have all the necessary setup for them, like Adobe Document Services, in the system already). I have Basis 702 SP 0011and FINBASIS 600 SP 0021, so all the following technicalities refer to those releases:
The corresponding SAP sample Forms are:
- F150_DUNN_SF for Smartform; and
- F150_DUNN_SF for pdf Form (don't let the name confuse you )
I'm not entirely sure if it's a good idea to try to convert/migrate Sapscript to Smartform and the Smartform to PDF Form - have never done that myself and don't know how good/usable the migration result is. I just take the interface of Smartform from SAP and do the rest from scratch or by copying over the common parts of our existing custom forms.
There are the SAP Standard wrapper FMs for SF and PDF forms already in the System:
- FI_PRINT_DUNNING_NOTICE_SMARTF calling PRINT_DUNNING_NOTICE_SF and
- FI_PRINT_DUNNING_NOTICE_PDF calling PRINT_DUNNING_NOTICE_PDF.
So, theoretically, all you had to do to replace SapScripts (or even to enable all three form types) is to assign a custom BTE Event handler FM to event 1720 (for correct Application), which could detect, what type of form is assigned in Customizing and call the corresponding wrapper FM.
As a sample for coding PDF form wrapper call one could take FI_PSO_EVENT_00001720_PDF (if you have IS-PS) in the system. I'd take out the IS-PS specific "business logic" like posting dunning charges (if it does not apply to my solution) and add the logic to decide, which wrapper to call.
The confusing part about the customizing (Table T047E) to me is that there seems to be no form type defined anywhere in there... just the FORNR field for form name, which should apparently take the names of all three form types... I'd try to extend that table with custom Form type field and try to regenerate Table Maintenance dialog for view Cluster VC_T047_F... That would save the whole effort to try to detect the type for form assigned...
Another tip, in case you didn't know it already: you should be able to see all the Customizing paths, where T047E is involved, when you enter table name in SM30 and press "Customizing" and then "Continue w/o Specifying Project":
The selected entry is the one you are looking for to assing your custom forms, I believe.
cheers
Janis -
How to know print program for SAP Script
Hi friends,
how to know print program for SAP Script form name ?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. -
Print program name for Adobeform
Hi,
I want to know how to identify the print program name to print adobeform if i know Adobeform name in FI and HR module.
Thanks
BhuavnaPost the solution as well so that it helps all, instead of just closing it with one word i.e. "resolved"
Have a look at [Rules of Engagement|http://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement].
Chintan -
How to fetch print and print preview variables
hi everyone,
my requirement is as soon as sales order created. printout of that sales order will be taken at the same time email should be send to that particular customer.
the problem is the email is sent as soon as we check the print preview itself.
but the mail should be sent afte the pressing print button only.
how to fetch print or print preview by program
regards
kartheHi everyone,
I have tried open form and close form
The itcpp-tdspoolid eq '0' for both print and print preview.
I have set the open form
dialog = 'X'.
have i got to set anything in open form.
this is my open form and close form.
CALL FUNCTION 'OPEN_FORM'
EXPORTING
DIALOG = 'X'
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
CALL FUNCTION 'CLOSE_FORM'
IMPORTING
RESULT = itcpp
IF SY-SUBRC ne 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
else.
if itcpp-tdimmed eq 'X' and itcpp-TDSPOOLID ne ''.
endif.
regards
karthe -
HI FRIENDS.............
I know the form name then ,How to search its print program name?Hi Sateesh,
Use the NACE transaction:
Please check this link
search print program and sap script
with po no how to find script and print program for that po.
Source : https://forums.sdn.sap.com/click.jspa?searchID=15095030&messageID=5629547
Have A Good Day
Chaitanya. -
Hi all,
i have smartform name .how we will find print program?
What is the output type and application for paychek?
please tell to me..
Thanks,
kisho.rethere are two ways
go to table TNAPR give ur smartform name and then u will get your program name
secondly if any putput type is associated with it then go to transaction NACE select application area then click output type and then get the print program name
~hitesh -
Wats d in-built print PROGRAM name for layout MEDRUCK???
wats d in-built print PROGRAM name for layout MEDRUCK??? and can we change it??
wat shud we do if we want2 change it??
i mean...assume we got a scenario in which we need ta use MEDRUCK layout n print progrm n change some text in it.. and d address and header in it..
how cud we do dis??Hi ,
The print program name for 'MEDRUCK' is <b>SAPFM06P</b>, it is not advisable to change the print program instead if you want to do any changes use Subroutines in the layout. Eg : PERFORM <Subroutine name> in PROGRAM <pname> USING <in_variables>
CHANGING <out_var>
ENDPERFORM.
Srini -
Regarding how to find print program when you know Layout set in SAP SCRIPT
Hi,
I have a issue i know one Layout set name[SE71] in SAP Scripts i want to find out the print program for that can any body tell me how can we find.
The Layout set name is <b>F140_CUS_STAT_J1</b>
i need to find print program for that.
Can anybody solve my issue.
Thanks & Regards,
Rayeez.Hi,
I don't think <b>TNAPR</b> will give me any enries as this layout set<b>[F140_CUS_STAT_J1]</b> in related to FI module<b>[Japan Invoice]</b>.
Also as per second reply i dont know about output type/Application so that i can go from NACE.
Generally FI related Forms will be executed directly from report[Print Program] itself.
If anybody knows solution please post it.
Thanks & Regards,
Rayeez. -
How to rename a program name in ABAP.
Hi all,
How to rename a program name in ABAP. Please help me out in this.
Thanks & Best Regards,
Vishnuhi vishnu,
goto se38--> press Ctrl+F6
it will give one small screen source program and target program.
in target program type ur pgm name
reward if its useful. -
How to find the program name of the smart form?
How to find the program name of the smart form if output type is not known?
thanks in advance...How to find the program name of the smart form if output type is not known?
thanks in advance...
T-code SE16
Enter table name: TNAPR -> Press enter key
Enter smartform name in input field(SFORM): Z_your_smartform_name
Execute
you can find program name under the column PGNAM/Program name.
Regards
sudheer -
How to find the program name of the created sap query ?
how to find the program name of the created sap query ?
Hi avinash,
Try in this way..
Go to SE16 and then go to table TSTC.
in that give program name as <b>*followed by your query name</b>
(for example *TESTQUERY)
and run , that will give progname======queryname.
this way you can find program name.
vijay -
How we modify print program in script
hi gurus.
how we modify print program in script, please tell elaborately.Hi ..
first of all ... u have to check which is the print program for the given layout...
how u can find out is ... in NACE transaction... for certain o/p type .. there will be configuration done against the layout .. i mean for the particular layout .. a print program wud be assigned.
another way to find out the print program is thru table TNAPR..
once u find out the print program.. make sure u have to make changes in the print program .. i mean once u decide "for the requirement u have to make changes to the print program.
Reward points if it is useful.
Thanks,
Manjunath MS
Maybe you are looking for
-
Writing into an excel report from Forms10g in the same worksheet
Dear all, I need your help pleae, I have eveloped a procedure in Forms 10g to write a report into an excel file, Please find below the code The problem is that the report is displayed in multiple sheets according to the rows fetched . How can all the
-
I've lost all my contacts off my phone I synced my I pad with the same account when I deleted the contacts from the I pad it deleted them from my phoneidont have it backed up on a pc how do I get it back
-
Firefox opens but will not search for main page
After upgrading to Fiefox 4.01, when I open firefox and I type in the search bar that appears in the middle of the page it won't search. It does nothing. I can go to the top-right bar which is currently using yahoo search engine, type and it will sea
-
Good Day everyone, I have created a report in Discoverer Desktop Edition (Release 4.1), at first, it shows the grand total for the Budget column but when I added a calculated columns "Actual Cost" and "year-to-date", then the grand total no longer di
-
Calling a funtion package from forms
Hi All, I am trying to call a function package in the forms, but I get the below error. Any help Please.. the code in the trigger : DECLARE CURSOR C1 IS SELECT ' Rule Id: ' || R.rule_id ||' R_SUPP: ' || ROUND(R.rule_support , 2) || ' R_CONF: ' || ROU