Regarding PDF generic structure
I studied the generic structure of pdf file here - http://partners.adobe.com/public/developer/tips/topic_tip31.html.
I have done some work, so it was not going smoothly and thats why i thought may be the generic structure has changed.Someone pls help.
Have you read ISO 32000-1, the PDF Reference? There is not enough infomation on the page to let you start editing with a hex editor. In fact, it is extremely difficult to edit a PDF in that way without breaking it, PDF is edited by software which remakes the xref tables and other byte addresses and stream lengths.
Similar Messages
-
How to define a generic structured type (deep structure) w/o LIKE
Hi,
I have been trying to define a generic structured type that would include a component (field) of type "table type".
Look at my type [ty_compatibilite]. It is the structured type that needs to have a component called "mobile" which needs to be an internal table. I have tried to create a genereic table type called tt_mobile (based on ty_mobile) but that did not work. I have not been able to avoid using the LIKE command to make it work.
Any suggestions on how I could define my component "mobile" without using a "LIKE"... ?
Here is my code:
TYPES: BEGIN OF ty_mobile,
ref_mob_sfr TYPE zmobil,
ref_mrq_sfr TYPE zmarq,
type_compat TYPE zsea_comp_type,
END OF ty_mobile.
TYPES: tt_mobile TYPE STANDARD TABLE OF ty_mobile.
DATA: lit_mobiles TYPE STANDARD TABLE OF ty_mobile.
TYPES : BEGIN OF ty_compatibilite,
cod_ean TYPE ean11,
lib_art TYPE maktx,
compat_all_mrq TYPE zsea_comp_gen,
* mobile TYPE tt_mobile,
mobile LIKE lit_mobiles,
END OF ty_compatibilite.
TYPES : tt_compatibilite TYPE STANDARD TABLE OF ty_compatibilite.define key or use default one:
TYPES: tt_mobile TYPE STANDARD TABLE OF ty_mobile with DEFAULT KEY.
If you don't specify key the type is treated as generic -
PDF layer structure in Illustrator
I have saved a mapinfo drawing with geographic info to a pdf. The layer structure in the PDF is what I expected and reflects the layer structure in mapinfo. When I open the pdf file in Illustrator howver I only get one layer.
Is there any way of keeping the pdf layer structure in illustrator?No.
When opening a PDF in Illustrator everything will be contained in (objct-based) clipping masks, which are kind of groups. You can't have layers inside groups. -
Regarding workflow organization structure
hi Gurs.
How to create Organization Structure, Create Workflow with Multiple Approval based on Organization Structure.
this is my requirement i dont no how to create organization structure in which tcode i have to build and what all steps.
pl help me.
Regards
vijayHi,
Your thread has had no response since it's creation over
2 weeks ago, therefore, I recommend that you either:
- Rephrase the question.
- Provide additional Information to prompt a response.
- Close the thread if the answer is already known.
Thank you for your compliance in this regard.
Kind regards,
Siobhan -
hi all,
Am doing GR form(Script) for japan.....some of the things are hard coded in japan....but when i will convert into PDF using the program RSTXPDFT4 ......some garbage characters r showing instead of japanese chars....
and I used font JPMINCHO....if i convert this output into CUTE PDF WRITER i can see the japanese chars but all the alignment gone......some lines r missing......i draw table for main winndow..tat table also missing....
could u pls guide me in this....Hi,
check below link its useful for u
Re: Converting sap script output into pdf format?
First execute your program which its internally calls your customized SAPscript . and take print preview for the required output.
and use SP01 tcode to check your spool request which include your customized sap script print preview.
use SE38 tcode and enter program name as RSTXPDFT4 which is used to Read spool job contents .
Regards,
Madhu -
Regarding Copying the structure
Hi All,
I have designed a custom cube based on standard cube. Now i have to design the queries based on that InfoCube. In the standard Cube, we have a strcuture which I want in the query designer for the custom cube. How to get that structure into that InfoCube??
Regards
JayNo, you are correct. A global structure is tied to a cube, not available for all cubes. But if you copy even one query from Cube 1 to Cube 2, even if it is not using the structure, the structure and other global elements will get copied too. Open a query for cube 2 and you will find then with _1 added on the left hand side.
Hope this helps... -
Regarding receiver side structure
Hi Friends,
Please help the below question.
Q : Who gave the Receiver side DATA TYPE Structure to XI Developer?Or XI Developer will analyze him/herself of that structure ?
Thanks & Regards
MuralidharHI,
Receiver side Data type is based on various factors as below,
1. The Receiver Side Format of the data expected by user will make certian factors clear about the Data type
2. What is the receiver system, if its Database table then it have specifc structure...etc.
You need to sit with Receiver Side User and have to analyse the expecetd output and then accordingly design the Message structure ie.e Data type
Thanks
swarup -
Regarding the organization Structure
Hi All,
Can any one help me the basic organization structure for Extended Classic scenario.
How to assign the extended attributes to that particular user.
In my frontend if i select any of the product's then it is giving me dump saying that Template is not found.
Points to be awarded.
Thanks & Regards
GirishHi Raju.
I don't think it sounds like problems with the org structure? It sounds more like the web-templates are missing or incomplete. You can check these via SE80.
But otherwise post some more info from the dump etc.
BR
Dennis -
Just I'd like to know the structure of pdf file. I have searched google but found nothing thus far. Anyone canoffer me some hints on this please ?
Thanks nice helpers :-)Mike
-
Hi,
I've read the forum discussions/solutions on setting PDF bookmarks, but I'm afraid the various solutions appear to only work if you are consistently working in .fm book files, not if your source files are in structured .fm format.
For example, I have to constantly reset the bookmark settings in FrameMaker when I follow our PDF process of saving the structured FM files via the File -> Save Ditamap As -> Book 11.0 with fm components (*.book) route. I can set the bookmarks in the first file of the book, and/or set them using the Format -> Document -> PDF Setup menu options. But an hour later, if I discover I need to make a change in our source material (.ditamap/.xml) and create a new PDF again, I must make the same exact bookmark settings at the .fm level in this process (i.e. creating new .fm files from the .ditamap/xml files overwrites the previous .fm files, requiring bookmark setting, again).
I think the only possible solution for a short-cut in this situation is to write a script to set those bookmarks each time we go from .xml to .fm. Does anyone see another way around this?
Thanks!
DianaHi Diana...
You're right that only FM binary files can store PDF setup information (in theory XML files could store this data, but that's not the way it's currently set up). In order to have this data available in files generated from XML, you'll need to set it up in the structure application template(s). You also need to make sure that all files in the book use the same tag names. The following topic was written for DITA-FMx users, but the concept should apply to regular FM-DITA as well ..
http://docs.leximation.com/dita-fmx/2.0/?ditafmx_setuppdfbookmarks.html
I hope that helps.
…scott -
Regarding PDF and mail attachement at SMARTFORMS
hey jeyanthi,
I tried the program from the link you gave to convert otf to pdf and sending pdf file as attachement.
Everything works fine till PDF creation.
but i did not get mail sending function works.
while debugging i come to know that FM
is goint to execption error
'OTHERS 8'.
why is it...its not working..could you pls guide me here..
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_hex = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
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 ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ambichan.hey jayanthi,
Thanks for your reply.
I am sorry, I debugged the code from starting again.
I can see all the table fields except w_objhead gets populating values and passing to FM.
everything is fine, even sy-subrc is 0 in this case now.
and execution Ends normally without displaying any dialog or popup.
but i could not see the Mail received to the mail id. could the FM be problem? I am working in 4.6C.
could u pls look at my code.
REPORT ZZZ_TEST2_PRG .
DATA :i_tline TYPE TABLE OF tline WITH HEADER LINE,
i_receivers TYPE TABLE OF somlreci1 WITH HEADER LINE,
i_record LIKE solisti1 OCCURS 0 WITH HEADER LINE,
*Objects to send mail.
i_objpack LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
i_objtxt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_objbin LIKE solisti1 OCCURS 0 WITH HEADER LINE,
i_reclist LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
*Work Area declarations
w_objhead TYPE soli_tab,
w_ctrlop TYPE ssfctrlop,
w_compop TYPE ssfcompop,
w_return TYPE ssfcrescl,
w_doc_chng TYPE sodocchgi1,
w_data TYPE sodocchgi1,
w_buffer TYPE string,
*Variables declarations
v_form_name TYPE rs38l_fnam,
v_len_in LIKE sood-objlen,
v_len_out LIKE sood-objlen,
v_len_outn TYPE i,
v_lines_txt TYPE i,
v_lines_bin TYPE i.
parameter: p_form type tdsfname default 'ZZZ_TEST2'.
DATA:i_otf TYPE itcoo occurs 0 with HEADER LINE.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = p_form
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = v_form_name
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 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.
w_ctrlop-getotf = 'X'.
w_ctrlop-no_dialog = 'X'.
w_ctrlop-preview = 'X'.
w_compop-tdnoprev = 'X'.
CALL FUNCTION v_form_name
EXPORTING
control_parameters = w_ctrlop
output_options = w_compop
user_settings = 'X'
IMPORTING
job_output_info = w_return
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.
i_otf[] = w_return-otfdata[].
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
ARCHIVE_INDEX = ' '
IMPORTING
BIN_FILESIZE = v_len_in
TABLES
OTF = i_otf
LINES = i_tline
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 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.
Convert PDF from 132 to 255.
LOOP AT i_tline.
*Replacing space by ~
TRANSLATE i_tline USING '~'.
CONCATENATE w_buffer i_tline INTO w_buffer.
ENDLOOP.
*Replacing ~ by space
TRANSLATE w_buffer USING '~'.
DO.
i_record = w_buffer.
APPENDing 255 Characters as a record
APPEND i_record.
SHIFT w_buffer LEFT BY 255 PLACES.
IF w_buffer IS INITIAL.
EXIT.
ENDIF.
ENDDO.
Refresh: i_reclist,i_objtxt,i_objbin,i_objpack.
clear w_objhead.
*Object with PDF.
i_objbin[] = i_record[].
DESCRIBE TABLE i_objbin LINES v_lines_bin.
Object with main text of the mail.
i_objtxt = 'Find attached the output of the smart form.'.
APPEND i_objtxt.
i_objtxt = 'Regards,'.
APPEND i_objtxt.
i_objtxt = 'chandra'.
APPEND i_objtxt.
DESCRIBE TABLE i_objtxt LINES v_lines_txt.
Document information.
w_doc_chng-obj_name = 'Smartform'.
w_doc_chng-expiry_dat = sy-datum + 10.
w_doc_chng-obj_descr = 'Smart form output'.
w_doc_chng-sensitivty = 'F'. "Functional object
w_doc_chng-doc_size = v_lines_txt * 255.
Pack to main body as RAW.
Obj. to be transported not in binary form
CLEAR i_objpack-transf_bin.
Start line of object header in transport packet
i_objpack-head_start = 1.
Number of lines of an object header in object packet
i_objpack-head_num = 0.
Start line of object contents in an object packet
i_objpack-body_start = 1.
Number of lines of the object contents in an object packet
i_objpack-body_num = v_lines_txt.
Code for document class
i_objpack-doc_type = 'RAW'.
APPEND i_objpack.
Packing as PDF.
i_objpack-transf_bin = 'X'.
i_objpack-head_start = 1.
i_objpack-head_num = 1.
i_objpack-body_start = 1.
i_objpack-body_num = v_lines_bin.
i_objpack-doc_type = 'PDF'.
i_objpack-obj_name = 'Smartform'.
CONCATENATE 'Smartform_output' '.pdf'
INTO i_objpack-obj_descr.
i_objpack-doc_size = v_lines_bin * 255.
APPEND i_objpack.
Document information.
CLEAR i_reclist.
e-mail receivers.
i_reclist-receiver = '[email protected]'.
i_reclist-express = 'X'.
i_reclist-rec_type = 'U'. "Internet address
APPEND i_reclist.
Sending mail.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = w_doc_chng
put_in_outbox = 'X'
TABLES
packing_list = i_objpack
object_header = w_objhead
contents_hex = i_objbin
contents_txt = i_objtxt
receivers = i_reclist
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 ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ambichan.
Message was edited by: ambi chan -
Hi Friends,
I am generating PDF.
When i am desining Smartform the default Styles is SYSTEM. I this case the PDF is generating. But when i change Styles ( Created in SMATRSTYLES) it is not generating PDF. It is creating PDF file but content is missing. It is saying that 0(zero) files transfered.
Please tell me do we need to change any options for this.
Regards
SatishHi, that is one option but that is considered. I have read through the document http://support.adobe.com/devsup/devsup.nsf/docs/52707.htm and wonder - Is possible to do parameter settings in the ADS to reduce the pdf file size?
The main problem is that there are many material pictures in the pdf (30-50 pictures) and the pdf needs to be efficient since it is used in mass change functions. To generate 1000 pdf's with a file size of 10-20 MB is not performance wise - the requirement is to reduce the file size to speed up the process.
/Brg Patrick -
Regarding source jdbc structure creation
Hi,
I am doing jdbc sender scenario the source structure I am getting form xsd.
in jdbc sender data type root node should be created "row" and message type . is compulsory?
if i am getting xsd how can i deal that one.
Thanks & Regards
venkat.I am doing jdbc sender scenario the source structure I am getting form xsd.
in jdbc sender data type root node should be created "row" and message type . is compulsory?
--> Yes..
if i am getting xsd how can i deal that one.
---> We can make the changes at IR ..
Regards, -
Regarding the generic datasource fields
Hi Masters,
I've created one generic datasource(Master data source), which contains exactly 8 fields. Afterwards that datasource is replicated in BW. According to that datasource, fields are created in RSA1. But those fields name and lengths are not name in BW.Is it problem or not? And another one thing is those fields are not belongs to one Master data source. Is it ok?
Pl let me know.
Thanks in advance
Raja.SHello Raja,
In BW side you have to map the fields with infoobject in transfer structure. The definition of (Properties) infoobjects which you are mapping must be in sync with the fields you are mapping.
Hope it solves your problem.
Cheers
SRS -
Urgent Help Regarding PDF and Word Document Downloading
Many Thanks Shaik for you humble help. Actually now what I did in the past 3 days,
I used Oracle Intermedia to store my PDF and Word Documents in the database using Oracle SQL Loader. Then I used PL/SQL Server Pages and Oracle Web Toolkit for the downloading of my documents.
Now the problem is I saved all my formatted documents in the databse and for retrieval I am using following code in my stored procedure
* Select BLOB Data
select blob_data into myblob from mytable where blob_name = name;
Setup headers which describes the content
owa_util.mime_header('text/html', FALSE);
htp.p('Content-Length: ' || dbms_lob.get_length(myblob));
owa_util.http_header_close;
Initiate Direct BLOB download
wpg_docload.download_file(myblob);
end;
The structure of the mytable table:
create table mytable
doc_id varchar2(128),
doc_name varchar2(128),
blob_data blob
But when it prompt the client to download the file actually it gives the junk file name like 'B104ea56' (which i understand is the address of the blob address). What I want is to show the "SAVE AS" download box with the proper document name which is stored in my field in the following way
1 SALES.PDF
2 PLANNING.PDF
3 MANUAL.DOC
4 STANDARD.TXT
If I set the MIME type for the file format than it automatically starts download the file to the client browser, that I do not want, It should ask the user to download with the proper document name.
Waiting consiously for your help
RegardsPresumedly you'd like those documents being accessiable by users as well, so they should be put on a web server, ftp or nfs sharing. You can just add the urls to those documents, or the directory they are in, into robot system as starting points and let robot run to collect them.
Maybe you are looking for
-
Segunda via de nota fiscal, garantia e chave do office
Bom dia! Preciso da segunda via da nota fiscal do meu notebook que comprei na Best Buy em Orlando. Também preciso da cópia da garantia e da chave de ativação do pacote office 2010 que veio no notebook. Como procedo? Atenciosamente, Olga.
-
I'm getting this error when i try submitting values from my Jsp page into a database: Method preparedStatement(java.lang.String)not found in interface java.sql.Connection. The arrow that appears usually beneath the code in the error 500 message sugge
-
Hi, We are about to replace our now aging Xserve (2008) and I can't find any info on the best replacement options. Anyone know of a good file server model or what is best practice? Ideally we want a simple file server. Although we have a mixed networ
-
Having trouble updating my itunes to version 10
i'm having trouble with updating my itunes to version 10
-
Upgrading from Office 2007 to Office 2013. We may need to save the user settings on the client computer, because we are moving some of the systems from 32-bit to 64-bit. How can we export the settings to a folder?