Opening content in PDF format on 3120 classic?
Is it possible to open contents in PDF format on 3120 classic?
Which app is suitable?
nokia 3120 classic, fw V 10.00 06-03-09, RM365
I think it is normal for books to take longer when they include multiple big size reports. I had a similar problem at a client. We ended up not including all the reports in one book and create several books instead. In another situation, we scheduled batches and the books ran automatically. This way, the users just received an email with the whole book in one pdf instead of running it on an ad-hoc basis and wait for the outcome.
Hope this helps.
Cheers,
Mehmet
Similar Messages
-
Transfer ITAB contents to PDF format
Hi,
I want to transfer ITAB contents to PDF.format. For this iam following above steps:
(Note: my output in Z-report1 is in classical format and year wise but in output it contain all 12 moths data so i want to generate new PDF file for each month separately if i run this report in background then it will generate only one spool request for all 12 months)
1) Z- report through which iam transferring ITAB comtents to memory ID.
2) then through SUBMIT iam calling new Z-report1.
3) then iam importing ITAB content to Z-report1.
4) Now to get the Spool no i want to execute Z-report1 in background (automatically it should run in background because iam calling Z-report1 in Z-report).
SO is there any function module so that i can pass report name (Z-report1) and it will run in background
Please help.
Thanks .
Regards.
Hemant.You can submit a program via job. Check the F1 help on submit button.
I'm doing something similar :
Here is the code snippet for submitting the program and getting the spool request.
SUBMIT (gwa_rkb1d-rname) TO SAP-SPOOL COVER TEXT t_stamp
WITHOUT SPOOL DYNPRO IMMEDIATELY flag KEEP IN SPOOL flag_kisp
WITH SELECTION-TABLE seltab USING SELECTION-SET p_vari
AND RETURN.
SELECT SINGLE *
INTO t_tsp01
FROM tsp01
WHERE rqfinal IN ('.','X')
AND rqclient = sy-mandt
AND rqowner = sy-uname
AND rqtitle = t_stamp.
IF sy-subrc = 0.
CALL FUNCTION 'RSPO_RETURN_ABAP_SPOOLJOB'
EXPORTING
rqident = t_tsp01-rqident
TABLES
buffer = buffer
EXCEPTIONS
no_such_job = 1
not_abap_list = 2
job_contains_no_data = 3
selection_empty = 4
no_permission = 5
can_not_access = 6
read_error = 7
OTHERS = 8.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDIF.
Also Job_open, job_submit and Job_close functions can be used.
regards,
Advait -
Why am i suddenly unable to open anything in pdf format on my iMac?
Why am I suddenly unable to open anything in pdf format on my imac?
Hello, is this on the web, or a PDF file?
If a file, try dragging it to Preview's icon... anything open? -
Open report in pdf format without opening in browser.
Hi,
Any body know show can save my report in pdf formate in a specific folder without opening in browser. I am using 9.0.4 developer suit.
RegardsHi,
Thanks from replyl. But i want to run report from form and this is used to run report from command prompt.
Please tell me a way that how could I able to run a report without using web.show_document and it save in a specific folder without opening in browser.
Regards -
Data present in internal table, now how to open it in PDF format
Dear Friends,
my Scenario is..
I have uploaded a pdf file in my database table through GUI_UPLOAD. It is uploaded.
Now when user click on some button then that file should be displayed again in pdf format directly.
(No download to user PC using GUI_download or something)
DBtab ZTST_XL Format
MANDT MANDT CLNT 3
KEYA CHAR5 CHAR 5
KEY2 INT4 INT4 10
LENGTH INT2 INT2 5
DATA LCHR 1000
I brought that data again in my internal table by
SELECT * FROM ZTST_XL
INTO TABLE DBTAB
WHERE KEYA = 'TEST'.
LOOP AT DBTAB.
ITAB-DATA = DBTAB-DATA.
APPEND ITAB.
ENDLOOP.
Now I need to open this PDF file in normal format as it opens usually rather than downloading it on users PC .
Any Help regarding this will be very much useful
Thanks & Regards,
Sourabh>
Sourabh Jain wrote:
> Dear Suhas,
> Sorry for Confusion,
> Actually I was trying to say that ,, I have already uploaded that pdf file to my database table on click of first button,
> now on click of second button I have to show/open that uploaded pdf file.
So you just want to show the PDF file you have uploaded to the DB on click of the 2nd button.
Now you can use the method CL_GUI_FRONTEND_SERVICES=>EXECUTE for this after the user clicks the 2nd button
CALL METHOD cl_gui_frontend_services=>execute
EXPORTING
DOCUMENT = lv_document "The filepath you have used for GUI_UPLOAD
EXCEPTIONS
cntl_error = 1
error_no_gui = 2
bad_parameter = 3
file_not_found = 4
path_not_found = 5
file_extension_unknown = 6
error_execute_failed = 7
synchronous_failed = 8
not_supported_by_gui = 9
OTHERS = 10.
Hope i am clear.
BR,
Suhas -
How to set password in obiee delivery content reports (pdf format)
Hi
Dear All
i Need your help on the Obiee !
i hvae one Requirement how to set password in obiee delivery content (pdf format) its possible. what are the things i to do
Kindly Advice me
Advance Thanks
satya933154 wrote: My profile says PDF, config, report, settings says PDF and I get an Excel when I run screening reports. Very odd.You may want to make sure that the file where the system setting gets stored can be updated. In your <Intradoc_Dir>\urm\data\reportpublisher\config\config.hda file, there is a result set named "RPAdminConfigInfo". The third column of that result set should match the value being shown on the configuration settings page. I've changed the format value in the UI, and this file gets updated (and thus I'm getting my screening reports in the format specified in this config file.)
933154 wrote: Also, I wasn't clear on the second part of the question. The Screening Reports appear to use the template INTERNALITEMDETAILRPTTEMPLATE. Is that configuration set somewhere? Is there any way to have the screening reports use a different template or is changing that template the only way to change the screening report layout?Templates are not configurable in that respect - the template name values being called for a service are hardwired in the code (you'd need to override in a component - just not worth the hassle). I'd either edit the existing rtf file, or just check in a new revision to the existing one if the differences are that profound. You'd still need to conform to the BI Publisher standards/methodology in either case. -
I am trying to print clothing patterns on my printer and they must be in PDF format. I was told I needed Adobe Reader, a FileOpen plug-in, and finally Firefox Plug-in. I downloaded all of this and I still cannot open anything in PDF format. Thank you Bonita Rainey
call the same smartform(Function generated from smartform) in your bsp application, get the otf outof it, convert that to pdf and show it. follow your previous thread and check the blog mentioned there.
-
Four months ago I wrote that when I tried to open Adobe Reader PDF for any reason, Photoshop Elements 4 took over and Adobe Reader was opened in PE4.
I was given advice toopen and check in a word document my file association and to "tell" the system to open in Adobe PDF format. I did that but whenever I open Adobe PDF for any reason (the last occasion was to download my travel insurance from Insure and Go), PE4 opens and Adobe PDF has to be printed from inside that programme. Nothing has changed.
I want Adobe Reader PDF to open in its own format, and I want to stop Adobe Reader PDF being opened inside the PE4 programme. How do I do it?
I do not want to get rid of PE4 as I use it extensively for photography. But I want it to stay with photos and stop opening for documents like my travel insurance. Thank you. Rod Colyerroderick colyer wrote:
I was given advice toopen and check in a word document my file association and to "tell" the system to open in Adobe PDF format.
I'm not sure what that measn or how Word plays in to this.
If you have Win XP, try the following adice: http://www.ehow.com/how_2052279_change-file-type-associations-windows.html -
Hi All,
We have upgraded our system to 11.1.2.2 from 11.1.2.1 and that moment we were able to open FR in PDF.
But the moment we applied 300 patches. from when we are unable to open FR in PDF format.
OS: Solaris
Does any one else facing same issue or recovered from this issue.
Error messge:
Unable to Authenticate 401 error.
Cheers!
Sh!vankError from logs:
04-09 05:28:15 ERROR WAATag org/apache/commons/lang/StringEscapeUtils
javax.servlet.ServletException: org/apache/commons/lang/StringEscapeUtils
at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:660)
at com.ibm._jsp._HRWaaRedirectPage._jspService(_HRWaaRedirectPage.java:1168)
at com.ibm.ws.jsp.runtime.HttpJspBase.service(HttpJspBase.java:85)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:989)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:930)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:118)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:761)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:673)
Fix for StringEscapeUtils:
Clear out existing class files to ensure they get regenerated from the updated JSP files
Navigate to HYPERION_HOME\deployments\Websphere6\profile\temp\hyslNode\FinancialReporting\HReports\hr.war
Backup the hr.war directory
Search for *.class file under hr.war
Delete existing class files
Add HYPERION_HOME\common\JakartaCommons\commons-lang-2.1.jar to Financial Reporting classpath in WebSphere Admin Console.
Open WAS Admin Console
Select Servers->Application Servers
Select Financial Reporting
Expand Java Process Management
Select Process Definition
Select Java Virtual Machine
Add "HYPERION_HOME\common\JakartaCommons\commons-lang-2.1.jar" to Classpath (Note: Replace HYPERION_HOME with actual path.)
Apply and Save the changes
Restart FR Web App
I am marking this as correct answer, So that it might help others for their debugging.
Cheers!
Sh!va -
Print PLSQL Dynamic content region in PDF format in Oracle Apex
Hi All,
I have created a report region by selecting "PLSQL Dynamic Content".This region calls the procedure with some parameters.So i want this plsql dynamic content to be in PDF format.
For an easy understanding, I have created an application in Apex.Oracle.Com where i have created a Plsql Dynamic content which calls procedure do display in region.
Step 1: http://apex.oracle.com/pls/apex/f?p=4550:1:15635986742760:::::
Step 2: Workspace : dev_dilip
Username: [email protected]
Pwd : 123456
Step 3: Open PRINT_PDF application and Run the application.
Step 4: Username: [email protected]
Pwd : 123456
The procedure code can be viewed by object browser.
Once user cliks PDF (button inapplication) a new tab should open and that plsql region should in PDF format.
I kindly request all to check and advice me with your valuable suggestion.
regards,
Doddi Dilip.SO, you want to print the output of the procedure in pdf format? If so, you can try apex Report Query feature. You can find a number of examples for the same in this forum and in the internet:
http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/hol08/apexprnt/apexprnt_otn.htm
Or, have a IR based on a collection; the collection based on a function returning query. And then, use the IR's generic download option to print reports.
http://www.oracleapplicationexpress.com/tutorials/71 -
Converting PDF file contents to base64Binary format
Hi All,
I have a requirement where I need to convert PDF form contents to base64Binary format and call the webservice to send it to outside world.
Detail Description:
I have two buttons on my application one "DISPLAY" & another "SEND". If user clicks on 'DISPLAY' then PDF form will be opened and printed. If user clicks "SEND" button then PDF form contents should be converted to base64Binary format and proxy class will be called to send to PI server. Please let me know any function modules or codes for converting PDF form contents to base64Binary format.
Your inputs on this will be highly appericiated.
Regards,
Santhosh
Edited by: santhosh sontha on Dec 21, 2010 12:23 PMYou can try one of the functions in function group SCMS_CONV (or search for others in SE37). My standard process uses older code which still works with SX_TABLE_LINE_WIDTH_CHANGE, then SO_SOLITAB_TO_SOLIXTAB, then
* Convert to XSTRING format
LOOP AT gt_pdf_255x INTO gs_pdf_255x.
ASSIGN gs_pdf_255x TO <fs_line> CASTING TYPE x.
CONCATENATE e_pdfout <fs_line> INTO e_pdfout IN BYTE MODE.
ENDLOOP. -
I get missing plug-in error when opening my online bill which is in PDF format. I am using a 2010 Macbook with the latest version of Safari and Adobe suite installed in my computer. Why do I get this error? What should I do?
In relation to my previous inquiry regarding inability to view a pdf file using Safari...
Is it possible that I can view other online bills from other website but not this particular bill from one specific website?
Sorry if I missed any important point in this article -->Apple Safari 5.1 and Adobe Reader/Acrobat Advisory
Thanks again! -
Hi Experts,
I have written a classical report with write statements and when i am downloading in excel the format is mismatching and now i want to convert into PDF format.
How to convert into PDF format from Classical report ?
YusufHi yusuf,
please find the below report,,
please make two include programs before executing it,
there codes are pasted below,
INCLUDE zimpr_data_declaration.
INCLUDE zimpr_performs_wrap.
REPORT zimpr_word_wrap NO STANDARD PAGE HEADING LINE-SIZE 115..
INCLUDE for DATA DECLARATION *
INCLUDE zimpr_data_declaration.
INCLUDE for all performs. *
INCLUDE zimpr_performs_wrap.
TOP-OF-PAGE--
TOP-OF-PAGE.
PERFORM f_top_page. "TOP OF THE REPORT PAGE,I.E. HEADER.
START-OF-SELECTION.
SET PF-STATUS 'SEL_SCREEN'. "PF-STATUS OF THE SELECTION SCREEN.
PERFORM f_data_retrieval. "PERFORM FOR ALL SELECT STATEMENTS.
PERFORM f_report_display. "REPORT DISPLAY,WRITE STATEMENTS.
--Define the actions to be performed for pf-status-----
AT USER-COMMAND.
wf_ok_code = sy-ucomm.
wf_save_ok = wf_ok_code.
CLEAR wf_ok_code.
CASE wf_save_ok.
WHEN 'PDF'. "WHEN PDF ICON IS CLICKED,REPORT WILL CONVERT INTO PDF.
loc_repid = sy-repid. "PROGRAM NAME
--THIS FM SETS THE PARAMETERS FOR LAYOUT OF PDF OUTPUT--
CALL FUNCTION 'GET_PRINT_PARAMETERS'
EXPORTING
layout = loc_paart "LANDSCAPE LAYOUT
line_size = loc_linsz "CHARACTER WIDTH OF REPORT
no_dialog = 'X'
user = sy-uname "USERNAME
IMPORTING
out_parameters = loc_print_parms "OUTPUT PARAMETERS WILL BE COLLECTED HERE.
valid = loc_valid
EXCEPTIONS
archive_info_not_found = 1
invalid_print_params = 2
invalid_archive_params = 3
OTHERS = 4.
--FOR GENERATING THE SPOOL NUMBER--
NEW-PAGE PRINT ON NO DIALOG PARAMETERS loc_print_parms. " This allocates the spool no
"to the screen without the dialog screen.
PERFORM f_top_page.
PERFORM f_report_display.
NEW-PAGE PRINT OFF. "This marks the end of the screen for which the spool no was generated.
wf_id = sy-spono. " This assign the spool no of the screen to the variable.
--PERFORM FOR GETTING THE PDF OUTPUT--
PERFORM f_pdf_display.
--PERFORM FOR DOWLOADING FILE TO A LOCAL DISK--
PERFORM f_download_local.
WHEN 'BACK'.
LEAVE PROGRAM.
ENDCASE.
include data declaration----
*& Include ZIMPR_DATA_DECLARATION
TYPE-POOLS : shlp.
DATA : wf_ordert TYPE aufk-auart. "ORDER TYPE
DATA : wf_order TYPE aufk-aufnr. "ORDER NUMBER
DATA : wf_bdate TYPE afko-gstrp. "BASIC START DATE
DATA : wf_status(4) TYPE c ."rihea-i_astatin. "STATUS
DATA : wf_objnr TYPE jest-objnr VALUE 'OR%'. "Object number
DATA : wf_aufnr TYPE aufk-aufnr.
DATA : wf_name TYPE thead-tdname. "NAME TO PASS IN FM READ_TEXT
DATA : wf_date1(12) TYPE c. "DATE
DATA : wf_i1(3) TYPE n,wc_i1(3) TYPE n VALUE '1'. "COUNTERS FOR REPORT DISPLAY
DATA : wf_i2(3) TYPE n,wc_i2(3) TYPE n VALUE '1'.
DATA : wf_kopf TYPE tdid VALUE 'KOPF',wf_aufk TYPE tdobject VALUE 'AUFK'.
DATA : wf_save_ok TYPE sy-ucomm ,wf_ok_code TYPE sy-ucomm.
DATA: wf_id TYPE tsp01-rqident , " For storing Spool request number
wf_bytes TYPE i . " For storing the bytes of data to be converted to PDF.
DATA : wf_langu(2) TYPE c VALUE 'EN'.
DATA: wf_pripar TYPE pri_params, " Structure for Passing Print Parameters
wf_rcpar TYPE arc_params. " ImageLink structure
DATA : wf_statu TYPE dfies-fieldname VALUE 'STATUS',
wf_field TYPE help_info-dynprofld VALUE 'S_STATUS'.
&--SELECTION SCREEN--
SELECTION-SCREEN BEGIN OF BLOCK b_1 WITH FRAME TITLE text-000.
SELECTION-SCREEN SKIP 1.
SELECT-OPTIONS: s_ordert FOR wf_ordert . "ORDER TYPE
SELECT-OPTIONS: s_order FOR wf_order OBLIGATORY. "ORDER NUMBER
SELECT-OPTIONS: s_bdate FOR wf_bdate. "BASIC START DATE
SELECT-OPTIONS: s_status FOR wf_status matchcode object zei_sys . "SYSTEM STATUS
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN END OF BLOCK b_1.
*--INTERNAL TABLES--
TYPES : BEGIN OF ty_aufk,
aufnr TYPE aufk-aufnr, "OREDR NUMBER
auart TYPE aufk-auart, "ORDER TYPE
objnr TYPE aufk-objnr, "OBJECT NUMBER
ktext type aufk-ktext, "SHORT TEXT
gstrp TYPE afko-gstrp, "BASIC START DATE
END OF ty_aufk.
TYPES : BEGIN OF ty_tj02t,
objnr TYPE aufk-objnr, "OBJECT NUMBER
txt04 TYPE tj02t-txt04, "STATUS
istat TYPE tj02t-istat, "Object status
spras TYPE tj02t-spras, "LANGUAGE KEY
END OF ty_tj02t.
TYPES : BEGIN OF ty_temp,
objnr TYPE aufk-objnr,
status(300) TYPE c,
END OF ty_temp.
TYPES : BEGIN OF ty_wrap,
line(54) TYPE c, "LONG TEXT
END OF ty_wrap.
TYPES : BEGIN OF ty_wrap2,
line(25) TYPE c, "STATUS
END OF ty_wrap2.
TYPES : BEGIN OF ty_f4,
txt04 TYPE tj02t-txt04,
txt30 TYPE tj02t-txt30,
END OF ty_f4.
types : begin of ty_sta,
istat type tj02t-istat,
objnr type jest-objnr,
end of ty_sta.
data : int_sta type table of ty_sta with header line.
DATA : int_f4 TYPE TABLE OF ty_f4 WITH HEADER LINE.
DATA: int_pdf TYPE TABLE OF tline WITH HEADER LINE. "TABLE FOR PDF CONVERSION
DATA: int_wrap TYPE TABLE OF ty_wrap WITH HEADER LINE. "TABLE FOR LONGTEXT
DATA: int_wrap2 TYPE TABLE OF ty_wrap2 WITH HEADER LINE. "TABLE FOR STATUS
DATA: int_temp TYPE TABLE OF ty_temp WITH HEADER LINE. "Table for concatenation of system status.
DATA: int_aufk TYPE TABLE OF ty_aufk WITH HEADER LINE.
DATA: int_tj02t TYPE TABLE OF ty_tj02t WITH HEADER LINE.
DATA: int_tline TYPE STANDARD TABLE OF tline WITH HEADER LINE. "TABLE FOR READ_TEXT.
DATA : int_fld TYPE TABLE OF dfies ,wa_fld LIKE LINE OF int_fld. " Field Type for FM for F4 help
DATA :int_return TYPE TABLE OF ddshretval WITH HEADER LINE .
DATA:
loc_print_parms LIKE pri_params, "PRINT PARAMETERS
loc_valid(1) TYPE c,
loc_file type SDOK_CHTRD,
loc_bytecount TYPE i, "NUMBER OF BYTES TRANSFERRED
loc_length TYPE i, "LINE-LENGTH
loc_rqident LIKE tsp01-rqident, "SPOOL NUMBER
loc_rq2name(12) TYPE c.
DATA: loc_filename LIKE rlgrap-filename. "FILENAME
DATA:loc_repid LIKE sy-repid, " Report to execute
loc_linsz LIKE sy-linsz VALUE 115, " Line size
loc_paart LIKE sy-paart VALUE 'X_65_132'. " Paper Format
Include ZIMPR_PERFORMS_WRAP----
*& Include ZIMPR_PERFORMS_WRAP
*& Form f_top_page
top-of the page
--> p1 text
<-- p2 text
FORM f_top_page .
*--HEADER--
FORMAT COLOR 1 .
WRITE : text-010.
FORMAT COLOR 1 OFF.
WRITE : / text-011,sy-datum NO-GAP.
WRITE : / text-012,sy-uzeit NO-GAP,90 text-013,101 sy-uname.
ULINE .
FORMAT COLOR 1 INTENSIFIED OFF .
WRITE : 1 sy-vline, "HEADINGS
2 text-014 NO-GAP,
7 sy-vline,
8 text-015 NO-GAP,
20 sy-vline,
21 text-016 NO-GAP,
76 sy-vline,
77 text-017 NO-GAP,
88 sy-vline,
89 text-018 NO-GAP,
115 sy-vline.
WRITE : /1 sy-vline,
2 text-019 NO-GAP,7 sy-vline,
20 sy-vline,76 sy-vline,77 text-020 NO-GAP,88 sy-vline,115 sy-vline.
ULINE.
FORMAT COLOR 1 OFF.
ENDFORM. " f_top_page
*& Form f_data_retrieval
select statements
--> p1 text
<-- p2 text
FORM f_data_retrieval .
SELECTING ORDER TYPE,ORDER NO.,OBJECT NO. AND BASIC START DATE
SELECT p~aufnr
p~auart
p~objnr
p~ktext
r~gstrp
FROM ( aufk AS p INNER JOIN afko AS r ON raufnr = paufnr )
INTO TABLE int_aufk
WHERE p~aufnr IN s_order AND
p~auart IN s_ordert AND
r~gstrp IN s_bdate AND
p~objnr LIKE wf_objnr.
IF sy-subrc <> 0.
MESSAGE s101(zipm). "no values found for selection criteria.
STOP.
ENDIF.
SORT int_aufk BY aufnr.
DELETE ADJACENT DUPLICATES FROM int_aufk.
SELECT q~istat
p~objnr
FROM ( jest AS p INNER JOIN tj02t AS q ON pstat = qistat )
INTO TABLE int_sta
FOR ALL ENTRIES IN int_aufk
WHERE p~objnr = int_aufk-objnr
AND q~txt04 IN s_status and
q~spras = wf_langu and
p~inact = ''.
IF sy-subrc <> 0.
MESSAGE s101(zipm). "no values found for selection criteria.
STOP.
ENDIF.
SORT int_sta BY objnr.
DELETE ADJACENT DUPLICATES FROM int_sta.
*--SELECTING OBJECT NO.,STATUS AND LANGUAGE--
IF int_sta[] IS NOT INITIAL.
SELECT p~objnr
q~txt04
q~istat
q~spras
FROM ( jest AS p INNER JOIN tj02t AS q ON pstat = qistat )
INTO TABLE int_tj02t
FOR ALL ENTRIES IN int_sta
WHERE p~inact = '' AND
p~objnr = int_sta-objnr AND
q~spras = wf_langu AND
q~txt04 IN s_status AND
p~objnr LIKE wf_objnr.
IF sy-subrc <> 0.
MESSAGE s101(zipm). "no values found for selection criteria.
STOP.
ENDIF.
ENDIF.
ENDFORM. " f_data_retrieval
*& Form f_report_display
report display
--> p1 text
<-- p2 text
FORM f_report_display .
LOOP AT int_tj02t. "concatenating the status into a internal table
AT NEW objnr.
CLEAR int_temp-status.
ENDAT.
CONCATENATE int_temp-status int_tj02t-txt04 INTO int_temp-status SEPARATED BY space.
AT END OF objnr.
int_temp-objnr = int_tj02t-objnr. "key field.
APPEND int_temp.
CLEAR int_temp.
ENDAT.
CLEAR int_tj02t.
ENDLOOP.
LOOP AT int_aufk.
CONCATENATE sy-mandt int_aufk-aufnr INTO wf_name . "concatenating client number and order number
*--THIS FM CAPTURES THE LONG TEXT AND STORES IT IN INTERNAL TABLE--
CALL FUNCTION 'READ_TEXT'
EXPORTING
id = wf_kopf "TEXT ID
language = sy-langu "LANGUAGE
name = wf_name "TEXT NAME
object = wf_aufk "TEXT OBJECT
TABLES
lines = int_tline "LINES OF LONG TEXT.
EXCEPTIONS
id = 1
language = 2
name = 3
not_found = 4
object = 5
reference_check = 6
wrong_access_to_archive = 7
OTHERS = 8.
IF sy-subrc <> 0.
int_tline-tdline = int_aufk-ktext.
APPEND int_tline.
CLEAR :int_tline.
ENDIF.
LOOP AT int_tline.
*--THIS FM WRAPS THE LONG TEXT INTO 54 CHARACTERS EACH--
CALL FUNCTION 'RKD_WORD_WRAP'
EXPORTING
textline = int_tline-tdline "LONG TEXT LINE
outputlen = 54 "OUTPUT LENGTH
TABLES
out_lines = int_wrap "INTERNAL TABLE
EXCEPTIONS
outputlen_too_large = 1
OTHERS = 2.
IF sy-subrc <> 0.
CLEAR :int_tline.
ENDIF.
ENDLOOP.
*-- THIS FM WRAPS THE STATUS INTO 25 CHARACTERS EACH--
READ TABLE int_temp WITH KEY objnr = int_aufk-objnr.
CALL FUNCTION 'RKD_WORD_WRAP'
EXPORTING
textline = int_temp-status
outputlen = 25
TABLES
out_lines = int_wrap2
EXCEPTIONS
outputlen_too_large = 1
OTHERS = 2.
IF sy-subrc <> 0.
CONTINUE.
ENDIF.
IF NOT int_wrap2[] IS INITIAL.
ULINE AT (115).
ENDIF.
DESCRIBE TABLE int_wrap LINES wf_i2. "COUNTING THE NO. OF LINES FOR TABLE INT_WRAP
DESCRIBE TABLE int_wrap2 LINES wf_i1. "COUNTING THE NO. OF LINES FOR TABLE INT_WRAP2
WHILE ( wc_i1 LE wf_i1 OR wc_i2 LE wf_i2 ).
IF ( wc_i2 LE wf_i2 ).
READ TABLE int_wrap INDEX wc_i2 . "READING THE INTERNAL TABLE INT_WRAP WITH INDEX
wc_i2 = wc_i2 + 1.
ENDIF.
IF ( wc_i1 LE wf_i1 ).
READ TABLE int_wrap2 INDEX wc_i1 . "READING THE INTERNAL TABLE INT_WRAP2 WITH INDEX
wc_i1 = wc_i1 + 1.
ENDIF.
*--THIS FM CONVERTS THE DATE FROM SYSTEM FORMAT TO OUTPUT FORMAT--
CALL FUNCTION 'CONVERSION_EXIT_SDATE_OUTPUT'
EXPORTING
input = int_aufk-gstrp
IMPORTING
output = wf_date1.
IF NOT int_wrap2[] IS INITIAL .
*--REPORT DISPLAY--
WRITE : /1 sy-vline, 2 int_aufk-auart COLOR = 4 INTENSIFIED OFF NO-GAP ,
7 sy-vline ,8 int_aufk-aufnr COLOR = 4 INTENSIFIED OFF NO-GAP,
20 sy-vline,21 int_wrap-line,
76 sy-vline ,77 wf_date1 ,
88 sy-vline ,89 int_wrap2-line,
115 sy-vline.
*--CLEARING THE VARIABLES--
wf_date1 = ''.
CLEAR: int_aufk,int_temp,int_wrap2-line,int_wrap-line.
ENDIF.
ENDWHILE.
wc_i1 = 1.
wc_i2 = 1.
CLEAR :int_wrap,int_wrap2.
REFRESH : int_wrap,int_wrap2,int_tline.
ENDLOOP.
ULINE AT (115).
ENDFORM. " f_report_display
*& Form F_PDF_DISPLAY
pdf conversion
--> p1 text
<-- p2 text
FORM f_pdf_display .
*--THIS FM CONVERTS THE SPOOL REQUEST INTO PDF REPORT--
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = wf_id "SPOOL NUMBER
no_dialog = space
pdf_destination = 'X'
IMPORTING
pdf_bytecount = loc_bytecount "NUMBER OF BYTES TRANSFERRED
TABLES
pdf = int_pdf "TABLE FOR PDF REPORT
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.
ENDFORM. " F_PDF_DISPLAY
*& Form f_download_local
download to local system
--> p1 text
<-- p2 text
FORM f_download_local .
---------------------THIS FM DOWNLOADS THE PDF REPORT INTO LOCAL MACHINE
data loc_ret TYPE iwerrormsg.
CALL FUNCTION 'IW_C_GET_SAPWORKDIR'
IMPORTING
SAPWORKDIR = loc_file
ERROR_MSG = loc_ret
loc_filename = loc_file.
if loc_ret is initial.
concatenate loc_filename '\work order header long text_ ' sy-timlo '.pdf' into loc_filename.
endif.
CALL FUNCTION 'DOWNLOAD'
EXPORTING
bin_filesize = loc_bytecount "NO. OF BYTES
filename = loc_filename "DEFAULT FILE NAME
filetype = 'BIN'
IMPORTING
act_filename = loc_filename
TABLES
data_tab = int_pdf.
ENDFORM. " f_download_local
if you have any doubts,,
please revert
Regards,
Talwinder -
When I open the pdf document it is in full screen mode and when I click onto a table of content link it is full screen vertical but not full screen horizontal. How do I make it full screen both ways.
You are not making sense. Are you referring to the way the PDF is opened into your PDF reading application? If so, what has that to do with a 'table of contents'?
In any case, it seems not related to a problem with InDesign. Try the Acrobat forum instead. -
When trying to open a PDF format using Adobe XI I get an error message that there's a problem opening the document (57)
Hi chasore,
Are you still facing this issue?
Is this issue happening with all the documents you have. If yes, i would suggest try uninstall and reinstall. Or if the documents are located on some shared drive try to copy them on local machine and test again.
Regards,
Ajlan Huda.
Maybe you are looking for
-
Hi All, I have a sql query "select x from tmp", which gives result as follows - X X1 X2 X3 X4 I want this result in 1 row comma seperated, as X1, X2, X3, X4 Is it possible to get this result using any sql query or pl/sql functions? Regards VJ
-
AP/PO PURGE INVOICE SELECT 조건
제품 : FIN_AP 작성날짜 : 2005-11-28 AP/PO PURGE INVOICE SELECT 조건 ============================= PURPOSE AP/PO Purge 프로그램 수행시 내부 Validation Logic에 의한 대상 조건 찾기 Problem Description 어떤 조건에 의해서 대상을 선별하는지 SQL 조건 Workaround Solution Description sql0 INSERT INTO a
-
Runtime.exec error - java.lang.NullPointerException
Hi, I am trying out the example code from javaWorld that shows how to use exec to execute external command. The problem is that I aways run into java.lang.NullPointerException on line that has "Process proc = rt.exec(cmd);" I have tried to run the co
-
Newbie Q: What do movie clips need to allow Actionscript?
Hello. Thanks for taking time out for this question. Basically, I started an exercise in a book and it asked me to add code to a movieclip. I created a basic circle, converted it to a movie clip and tried to press F9 for actionscript, but Flash told
-
Hello collegues, I have a fact sheet Z, in the BSP_DLC_fs component. This Block has the service request of the BP. My customer need that exists a hyperlink to service request detail. I`ve implemented the GET_P_XX.. Method, and I`ve implemented an ev