cancel
Showing results for 
Search instead for 
Did you mean: 

webdynpro componentization of view

Former Member
0 Kudos

Experts,

I have a WDA component/intf on se80<b> <i>"comp1"</i></b>, master view navigationg to detail view, working fine in an application, <b><i>"comp1-app1".</i></b> The entry point for this application is the mainview.

These views map their contexts to the component controller contexts. So they are tied to the same context of comp controller.

However, another WDA component/intf on se80 called <i><b>"comp2" </b></i>needs to USE this detail view. I have an application here [<i>b]"comp2-app1"</b></i>.

I tried to make an application USING the detail view within the <i><b>"comp1"</b></i> called <i><b>"comp1-app2" </b></i>and navigate to this application from the other<i> <b>"comp2-app1" </b></i>application using absolute navigation.

It does not work.

Should I have to componentize the detail view of the "comp1"?

Can you help?

It does not work.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Here are the steps

1.Define component usage

2.map the respective nodes for data change

3.embed the view into window

Hope it helps.

Nirad

Former Member
0 Kudos

I used the absolute navigation to<i> <b>"comp1-app2"</b></i>

will it not work?

Former Member
0 Kudos

Nirad,

I used absolute navigation to<u> <b>comp1-app2</b></u>

Will it not work.?

Former Member
0 Kudos

If you have mapped node of the application than data should be available to the other component,i guess .

Nirad

Former Member
0 Kudos

Nirad,

In the absolute navigation, how would I map the node of the application?

Are you talking about component usage with/without controller access as you mentioned above as 3 points?

Thanks a lot.

mohammed_anzys
Contributor
0 Kudos

Hi

Seems like the problem is with navigation.Whats the error that you are getting and how are you navigating to the first application ( it would be better if you could paste some code here ).

Thanks

Anzy

Former Member
0 Kudos

I used absolute navigation from one component to another.


CALL METHOD l_portal_manager->NAVIGATE_ABSOLUTE
  EXPORTING
    NAVIGATION_TARGET   = 'pcd:portal_content/com.psc.QA2L/com.psc.iviews/com.psc.wd_supplier_detail'
*    NAVIGATION_MODE     = IF_WD_PORTAL_INTEGRATION=>CO_SHOW_EXTERNAL_PORTAL
*    WINDOW_FEATURES     =
*    WINDOW_NAME         =
*    HISTORY_MODE        = IF_WD_PORTAL_INTEGRATION=>CO_NO_DUPLICATES
*    TARGET_TITLE        =
*    CONTEXT_URL         = 'http://gnwhepdev.xyz.com:8000/sap/bc'
*    POST_PARAMETERS     = ABAP_FALSE
*    USE_SAP_LAUNCHER    = ABAP_TRUE
    BUSINESS_PARAMETERS = bus_parameter_table
*    LAUNCHER_PARAMETERS =
.
*** Navigate Absolute ENDS HERE ******