cancel
Showing results for 
Search instead for 
Did you mean: 

about parameter mapping

Former Member
0 Kudos

Hi experts

can anybode tell me where the variable is defined when i use parameter mapping? thanks a million!

Accepted Solutions (1)

Accepted Solutions (1)

former_member485701
Active Participant
0 Kudos

Hi

you can do the parameter mapping in wdDoModifyView in the firstTime

Like following is the example how we do parameter mapping for network UI element for it's custom action.

In the same manner you can do for other UI elements also.

IWDNetwork network = (IWDNetwork)view.getElement("Network");

IWDParameterMapping mapping = network.mappingOfOnCustomCommand();

mapping.addSourceMapping("graph", "graph");

mapping.addSourceMapping("component", "component");

mapping.addSourceMapping("parameters", "parameters");

Feel free to ask queries regarding this.

Regards,

Praveen

Former Member
0 Kudos

HI

can you tell me where the "graph" "component" "parameters" are defined?thanks a million!

former_member485701
Active Participant
0 Kudos

Hi,

These parameters you have to add in the action's parameter.

Open View layout,click on the action Tab.

select the action and add new parameters with these names.

Regards,

Praveen

Former Member
0 Kudos

Hi,

I think you want the details of these parameter mapping as documents.

Hope below link will help you:

[http://help.sap.com/saphelp_nw04/helpdata/en/8f/aa63688343bd40aafc537971aee068/frameset.htm]

If you see the UI elements details in this link you will find Event Parameter in Events section for each UI element.

And you can use these parameter mapping in wdModifyView().

thanks & regards,

Manoj

Edited by: Manoj Kumar on Jan 14, 2008 10:56 AM

Answers (0)