Skip to Content
0
Former Member
Apr 09, 2009 at 02:23 AM

Please help..Issue on getting parameter from a backend fm

10 Views

Dear Expert,

I have a requirement which is to edit the ess~cod for the employee communication. I have copy out the function group ZHRXSS_COD_INTERFACE. I created my own function module ZCOD_VALIDATE and attached to the function group. My funtion module are just returning an export parameter and a table without getting any import parameter.

I have create a ZCodModel (pointing to the ECC function group) and the model class is ZCod_Validate_Output. I have done all the reimporting of the model and context binding. My question is why i still not getting any value from the function module. I tested the fm in ecc and it works well.

I have added the following code in do init.

*************************************

ZCod_Validate_Input Input = new ZCod_Validate_Input();

wdContext.nodeZCod_Validate_Input().bind(Input);

try {

wdContext.currentZCod_Validate_InputElement().modelObject().execute();

wdContext.nodeCod_Validate_Output().invalidate();

} catch (Exception ex) {

fpm.getMessageManager().raiseException(wdThis.wdGetAPI ().getComponent(), ex);

}

************************

Anyone can tell me why i am not getting the parameter? Please help me.

Thanks.

Regards,

Bryan