on 03-03-2011 3:44 PM
Hi,
i am trying to call window of component usage ( as a popup using method create_comp_usage ), however the startup plug of the component usage's window is not being called, however i call the component using URL it is being called.
how can i call startup of plug of interface view?
please suggest.
refer the help text [http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/455c6980f81962e10000000a114a6b/content.htm|http://help.sap.com/saphelp_nw70ehp1/helpdata/en/47/455c6980f81962e10000000a114a6b/content.htm]
Component usages needs standard plugs.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
it means that start up plugs are relevant only if it called through wd application and start up plugs are not called when we call interface view using create_comp_usage method ( as pop up or window ).
i am able to display the interface view of compoent usage using create_comp_usage method, however i am still not understood how can i make use of standard plugs here, as i may not able to call these plugs outside the component, probabaly if i embed component usage's window in consumer components strucutre statically or dyanmically i can make use of standard plugs of interface view.
i am displaying interface view using the above mentioned method and code related which i am looking for is in startup plug of component usage which is standard wd component!!
correct me if i am wrong above!!
>
> it means that start up plugs are relevant only if it called through wd application and start up plugs are not called when we call interface view using create_comp_usage method ( as pop up or window ).
Yes, it is correct.
> i am able to display the interface view of compoent usage using create_comp_usage method, however i am still not understood how can i make use of standard plugs here, as i may not able to call these plugs outside the component, probabaly if i embed component usage's window in consumer components strucutre statically or dyanmically i can make use of standard plugs of interface view.
You have interface property in plugs, if they are checked then they are available as part of the interface.
i am displaying interface view using the above mentioned method and code related which i am looking for is in startup plug of component usage which is standard wd component!!
According to my tests, create_window_for_cmp_usage is not at all going through the plugs, when the
window->open() is called wddoonopen method is called and then wddoinit method is called.
After that the default view in the window rendered as popup.So i would not put all my logics inside these plugs.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
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.