Broadcast Email to PDF output format
Hi All,
We are using the standard web template (0ANALYSIS_PATTERN) to broadcast email for PDF output format. I'm managed to received the PDF attachment email but however instead of one query, it contains duplication of the same query (repeated query) in the PDF file. We are also using the standard 0QUERY_TEMPLATE_BROADCAST_PDF web template.
Has anyone experience this issue before and what is the solution for this?
Hi All,
We are using the standard web template (0ANALYSIS_PATTERN) to broadcast email for PDF output format. I'm managed to received the PDF attachment email but however instead of one query, it contains duplication of the same query (repeated query) in the PDF file. We are also using the standard 0QUERY_TEMPLATE_BROADCAST_PDF web template.
Has anyone experience this issue before and what is the solution for this?
Similar Messages
-
Sending emails in PDF & TXT format generated by SAP script/Smart forms
Hi
We have a requirement to configure SMTP node to send emails in PDF & TXT format. Currently, Output format for SAP Documents generated by SAP Script/Smart Forms configured in PDF. (Tx - SCOT - SMTP Node - Intetnet - Output Forms for SAP Documents). But, We also like to send emails in TXT format for other application in the same system. I see that you can send emails generated by SAP Script/Smart Forms either in PDF or TXT format not both.
Is it possible to send the emails in both the formats by configuring in Tx SCOT?
Your inputs will be appreciated.
Regards
ChanduHi chandu,
1. emails in both the formats by configuring in Tx SCOT ?
Scot will allow only ONE AT A TIME.
2. The other workaround is,
that using some FM
convert the OTF (sapscript/smartform)
data to TEXT,
and send it as RAW
3. Configure RAW = TEXT in scot.
regards,
amit m. -
Broadcast Email in MS Excel format - Text varaibles
Hello
Let me know how I can display the Text variables (as like in PDF format) when I broadcast the report output in MS Excel (XML) format?
When I broadcast the report in PDF format - I am getting all the Text varibles as default in PDF output as Static Filters, Dynamic Filters, Variables. Same varibles I want to display when I broadcast in MS Excel formatHi All, is there any solution for that? Br Teresa
-
Hi Experts,
I am using following code to convert Alv report to pdf format..........can i change the number of output lines shown in the pdf
DATA :
WA_TSTC TYPE TSTC,
WA_TSTCP TYPE TSTCP,
SM30_PARA TYPE TSTCP-PARAM,
IT_PARAM TYPE STANDARD TABLE OF STRING,
WA_PARAM TYPE STRING,
GV_REPORT TYPE SY-REPID,
GV_PARAMS TYPE PRI_PARAMS,
GV_VALID TYPE STRING,
GV_RQIDENT TYPE TSP01-RQIDENT,
GT_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS,
WA_TSP01 TYPE TSP01,
GV_SPOOL TYPE TSP01-RQIDENT,
GV_RQ2NAME TYPE TSP01-RQ2NAME,
PDF_BYTECOUNT TYPE I,
PDF_SPOOLID LIKE TSP01-RQIDENT,
LIST_PAGECOUNT TYPE I,
BTC_JOBNAME TYPE TBTCJOB-JOBNAME,
BTC_JOBCOUNT TYPE TBTCJOB-JOBCOUNT,
BIN_FILE TYPE XSTRING,
GT_PDF TYPE STANDARD TABLE OF TLINE,
GV_BIN_FILESIZE TYPE I, " Binary File Size
GV_FILE_NAME TYPE STRING,
GV_FILE_PATH TYPE STRING,
GV_FULL_PATH TYPE STRING.
" Selection Screen
SELECTION-SCREEN: BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT000.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (23) TEXT001 FOR FIELD P_TCODE.
PARAMETERS P_TCODE TYPE TSTC-TCODE OBLIGATORY.
SELECTION-SCREEN END OF LINE.
"Text
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT (70) TEXT002.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN: END OF BLOCK B1.
LOAD-OF-PROGRAM.
TEXT000 = 'Selection Criteria'.
TEXT001 = '@8T@ Transaction Code'.
TEXT002 = '*Enter Tcode->Select Print Option->Execute report->Save PDF File'.
START-OF-SELECTION.
"Fetch Tcode and Report info
PERFORM FETCH_TCODE_REPORT.
"Call Transaction
PERFORM CALL_TRANSACTION.
"Get Spool and Generate PDF
PERFORM GET_SPOOL_TO_PDF.
*& Form FETCH_TCODE_REPORT
* text
* --> p1 text
* <-- p2 text
FORM FETCH_TCODE_REPORT .
DATA :
FLG_TCODE TYPE CHAR1,
CHR1 TYPE CHAR40,
CHR2 TYPE CHAR40.
SELECT SINGLE * FROM TSTC
INTO WA_TSTC WHERE TCODE = P_TCODE
AND PGMNA NE SPACE
AND DYPNO = 1000. "only Standard Report
IF SY-SUBRC = 0.
FLG_TCODE = 'X'.
GV_REPORT = WA_TSTC-PGMNA.
ELSE.
SELECT SINGLE * FROM
TSTCP INTO WA_TSTCP
WHERE TCODE = P_TCODE
AND PARAM NE SPACE.
SPLIT WA_TSTCP-PARAM AT ';' INTO TABLE IT_PARAM.
LOOP AT IT_PARAM INTO WA_PARAM.
IF WA_PARAM CS '-REPORT='.
FLG_TCODE = 'X'.
SPLIT WA_PARAM AT '-REPORT=' INTO CHR1 CHR2.
GV_REPORT = CHR2.
EXIT.
ENDIF.
ENDLOOP.
ENDIF.
IF FLG_TCODE IS INITIAL.
MESSAGE 'In Valid Tcode' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE TO TRANSACTION SY-TCODE.
ENDIF.
CALL FUNCTION 'AUTH_CHECK_TCODE'
EXPORTING
TCODE = P_TCODE
EXCEPTIONS
PARAMETER_ERROR = 1
TRANSACTION_NOT_FOUND = 2
TRANSACTION_LOCKED = 3
TRANSACTION_IS_MENU = 4
MENU_VIA_PARAMETER_TRANSACTION = 5
NOT_AUTHORIZED = 6
OTHERS = 7.
IF SY-SUBRC <> 0.
MESSAGE 'No Authorization for Tcode' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE TO TRANSACTION SY-TCODE.
ENDIF.
ENDFORM. " FETCH_TCODE_REPORT
*& Form CALL_TRANSACTION
* text
* --> p1 text
* <-- p2 text
FORM CALL_TRANSACTION .
CALL FUNCTION 'GET_PRINT_PARAMETERS'
IMPORTING
OUT_PARAMETERS = GV_PARAMS
VALID = GV_VALID.
IF SY-SUBRC <> 0.
ENDIF.
"Spool Mode, Default will be Spool Only
CLEAR GV_PARAMS-PRIMM.
"Spool Request Name, Pass Report name , Only 1st 12 Chars
GV_RQ2NAME = GV_REPORT.
GV_PARAMS-PLIST = GV_RQ2NAME.
SUBMIT (GV_REPORT) VIA SELECTION-SCREEN
TO SAP-SPOOL
SPOOL PARAMETERS GV_PARAMS
WITHOUT SPOOL DYNPRO
AND RETURN.
IF SY-SUBRC NE 0.
MESSAGE 'Unable to Execute Report' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE TO TRANSACTION SY-TCODE.
ENDIF.
WAIT UP TO 2 SECONDS.
ENDFORM. " CALL_TRANSACTION
*& Form GET_SPOOL_TO_PDF
* text
* --> p1 text
* <-- p2 text
FORM GET_SPOOL_TO_PDF .
DATA :
LV_RQCRETIME TYPE TSP01-RQCRETIME,
LV_RETURNCODE TYPE I.
CONCATENATE SY-DATUM '%' INTO LV_RQCRETIME.
SELECT MAX( RQIDENT ) INTO GV_SPOOL FROM TSP01 WHERE RQCLIENT = SY-MANDT
AND RQ2NAME = GV_RQ2NAME
AND RQOWNER = SY-UNAME
AND RQCRETIME LIKE LV_RQCRETIME.
CHECK SY-SUBRC = 0.
SELECT SINGLE * FROM TSP01
INTO WA_TSP01 WHERE RQIDENT = GV_SPOOL.
IF WA_TSP01 IS INITIAL.
MESSAGE 'No Valid Spool Request Found' TYPE 'I' DISPLAY LIKE 'E'.
LEAVE TO TRANSACTION SY-TCODE.
ENDIF.
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = GV_SPOOL
NO_DIALOG = ABAP_FALSE
IMPORTING
PDF_BYTECOUNT = PDF_BYTECOUNT
PDF_SPOOLID = PDF_SPOOLID
BTC_JOBNAME = BTC_JOBNAME
BTC_JOBCOUNT = BTC_JOBCOUNT
TABLES
PDF = GT_PDF
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.
CHECK GT_PDF IS NOT INITIAL.
GV_FILE_NAME = P_TCODE.
* To display File SAVE dialog window
CALL METHOD CL_GUI_FRONTEND_SERVICES=>FILE_SAVE_DIALOG
EXPORTING
WINDOW_TITLE = 'Save Output as PDF' "LV_TITLE
DEFAULT_EXTENSION = 'PDF'
FILE_FILTER = '(*.pdf)|*.pdf|'
DEFAULT_FILE_NAME = GV_FILE_NAME
CHANGING
FILENAME = GV_FILE_NAME
PATH = GV_FILE_PATH
FULLPATH = GV_FULL_PATH
EXCEPTIONS
CNTL_ERROR = 1
ERROR_NO_GUI = 2
NOT_SUPPORTED_BY_GUI = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
* Use the FM GUI_DOWNLOAD to download the generated PDF file onto the
* presentation server
CHECK GV_FULL_PATH IS NOT INITIAL.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = GV_BIN_FILESIZE
FILENAME = GV_FULL_PATH
FILETYPE = 'BIN'
TABLES
DATA_TAB = GT_PDF
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
IF SY-SUBRC = 0.
MESSAGE 'File Generated Successfully' TYPE 'S'.
ELSE.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " GET_SPOOL_TO_PDFHi ,
Try this procedure...
DATA:SSFCTRLOP TYPE SSFCTRLOP.
DATA:SSFCOMPOP TYPE SSFCOMPOP.
DATA:IT_OTF_DATA TYPE SSFCRESCL.
DATA:IT_OTF_FINAL TYPE ITCOO OCCURS 0 WITH HEADER LINE.
DATA:BIN_FILESIZE TYPE I.
DATA:IT_PDFDATA TYPE TABLE OF TLINE.
DATA:IT_PDF TYPE TABLE OF SOLISTI1.
DATA: ST_JOB_OUTPUT_INFO TYPE SSFCRESCL,
ST_DOCUMENT_OUTPUT_INFO TYPE SSFCRESPD,
ST_JOB_OUTPUT_OPTIONS TYPE SSFCRESOP,
IT_DOCS TYPE STANDARD TABLE OF DOCS,
IT_LINES TYPE STANDARD TABLE OF TLINE,
V_NAME TYPE STRING,
V_PATH TYPE STRING,
V_FULLPATH TYPE STRING,
V_FILTER TYPE STRING,
V_UACT TYPE I,
V_GUIOBJ TYPE REF TO CL_GUI_FRONTEND_SERVICES,
V_FILENAME TYPE STRING,
V_BIN_FILESIZE TYPE I.
****** PDF
TYPES: T_DOCUMENT_DATA TYPE SODOCCHGI1,
T_PACKING_LIST TYPE SOPCKLSTI1,
T_ATTACHMENT TYPE SOLISTI1,
T_BODY_MSG TYPE SOLISTI1,
T_RECEIVERS TYPE SOMLRECI1,
T_PDF TYPE TLINE.
DATA : W_DOCUMENT_DATA TYPE T_DOCUMENT_DATA,
W_PACKING_LIST TYPE T_PACKING_LIST,
W_ATTACHMENT TYPE T_ATTACHMENT,
W_BODY_MSG TYPE T_BODY_MSG,
W_RECEIVERS TYPE T_RECEIVERS,
W_PDF TYPE T_PDF.
DATA : I_DOCUMENT_DATA TYPE STANDARD TABLE OF T_DOCUMENT_DATA,
I_PACKING_LIST TYPE STANDARD TABLE OF T_PACKING_LIST,
I_ATTACHMENT TYPE STANDARD TABLE OF T_ATTACHMENT,
I_BODY_MSG TYPE STANDARD TABLE OF T_BODY_MSG,
I_RECEIVERS TYPE STANDARD TABLE OF T_RECEIVERS,
I_PDF TYPE STANDARD TABLE OF T_PDF.
DATA : G_SENT_TO_ALL TYPE SONV-FLAG,
G_TAB_LINES TYPE I.
CALL FUNCTION 'CONVERT_OTF_2_PDF'
IMPORTING
BIN_FILESIZE = V_BIN_FILESIZE
TABLES
OTF = ST_JOB_OUTPUT_INFO-OTFDATA
DOCTAB_ARCHIVE = IT_DOCS
LINES = IT_LINES
EXCEPTIONS
ERR_CONV_NOT_POSSIBLE = 1
ERR_OTF_MC_NOENDMARKER = 2
OTHERS = 3.
**** ........................GET THE FILE NAME TO STORE....................
CONCATENATE 'Order Vs Billing' '.pdf' INTO V_NAME.
CREATE OBJECT V_GUIOBJ.
CALL METHOD V_GUIOBJ->FILE_SAVE_DIALOG
EXPORTING
DEFAULT_EXTENSION = 'pdf'
DEFAULT_FILE_NAME = V_NAME
FILE_FILTER = V_FILTER
CHANGING
FILENAME = V_NAME
PATH = V_PATH
FULLPATH = V_FULLPATH
USER_ACTION = V_UACT.
IF V_UACT = V_GUIOBJ->ACTION_CANCEL.
EXIT.
ENDIF.
**** ..................................DOWNLOAD AS FILE....................
MOVE V_FULLPATH TO V_FILENAME.
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
BIN_FILESIZE = V_BIN_FILESIZE
FILENAME = V_FILENAME
FILETYPE = 'BIN'
TABLES
DATA_TAB = IT_LINES
EXCEPTIONS
FILE_WRITE_ERROR = 1
NO_BATCH = 2
GUI_REFUSE_FILETRANSFER = 3
INVALID_TYPE = 4
NO_AUTHORITY = 5
UNKNOWN_ERROR = 6
HEADER_NOT_ALLOWED = 7
SEPARATOR_NOT_ALLOWED = 8
FILESIZE_NOT_ALLOWED = 9
HEADER_TOO_LONG = 10
DP_ERROR_CREATE = 11
DP_ERROR_SEND = 12
DP_ERROR_WRITE = 13
UNKNOWN_DP_ERROR = 14
ACCESS_DENIED = 15
DP_OUT_OF_MEMORY = 16
DISK_FULL = 17
DP_TIMEOUT = 18
FILE_NOT_FOUND = 19
DATAPROVIDER_EXCEPTION = 20
CONTROL_FLUSH_ERROR = 21
OTHERS = 22.
ENDIF.
if it's helpfur for you.. pls give reward points. -
Is html/pdf output format from BO 508 compliant?
Hi Experts -
I heard BO reporting tool can output html/pdf format. Are they 508 compliant? If not, how can I make them into 508 compliant please advice.
ThanksHi
You can make it 508 complaint by choosing/check marking this option from BusinessObjects InfoView > Preferences > Webi > 508 Complaint.
Please note that this forum is not the right area to discuss BO technical questions.
Raise your future queries at: SAP BusinessObjects Web Intelligence
Hope this helps.
Best,
DeepB -
How to broadcast reports in pdf format
Hello Experts,
I am running reports on the web and I need to broadcast report via email in the pdf format. I do not see the option of pdf at all in the braodcasting tabl. Here's what I am doing. I right click on the report and click Broadcast -and Export > Broadcast E-mail -> Information Broadcasting tab -> Settings query -> choose the query i want to broadcast -> select the option broadcast e-mail and when I select the output format , it only shows me MHTML, HTML and Online Link to Current Data. But it does not show me the pdf option. We do have the free pdf connected to the sap server. Please let me know what I should do to get it in the pdf format.
Thanks
SruthiHello,
There are two possible reasons for this issue:
1st:
You are using the old BExBroadcaster.
ONLY BExBroadcaster 7.0 is able to broadcast on PDF format.
2nd:
If you are already using BExBroadcaster 7.0, the PDF output format is suppressed.
You can manage this on the following table:
> RSRD_OUTFORM
Check this table and remove the FLAG 'x' on SUPRESS column of PDF OUTFORM.
Best Regards,
Edward John -
PO- Output to the PO creators by email in pdf
Hi ALL,
we have a requirement is to have the PO- Output to the PO creators by email in pdf. Format. how can we acheive this requirement , what is the partner function can be used for person who creates PO , where can we maintian his eamil ID .
please advise.
Regards,
Amara.hi
You need to do some configuration for this.
u2022 Go to NACE.
u2022 Select EF and click on OUTPUT TYPES.
u2022 Then select Output Type NEU and click on processing routines .
u2022 In that you have to add a new entry - medium 5 .
u2022 Then you need to assign a program, form routine and form.
u2022 You can use the standard program i.e. SAPFM06P, FORM routine is always ENTRY_NEU and standard MEDRUCK.
u2022 Then in PARTNER FUNCTION you need to add a new entry : medium - 5 and function - VN .
u2022 For subject of the mail go to Mail Title and Texts. In title give PO No. &EKKO-EBELN& .
u2022 Under General data -> Replacement of text symbols give programme as SAPMM06E and Form Routine as TEXT_SYMBOL_REPLACE.
u2022 Now the subject will be PO No. 1800004202.
u2022 You need to maintain your email id in tcode SU01 and also the vendor's email id.
u2022 Now while creating a new purchase order , change the medium to External Send .
u2022 Then goto Communication Method and select CS01. ALSO make sure that the Cover Page Text has value PO No. &EKKO-EBELN& .
u2022 Goto tcode ME9F .
u2022 Execute.
u2022 Select the checkbox and click on Output Message.
u2022 You will get a message MAII 00000000000001 generated .
u2022 Use note no 191470
now to get the po in pdf u hav eto go to SCOT and here in internet tab maintain SAPscript/Smart Forms PDF
regards
KI -
Different types of output format in broadcasting
Hi
When I schedule the broadcasting via query designer, three options available for selection on output format: MHTML, HTML and on line link to current data. Can anyone share with me the differences between these? Besides, any configurable option to have output format in Excel.
Regards
KRHi,
Output format In Excel:
In the initial broadcaster screen->choose from the following: query, web template, query view, report, and workbook.-> The only output option you get after selecting that is MS Excel Workbook(Once check the settings in broadcasting window. select the output format as excel and select the check box as zip file. )--->need to create a workbook first and install precalculation server.
Pls chk this links;
SAP NetWeaver BI: Integrated Data Analysis in Microsoft Excel : To See how SAP NetWeaver BI enables you to analyze business intelligence data directly within Excel, and use Excel to manage business intelligence data in
http://www.sap.com/platform/netweaver/demos/index.epx
https://service.sap.com/~sapidb/012003146900000085752006E/HowtoInformationBroadcasting.pdf
Regards
CSM Reddy -
Hi All ,
I am facing a strange issue in PDF output format.
When I preview PDF output i am seeing some special character like *0E-00001111232* . The actual value should be *$ 2,343,500*.
When ever i face this issue immediately if i download and upload the same template its working fine. But after 15 days or 1 week again i am facing the same issue(On a regular interval).
Its not only for the number data type columns also for some varchar columns.
I checked the xml output its coming correctly , but only in preview i am facing this issue.
BIP Version : 10.1.3.4.1.
If any one faced with same issue please share your approach.
Thanks,
Ananth vI guess that might be what format style i have to select for a 11" X 17" report.
or do i have to create a custom style. -
PDF Output generates invalid Thai output
PDF Output with English characters From Oracle Reports 6i is generated properly.
We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
The environment variables set for this purpose are:
NLS_LANG was changed to THAI in Reports Server
THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
Best Regards,
Savitha.
null<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by SavithaG([email protected]):
PDF Output with English characters From Oracle Reports 6i is generated properly.
We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
The environment variables set for this purpose are:
NLS_LANG was changed to THAI in Reports Server
THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
Best Regards,
Savitha.<HR></BLOCKQUOTE>
Now Report will not support multi-char while your DESTYPE='FILE' and DESFORMAT='PDF'. I got the same problem in Tradition Chinese.
So if you want to get a correct PDF file, you
can install a Acrobat Writer first and then
use the following setting: DESTYPE='Printer',
DESFORMAT='PDF',DESNAME='Acrobat PDFWriter'(<== your acrobat printer name).
After that, you can get a PDF file. But you have to key-in PDF file name as Acrobat printer dialog box will show up every time.I'll try to solve the problem to avoid user key-in every time. Now I still have no idea about it :(
null -
PDF Output, security concerns
Hello there,
I'm using Forms6i & Reports 6i to generate PDF documents. Everything works well. But the generated PDF-files can be changed using the Acrobat Writer. Is there a way to force Reports (or any other tool) to generate PDF-files, which cannot be changed by anyone ? Purpose is the creation of signed documents, which should be archived and therefore these files should be protected against unauthorized access. I know this can be achieved by using Acrobat Writer, but it has to be done automatically through my application. Thanks for any help.<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by SavithaG([email protected]):
PDF Output with English characters From Oracle Reports 6i is generated properly.
We are facing problems while generating PDF OutPut with Thai characters . The Reports builder shows proper Thai Character, but when we generate to PDF file the output shows invalid Thai Characters.
The environment variables set for this purpose are:
NLS_LANG was changed to THAI in Reports Server
THAI Fonts were installed in the Reports Server and also the machine hosting the Printer.
If anybodys knows the solution or can give a clue to sorting out this issue, it will be very helpful.
Best Regards,
Savitha.<HR></BLOCKQUOTE>
Now Report will not support multi-char while your DESTYPE='FILE' and DESFORMAT='PDF'. I got the same problem in Tradition Chinese.
So if you want to get a correct PDF file, you
can install a Acrobat Writer first and then
use the following setting: DESTYPE='Printer',
DESFORMAT='PDF',DESNAME='Acrobat PDFWriter'(<== your acrobat printer name).
After that, you can get a PDF file. But you have to key-in PDF file name as Acrobat printer dialog box will show up every time.I'll try to solve the problem to avoid user key-in every time. Now I still have no idea about it :(
null -
Problem emailing concurrent prog output
All,
We have a custom email program that will send attachments from the specified location to a specified email address.
It is working fine for files from a certain folder. But, when I try to email the PDF output of a concurrent program
it is not working.
Could it be a permission issue? I am not getting any error either!973508 wrote:
All,
We have a custom email program that will send attachments from the specified location to a specified email address.
It is working fine for files from a certain folder. But, when I try to email the PDF output of a concurrent program
it is not working.
Could it be a permission issue? I am not getting any error either!Please post the details of the application release, database version and OS.
Can you find any errors in the database, workflow, CM log files?
Thanks,
Hussein -
Send spool id output (sap script) via email in PDF format
Dear friends,
Looking for sample program to send spool id output of sapscript via email in PDF format.
Regards,
Praveen LoboHi,
Try this code..
* Parameters.
PARAMETERS: p_email(50) LOWER CASE.
PARAMETERS: p_spool LIKE tsp01-rqident.
* Data declarations.
DATA: plist LIKE sopcklsti1 OCCURS 2 WITH HEADER LINE.
DATA: document_data LIKE sodocchgi1.
DATA: so_ali LIKE soli OCCURS 100 WITH HEADER LINE.
DATA: real_type LIKE soodk-objtp.
DATA: sp_lang LIKE tst01-dlang.
DATA: line_size TYPE i VALUE 255.
DATA: v_name LIKE soextreci1-receiver.
DATA rec_tab LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
* Get the spool data.
CALL FUNCTION 'RSPO_RETURN_SPOOLJOB'
EXPORTING
rqident = p_spool
first_line = 1
last_line = 0
desired_type = ' '
IMPORTING
real_type = real_type
sp_lang = sp_lang
TABLES
buffer = so_ali
EXCEPTIONS
no_such_job = 1
job_contains_no_data = 2
selection_empty = 3
no_permission = 4
can_not_access = 5
read_error = 6
type_no_match = 7
OTHERS = 8.
* Check the return code.
IF sy-subrc <> 0.
MESSAGE s208(00) WITH 'Error'.
LEAVE LIST-PROCESSING.
ENDIF.
* Prepare the data.
plist-transf_bin = 'X'.
plist-head_start = 0.
plist-head_num = 0.
plist-body_start = 0.
plist-body_num = 0.
plist-doc_type = 'RAW'.
plist-obj_descr = 'Spool data'.
APPEND plist.
plist-transf_bin = 'X'.
plist-head_start = 0.
plist-head_num = 0.
plist-body_start = 1.
DESCRIBE TABLE so_ali LINES plist-body_num.
plist-doc_type = real_type.
* Get the size.
READ TABLE so_ali INDEX plist-body_num.
plist-doc_size = ( plist-body_num - 1 ) * line_size
+ STRLEN( so_ali ).
APPEND plist.
* Move the receiver address.
MOVE: p_email TO rec_tab-receiver,
'U' TO rec_tab-rec_type.
APPEND rec_tab.
IF NOT sp_lang IS INITIAL.
document_data-obj_langu = sp_lang.
ELSE.
document_data-obj_langu = sy-langu.
ENDIF.
v_name = sy-uname.
* Subject.
document_data-obj_descr = 'Spool attached'.
* Send the email.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = document_data
sender_address = v_name
sender_address_type = 'B'
TABLES
packing_list = plist
contents_bin = so_ali
receivers = rec_tab
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.
IF sy-subrc <> 0.
MESSAGE e208(00) WITH 'Error in sending email'.
ENDIF.
COMMIT WORK.
* Send the email immediately.
SUBMIT rsconn01
WITH mode = 'INT'
AND RETURN.
* Success message.
MESSAGE s208(00) WITH 'Email sent'.
Thanks
Naren -
Query about Email Address Format & PDF Output
I'm using XML Publisher and an RTF word template linked to an Oracle XML file to generate PDF Purchase Orders.
Part of the PDF output displays an email address.
If the email address is in this format:
[email protected]
then when the PDF output is generated, the address is outputted into a clickable hyperlink which sends an email to:
[email protected]
However, if the email address is set to:
[email protected]
then the resulting email hyperlink will only be sent to:
[email protected] (i.e. all to the right of the dot)...
Just wondered if there is any way to stop this from happening?
Thank youSorry - I know months have passed since I first raised this query.
Just double checking again, to see if anyone is aware of a workaround for this email issue? Is there anything I can do in the XSL in the background to force a particular email hyperlink format?
Thank you -
Statement of Accounts Output to PDF file format and email to customers
Hi,
Would appreciate inputs from contributors on the issues/requirements below.
I have two requirements regarding the output of Customer Statement Of Accounts (form):
1. The output is to be in Adobe PDF file format;
2. The file has to be emailed automatically to customers based on the email address maintained in the Customer Master;
I envisage that the program would be executed online (on demand) or in the background via scheduled jobs. Due to complexity of the customer's requirements, we will be using a customized program to generate the form.
I am not familiar with both requirements. Would appreciate contribution on how to set up the above.
Teck LiangHello,
In FIBF transaction code, you can configure the same
SAMPLE_PROCESS_00002840
If you do not think this is not suffice your requirement, you can take help from ABAPer and create you own function module.
Refer SAP Note. 836169 how payment advice is being emailed.
It will emailed in PDF format.
Once you run F.27 the entries should flow to SOST.
Regards,
Ravi
Maybe you are looking for
-
Getting extracter 'N' in query string from weblogic server
hai, I am using weblogic7.0 as app server and mssql2000 as database server. When writing sql queries i am using prepared statements. Ex: PreparedStatement pstmt=con.preparedStatement("select email from temp where tempid=?") pstmt.setString(1,"0000A")
-
A Single POP Sound from Left speaker, after system heavy load.
Hello From Russia)) I bought Brand New Macbook pro 15" Late 2011 Ci7, this is incredible machine. But a month past and i started to notice a very strange behavior: When i using mac for resource "Eating" application or processes my computer starts to
-
Does anybody experience the same problem i had after buying E65 a month ago? I've 'connection error'displayed on the screen every time i make an outgoing calls which lasts only a few seconds and it automatically disconnect the line.I've no problem wi
-
When starting Anki, I get this output: Traceback (most recent call last): File "/usr/bin/anki", line 5, in <module> import aqt File "/usr/share/anki/aqt/__init__.py", line 7, in <module> import anki.lang File "/usr/share/anki/anki/__init__.py", line
-
My sister who uses itunes on a PC has asked me the following question: When i have the side bar open the library shows music films tv programmes, the 3 above have a little cloud to the right, what does it mean when the cloud has a sort of on-it's-sid