on 01-11-2012 9:14 PM
Hello *,
I need to create several dialogs to display / maintain detail data of an object and return the potentially changed data as well as an indicator whether the dialog was properly processed or cancelled / aborted with errors. It should be possible to call this dialogs in a popup.
As an example I'd like to pass an equipment number to such a dialog and maintain it. As a result I'd like to return the changed data to the caller.
In classical dynpros I would encapsulate a dynpro within a function module to allow reusing the screen, but how do I do this in WDA?
If it matters, we are currently using a NW 7.0 EhP 1.
Thanks in advance and best regards,
Alej
Hello,
Search for 'component Usage in Web Dynpro ABAP'. You will get lot of threads and articles related to this.
Thanks & Regards,
Kiran.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kiran,
at first thanks for your quick response!
I'm already familiar with component usages, but I only used them for embedding components in ViewContainer UI elements. Is there a way to call them in a modal popup dialog?
Nevertheless I would generally prefer a more decoupled solution like my example with the function modules. Using classical dynpros I can open the popup and return values to the caller quite easy. If I have to use component usages I'd have to embed them in the caller, bind the contexts and use event handling to process the returned values (which would split the logic into several methods). Am I correct or is my way of thinking obsolete when working with WebDynpro?
Best regards,
Alej
Hi Kiran,
Is there a way to call them in a modal popup dialog?
Hi,
Yes this is how we have to do in Web Dynpro ABAP. Create a component(Reusable) and use that component in your component and create one more window in your component and call that window as a popup window.
check this for pop up window reference: http://wiki.sdn.sap.com/wiki/display/WDABAP/WebDynproapplicationtodisplayaPop-upwindowonthebrowser
hope this helps u,
Thanks & Regards,
Kiran.
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.