on 05-19-2014 4:37 AM
Hi,
I posted this question in the Workflow forum, but no joy there. Hopefully the NWBC gurus can help!
(Note: We are using SWF_WORKPLACE as a workflow inbox. This is a new implementation, and none of us have any NWBC or OBN experience.)
I have a workflow with a custom object attached - let's call it ZCL_REG_FORM_BUNDLE.
When a user clicks on the attached object, I want to trigger a webdynpro application to display the formbundle.
I see that it can be done via OBN, using transaction SWFVMD1.
In the tab Object/Method, I put the following entry:
Object Type Category CL
Object Type ZCL_REG_FORM_BUNDLE
Method name (blank)
Visualisation Type OBN
Parameters:
Object_Type TRM_NAVI
OPERATION DISPLAY_FORMBUNDLE
PARA1 &ZCL_REG_FORM_BUNDLE.GUID&
PARA2 (empty)
This _almost_ works - except for the PARA1 part. I don't know how to specify that
ZCL_FORM_BUNDLE.GUID is a variable that needs to be interpreted, instead of a string.
I tried putting &'s around it, curly brackets, $ etc. None of them work.
If I hardcode the GUID value in there, it works beautifully
I would be able solve this problem, I'm sure.,. if I could just see one working example.
Does anyone have one?. I would love a screenshot.
thanks
Paul
Thanks Samuli.
With a bit of debugging (another good method is CL_NWBC_RUNTIME35->RESOLVE_NAVIGATION) and a belated use of F4 I finally figured it out:
Object_Type TRM_NAVI
OPERATION DISPLAY_FORMBUNDLE
PARA1 &_OBJECT_KEY&
PARA2 (empty)
There is apparently no need to refer to the workitem. The object visualisation works fine without it,
cheers
Paul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.