04-05-2013 6:47 AM
Hi,
I am trying to upload files from my Web portal to Masters like Customer,Vendor etc.I am using SO_OBJECT_INSERT for this.The attachment is happening,but only for a few file types.For files like txt,pptx,docx,xlsx it is uploading corrupt file.Can anyone help me sort out this.
Regards
Lavanya
04-09-2013 1:03 PM
Got the solution...
We need to use the class CL_FITV_GOS,Save method.But this class won't be available if Travel Management Module is not there.SO,here is the link which has the source code of that method.
http://scn.sap.com/thread/1345017
Related links :
04-05-2013 8:42 AM
I had something similar. Using abap2xlsx, I created an Excel file and sent it to SAPOffice, which is then reflected in the portal in the UWL. When I tried to open the excel, I got a message as attached.
Clicking through the message the excel opened fine. A search on OSS showed that this is fixed in a portal support package.
04-05-2013 9:00 AM
See...In FM SO_OBJECT_INSERT,the parameter object_hd_change has a parameter FILE_EXT,which is of length char 3.So,how can we use files like docx,xlsx ?
04-05-2013 10:39 AM
04-09-2013 1:03 PM
Got the solution...
We need to use the class CL_FITV_GOS,Save method.But this class won't be available if Travel Management Module is not there.SO,here is the link which has the source code of that method.
http://scn.sap.com/thread/1345017
Related links :