on 10-30-2006 8:30 AM
Hi,
I am creating modelbinding using RFC call.After that i am binding model into context of custom controller.
My quastion is during model binding to custom controller
only that much model attribute is created in Input node or Output node in custom controller based on the attributes prasent in model.Suppose for employee table Bapi has one input field ie date and
two out put field ie emp_id and emp_name,suppose i am creating model using employee Bapi and binding this model
into custom controller it is creating one input field in Input node suppose it is date and two out put field model attribute ie emp_id and emp_name in Out put node,When i am trying to create another model attribute which will point to emp_name in out put node,it is showing message that you cann't create .So how i will create extra model attribute
that will point to emp_name in out put node.
Thanks & Regards
sailajit swain
Hi,
I did not understand your question clearly, why do you need an 'extra' model attribute which binds to the same model node, if there is already one.
Say for your Bapi,
Input: Date
Output: Name and Id
So, you create a Model node - say EMP_NODE
Click on Edit Model Binding.
Select the Corresponding Bapi Input node, Click on next
Select Date(which will go as your input).
Now click on Output
Under Output, select Name and Id.
When you execute the Bapi,
say wdContext.nodeOutput().invalidate();
You will get your output in the corresponding fields.
Cheers,
LM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.