Skip to Content
0
Former Member
Jan 08, 2008 at 05:16 PM

Passing multiple parameters to T-Code

85 Views

Hi Experts,

I have a table that contains material numbers and messages.

When the user selects ' n' number of material numbers using a check box, and click on Edit, it should take the selected material numbers and call the transaction iview passing all these parameters.

My T-Code accepts multiple parameters through an input box.

Pl find my code for getting the values from table.

public void onActionEdit(com.sap.tc.webdynpro.progmodel.api.IWDCustomEvent wdEvent )

{

//@@begin onActionEdit(ServerEvent)

MATNR="+wdContext.currentContextElement().getSuccessMatNumber());

for(int i=0;i<wdContext.nodeSuccessNode().size();i++)

{

if(wdContext.nodeSuccessNode().getSuccessNodeElementAt(i).getChkBox()==true)

{

//What should I do here with the selected values??

}

}

Thanks

Anjana