on 2015 Nov 12 12:44 PM
Hi,
there are functions "hosted" in the Windows WWI applications that can be used for customer SAP programs. E.g. WWI_COMPRESS_FILE or WWI_UNCOMPRESS_FILE. Does anybody know which other functions can be used and called from SAP?
I'm looking for a way to convert DOC documents into RTF documents. Either within SAP or using a WWI functionality.
Kind regards, Michael
Request clarification before answering.
Dear Michael
DOC and RTF are Microsoft formats. I am not "100%" sure about your requirement.
a.) a WWI document is a "word" document
b.) as you know;: you can "convert" the WWI documents in report distribution to "PDF" file
c.) In principle: using the WwI.Ini file together with the Word functionality you canthink about to write a "macro". But I am 100% about you business demand (there is an "Exit" in the WWI.Ini)
a.) you can handle: pdf, Doc etc. as "Inbound" documents (with assigned application); these documents are in "released "status then. E.g. you could then use CG54/CG50. And if you "display" the document the local WWI is called (and then by some clever architecture you can convert the file from x to Y Format
The WWI_COMPRESS etc. functions are one example of "clever" use of SAP together with an "add on" program: I never tried it: but as you have always a "word" integration in SAP you could try to generate a "DOC => RTF" Function module or a "RTF => DOC" one. and then you could try to use a kind of "similar" architectures as with the "compress" approach
Check may be:
Convert OTF to DOC - Toolbox for IT Groups
So there are some options in SAP.
C.B.
PS: check: CONVERT_ITF_TO_RTF Text Conversion ITF (SAPscript Format) to RTF - Function - ABAP - SAP
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
this is the business case:
with the loss of Genifix and therefore the option to manually modify the labels in Genifix before printing the users need a solution to modify product labels directly in SAP EH&S. For that purpose we have developed a Webdynpro application with a Word Office Control to read a label from the SAP DMS and display it in the Office Control. The user can modify the label and write it back to the SAP DMS. The tool works but we have some performance issues as we have to do the DOC to RTF/WWI conversion on the frontend (by download/upload of the label and execution of a script). That's why I'm looking for a SAP-internal conversion DOC to RTF or another type of "background conversion".
Kind regards, Michael
Dear Michael
a.) we never used Genifix
b.) am not sure about your wording "modify the label" => do you change data, add data, change layout etc. (only to get some idea)?
As well I am not sure about your further statement: "to read a label from the SAP DMS and display it in the Office Control. The user can modify the label and write it back to the SAP DMS. "
This my understanding: any EHS report is of type "WWI" (label MSDS or whatsoever). And yes clearly you can read the "Raw report" from DSM to display it on front end (like WWI is doing); and clearly you can change (whatsover) and pass the document back to DMS => but what about access rights? Change documents etc. Why do you use this approach and why can you not generate the label as it should be using WWI?
I still have some "high level "trouble with your DOC / RTF conversion: E.g.
if you are able to prepare UI with WinWord Office Control in SAP GUI: why can you not chose the option there (DOC <=> RTF conversion) .. Ok I am not familiar with this SAP ABAP control: but I would assume that the "Winword Office" Control should/could do the conversion for you
C.B.
PS: do you use this approach: Working with the Word Processor Interface - SAP Control Framework - SAP Library
PPS: Microsoft Word integration using office control in WebDynpro ABAP - Web Dynpro ABAP - SCN Wiki
or may be:
Office-Integration - Web Dynpro ABAP - SAP Library
or
could be of interest
How to download and convert RTF/DOC file in DMS... | SCN
SAP Control Framework - SAP Library
Please read cross:
Document Conversion Information - Product Lifecycle Management - SCN Wiki
User | Count |
---|---|
3 | |
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.