on 11-24-2006 2:08 PM
In screen painter I can take advantage form the SET/GET PARAMETER IDs mechanism in order to fill fields with defaults values.
It is not necessary to program anything, screen painter (if enabled) sets the value and retrieves it from the memory.
It seems that in Web Dynpro it is necessary to program the GET PARAMETER ID in the WDMODIFYVIEW and the SET PARAMETER ID in one of the event handlers.
I know that the Web dynpro application's parameters could be used to start the application from the portal with predefined values but I have already them in the User Master Data (SU3 or SU01)...
Anybody has experience? Any suggestion?
Thanks a lot,
Sergio
The way WDA supports defaulting is superior to SAPGUI.
Since the context can have a default and then there is explicit configuration.
This is better than PIDs. Obviously legacy support for PIDS is useful.
If a developer didnt use an old SAPGui PID on a WDA Context element, that was his programmatic choice / oversight.
There is not a property setting for it, and it would be a suprise to see it, since PIDs are an ABAP only concept. How should WDA JAVA or other clients utilize it?
However, inside your WDA code, you can source and set defaults easily.
So with 2 lines of code, you can resolve the issue.
Use
GET parameter ID
and
SET parameter id
, if you need your WDA component to use class PIDs.
regards
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
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.