on 08-23-2005 7:13 AM
Hello,
i have imported an adaptive rfc model.
When i use it on a view, giving the import parameters over a textview and showing the results in a table everthing works fine.
But when i set the input-parameter programmatically with a line like this:
wdThis
.wdGetCompController()
.wdGetContext()
.currentZ_FUNCTION_MODULE()
.setMyAttribute(parameter);
it does not work and i do get no errors - what can it be?
Thanks for help,
André
hi,
i think you are trying to set the context attributes in the component controller, try to set the attribute in the view. i mean try writing the code in the implementation of view, like
wdcontext.nodezfunc_module.currentzfunc_moduleelement.setmyaatribute(parameter);
regards,
rahul.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Andre,
As you told, When you passing the value from the screen it works perfectly.So, there is no problem in initializing Model.
You have to write following code in view and context of this view should be mapped with controller.
wdContext.currentZ_FUNCTION_MODULEElement().setMyAttribute(<value>);
Write this statement before executing your model.
Regards,
Bhavik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi,
Can you explain what all steps you have done ,
Where you are calling the execute method ?
Give the code inside the execute method also
Regards
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.