How to search print program
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.
Similar Messages
-
How to find print program from script
Hi,
How can i find the print program from the script .
i unable to find in TNAPR table.
thanks,
sriiHi Sridhar,
U can find in 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.
Best regards,
raam -
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 -
How to attach print program and sap script for F150 transaction
How to attach print program and Z sap script for F150 transaction
Hi,
you can find the customization for dunning in transaction SPRO under this path: Financial Accounting->Accounts Receivable and Accaounts Payable->Business Transactions->Dunning.
Kostas -
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. -
How to search a program sapscript launcher
Hello everybody.
I have to modify a value that it's filled in a sapscript, but I don't know how to do for search the program that launch my sapscript.
Can you help me, gurus?
Thanks a lot!Hi Alessio,
first you should know that what are the modification you want .than goto nace copy the standard script to your ZZ_script than you can adding or modify the layout.
in the program fallow the these steps:
Using the PERFORM SUBROUTINES you can call the extra fields info into the script and print them
see the sample code and do accordingly
How to call a subroutine form SAPscripts
The Form :
/:PERFORM CDE_CENT IN PROGRAM ZKRPMM_PERFORM_Z1MEDRUCK
/:USING &EKKO-EBELN&
/:CHANGING &CDECENT&
/:ENDPERFORM
The report :
REPORT zkrpmm_perform_z1medruck .
DATA : BEGIN OF it_input_table OCCURS 10.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_input_table.
déclaration de la table output_table contenant les
variables exportées
DATA : BEGIN OF it_output_table OCCURS 0.
INCLUDE STRUCTURE itcsy.
DATA : END OF it_output_table.
DATA : w_ebeln LIKE ekko-ebeln,
w_vbeln LIKE vbak-vbeln,
w_zcdffa LIKE vbak-zcdffa.
FORM CDE_CENT
FORM cde_cent TABLES input output.
it_input_table[] = input[].
it_output_table[] = output[].
READ TABLE it_input_table INDEX 1.
MOVE it_input_table-value TO w_ebeln.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = w_ebeln
IMPORTING
output = w_ebeln.
SELECT SINGLE zcdffa FROM ekko
INTO w_zcdffa
WHERE ebeln = w_ebeln.
it_output_table-name = 'CDECENT'.
MOVE w_zcdffa TO it_output_table-value.
MODIFY it_output_table INDEX 1.
output[] = it_output_table[].
ENDFORM.
REPORT ZMPO1 .
form get_freight tables in_par structure itcsy out_par structure itcsy.
tables: ekko,konv,t685t.
data: begin of itab occurs 0,
ebeln like ekko-ebeln,
knumv like ekko-knumv,
end of itab.
data: begin of itab1 occurs 0,
knumv like konv-knumv,
kposn like konv-kposn,
kschl like konv-kschl,
kbetr like konv-kbetr,
waers like konv-waers,
kwert like konv-kwert,
end of itab1.
data: begin of iout occurs 0,
kschl like konv-kschl,
vtext like t685t-vtext,
kbetr like konv-kbetr,
kwert like konv-kwert,
end of iout.
data v_po like ekko-ebeln.
read table in_par with key 'EKKO-EBELN'.
if sy-subrc = 0.
v_po = in_par-value.
select
ebeln
knumv
from ekko
into table itab
where ebeln = v_po.
if sy-subrc = 0.
loop at itab.
select
knumv
kposn
kschl
kbetr
waers
kwert
into table itab1
from konv
where knumv = itab-knumv and
kappl = 'M'.
endloop.
loop at itab1.
if itab1-kposn <> 0.
select single * from t685t
where kschl = itab1-kschl
and kappl = 'M'
and spras = 'EN'.
iout-vtext = t685t-vtext.
iout-kschl = itab1-kschl.
iout-kbetr = itab1-kbetr.
iout-kwert = itab1-kwert.
append iout.
clear iout.
endif.
endloop.
sort itab1 by kposn.
loop at iout.
sort iout by kschl.
if ( iout-kschl eq 'GSDC' OR
iout-kschl eq 'GSFR' OR
iout-kschl eq 'GSIR' ).
at end of kschl.
read table iout index sy-tabix.
sum.
write:/ iout-kschl,iout-vtext,iout-kwert.
out_par-name = 'A1'.
out_par-value = iout-vtext.
append out_par.
out_par-name = 'A2'.
out_par-value = iout-kwert.
append out_par.
endat.
endif.
endloop.
endif.
endif.
endform.
IN THE FORM I AM WRITING THIS CODE.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:PERFORM GET_FREIGHT IN PROGRAM ZMFORM_PO1
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:ENDPERFORM
&A1&
&A2&
This Code is to be written in the PO form under ADDRESS window.
/:DEFINE &A1& = ' '
/:DEFINE &A2& = ' '
/:DEFINE &A3& = ' '
/:DEFINE &A4& = ' '
/:DEFINE &A5& = ' '
/:DEFINE &A6& = ' '
/:PERFORM GET_VENDOR IN PROGRAM ZMFORM_PO
/:USING &EKKO-EBELN&
/:CHANGING &A1&
/:CHANGING &A2&
/:CHANGING &A3&
/:CHANGING &A4&
/:CHANGING &A5&
/:CHANGING &A6&
/:ENDPERFORM
&A1&
&A2&
&A3&
&A4&
&A5&
&A6&
Reward is usefull -
Search print program and sap script
hii , how can i find trigring print program and sap script for a particular purchase order.
regards Aditya
Edited by: aditya shrivastaba on Apr 14, 2008 9:59 AMHey,
First go with Me22 or 23 with po that you had, and then check with output type for that in the transaction. After that go to TNAPR table and check the corresponding form and print program.
Or else, go with NAST table in that put PO num in 123456 and put in OBJKY field in nast table. It will give you the output type of it, so that u can find the print program and lay out in TNAPR
Many thanks,
Raghu. -
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 -
How to write print program for smartforms
Hi all
I need to develop new smartform and its print program.
But Im not experience in writing print program for smartform.
Ive gone through the simple print program sample that use only one table as input and one table for output.
But my smartforms require few tables for input and output.
How should I define the Data?
Can anyone guide me on how to write it.
Thanks & Regards
azTransaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
call function 'SSF_FUNCTION_MODULE_NAME'
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
call function FM_NAME
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
Reward points... -
Urgent plz how to find print program
Hi,
I have script (FORM) name how can i find the print program .
the t.code is f.58
Thanks,
srii.Hi,
go to program RSNAST00.
Put a brkpt on line no. 875 i.e.
PERFORM (TNAPR-RONAM) IN PROGRAM (TNAPR-PGNAM) USING RETURNCOD US_SCREEN
IF FOUND.
now run the script. TNAPR-PGNAM will be program name.
Reward pts if usefull.
Regards,
Dhan -
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 find print program of pdf form
hi,
i want to know how can i find print program of pdf formsHi,
You can take a look at the FP_PDF* test programs in SE38. Additional documentation and information on <a href="http://help.sap.com/saphelp_nw70/helpdata/en/96/6ee0d5b39640d68fc0078fc575114a/frameset.htm">help.sap.com</a>.
Regards,
Francois -
How find out print program for smartform?
i know smart form name but i want printprogram name for that.how to find?pls help me.
Hi
There's no method.
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.
Max -
How to find print program for particular smartform
also tell me if there is any standard smart form for SRM PO
name of the form .
thnkshi
all the po related programs and forms are available in the table TNAPR( ere u can check the form or prg acc to the output type of the application, which you can find by seeing in NACE).
Most of the forms are available with /SMB40*, SEQUENCE u try for this one.
U can get all the required information relavant to new froms and programs available by giving /SMB40*, IN FORM NAME and press f4. then u can get all the forms available. -
Invocie Print Program, Urgent!!!
Hi all,
We have invoice form ZBCC_INVOICE_DA4 and print program is ZVADIN01.
Now, business requirement is, when custer is paying by Direct debit ( Payment Method 'D') use different invoice. I have copied form ZBCC_INVOICE_DA4 to ZBCC_INVOICE_DD and changed the layout.
I dont know how to configure print program to this form.
I mean, when customer payment method is D, print form ZBCC_INVOICE_DD.
Thanks
ShiveDear
Open T-Code NACE.
Here Select V3 - Billing line.
Press OUTPUT Type button
HERE YOUR FUNCTIONAL GUY ASSIGN A NEW OUTPUT TYPE FOR YOU.
SELECT THIS NEW OUTPUT TYPE( YOU CAN USE EXISTING ONE FOR TESTING)
AND PRESS PROCESSING ROUTINES BUTTON
HERE YOU SEE PROGRAM AND FORM ASSIGNED,
YOU CAN ASSIGN YOUR NEWER FORM HERE, AND PRESS SAVE .
ASK BASIS GUY TO CONFIGURE THIS OUTPUT TYPE FOR PRINTING.
AND THATS IT.
Maybe you are looking for
-
No FLV video in a linked SWF?
I've got an FLV video linked to an external SWF (a substage) that is itself linked to another SWF (the main stage) The FLV plays fine if I publish and run the substage independently but when the substage is loaded into the main stage at runtime I los
-
Using the Function:: Method for Spry Processing
i have read the relevant article ( http://labs.adobe.com/technologies/spry/samples/data_region/Function_colon.html) and have successfully managed to format as currency my price data in my spry table. what syntax do i need to format dates ? and is the
-
Hi. How do I perform envelope spectrum analysis in Labview for the detection of bearing faults? Do I have to order any additional toosets?
-
I'm working in Acrobat 11.0.6. I worked on editing 196 page pdf document over the past few days. Saving it each time I finish. Today I tried to open the file using "recent files". The name of the file shows up, but when I click on it a get an err
-
Number of parameters unknown....
Hi Everyone I am building my form ( question_form) depending on the results of my query. This makes it to be difficult to know the number of parameters that will be submitted when the user clicks on the submit button. Save_form is the name of the pro