cancel
Showing results for 
Search instead for 
Did you mean: 

WDA - SET/GET Parameter ID ?

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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

Former Member
0 Kudos

Help, I need the Code!

Thx

Answers (0)