cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to open .PPTX files in web dynpro application

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Sandra_Rossi
Active Contributor
0 Kudos

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?

raymond_giuseppi
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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&Regards,

Lokesh