cancel
Showing results for 
Search instead for 
Did you mean: 

Call WD Component

Former Member
0 Kudos

Hi all ,

I want to call an WDComponant in a ViewContainerUIELEMENT.

witch function can i Use to call it in my own WDComponent.

Summary: i have WDComponent1 witch have aVIEW -> main ->ViewContainerUIELEMENT i want to call -> WDComponent2

Any one have an idea please!

B-regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

For component usages, you can refer to Standard WD4A component WDT_COMPONENTUSAGE.

Former Member
0 Kudos

HI ALL,

Thank U a lot for replying

What i want :

Exemple this function call an other VIEW from the same component1 and display it in the MAIN_VIEW1of the component1 :


CALL METHOD l_nav_services->do_dynamic_navigation
    EXPORTING
      source_window_name        = 'ZZ_HRWDYNPRO'
      source_vusage_name        = 'MAIN_USAGE_0'
      source_plug_name          = 'PERSONNEL_INFORMATION'
      target_view_name          = 'PERSONNEL_INFORMATION'
      target_plug_name          = 'IN'
      target_embedding_position = 'MAIN/CONTENT'.

Now what i want is a function that can call a component2 and Display his MAIN_VIEW2 in the the MAIN_VIEW1 of tha component1.

B-Regards

Former Member
0 Kudos

you can declare the usage of component2 in component1 and embed the view of component2 into viewcontainerelement of component1 by going to window

Thanks

Bala Duvvuri

Former Member
0 Kudos

For more information about Component Usage refer to this link:

http://help.sap.com/saphelp_nw04s/helpdata/en/0e/496ad66c601349a730502d3ea26e05/frameset.htm

Regards

Manas Dua