cancel
Showing results for 
Search instead for 
Did you mean: 

Error for 2007 document

Former Member
0 Kudos

Dear All.

We are using DMS application we are printing BPR through COPI transaction here we have assigned Zprogram for printing the word document currently we are using 2003 word document it's working fine.

Now same we want to start with 2007 word document for taht new Workstation application created with fill format *.docx but in COPI not able to print the document. Is DMS support for 2007 document????

Reagrds.

dev123....

Accepted Solutions (0)

Answers (2)

Answers (2)

MangeshP
Active Contributor
0 Kudos

Dear Dev

Can you please explain us what you are trying to achive.

What have you developed and what are you trying to Print?

Provide technical details what programs, Function modules orBAPI's used.

Are these Word documents attached to DIR in SAP DMS. This will help us to get to the solutions faster.

With Warm Regards

Mangesh Pande

former_member188883
Active Contributor
0 Kudos

Hi,

Microsoft office 2007 is well supported by SAP DMS. You need to check your configuration for workstation application.

Hope this helps.

Regards,

Deepak Kori

Former Member
0 Kudos

Hello Deepak...

Thanks for reply in configration i have defined new work station for 2007 document as .docx, document is uploding without any error aslo i can open it without error but facing problem at the time of print through COPI by our Zprogram. Can we try to take print of document through standard program for testing purpose???

Regards.

dev123

former_member188883
Active Contributor
0 Kudos

Hi,

I do not have much idea on custom print programs. May be standard print program should help.

If you can share the error message you get, I can try to help you.

Regards,

Deepak Kori

Former Member
0 Kudos

Hello.

After Debudgging find error as u2018DOCUMENT_TYPE_NOT_REGISTEREDu2019 so taht for printing document is not openning..

Regards...

former_member188883
Active Contributor
0 Kudos

Hi,

Can you check your code and ensure that similar piece of coding is done.

CREATE OBJECT container

EXPORTING

container_name = custom_container.

CALL METHOD c_oi_container_control_creator=>get_document_viewer

IMPORTING

viewer = document_viewer.

CALL METHOD document_viewer->init_viewer

EXPORTING

parent = container.

CALL METHOD document_viewer->view_document_from_url

EXPORTING

document_url = doc_url.

This will render .docx document in the container.

Hope this helps.

Regards,

Deepak Kori