Fax output in SAP
Hi experts,
I am sendig sap smartform output to a fax after converting OTF format. How to see that output that is sent to FAX in SAP.
Which is tarnsaction I need to use for this?
Thanks in advance,
Sreenivas Reddy Maddi
Hi,
Set the processing mode of your o/p to 3 (Select your o/p and click on further data button and select send with application own transaction) and save the transaction. You can see the print preview from the initial screen as you can do it for print output.
Thanks,
Vinod.
Similar Messages
-
Problem with SAP Script FAX output
Hi Friends,
I have problem with SAP Script Fax output.
After I issued output using the messge type, the print preview format shows me correct alignments and the right data. But when I go to List display using the menu bar functions from the print preview screen, the list is showing me the right data, but all the alignments at the main window went wrong.
How do I rectify this problem? I need correct alignments in both form display and list display.Hi Sasidhar,
Have you tried with different fax machine.
Regards,
Atish -
Fax output - Chinese characters are garbled
Hello,
We are using fax output for two forms ( One smartform and the othe sap script). Both the form outputs are thorugh the same fax device. For the smartform output there are no issues and the output is as expected but for the sap script output the chinese characters are garbled. Instead of the chinese characters i get output like _____ _______>,<%,,<< etc.
Interestingly, if i have a look at the print preview or take print out there is no issue and the characters are as expected. The issue arises only during fax.
Can someone help pls?
Thanks,
VenkatHI friend,
I found few same post in SDN which are related to this Chinese characters in SAP Scripts.
Please see this link and find is the problem is same as yours if so make use of it.
Link: [Output of Sapscript in Chinese language|Output of Sapscript in Chinese language;
Link: [Problem displaying Chinese Characters|Problem displaying Chinese Characters in SAP script form WESCHEINVERS1;
I think these will be helpful please revert back to me after going through the links.
Thanks,
Sri Hari -
Problem in Sending Fax output in Adobe form
Hi All,
I am creating RFQ / Purchase order with output type : NEU, Medium : 2 (Fax). While creating output for the purchase order in transaction ME9F (adobe form), a popup window appears prompting for Output device.(NAST-DEST). For Fax as output medium NAST-DEST doesnot have any value. For print, it would be Printer name. This problem is not only with custom driver program but also seen when assigning standard program :SAPFM06P and standard adobe form : MEDRUCK_PO and standard routine : ADOBE_ENTRY_NEU.
There is absolutely no issue with SAP Script and I can see the output in SCOT.
Please let me know if there is any configuration settings to be arrived for FAX output medium using ADOBE FORM.
Thanks for all your inputs.
Thanks
Guru ShanthiHi Priyanka,
Thanks for your time.
In NACE, I had configured Driver program and corresponding ADOBE form.
Could you please suggest, how do I apply the solution you have provided. Please elaborate.
Thanks
Guru Shanthi -
Print & Fax output need advice
Hi all,
We are using a print output which is partner independant output.We dont assign any partner function for this.As of now only print medium is maintained in the processing routine.
My req is I want to use this output as print as well as fax output henceforth.The fax should go to Sold to party.The fax number is maintained in the sold to party master record.
I maintained fax meduim in the processing routine and have not maintained the partner function as this output is already a partner independant output.
After maintainig the condition record if the create the shipemnt docuemnt the system is not pulling the fax output.If I remove the indicator partner independant output and maintain the partner function for fax then the fax output is determined automatically in the shipment document.
Is there any way that with out partner fucntion I can pull the fax output automatically in the shipment docuemnt
REagdrs'
ManoHi
1 ) i understood your requirement but with out partner function it will not work any out put eaither print,or fax mail what ever. i am talking about standard sap.
2) custom dev we have to check with "ABABER"
i hope you have understood
Thanks -
Second fax server with SAP-connect
Hello,
I'm able to send faxes from my SAP-server to the SMTP host. This host
send the faxes to the receiver.
Now we have two purchase companies in our client who want to send faxes
to their suppliers. In our company we use two fax-servers for each
company and the users of this company could only send faxes by their own fax server. But from out SAP Iu2019m only able to create one SMTP connection
to a fax-server. Is it possible to create a second SMTP fax server in the
tr-SCOT and send a purchase order depending on, for example the message
type, to one of the fax connection defined in SCOT?
Kind regards,
Richard MeijnHi,
I suppose you need to maintain output determination .
PO via fax
Regards, -
Hi All,
I am getting following error when I send the output to fax.
Conversion from OTF to PS: Termination in C_RSPO_PROCESS_DIALOG, return code 128 Printjob not found
Conversion from OTF to PS: Termination in SX_OBJECT_CONVERT___S_PRT, return code 1
Message cannot be processed as it cannot be converted
Need to know if the issue is with ABAP or its related to FAX...
Need this urgently.
Regards,
ShahuThis was issue with the test system environment.. when the same fax output was fired in other test evironment it worked fine...
regards,
Shahu -
Report painter report in portal - Excel output in SAP GUI for HTML
Dear sirs,
I need your expertize. I would like to let my users display (Excel in place)/ save the result of my report painter reports into MS Excel. I have found notes 499262 a 314568, but didn´t understand the message (or there is no message:)). Does that mean I cannot use Excel in place together with Report painter and SAP GUI for HTML?
Second question: is there a place (user exit in generated code? I don´t even know what I am looking for) to get the data provided by the report painter engine and send the retrieved data to some custom function (to be able to call the Adobe form, to save it as a text file or any option how to manipulate the resulting data...?).
thank you for your time and effort,
regards OttoHi Otto,
You can send print the report to the spool and then use RSTXPDFT4 program to convert this spool to PDF file. Alternatively, you can export the spool to spreadsheet or ASCII file via SP01 transaction.
Additinally, I'm not aware of unability to use Excel output with SAP GUI interface.
Regards,
Eli -
How to save the output of sap script to pdf document in sap
hi abapers
how to save the output of sap script in sap so that can retrieve the saved document later.
i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
how to use dmsHi deepika,
This thread will solve ur problem OTF -> PDF
Regards,
Pravin -
Urgent ...how to send output of sap through mail
Could you please guide me how to send output of SAP Script through mail in PDF format.
Thanks in Advance....
Regards,
Kumar.*& Report ZSPOOLTOPDF *
*& Converts spool request into PDF document and emails it to *
*& recipicant. *
*& Execution *
*& This program must be run as a background job in-order for the write *
*& commands to create a Spool request rather than be displayed on *
*& screen *
REPORT zspooltopdf.
PARAMETER: p_email1 LIKE somlreci1-receiver,
p_sender LIKE somlreci1-receiver,
p_delspl AS CHECKBOX.
*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.
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 sy-batch EQ 'X'.
PERFORM get_job_details.
PERFORM obtain_spool_id.
Alternative way could be to submit another program and store spool
id into memory, will be stored in sy-spono.
*submit ZSPOOLTOPDF2
to sap-spool
spool parameters %_print
archive parameters %_print
without spool dynpro
and return.
Get spool id from program called above
IMPORT w_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.
ELSE.
SKIP.
WRITE:/ 'Program must be executed in background in-order for spool',
'request to be created.'.
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.
regards,
venkat -
How to save the output of sap script in sap so that can be retrieved later
hi abapers
how to save the output of sap script in sap so that can retrieve the saved document later.
i have to save the rcia output from sap script in pdf document in sap so that it can be retrieved later
how to use dms
<MOVED BY MODERATOR TO THE CORRECT FORUM>
Edited by: Alvaro Tejada Galindo on Dec 26, 2008 11:01 AMHi Deepika,
Look into this link https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/401cca81-b861-2910-ada2-f416dfb3b3fe
Regards,
Pravin -
If i got incorrect characters in the output of sap script? HOW TO CORRECT I
If i got incorrect characters in the output of sap script? HOW TO CORRECT IT?
Hi Sunil,
Debug the script and check where exactly those are getting populated. Definately you will get it. Check the conversion parts means character to numeric conversion.
If your version is 4.7E then select unicode check box in the reports attributes. It will display the error message so that we can solve very easily.Hope this helps you, reply for queries, Shall post you the updates.
Regards.
Kumar. . -
Fax output with Medium 7 in the condition record
Hi all,
Have any one tried the below scenario?
I want to send the fax output to my sold to party.I want to Select the medium as 7 instead of 2 in the condition record and when I double click the line I have an option to select the fax number as recipient type and I can enter the Fax number in the recipient field
Usually, medium 7 would be used to send the mails.But Will it work for Fax output?.What is the difference between using medium 2 and medium 7 with recipient type fax number.
If someone worked on this, Please let me know
Regards
ManoAnswered
-
How to set a default output device for FAX outputs
Hi Experts,
Business requires to set a default output device for fax outputs ( Medium as 2 Fax medium ).
as fas as print output ( medium as 1 print medium ) is considered we can maintain output device in condition record--> communication
I tried maintaining output device in VP01 for my condition type based on sales org but it did not worked.
Can you please suggest ways to achieve default output device for fax outputs.
Thanks,Well, obvious solution would be to either update user profiles or change the output from 'process immediately' to 'process by a background job'. Then create a generic user ID with any fax number desired and use that user ID to process the output through the background job.
This is not really an SD question, so if this simple option doesn't work for you, I'd suggest to discuss other custom solution with your ABAP / Basis team. -
Hi,
We have configured FAX output for PO. The fax output is being processed successfully.
We have issue in which if a user processes fax output and its sent successfully from ECC but there is error at the fax machine.
In this case, User might think he has sent the fax but actually it has not been sent successfully.
It was decided that in cases like this, email will be sent to the user who has processed fax indicating that there was error in fax and he needs to re-send PO again. The problem here is , this email which is sent from Fax machine, is not able to specify the PO number for which the error occured.
Is there any way that while calling the PO smart form, i have to pass PO number in specific parameter which can be picked up and send to the user in email so that user knows specific PO which went into error.
Please let me know incase any further information is required to answer this.
Regards,
ShahuHi Sudhir,
The solution in the thread are for SRM.
Do we have any solution for the POs in ECC6 R/3?
Thanks
Raju
Maybe you are looking for
-
Flash builder 4.6 flex for mobile with mysql php and json
I am trying to create an app that get data from online mysql server via php service and displays the data in a list I have been looking all over the internet but had no success in finding a working tutorial and i am frustrated can anyone help or dire
-
How do I give a letter a value and use that letter as a code througout a spredsheet?
Hi I am trying to write a spread sheet to calculate the cost of repairing stock items. I cant figure out how to make the code = the cost, so that if somone types Hx3+Tx2+rx1 it would = £8 Which would mean: 3 x Hooks need replacing 2 x Tabs need repl
-
How to decide about the Architecture on a big enterpriser application ?
Hi, As u know there are lots of items to choose from when building a web based enterprise system with j2ee technologies. these choices may be from different patters (MVC,FrontController,...) and different frameworks(JSF,struts,...) for different laye
-
Lost movie in crash, but on iPod - How to get back to laptop?
I bought a movie on my laptop iTunes and synched it to my iPod and my husband's iPhone. A week or so later my laptop hard drive crashed. Yes, I had not run a back-up in between. My bad. We lost no other content - just this movie. It shows up in iTune
-
Need to apply PATCH&HF for other nodes??
Hi guys, I got one confuse. I have host A to be DB HOST(ORACLE 9205), Host B& host C to be cluster nodes for EP6 SP2 PATCH4 HF7. I installed portal & CM on HOST B, applied PATCH4 HF7, then applied CM PATCH 4 HF5. very thing work fine than I installed