on 06-20-2005 2:15 PM
Hi all,
I'd like to create a View report icon in my application mainApp, that, when being clicked, open a new window (reportWindow) with ready-to-print report.
To do so, I:
- created a new application (reportApp), with a new window (reportWindow) and a new view (reportView).
The reportView's context is refering to the context of a custom controller
- created an action to be triggered by clicking on the View report icon. In this action, an external window refering to the reportApp application is being opened, after context of the custom controller is being populated
But now, I'd like my report to contain data 😄
Indeed, my report is empty... It looks like context of controller can't be shared between applications, despite windows reportWindow and mainWindow are in same component
Is it true ?
In that case, how can I make my report getting data from first application ? Should I use component controller instead of custom controller ?
Thanks in advance for any help
Hi,
If i am not wrong , Externalwindow always takes and URL as parameter and hence it will call a another application.
In the case popup, it will take window name as parameter which is in the same component.This will should your problem.
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
If the windows are in the same component then whats the problem with ComponentController ??
Even you can custom controller also.Please check the mappings once again !!!
Regards, Anilkumar
Message was edited by: Anilkumar Vippagunta
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please go through this.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/documents/a1-8-4/tutorial on inter-application navigation.htm
Regards, Anilkumar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anilkumar,
Thanks for your answer.
Actually, both windows are in the same component in my case.
So I think I don't need to do so much in order to have them sharing context.
Or should I create a new component ?
This seems so heavy stuff to do only a small thing: displaying data in pretty way (data is already known from a custom controller at the moment user chooses to display report) !!!!
I forgot to tell: my application is a standalone web dynpro application, not in portal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.