on 11-28-2008 12:08 PM
Hello experts,
I have imported a rfc function. The model node has the Structure:
-> ZZpc_calender_input (modelNode)
-> portaldata(modelNode)
->attributes
Now I want to set the input attribute of the model node "portaldata". But unfortunately I am not able to do this.
Could anyone please explain how to solve this.
Regards
Marco
Hi,
ZZpc_calender_input (modelNode)
-> portaldata(modelNode)
->attributes
In case the respective cardinalities are 1..1, 0..n for your two nodes. you will need to create the elements in the "portaldata" node.
How this is done is:
1.) You create an object of the Model.
2.) Create an object of the first Node's Model Class and pass the object you created in (1) as a parameter
3.) Create an object of the second Node's Model Class and pass the object you created in (1) as a parameter
4.) Bind the second object to the first Node's Model Object
5.) Set the parameters to the Second Object. This would be the different set***() methods for the portaldata elements.
6.) execute your model
7.) invalidate the node of the root element to populate it with data
I understand the my points may be quite difficult to follow so an excellent tutorial to follow is "Controller Coding Explained".
Please use the above keywords and find the .pdf file in SCN's Library Section.
Hope that this helps.
Thanks.
p256960
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.