2007 May 15 6:33 PM
It is still unsolved mystery.
Why OLE is not working after upgarde??
Pls check below thread & I have same problem.
My prog run fine in 46C but in ECC60..it's open MSWORD but did not include table.
I have done & checked all config settings related to SOLE. I thought it could be issue with SAPGUI since we have 620 but then why is running in 46C?
Any one has any idea?
Thanks,
Arpit
2007 May 15 7:01 PM
Arpit,
Open up MS Word, go to menu bar and choose: Tools > Option > Security tab > Macro Security... > and set security to Medium.
Apply it and re-run your SAP app.
2007 May 15 7:20 PM
John,
Macro Security. is already in medium. I put low also but no effect.
Prog in ECC 60 open MS word but doesn't insert table or contents.
But same place when I log into 46C and run. System open MS Word with table.
I m confuse. I can't debug also. I cudn't find any notes.
Thanks,
Arpit
Anyone??
Should I talk to SAP?
Message was edited by:
Arpit Nigam
2007 May 15 8:52 PM
How is your ABAP calling up Word?
Please include the Func Mod (or whatever code is in this area).
2007 May 15 9:40 PM
Pls see below code....
System is failing at bold statements.
FORM CALL_MSWORD.
DATA: WORDOBJ TYPE OLE2_OBJECT,
I TYPE I.
DESCRIBE TABLE ADRS_DATA LINES SY-TABIX.
CHECK SY-TABIX GT 0.
CREATE OBJECT WORDOBJ 'Word.Basic' .
CALL METHOD OF WORDOBJ 'FileNew' EXPORTING #1 = 'normal.dot'.
CALL METHOD OF WORDOBJ 'AppShow'.
<b>CALL METHOD OF WORDOBJ
'ToolsCreateLabels'
EXPORTING #1 = '0'
#2 = PETTY
#3 = PETNO
#4 = '0'
#5 = '0'
#6 = '0'.
</b>IF NOT PETFT IS INITIAL.
CALL METHOD OF WORDOBJ
'Font' "WBIK018729
'Schriftart' "WBIK018729
EXPORTING #1 = PETFT
#2 = PETCS.
ENDIF.
DO PSKET TIMES.
CALL METHOD OF WORDOBJ 'NextCell'.
ENDDO.
LOOP AT ADRS_DATA.
IF SY-TABIX NE 1 AND ADRS_DATA-XFELD EQ 'X'.
CALL METHOD OF WORDOBJ 'NextCell'.
IF NOT PETFT IS INITIAL.
CALL METHOD OF WORDOBJ
'Schriftart' "WBIK018729
'Font' "WBIK018729
EXPORTING #1 = PETFT
#2 = PETCS.
ENDIF.
ENDIF.
<b>
CALL METHOD OF WORDOBJ 'Insert' EXPORTING #1 = ADRS_DATA-LINE.
CALL METHOD OF WORDOBJ 'InsertPara'.
</b>
ENDLOOP.
ENDFORM. " CALL_MSWORD
Any clue??
I tried all ways..
Message was edited by:
Arpit Nigam
I solved the problem. Hence I am closing it.
Message was edited by:
Arpit Nigam
2007 May 29 9:16 PM
2008 May 21 4:23 PM
hi, can you tell me how do you solve the problem?
I also met such problem.
Best regards,
2008 Jun 29 1:25 AM
Hi Arpit,
Appreciate a lot if you can share the solution for this.
Thanks
Kiran