on 04-16-2010 7:51 AM
Hi,
I am migrating the custom action code that is written for xMII 11.5 to MII 12.0. I read that the only difference in creation of custom actions from 11.5 to 12.0 is the package name structure has been changed from com.Lighthammer to com.sap.xmii.
In the process, for the new xMII classes i downloaded a JAR from custom action developer kit which is available over SDN and started using the XMII.jar file for all the internal MII class references. Somehow, it seems there are few things which are missing in the JAR. I am unable to find actionObject attribute of AbstractActionDialog class.
The following statement which used to work in 11.5 is not working in 12.0
((MaterialMasterAction) actionObject).setInput(input.getText()) for passing the input from dialog to action object.;
I am getting an error actionObject cannot be resolved.
Can anyone tell me if this is changed or the XMII jar i am using is out of date ?
Thanks,
Prasad.
Object actionObject = super.getAction();
if(actionObject instanceof MaterialMasterAction)
{
MaterialMasterAction ma = (MaterialMasterAction) actionObject;
}
This way one can get the handle to the action object and can pass the values.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
11 | |
6 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.