Mass print of notifications
Hello Experts,
Need your advice on how to setup a mass print for service notification. There's transaction IW58 - List Editing. This will list out all notification defined in the selection screen. Using Menu Path Notification - Print Notification, it would prompt for the shop papers to be selected. The problem, I have is that I would need to do this for all the notification number selected, one by one, and this is a very tedious process.
Is there another way to print it, or should I go on the option of custom developing a program to do so?
Appreciate any feedback on this.
Thanks in advance for your assistance.
Hi Thyagarajan,
I have th issue with Service Notifications and so I checked in IW52 and found that the "Display Dialog Box from List Editing when Printing" checkbox is not checked.
Kindly advise as to what needs to be done now that the checkbox is not checked.
Appreciate your kind assistance, in resolving this issue.
Similar Messages
-
Plant Maintenance: Mass Print Notifications
Hi All
our client is using customised t code ZW58 for mass selection and printing of notifications. business want to select form and printer only once (vs each time when they currently mass print). how can we configure it?
please help
thanks
tarunThanks for your response.
there should be a pop-up for the print wherein the user can select the shop paper, printer and no. of pages to be printed.
also he should be able to print the shop papers with single click.
according to the suggestion mentioned by you, user would not be able to select the no. of pages.
let me explain with example:
User wants to print 100 shop papers (same shop papers, i must say). for these shop papers to be printed, everytime user is getting a dialog box (100 times) to confirm the print , select the form etc.
user must be able to print these shop papers within a single click, like he should not get 100 dialog boxes. one dialog box for setting the printer, selecting the form...
please share your suggestion on this....
thanks a lot
Edited by: tarund17 on Sep 6, 2011 2:32 PM -
Mass printing of spool requests
Hi,
Is it possible to program the triggering of the printing of a PDF document contained in a spool request ? ( the goal is to have the possibility for mass printing )
thanks,
RolfHi rolf here is the program to convert to PDF and mail it .
*& Report ZSPOOLTOPDFT *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program can be run in background or online and a spool request *
*& will still be created *
report zspooltopdft .
parameter: p_email1 like somlreci1-receiver
default 'sandeep2jinnagmailcom',
p_delspl as checkbox,
p_online no-display.
*DATA DECLARATION
data: gd_recsize type i.
Spool IDs
types: begin of t_tbtcp.
include structure tbtcp.
types: end of t_tbtcp.
data: it_tbtcp type standard table of t_tbtcp initial size 0,
wa_tbtcp type t_tbtcp.
Job Runtime Parameters
data: gd_eventid like tbtcm-eventid,
gd_eventparm like tbtcm-eventparm,
gd_external_program_active like tbtcm-xpgactive,
gd_jobcount like tbtcm-jobcount,
gd_jobname like tbtcm-jobname,
gd_stepcount like tbtcm-stepcount,
gd_error type sy-subrc,
gd_reciever type sy-subrc.
data: w_recsize type i,
w_spool_nr like sy-spono.
%_print LIKE pri_params.
data: gd_subject like sodocchgi1-obj_descr,
it_mess_bod like solisti1 occurs 0 with header line,
it_mess_att like solisti1 occurs 0 with header line,
gd_sender_type like soextreci1-adr_typ,
gd_attachment_desc type so_obj_nam,
gd_attachment_name type so_obj_des.
Spool to PDF conversions
data: gd_spool_nr like tsp01-rqident,
gd_destination like rlgrap-filename,
gd_bytecount like tst01-dsize,
gd_buffer type string.
Binary store for PDF
data: begin of it_pdf_output occurs 0.
include structure tline.
data: end of it_pdf_output.
constants: c_dev like sy-sysid value 'DEV',
c_no(1) type c value ' ',
c_device(4) type c value 'LOCL'.
*START-OF-SELECTION.
start-of-selection.
Write statement to represent report output. Spool request is created
if write statement is executed in background. This could also be an
ALV grid which would be converted to PDF without any extra effort
write 'Hello World'.
new-page.
commit work.
new-page print off.
if p_online = 'X'.
Processing performed when program calls itself when run online
gd_spool_nr = sy-spono.
export gd_spool_nr to memory id 'SPOOLTOPDF'.
exit.
endif.
if sy-batch eq 'X'.
perform get_job_details.
perform obtain_spool_id.
else.
gd_spool_nr = sy-spono.
If executed online, it submits a program to perform the write statements
instructing it to create a spool request, this could be another program
which just performs the write statements and then exports sy-spono
to memory. But in this example it calls itself passing X to parameter
p_online, which takes it down an alternative procesing path.
submit zspooltopdf2
with p_online = 'X'
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
endif.
Get spool id from program called above
import gd_spool_nr from memory id 'SPOOLTOPDF'.
perform convert_spool_to_pdf.
perform process_email.
if p_delspl eq 'X'.
perform delete_spool.
endif.
if sy-sysid = c_dev.
wait up to 5 seconds.
submit rsconn01 with mode = 'INT'
with output = 'X'
and return.
endif.
FORM obtain_spool_id *
form obtain_spool_id.
check not ( gd_jobname is initial ).
check not ( gd_jobcount is initial ).
select * from tbtcp
into table it_tbtcp
where jobname = gd_jobname
and jobcount = gd_jobcount
and stepcount = gd_stepcount
and listident <> '0000000000'
order by jobname
jobcount
stepcount.
read table it_tbtcp into wa_tbtcp index 1.
if sy-subrc = 0.
message s004(zdd) with gd_spool_nr.
gd_spool_nr = wa_tbtcp-listident.
message s004(zdd) with gd_spool_nr.
else.
message s005(zdd).
endif.
endform.
FORM get_job_details *
form get_job_details.
Get current job details
call function 'GET_JOB_RUNTIME_INFO'
importing
eventid = gd_eventid
eventparm = gd_eventparm
external_program_active = gd_external_program_active
jobcount = gd_jobcount
jobname = gd_jobname
stepcount = gd_stepcount
exceptions
no_runtime_info = 1
others = 2.
endform.
FORM convert_spool_to_pdf *
form convert_spool_to_pdf.
call function 'CONVERT_ABAPSPOOLJOB_2_PDF'
exporting
src_spoolid = gd_spool_nr
no_dialog = c_no
dst_device = c_device
importing
pdf_bytecount = gd_bytecount
tables
pdf = it_pdf_output
exceptions
err_no_abap_spooljob = 1
err_no_spooljob = 2
err_no_permission = 3
err_conv_not_possible = 4
err_bad_destdevice = 5
user_cancelled = 6
err_spoolerror = 7
err_temseerror = 8
err_btcjob_open_failed = 9
err_btcjob_submit_failed = 10
err_btcjob_close_failed = 11
others = 12.
check sy-subrc = 0.
Transfer the 132-long strings to 255-long strings
loop at it_pdf_output.
translate it_pdf_output using ' ~'.
concatenate gd_buffer it_pdf_output into gd_buffer.
endloop.
translate gd_buffer using '~ '.
do.
it_mess_att = gd_buffer.
append it_mess_att.
shift gd_buffer left by 255 places.
if gd_buffer is initial.
exit.
endif.
enddo.
endform.
FORM process_email *
form process_email.
describe table it_mess_att lines gd_recsize.
check gd_recsize > 0.
perform send_email using p_email1.
perform send_email using p_email2.
endform.
FORM send_email *
--> p_email *
form send_email using p_email.
check not ( p_email is initial ).
refresh it_mess_bod.
Default subject matter
gd_subject = 'Subject'.
gd_attachment_desc = 'Attachname'.
CONCATENATE 'attach_name' ' ' INTO gd_attachment_name.
it_mess_bod = 'Message Body text, line 1'.
append it_mess_bod.
it_mess_bod = 'Message Body text, line 2...'.
append it_mess_bod.
If no sender specified - default blank
if p_sender eq space.
gd_sender_type = space.
else.
gd_sender_type = 'INT'.
endif.
Send file by email as .xls speadsheet
perform send_file_as_email_attachment
tables it_mess_bod
it_mess_att
using p_email
'Example .xls documnet attachment'
'PDF'
gd_attachment_name
gd_attachment_desc
p_sender
gd_sender_type
changing gd_error
gd_reciever.
endform.
FORM delete_spool *
form delete_spool.
data: ld_spool_nr type tsp01_sp0r-rqid_char.
ld_spool_nr = gd_spool_nr.
check p_delspl <> c_no.
call function 'RSPO_R_RDELETE_SPOOLREQ'
exporting
spoolid = ld_spool_nr.
endform.
*& Form SEND_FILE_AS_EMAIL_ATTACHMENT
Send email
form send_file_as_email_attachment tables it_message
it_attach
using p_email
p_mtitle
p_format
p_filename
p_attdescription
p_sender_address
p_sender_addres_type
changing p_error
p_reciever.
data: ld_error type sy-subrc,
ld_reciever type sy-subrc,
ld_mtitle like sodocchgi1-obj_descr,
ld_email like somlreci1-receiver,
ld_format type so_obj_tp ,
ld_attdescription type so_obj_nam ,
ld_attfilename type so_obj_des ,
ld_sender_address like soextreci1-receiver,
ld_sender_address_type like soextreci1-adr_typ,
ld_receiver like sy-subrc.
data: t_packing_list like sopcklsti1 occurs 0 with header line,
t_contents like solisti1 occurs 0 with header line,
t_receivers like somlreci1 occurs 0 with header line,
t_attachment like solisti1 occurs 0 with header line,
t_object_header like solisti1 occurs 0 with header line,
w_cnt type i,
w_sent_all(1) type c,
w_doc_data like sodocchgi1.
ld_email = p_email.
ld_mtitle = p_mtitle.
ld_format = p_format.
ld_attdescription = p_attdescription.
ld_attfilename = p_filename.
ld_sender_address = p_sender_address.
ld_sender_address_type = p_sender_addres_type.
Fill the document data.
w_doc_data-doc_size = 1.
Populate the subject/generic message attributes
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle .
w_doc_data-sensitivty = 'F'.
Fill the document data and get size of attachment
clear w_doc_data.
read table it_attach index w_cnt.
w_doc_data-doc_size =
( w_cnt - 1 ) * 255 + strlen( it_attach ).
w_doc_data-obj_langu = sy-langu.
w_doc_data-obj_name = 'SAPRPT'.
w_doc_data-obj_descr = ld_mtitle.
w_doc_data-sensitivty = 'F'.
clear t_attachment.
refresh t_attachment.
t_attachment[] = it_attach[].
Describe the body of the message
clear t_packing_list.
refresh t_packing_list.
t_packing_list-transf_bin = space.
t_packing_list-head_start = 1.
t_packing_list-head_num = 0.
t_packing_list-body_start = 1.
describe table it_message lines t_packing_list-body_num.
t_packing_list-doc_type = 'RAW'.
append t_packing_list.
Create attachment notification
t_packing_list-transf_bin = 'X'.
t_packing_list-head_start = 1.
t_packing_list-head_num = 1.
t_packing_list-body_start = 1.
describe table t_attachment lines t_packing_list-body_num.
t_packing_list-doc_type = ld_format.
t_packing_list-obj_descr = ld_attdescription.
t_packing_list-obj_name = ld_attfilename.
t_packing_list-doc_size = t_packing_list-body_num * 255.
append t_packing_list.
Add the recipients email address
clear t_receivers.
refresh t_receivers.
t_receivers-receiver = ld_email.
t_receivers-rec_type = 'U'.
t_receivers-com_type = 'INT'.
t_receivers-notif_del = 'X'.
t_receivers-notif_ndel = 'X'.
append t_receivers.
call function 'SO_DOCUMENT_SEND_API1'
exporting
document_data = w_doc_data
put_in_outbox = 'X'
sender_address = ld_sender_address
sender_address_type = ld_sender_address_type
commit_work = 'X'
importing
sent_to_all = w_sent_all
tables
packing_list = t_packing_list
contents_bin = t_attachment
contents_txt = it_message
receivers = t_receivers
exceptions
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
others = 8.
Populate zerror return code
ld_error = sy-subrc.
Populate zreceiver return code
loop at t_receivers.
ld_receiver = t_receivers-retrn_code.
endloop.
endform. -
Custom Report for CO04n Mass Printing
Hi,
In CO04n for a given order number, production plant and order type when we click from main menu mass printing->execute. We get a list of outputs together for the order number.
Object List.
Job Ticket
Pick List
Goods Issue
Goods receipt
Confirmation slip.
I want to create a custom report with order number as input and according to radio button selected the layout should be displayed. Is it possible.
I know the driver program and form name. How can I develop this custom report.Hi ,
You can develop Custome Report , but for that
you will require help from your Functional Team , which will guide you thorug data selection and processing
i.e from which table data to be taken what to process .
in that Report you can display all details which you reqired and also add one check box in alv grid in order to select order no .
also take one button on display Grid menu using PF-status .
You have to go through it step by step .
Regards
Deepak. -
Printing 2 notifications in 1 page
Hi All,
I need to print two notifications in one page. One notification will only printed at half the page while the 2nd notification will be printed on the other half page. Lets say if I selected multiple print job (eg 100 notification) , and 50 pages of notification will be printed.
1) How can i print two notifications on a page using SAPscript? I am using one window to draw both the same forms on one page, and I am not sure if this is a correct method to do it.
2) Is there an easier way to generate a single spool request for many notifications so that I only have to go through the print dialog a single time?
Thanks and regards,
ShannonHi,
There is another way you can do it,
by using PERFORM < Perfornmane>IN PROGRAM <programname>. This you will write in SAP script with Using and changing variables
and in driver program use
FORM < Perfornmane> TABLES IN_PAR STUCTURE ITCSY
OUT_PAR STRUCTURE ITCSY.
Now you use this perform twice and you will get data for two notifications in your main page.
Hope this helps you,
Reward if helpful,
Madhura -
Hi,
when i create the invoice , the output types are determined automatically when saving the invoice in VF01.
1 )i want that no invoice printing shud happen while saving.
2) aslo i want all the invoices made by us during the day should be mass printed in the night.
3) there are three options in output type config. "send print with own application/send while saving/send with background job.
what is meant by send with pwn application
how to achieve the above two things. what config and or coding shud be done
regards
sachinHi,
1)If you do not want the invoice to be printed as soon as the doc.is saved,Go to VV31---> enter the relevant OUTPUT TYPE ->EXECUTE-> Chnage the value in the column DATE/TIME from 4 (4 Send immediately (when saving the application) to 3 (3 Send with application own transaction).
2)For mass printing you can use VF31 for mass printing and if you want the invoices to be printed in the night , then select 1(1 Send with periodically scheduled job) in the column DATE/TIME and do the necessary congig with your BASIS and ABAP team.
3) The 3 ,Send with own application means that the system will automatically populate the output type as soon as the transaction is being processed. -
Mass print of detailed invoices (AR, AP)
Hello,
I would like to ask you to help me with the issue of the mass printing of detailed invoices of Accounts Receivable and Payable.
I tried in FB03 but there is the only possibility to print list of invoices. I need something where I can choose to print e.g. invoices nr. 1-50 and they will be printed on separate pages.
Thank you in advance.
Alena PotmesilovaHi,
Try transaction F.62 (Internal documents). You may need customized correspondence form to get the details you want in the invoice print out. You select the correspondence form in F.62 before you can print. -
Mass printing of excise invoices
hi sap gurus,
i want to go for mass printing of excise invoice in the order of 40-50 invoices.
is there any report or any transaction code which can help me do mass printing of excise invoices on fortnight basis.
please do help me on this issue.
j1ip only enables me to print one excise invoice at a time.
wat i want is multiple printing of excise invoices.
regards,
Siddharth.Dear Siddharth
For information, in j1ip itself, you have the option of giving multiple excise invoices. Assume you have some 30 excise invoices to be printed out from sl.no.1 to 30, in j1ip, against the field "Excise Invoice", in the first box enter 1 next to "to" tab, enter 30. If you execute now, you will get bulk print outs.
Alternatively, you can also select the "Excise Invoice Date" field where also you define "From - To" date.
thanks
G. Lakshmipathi -
Problem in printing the notification long text in tocde iw53.
Hi All,
When i try to print the notification long text through tcode "iw53", i get the following message
"The margins of section 1 are set outside the printable area. Do you want to continue?"
and if i give yes then, only the right side of the page gets printed.
This happens only in the Quality and Production system, whereas in development system its working fine, so i think there is no problem with the printer settings.
Do anyone have an idea why this happens only in quality and production system, and what might be the solution to overcome this?
Thanks & Regards,
Haritha.Hi ,
Please check your settings on machine which is set for printer .
Most printers cannot print all the way to the edge of the paper, because of physical limitations in the way that the printer handles paper.
If you set your document margins or section margins closer to the edge of the paper than your printer is capable of printing
1.Note the section number that is indicated in the error message.
2.On the Edit menu, click Go To.
3.In the Go to what box, click Section.
4.In the Enter section number box, type the number of the section that appeared in the error message, click Go To, and then click Close.
5.On the File menu, click Page Setup.
6.On the Margins tab, click OK. Word displays the following message:
One or more margins are set outside the printable area of the page. Choose the Fix button to have Word set the page margins within the appropriate range.
7.Click Fix. This increases any margin in the nonprintable region to the minimum margin setting.
Note If you are familiar with your printer's nonprintable regions, you can manually increase the Top, Bottom, Left, and Right margins to the minimum that is required.
8.Click OK to close the Page Setup dialog box.
regards
Deepak. -
How to print the mass printing in smart forms?
Hi Experts,
I have a problem, i could not found how to print the mass printing in smartforms. Can any body explain.
Regards.
Venkat NHi,
Check bellow maintained links
http://www.sap-img.com/smartforms/smartform-tutorial.htm
http://help.sap.com/saphelp_nw04s/helpdata/en/a5/de6838abce021ae10000009b38f842/frameset.htm
http://www.sap-basis-abap.com/smartforms/smartforms-in-details.htm
Regards
Gaurav -
Creating spool file for Mass printing of smartforms
Hi all
My requirement is Mass printing of Development Plans,
In this case is i need to select all the smartforms depending upon the selection screen data.& i need to pass all the smartforms to newly created spool file..
how should I use TSP01 & Function Module 'GET_PRINT_PARAMETERS' for this smartform spool.
so can any body explain me in detail..
How to create spool ID, ?
how to create spool file in this case..??
How to pass smartform data to that new spool file../??
Any sample codes for this ./??
Thanx in advance,
Regards,
Kalam A.Check the links -
Re: How to create a spool?
How to create a spool request
Regards,
Amit
Reward all helpful replies. -
Hi Friends
Is there any transaction to Mass Print Purchase Orders? We dont want to repeat output, just want to print the hard copy of all purchase orders for a vendor in one go.
Thanks for any help on this.
Francis TonyHi Vabhaw
If the output is already processed, you cannot do it.
My requirement is, to take hard copy of all purchase orders against a vendor (which is already processed earlier). I dont want to have repeat output maintained on the PO or repeat output to go to vendor. Hope my requirement is clear.
Thanks
Francis -
Hi All,
I would like to ask for the Transaction code for Mass Printing Sapscript form and how it is used.
Thanks.>
jamison2004 jordan2004 wrote:
> Hi All,
>
> I would like to ask for the Transaction code for Mass Printing Sapscript form and how it is used.
>
> Thanks.
What do you mean by MASS PRINTAING?
means you want to print some multiple copy of any layout? -
Mass Printing Sequence with Broadcasting with SN 2004s
Hi,
We are currently running on BW 3.5 and our customer has specific requirements in terms of printing. the printed layout off course must be good, which will be improved with the latest version of broadcasting. But on top of this, they have requirements in terms of mass printing and sequence.
The central controlling department will need, each month, to print specific reports for all individual cost centers (more than one hundred), plus the nodes to which they are assigned within the hierarchy. And possibly, the print out must follow the sequence of the position of the cost centers within the hierarchy.
So, I would like to know whether the 2004S broadcasting would enable to schedule & print "in one go" these 100 reports in the specific sequence of the hierarchy.
I have read carefully the blog of Katie Beavers on this respect and raised the question but she does not seem to be able to answer.
Thx very much for your input.
StéphaneHi Stephane,
you can realize your requirement by using a control query.
In the definition of the control query you can use a hierachry as a presentation hierachy, and hence this hierarchy will be used to distribute the resulting queries in the Information Broadcasting of your original query.
Best regards
SAP NetWeaver 2004s BI Back Office Team -
Hello Guru:
We have a requirement to print reports according to master data hierarchy.
For example, we have a query for profit center balance sheet, the requirement would be print the profit center balance sheet by hierarchy, if there are 1000 profit center in the hierarchy, the BI should pass the value to the balance sheet 1 by 1 and print 1000 reports automatically.
Actually the requirement is even more, the BI should send each node to the balance sheet report, if it is a profit center group, print the report for profit center group, otherwise print the profit center report.
I have an idea is define a BEx broadcasting wich will print the query, and develop a program to loop the master data hierarchy, set the variable dynamically and trigger the broadcasting.
Is there any better way to do that?
Thanks.
EricHello Eric,
Please see this thread about the MPE (Mass Printing Engine). I'm not sure whether it will help you or not.
[BW Mass printing engine : How to configure ?|BW Mass printing engine : How to configure ?;
See this doc also [Publishing Reports in SAP NetWeaver BI 2004s|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/70e18305-2356-2910-4bbe-9c1ebd751032]
Thanks
Chandran
Maybe you are looking for
-
How to connect my phone to macbook air for the call feature ?
Hi, my macbook air, 2014 just upgraded to OS X Yosemite. My iPhone is the 5 version, iOS 8.02. I don't know how to connect my phone to the mac for the call feature. What should I do first? Thanks very much!
-
D the about:config and other hints without success
started since installing 3.6.3 == This happened == Every time Firefox opened == upgraded to 3.6.3
-
HI All I was wondering if you could help I have some code that im using to loop through an xml file. It seems to work fine. But when you come to the end of the Array (i.e the last image) and then scroll backwards through the images in reverse it seem
-
Photoshop CS 5.5, TWAIN plug-in and Mac OS 10.7 Lion
I have just uploaded Lion and am not at all sure whether this is a good thing. One of the issues I am having at the moment is trying to get PS to recognize my scanner. I have the latest driver (Epson) and downloaded the latest TWAIN plug-in and dropp
-
How can I access from one program to anothe program through package If i get a simple example, it will be helpful for me.