Skip to Content
0

Not able to open .PPTX files in web dynpro application

Nov 22, 2016 at 10:54 AM

81

avatar image
Former Member

Hi ,

I have uploaded a .pptx files using 'FM:- SO_OBJECT_UPLOAD ' . While uploading the .pptx file, it is saving as .ppt file only. In the debug i have seen that there is import field 'act_objtype' it is having only 3 characters, That's why it is saving as .ppt instead of .pptx. ( Not only for .pptx others file also .docx, etc.)

While reading the document i am using the Class /MRSS/CL_DPR_UTILITIES method GET_EMP_ATTACH_DATA ( In the method we are using using FM:- SO_DOCUMENT_READ_API1. to read the data ).

The problem is we can't able to open the .pptx file, it was showing the below error.

Can any one help me in this how to overcome this issue.

pptx.png (40.0 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Raymond Giuseppi
Nov 23, 2016 at 06:26 AM
0

Is the FM /mrss/squ_object_upload available on your system?
(it's a copy of so_object_upload with less restriction on file name)

Regards,
Raymond

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Raymond,

Yes the FM /mrss/squ_object_upload is available but the problem is the importing field 'act_objtype' is having the same data type(3 characters).

Thanksℜgards,

Lokesh

0
Sandra Rossi Nov 23, 2016 at 08:22 AM
0

I remember that there's a SAP note about the length of extension of files in SAPoffice (from 3 to 4 characters). Did you check it?

Share
10 |10000 characters needed characters left characters exceeded