2013 Apr 05 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
2013 Apr 09 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 :
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
2013 Apr 05 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.
2013 Apr 05 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 ?
2013 Apr 05 10:39 AM
txt file is not getting correct data.What can be the reason?
2013 Apr 09 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 :
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |