cancel
Showing results for 
Search instead for 
Did you mean: 

Re-importing a Model

Former Member
0 Kudos

Hi.

In my application, I have a RFC that give me some information like a single line, but now, the RFC is updated, and returns a table.

Well...

In my application, I'll take this information, and forward them to a new value node... I'm forwarding this information to that node, in my code.

But now, when I try to run my application, I receive this message:

must not bind more than one element to a Node of cardinality 0..1 or 1..1

I don't know what to do...

My nodes are:

cardinality: 0...n

selection 0...1

Anyone can help me!?

Thanx

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

hi,

Change the cardinality of your node from 0:n to 1:n.

If it doesnt help, please do revert back.

Former Member
0 Kudos

Doesn't work.

My first RFC forward some values to other RFC... but in the second, we have only a single input parameter.

Now, we're changing this, to receive a table of parameters... Maybe this solve the problem.

Thanks

Former Member
0 Kudos

Hi again.

After the reimport of my model, when I click on the imported model, I can see the cardinality 0..n, but in my contexts, it still 0..1

How can I change my contexts?

Why they don't be updated too?

Thanx

monalisa_biswal
Contributor
0 Kudos

I would suggest you to delete your model node and recreate once again as it is not possible for you to modify the cardinality of the model node.

Former Member
0 Kudos

Hi Glauber,

The model is correctly imported, The model node shows cardinality as 0..n, which means that it is now capable to hold multiple (not single) set of values (rows). The model attributes will all be 0..1 or 1..1 according to their appearance in a row of the table.

Once you have reimported the model, try to update the Binding betwwen the model and the View Contexts. Remember, the cardinality of the context nodes can only be updated from the controller where it is mapped and not in the view. You can also try deleting the binding and creating it again.

If these do not help, you can try restarting the J2EE engine as indicated in previous post as RFC models may need a cache refresh.

Regards,

Alka.

Answers (2)

Answers (2)

Former Member
0 Kudos

Based on the replies, I found the answer to this problem.

After reimport, I recreate all the context mappings, and it works.

Former Member
0 Kudos

Please try by deleting the existing model binding with the context and create a new model-to-context binding.

Regards,

Sayan Ghosh

former_member192766
Participant
0 Kudos

Try to restart the J2EE engine, sometimes it helps!.