cancel
Showing results for 
Search instead for 
Did you mean: 

CV01N/CV02N/CV03N DMS to open Word .dot document. The macro is desabled.

Former Member
0 Kudos

Hello everyone

We have created a ".DOT" Word document containing (Visual Basic) commands to ask the user to enter 2 fields.

When that is done, the user can press on buttons to print or cancel.

We stored that document in the DMS (CV01N)

The document is working perfectly when it is opened from the OS.

But when it is open using the CV02N or CV03N the (Visual Basic) commands doesn't work. In fact the document is open but the macro, in the document, is not launched.

When we are trying to execute the Visual Basic commands, Word indicate that the macros are desabled by SAP at the openning of the document.

How can we specify to SAP to open the .dot document and enable the macros?

Regards

dstj

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

I didn't find any solution yet.

Any suggestion will be highly appreciated.

Regards

Former Member
0 Kudos

hi,

Check did u set Application type for change display print in Defin workstation application.

Application type

1.Display

2.Change

3. Print

Also check in Set office integegration field

Set flag, Export

Doc data

Text

Also check

wiki page,

https://www.sdn.sap.com/irj/scn/wiki?path=/display/plm/office2007formatsinDMS

http://help.sap.com/saphelp_erp60_sp/helpdata/EN/e9/0be775408e11d1893b0000e8323c4f/frameset.htm

http://help.sap.com/saphelp_erp60_sp/helpdata/EN/e9/0be775408e11d1893b0000e8323c4f/frameset.htm

Benakaraj ES

??

Former Member
0 Kudos

Hello benaka rajes

Thank you for your reply.

Unfortunattely it didn't solve my problem.

There were nothing in the "Set office integegration".

I add, like you suggest the information.

But, there were not change.

The Visual Basic macro inside the document doesn't start automatically when the document is opening.

The error message. "the macro is desable" was created by the security level related to macros in Word.

I do not have the error message anymore, but the macro doesn't start automatically when the document is opened through SAP transaction CV02N.

Regards

dstj