on 11-21-2007 8:26 PM
Hello
in spite of ≠ threads on this subject I cannot get to map 2 nodes from ≠ BAPIs.
This is the story:
I've got 2 BAPIs: Z_X_SHOW and Z_X_UPDATE
they both have the same structure but one as output, the other as input parameters.
I've tried to copyElements but an error says they are not alike.
The problem is they have heaps of elements !!! And I don't want to 'set/get' them one by one !!!
Any idea ?
Message was edited by:
Philippe Delalande
Hi Philippe,
Create a Value Node in the Context and check the box for creating a Model Binding with the Model node when u create the Value Node.
Then select all the fields you want to copy and click finish.
Once that is done right-click on the Value Node u have created and click <b>Delete Model Binding</b>.
In your code try this piece of code:
<b>wdCopyService.copyElements(wdContext.node<ModelNodeName>,wdContext.node<ValueNodeName>);</b>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Are you using WDCopyService?
Normally RuntimeException occurs if target is a model node and
source is not a model node holding the same class.
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can you put the code that you have tried
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.