cancel
Showing results for 
Search instead for 
Did you mean: 

access to wdComponentAPI in wdDoModifyView?? SAP helpfile error?

Former Member
0 Kudos

Hi,

I want to get some messages from my messagefile in the wdDoModifyView. I saw that this was possible using the wdComponentAPI which i saw in one of the SAP helpfiles...see <a href="http://help.sap.com/saphelp_nw04/helpdata/en/72/1d6526263ff24995016a152705eab2/content.htm">helpfile</a>

but the wdDoModify is a static method and the wdComponentAPI is not...thus can never be used there! Is this an error in the helpfile or have some things changed or I'm I missing something?

much thanks,

Hugo

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi hugo,

wdThis.wdGetAPI().getComponent().getTextAccessor(); is possible.

Kind regards,

J.

Former Member
0 Kudos

Hi Joren,

Thanks, you're right! The code example in the SAP help file is wrong.

Best regards,

Hugo

Answers (0)