SMARTFORMS: 'OUTPUT CANNOT BE ISSUED error
Hi,
I have designed a smartform for Delivery document. One of the delivery has 700 lines of Packing for 1 single line item. When I execute this delivery, the output is not displayed The error message is "the output could not be issued".
In debug mode I find that it is giving error in function module SSFCOMP_WRITE_TEXT for the 518th line of the packing list. The data in this line is similar to previous lines and there does not seem to be anything different in this line. The function module is returning sy-subrc = 2.
if i reduce the packings to 517lines, then the document gets printed correctly. Otherwise it gives an error.
I need to display the line item alongwith the entire packing lines.
Please help.
Thanks and Regards,
shilpa
Hi Shilpa,
First don't run thro the program.
u just activate the smartform and then execute the Smartform. then u see the exception. the error belongs to window size is not enough space to write the text. Maybe it is overlapping the other windows.
So correct the window size then u run thro the program.
Otherwise it is related to Alignment problem. That means check margins and positions.
- Selvapandian Arunachalam
Similar Messages
-
Output Cannot Be Issued.
when i give an outbound delivery in VL02N trasaction and tried to issue delivery output and select the messagetype-->printpreview. the information message is displayed saying OUTPUT CANNOT BE ISSUED.
Can anyone tell me where to make the changes so that i can see the preview of the form?Hello,
This is something to do with the settings.
However, if you want to check the Print Preview then simply use this T-code SP02 and in the Type...you can find a Document...try to DOuble click on It.
You can access your print Privew.
This will fix the issue....
If you still have any issues to access yoru Print Preview then please let me know.
Reward points if is very helpful
Regards,
Kittu
Edited by: Kittu on Jul 4, 2008 8:10 AM -
Sending smartform output as PDF attachment, Error opening PDF attachment
Hi Experts,
I am using the code form the following link to send a smartform output as PDF attachment. I can able to see the message, but can not open PDF document.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/snippets/convertSmartformtoPDFformat&
The information should be on my smartform are some text, company logo and a barcode.
With all of these received error: "There was an error opening this document. The file is damaged and could not be repaired."
I tried different ways like only text, text with company logo, text with barcode. I got the following errors:
An unrecognized token 'Td0' was found
There was problem reading this document(16).
There was problem reading this document(111).
Does anyone have idea of these ? Your help is greatly appreciated.
Thank you,
Suryaplease see this code ... for sending the Email as PDF attach file,
*& 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
DEFAULT '[email protected]',
p_sender LIKE somlreci1-receiver
DEFAULT '[email protected]',
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.
reward points if it is usefull ....
Girish -
SmartForm - Output could not be issued,Message no. VL086
Hi , i had create a smart form for the DO and it is working when i try to view it through the function. However, when i want to try it through issue the Delivery Output, system throw error , "Output could not be issued,Message no. VL086"
Please kindly advise.
thank youHi,
Pls check if it helps
VL086: Output cannot be issued
Siraj -
In Smartform i am getting a Error Message Graphic cannot be displayed
Hi All,
I am trying to display a image in smartform . In the Code i have created a BDC for SE78 for Image upload and when the Image is Upload and when i try to execute the Smartform i am getting a Error Message : Graphic cannot be displayed
I am trying to load a BMP image in the form.
Can anyone help me out .
Thanks in Advance .
Regards
ShankarHi,
There are two possibilies of issue here.
1. The BDC is not correct so the image is not uploaded.
2. Graphic parameter is not properly specified in smartform.
Please check issue no 1 first. If you confirm that image already in SAP, then you can go to issue no 2.
Regards,
Teddy Kurniawan -
Output cannot be placed in desired area-ERROR
SELECT bukrs belnr gjahr bldat cpudt aedat cputm usnam xblnr bktxt waers
FROM bkpf INTO TABLE bkpf_tbl
WHERE bukrs IN s_bukrs AND blart = 'RE' OR blart = 'ZL'
AND ( ( cpudt > prv_date )
OR ( cpudt = prv_date AND cputm >= prv_time ) )
AND ( ( AEDAT > PRV_DATE )
OR ( AEDAT = PRV_DATE AND CPUTM >= PRV_TIME ) )
AND gjahr IN s_gjahr
AND monat IN s_monat
AND belnr IN s_belnr
I am facing the error : Output cannot be placed in desired area in the select query. But it is syntactically correct.
What is the issue here?Hi,
Can you give the declaration for internal table used in SELECT query.or
Use 'into corresponding fields of table' in SELECT query.
Thanks.
Ramya. -
Hello Experts,
In our project where CRM Web ui is UI technology used, i am displaying list of attachments in one block.
WHen i am clicking on these adobe form outputs which are in the form of links, i am getting an error "Output cannot be displayed because an error occured".
Can anyone please tell me what is missing which is leading to this error ?
Thanks and Best Regards,
Nikhil KulkarniGenerally this kind of error messages occur when there is a gap b/w the PDF rendering and the layout ..
The only way to find out the error is debugging, where you have caught the exception from the driver program.
Naveen -
Error "number out of range" in pdf sent through mail using smartform output
Hi Experts,
We have a program which sends mail using smartform output in 'PDF' format. We are able to preview smartform correctely in SAP and mail is also getting sent fine with attachment of form as PDF document. But, when we try to open the document, it gives error saying 'Number out of range'. Also, not all of the windows of smartform are appearing in document and some are coming only half.
We are not able to find out the reason for this. Any help would be appriciated.
Gouri.Hello,
How did you solve this one? We are facing the same problem in ECC6.0.
Thanks in advance,
Benjamin de Rijke -
Error while converting smartform output to pdf
hi
while converting smartform output to pdf error occured otf data not founr.
regarding code is as follows:
otfitab = i_job_output_info-otfdata.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
EXPORTING
USE_OTF_MC_CMD = 'X'
ARCHIVE_INDEX =
IMPORTING
bin_filesize = l_pdf_len
TABLES
otf = otfitab
doctab_archive = t_docs_tab
lines = pdfitab
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
rest all declarations are up to date.
thanks in advance..........Hi Mayank,
I am not sure if u know this already, we can convert the spool ouput to PDF
by using the program RSTXPDFT4.
Regards,
Vivek -
AnyConnect installation issues - Network Adapter is not created - cannot find any error?
I am a contractor with a Federal Agency that just swithed to using Cisco AnyConnect for VPN access. I am about the only person with this installation issue, that I know of. When installing the AnyConnect client on a Windows 7 machine running a 3.X msi install - the expected Cisco NewWork Adapter is not created in Network connections as I would expect. I have turned off Firewall services, I've turned off SQL services, Citrix, etc. But nothing I have tried allows this to install correctly.
When I attempt to use the AnyConnect VPN client and login the the remote service - I receive the
The VPN client driver has encountered an problem. Please restart your computer or device, then try again.
I have attempted the driver database fix suggested online - BUT it didn't correct the problem because I think my problem is in the initial setup, although I cannot find and error in the Windows/inf/setupapi.app.log and setupapi.dev.log that would suggest there is an driver problem.
The DART logs are a bit cryptic, but nothing stands out that would give me any idea as to what might be blocking the creating of the Network adapter the VPN Client would use to connect to the remote network.
Can anyone here point me in the right direction - I am not receiving help from configuration management - their solution is to format my entire computer and rebuild it which will cost me weeks of time and I have a deadline looming in Feburary.
Thank you!
MichaelHi Jacob,
Let's try this & report the outcome...
Make a New Location, Using network locations in Mac OS X ...
http://support.apple.com/kb/HT2712
Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
10.5.x/10.6.x instructions...
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list.
The interface that connects to the Internet should be dragged to the top of the list.
Then highlight the interface you connect with, click Advanced, is it set to Using DHCP, what IP does it Show & Router IP, then click on Proxies tab & make sure none are set, click on the DNS tab and enter these numbers...
208.67.222.222
208.67.220.220 -
AnyConnect installation issue - Network Adapter is not created - cannot find any error?
I am a contractor with a Federal Agency that just swithed to using Cisco AnyConnect for VPN access. I am about the only person with this installation issue, that I know of. When installing the AnyConnect client on a Windows 7 machine running a 3.X msi install - the expected Cisco NewWork Adapter is not created in Network connections as I would expect. I have turned off Firewall services, I've turned off SQL services, Citrix, etc. But nothing I have tried allows this to install correctly.
When I attempt to use the AnyConnect VPN client and login the the remote service - I receive the
The VPN client driver has encountered an problem. Please restart your computer or device, then try again.
I have attempted the driver database fix suggested online - BUT it didn't correct the problem because I think my problem is in the initial setup, although I cannot find and error in the Windows/inf/setupapi.app.log and setupapi.dev.log that would suggest there is an driver problem.
The DART logs are a bit cryptic, but nothing stands out that would give me any idea as to what might be blocking the creating of the Network adapter the VPN Client would use to connect to the remote network.
Can anyone here point me in the right direction - I am not receiving help from configuration management - their solution is to format my entire computer and rebuild it which will cost me weeks of time and I have a deadline looming in Feburary.
Thank you!
MichaelHi Jacob,
Let's try this & report the outcome...
Make a New Location, Using network locations in Mac OS X ...
http://support.apple.com/kb/HT2712
Is that Interface dragged to the top of Network>Show:>Network Port Configurations and checked ON?
The Interface that connects to the Internet, needs to be drug to the top of System Preferences>Network>Show:>Network Port Configurations and checked ON.
10.5.x/10.6.x instructions...
System Preferences>Network, click on the little gear at the bottom next to the + & - icons, (unlock lock first if locked), choose Set Service Order.
The interface that connects to the Internet should be dragged to the top of the list.
The interface that connects to the Internet should be dragged to the top of the list.
Then highlight the interface you connect with, click Advanced, is it set to Using DHCP, what IP does it Show & Router IP, then click on Proxies tab & make sure none are set, click on the DNS tab and enter these numbers...
208.67.222.222
208.67.220.220 -
Hi,
one of smartform output conatanis 10 customer address.
when i click on print button it will print first customer address.
when i click on second time it will print second customer address.
i want to get the print for all customers at a time.
where can i change the code means smartform or printprogram.
Regards,
SureshHi Suresh
Go for below approach
1) Use below parameters of structure SSFCTRLOP
NO_OPEN, NO_CLOSE: These two flags prevent the print request from being closed after accepting the output of the Smart Form and allows you to include all other form output into this print request. The value should be like the following:
1st call:
NO_OPEN = SPACE.
NO_CLOSE = 'X'.
nth call:
NO_OPEN = 'X'.
NO_CLOSE = 'X'.
last call:
NO_OPEN = 'X'.
NO_CLOSE = SPACE
2.SSFCOMPOP: Structure for the output option.
TDNEWID: A flag indicating whether a new request is created.
4) Define one data wa_print_control referencing the structure SSFCTRLOP, and define another data variable wa_output_option referencing the structure SSFCOMPOP in the top include file of this report.
5) Clear the above two work areas before the print loop happens on the internal table that contains the selected invoice headers.
6) Initialize these two work areas with the values which would not change during the print loop as the following code fragment:
wa_print_control-no_dialog = ' '. u201DShow print setting dialog
wa_print_control-preview = 'X'. u201DEnable print preview
wa_output_option-TDNEWID = 'X'. u201CNew spool request.
7) In the loop at the internal table which holds the selected invoice headers, set blank value to of the field wa_print_control-NO_OPEN and set u2018Xu2019 to the field wa_print_control-NO_CLOSE for the first loop at the AT FIRST event because it will be the first call to the function module of the smartform. The code is bellow:
print_control-no_open = ' '.
print_control-no_close = 'X'.
8) Set blank value to the field wa_print_control-NO_CLOSE to close the spool request for the last loop at the AT LAST event.
wa_print_control-NO_CLOSE = u2018 u2018
9) Call the function module generated by the Form Design by passing the print control work area and output area.
Thanks
Lavanya -
"XML page cannot be displayed" error
Using XML output on a table with more than a few rows falls over with a "XML page cannot be displayed" error. Sometimes only the error is displayed, sometimes some rows are displayed with this error at the end of the page (eg the DEMO_STATES table)
Can anyone advise if there is some sort of limiter at work here?
Thanks,
Barryi'm pretty sure that error comes up when your browser (ie, specifically, i believe) can't render the xml data it's received. i'm also pretty sure, as the full message implies, it's because it doesn't know what style sheet to use when you go to that page. in short, it's a browser config issue. one way to bypass it (to at least prove that it's a browser issue) would be to create a link to your page, right click the link, and do a "Save Target As...". the resulting file will be your valid XML one. fwiw, i've had better luck controlling the manner in which my xml data is received when i use mozilla or netscape (but i'd imagine there's just some setting you'd toggle in IE to avoid your issue).
hope this helps,
raj -
Writing smartform output into application server.
Hi,
i have a smartform output having logo and other details. After this i am converting the smartform output to PDF file and i tried write into application server using Open Dataset, Close Dataset. The thing is i am unable to see the output in pdf file and when i tried to open am getting some error. Is there any way to write pdf file which having logo into application server.
i tried for both binary mode as well as for text mode of open dataset.
please guide me.Hi Subas.
I would like to suggest a couple of references,
[SDN - Reference for Issue regarding the uploading the pdf file to the application server|regarding the uploading the pdf file to the application server;
Hope that's usefull.
Good Luck & Regards.
Harsh Dave -
Hi,
Actually my requirement is to send the smartform through email using medium external send..If the email Id of the recipient is not present then the smarform has to be sent through fax using medium external send.So I have changed the value of nast-nacha from 5 to 2 and added the following code to my program.
ls_control_param-device = 'TELEFAX'.
ls_control_param-preview = 'X'.
ls_control_param-no_dialog = 'X'.
ls_control_param-getotf = 'X'.
ls_composer_param-tdtitle = 'Advance shipment notification'.
ls_composer_param-tdtelenum = lv_telfx.
ls_composer_param-tdteleland = lv_land1.
ls_composer_param-tdschedule = 'IMM'.
ls_composer_param-tdsenddate = sy-datum.
ls_composer_param-tdsendtime = sy-timlo.
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_appl_obj =
mail_recipient = lv_recipient
mail_sender = lv_sender
output_options = ls_composer_param
user_settings = ' '
vttkvb = vttkvb
IS_DLV_DELNOTE = LS_DLV_DELNOTE
is_nast = nast
IMPORTING
document_output_info = document_output_info
job_output_info = ls_return
job_output_options = job_output_options
TABLES xvttp = xvttp
xvtts = xvtts
xvtsp = xvtsp
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.
ENDIF.
While debugging i am not finding any error in the program.But in SOST transaction,it is not showing any entry for the smartform o/p which is sent through fax.
Could anyone give me a proper solution for this?Hi,
All the configuration is done in SCOT transaction to send the smartform through fax.The issue is I am able to send the smartform through fax.I am able to see that in SOST transaction.But the output is coming in abap list format.It should come in OTF format.What can be done for this?
Regards,
Hema
Maybe you are looking for
-
BB 9220 call resume not working
I recently bought a BB 9220 curve, when I am putting a call in hold and resuming it again, call is not resuming.
-
Returning the string from the SimpleDateFormat
Hi guys, Can someone tell me how to return the string from the SimpleDateFormat? I've created the method to do this, but i don't know the exact code to use. Here's my code so far... public String convert (Calendar gc) String s = convert(g
-
Faces in Photos showed up blank after the upgrades
Faces in Photos showed up blank after the upgrades (no labeled faces at all) with the suggested faces mostly full of 100's of blank white circles. I used to have about 50 faces labeled with about 2500 photos. Now I have no labeled faces on top of pag
-
How do I start a new pdf document with adobe reader?
-
URGENT: Problem generating Client of BPEL process using Axis WSDL2Java
Hi, I have a BPEL process running fine using BPEL console. Now I want to create a Java client to invoke it. I try to generate the stub using axis WSDL2Java. But i can't generate it. I got the problem {http://schemas.xmlsoap.org/ws/2004/08/addressing}