cancel
Showing results for 
Search instead for 
Did you mean: 

F1 help for webdynpro Component

Former Member
0 Kudos

hi all,

My requirement is when i press the F1 help on a webdynpro component a word doc should open.

Is it possible to do that?

if so please tell me how to do that?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

Can you be more specifc.

F1 on WD compoenent. Have you deisgned the WDA for this. Where you want to show this WD component.

Regards,

Lekha.

Former Member
0 Kudos

i want to add a documentation(word doc ) in a webdynpro component.

the doc will contain the flowprocess of the component. it is for future reference.

so i just want to know is there any way to add a text document in a webdynpro component.

i mean is there any method?

Pls help me.

Former Member
0 Kudos

Hi,

Create a LinkToAction UI element in the view of the component and implement an action for that.

Now, You can use the

Refer this link -

http://forumsa.sdn.sap.com/click.jspa?searchID=32290382&messageID=8143957

Is this WDA deployed on portal. If it so, Then you can use the Knowledge repository where these documents are stored and you can access that upon this action of LINK.

Regards,

Lekha.

Former Member
0 Kudos

hi Lekha,

Thanks for your reply.

i have posted it wrongly.

I dont want F1 help. Let me tell u clearly.

I have created one webdynpro component. I want to add a document which contains the flow of the component like we do it in Reports.

Is there any way to add a document into the webdynpro component?

So that it can be used for future reference.

Former Member
0 Kudos

Hi,

I got your point. Create a LinkToAction UI element with text as Help.

On this Action, you can refer my previous post for the solution.

You can use the ATTACH_FILE_TO_RESPONSE of the cl_wd_runtime_services to display that document.

Where are these documents stored .

Regards,

Lekha.

Former Member
0 Kudos

hi Lekha,

how can i upload a doc in my application server because this is going to be deployed into portal.

Former Member
0 Kudos

Hi,

If this is gets deployed on portal, you can make use of the Knowledge Management(Repository) where the portal

team stores the documents. You can get the path of this document(PCD path) and LInkToAction UI element action handler, you can use the IF_WD_WINDOW_MANAGER and use EXTERNAL_WINDOW method to open in an exteernal window y giving that path.

FileUpload to Application server -

http://forumsa.sdn.sap.com/click.jspa?searchID=32290382&messageID=8054356

Regards,

Lekha.

thomas_jung
Developer Advocate
Developer Advocate
0 Kudos

If you want to keep the document with the devleopment object so that it is also viewable from SE80 easily, then I would suggest just uploading it as a MIME object as part of your Web Dynpro Component.