on 10-17-2008 10:02 AM
Hi all,
we like to do the following for a WD ABAP application with an included ALV:
- create configuration 1 => URL: ...CONFIG_ID=Z1
- create configuration 2 => URL: ...CONFIG_ID=Z2
when the application is called the included ALV should display
- for CONFIG_ID Z1 => layout 1 (say columns A, B, C)
- for CONFIG_ID Z2 => layout 2 (say columns A, D, F)
We have created the configurations. We have also created globale layouts for the ALV (via sap-config-mode=X)
How can we link the CONFIG_IDs and the layouts together?
Thanks in advance.
Best regards
Thorsten
Hi Sebastian,
thanks for your answer. I did some handling error, but also found out in the end that this particular WD page does not allow me to have different default layouts depending on the config ID, because the application is overwritting my ID (some backend logic)
Cheers
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sebastian,
thanks. I do this, but this does not set the corresponding view in the included ALV component. Any more ideas?
Cheers
Thorsten
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
well I think I got something wrong. You just talked about the administration mode and not about themes?
I doubt that dynamic components can be configured by administration mode, because your ALV columns exist just at runtime.
But you can give it a try, if you configure it properly.
Create for each different layout a component configuration of the ALV component.
Assign each component configuration to a application configuration of your calling application.
Call each appl config in administration mode and configure.
If it then does not work, dynamic components cannot be configured.
You assign the configuration ID via the URL, don't you?
So add the theme to the URL, too.
www.myurl.com/sap/bc/webdynpro/sap/myappl?sap-ep-themeroot=pathtotheme&sap-wd-configId=configId1
Edited by: Sebastian Menger on Oct 17, 2008 11:15 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
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.