Sap Office PDF to ArchiveLink
In one of our workflow we create a PDF in SAP office with the request information that we send to the employee. If the request is approved, HR people archive this in the employee archive. This is done manually and takes lots of time.
We want to do this automatically. We have already have a archivelink link to our archive.
Is it possible and if how to copy the SAP office document to our archive by archivelink. We also need to specify the correct archive.
Some documentation would be helpfull.
Hi,
Check the function group ARCHIVOBJECT (not sure if this was spelled correctly, but check for example function ARCHIVOBJECT_GET_TABLE and its function group). This function group includes many useful functions which you can use to programatically archive documents with archivelink. There is also lots of examples in SDN - just search with some of the functionas that you can find and look promising.
Regards,
Karri
PS. Check for example this thread: Re: Generic Object Services (GOS) + ArchiveLink against IXOS.
Edited by: Karri Kemppi on Mar 23, 2010 6:21 PM
Similar Messages
-
Upload Files into SAP Office Folder in Background
Hi All ,
Has anyone tried uploading file(s) of any type say *.XLS , *.PDF to SAP office folder (Outbox) in the background . I am using the function module 'SO_DOCUMENT_REPOSITORY' with methods "SAVE" , "ATTCREATEFROMPC" and "SEND" . It works fine in foreground without any errors . But when tried to schedule in background , the job stops at the method call "ATTCREATEFROMPC" and gives a message "Database error for <INSERT INTO KPRO> " . It looks like the uderlyiong function module checks for an active GUI and fails during background .
Any thoughts or other solutions would be appreciated ....
ThanksHi,
I think ATTCREATEFROMPC method is for loading the file from frontend PC. It is bound to fail if you run it in background since there is no SAPGUI running it and it can't know the location.
You will need to use some other method to be able to read the files from the APP server, and have your documents on the APP server if you want to run your code in the background.
cheers,
Ajay -
Uploading file and creating SAP office documnet in background
Hi,
Is ther any FM which will upload the PDF file from PC in SAP office to create document in SAP
i.e. create SOFM object , so that it can be used for attachmnets purpose?
P.S. I am trying to use SO_OBJECT_UPLOAD , which does not work in background - error is Front-end services are not available.
Regards,
AkshayTo upload in background you need to use OPEN DATASET later modify the record as you want to..also not the Window Path but you need to pass UNIX path.
-
Hi everyone. Is there an iView on EP7 that can display SAP office mails? Or is this already integrated into UWL? Generous points will be awarded! Thanks!
You need to develop an UWL connector for integrating SAP Office Mail.
Check this How-to document http://help.sap.com/javadocs/NW04S/SPS09/uw/UWL_API_SAPOfficeMailExample.pdf
and check this forum posting
SAP Business Workflow
Thanks and Regards,
Prasanna Krishnamurthy -
Hi together,
Office PDF Print and office abobe PDF creator(adobe plugin) create different result. It seems that Adobe PDf creater improves line thickness to 1pt instead of 0,3pt. Is there a setting to change to original 0,3 because this 0,3 are standard line thickness for our documents. with adobe V9 the line was 0,3pt. (we need thin, mid and thick lines)
After 2 day's google searching this is the last change for hope :-)
Software Versions
Windows 7
MS Office 2007 (12.0.6668.5000) SP3 MSO (12.0.6662.5000)
Adobe Acrobat X (10.1.7)
Left: MSO Adobe Plugin / MId: MS Word / Rigth: PDF printed over "print" AdobePDF printerHi Bill,
Thanks a lot for the fast reply, i have tested it with 300dpi but I didn't get a different result. The bad thing is that not all lines getting thicker. if there is no arrow or ball at the end of the line the line thickness will not change (see Pic). I think this is a Acrobat error, i don't think that this will improve the pdf quality if the progam changes only some lanes and not all to 1pt.
I Think we must downgrade to version 9. -
SAP Office Document - open in customcontainer
HI,
i try to open to SAP Office Document in "inplace" mode in my own dympro.
Therefore I have an reference of a CL_DOCUMENT_BCS class. There is an interface with a if_document_display_bcs ~ display_outplace method and a if_document_display_bcs ~ display_inplace method. The first one works very well. But the second one does not seem to do that.
I want to view this document in a custom container of my screen l Is this possible?
kind regards
Micharesponse.setHeader ("Content-Disposition","inline;filename=" + vo.getFileName()); This is the line that causes it to open in a browser.
The problem here is that you are using a link to a document...or it appears that way. I dont have any experience with a link to a direct document.
What I've always done is in the Java class I read the document into an object, then write that object to the ServletOutputStream.
So something like this:
1) Set Headers
2) Get word document into some sort of Java object
3) Write that object to the ServletOutputStream
My documents are mostly built on the fly, so hence I need an object anyhow. If you store your files in the database, you will need one too.
I personally would attack it the same way if my files were on the OS as I'd never want a direct link to a physical file. Rather I'd want a link to a page which opens a file.
Edited by: ForumKid2 on Oct 13, 2010 12:40 PM -
Sending mail to Internet or Sap office users id -required settings
Hi All,
Here I am having requirement that I need to send one mail format to email id of the employees. For this I have used FM .
CALL FUNCTION 'SO_NEW_DOCUMENT_SEND_API1'
EXPORTING
document_data = maildata
document_type = 'RAW'
put_in_outbox = 'X'
commit_work = 'X'
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
object_header = mailtxt
object_content = mailtxt
CONTENTS_HEX =
OBJECT_PARA =
OBJECT_PARB =
receivers = mailrec
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.
But its not sending mail. It's giving error the ' DOCUMENT_NOT_SENT = 2' due to connection error(final).
Please let me know solution. Thanks for reading this and Verymuch thankful if you send any solution.
Thanks&Regards,
Prakash.Hi Prakash,
firstly you should check that sending email messages works okay from SAP Office. If you can't send messages from there then you have no chance doing it from a program.
Then, if you want to send email externally, you need to ensure the SMTP plug-in is properly configured. http://help.sap.com/saphelp_47x200/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm covers this.
Then, yet again, ensure you can send messages to external recipients <b>and receive their replies</b> in SAP Office before trying to do it from a program.
There are lots of weblogs and forum messages on sending email from ABAP. I very much prefer using the BCS Interface to do this. Check out one of Thomas's great web logs at /people/thomas.jung3/blog/2004/09/08/sending-e-mail-from-abap--version-610-and-higher--bcs-interface
Cheers
Graham -
How i can send a mail to the user SAP Office mailbox through the spool.
hi all,
I have created an report and scheduled for background and it generated a spool now how i can send a mail to the user SAP Office mailbox through that spool.
please provide me the sample code if possible.
thanks.Read the spool number with this...
SELECT RQIDENT
INTO (T_TSP01-RQIDENT)
FROM TSP01
WHERE RQOWNER EQ SY-UNAME
AND RQCLIENT EQ SY-MANDT.
APPEND T_TSP01.
ENDSELECT.
Use this FM RSPO_IRETURN_RAW_DATA to read the content of the spool into an Internal Table...
Finally use this FM SO_OBJECT_SEND to send the mail to an SAP Office user...
Greetings,
Blag. -
SAP office messages can't be opened in UWL
Hi,
I have installed and tested SONIC (SAP Office Notification Connector). I have a SAP_ALL profile. When I receive a SAP office message, I can either open it in the SBWP or in the UWL notification tab (all my messages show up and I can display its content).
I have created other users with no SAP_ALL profile. These users have the right to access to the SBWP and see their messages. When they log on the portal, they are able to see the list of messages, but when they click on display to see their content, the message is empty. I think I am facing an authorization issue, but I have no idea what are the necessary authorization objects I should add to my users' profile.
Any help would more than much appreciated.
Thanks in advance.
ThibaultDid you look what SU53 say? Did you do an authorisation trance with ST01? That will tell you the details if you are facing an authorisation issue.
Regards,
Karri -
Unicode conversion & SAP Office functionality.
Hi All,
We are in a process of combined upgrade & Unicode coversion. Our source release is 4.6C and we are going for "SAP NetWeaver 7.0 Application Server ABAP including SAP Enhancement Package 01 ". As per CU&UC guide in "Component-specific Requirements" there is SAP office related requirement.
I have gone through sap note 691407, 690074 and I understand that from the release 4.6C SAP will not loger enhance it as some of the components are not unicode enable.
I query is
1) How to find out whether we are productively using SAP offce in our system and which of these components wil not be available after unicode conversion.
2) What exactly will happen after unicode conversion to these fuctionalities.
Please reply.
RegardsHi Nikhil,
I do not think you will find a detailed list of functionality which works.
As far as I remember, the 'deprecation status' of sophisticated SAP Office functions (e.g. SAPMAPI) is more than 8 years old ...
Therefore I do not see another option than testing your scenarios and find out which functionality still works (this might be also caused by the upgrade, not only Unicode).
Best regards,
Nils Buerckel
SAP AG -
SAP office - download document
Hi Gurus.
Could you help me, how to download text of sap office message to an internal table? I wrote a program, i get
relevant entries in SOFM table, but how to download it?
Thank you for your helpnobody knows, where are SO messages stored? in the table SOFM, there are atributes like DOCNO - document number. I think is it... but how to get content of these messages?
-
Downloading Sap Office Document in Webdypro
Hello All,
I have to provide a link to a document that is present in SAP Office Folder.
I am able to read the document using SO_OBJECT_GET_CONTENT. But the contents are in the form of a table of character type.
The File download UI Component of Webdynpro requires the content to be in Raw string format.
Is there anyway I can convert or any function method that gives me the data in Raw format.
Thanks,
AnandThanks Thomas,
I was able to find a function some time back.
SO_SOLITAB_TO_SOLIXTAB.
This can also be used for converting the content to hex. -
Send mail sap office with notification
Hi experts,
I send an email in sap office (Business Workplace sbwp). I want send an automatic notification with this email for warning a user
How can i do?
Thanks in advance.HI,
You can get a good answer if you would have post the same query in SAP BASIS forum.
To my knowledge there will a domain difference not more than that.
Cheers!!
VENk@ -
Create an appointment in sap office calendar
Hello Gurus,
I should create an appointment in sap office calendar when the task is released.
This appointment should have :
as definition task = title appointment
definition project = description appointment
finish date task = date appointment
Somebody know some bapi for this functionality?
thanks in advance
VanessaEXACT same problem. Eagerly awaiting any helpful reply.
-
Issue with the font and alignment in SAP Script PDF
Hi Experts,
I have a problem with the font in SAP Script PDF conversion.
The output of the form is working fine but in the PDF the output is wrong.
There is a dutch letter ' ï ' which is pinted in the form output correctly but in the PDF output the character
has been changed to '#'.
and also the alignment of some text has beed changed without line spacing in between.
Please let me know what could be the problem and how to solve this issue.
Thanks in advance,
Regards,
Sankara Chakradhar.Hi Prabhudas,
I am using the FM 'CONVERT_OTF' to convert the data to pdf.
The FM CLOSE_FORM is creating the IT_OTF internal table and the CONVERT_PDF uses that internal table to populate the IT_PDF internal table and then using the FM 'SO_OBJECT_SEND' to send the PDF file to mail.
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
format = 'PDF'
IMPORTING
bin_filesize = g_filesize
TABLES
otf = it_otf
lines = it_pdf.
Regards,
Sankara Chakradhar.
Maybe you are looking for
-
When I go to AppleTV, I select the PC and click on it...It start to open the Library, sending a messege "Charging Library from Victor Medellin" (the name of my PC) but never show it. It send a messege " Check the Apple TV is on the same net and iT
-
WAP4410N Access point and 4404 WLAN Controller.
Hello to all, I am planning to setup a new WLAN using WAP4410N Wireless N Access Point. Is it possible to manage the AP using 4404 WLAN controller ? I need to buy arround 42 AP for covering the entire building. Regards, Aslam
-
Exporting Data Of an RDBMS Table to another RDBMS Table using ODI Functions
Hi, I'm facing a problem while Exporting Data Of an RDBMS Table to another RDBMS Table using ODI User Functions. Name:- User_Func Group:- Training Syntax:- User_Func($(SrcField)) Implementation Syntax:- (CASE WHEN $(SrcField) > 40000 THEN 'HIGH' WHEN
-
Using classes inside of classes
I have created a custom sound class called MySoundClass that extends the Sound class... it is declared as class com.stickyMatters.WineGlassPiano.MySoundClass. I also have another class called SongPlayer that is declared as com.stickyMatters.WineGlass
-
Activation date passed - No broadband
Hello, My activation date was yesterday and after installing the hub, waiting until midnight for a connection, as of 8:25am this morning, the homehub is unable to obtain a connection. Upon starting it does nothing but flash orange and if I'm fortunat