cancel
Showing results for 
Search instead for 
Did you mean: 

RFC

Former Member
0 Kudos

Hello All,

I have binded a Input field with RFC import Parameter, but When I deploy the Input field is not editable.

Please Help

Regards,

CSP

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

Hi Pradeep,

I think u have a problem in mapping the nodes from model to the component controller.Not map the nodes by using click and drag from model to component controller.use Apply Template in component controller and then map the model Nodes and Attribute to component controller.I think this will solve u r problem.

Regards,

satheshkumar.R

former_member751941
Active Contributor
0 Kudos

Hi Pradeep,

Instead of binding the RFC import Parameter as a field of view .

Bind the value attribute to the view.And pass the value attribute during execution of RFC.

If you fields are under Node (0..n or 0..1)

then you have to initialize your node in side "public void wdDoInit()" Method.

For 0..n node use code inside wdDoInit.

wdContext.node<node_name>().addElement(wdContext.create<node_name>Element());

For 0..1 node use code inside wdDoInit.

wdContext.node<node_name>().bind(wdContext.create<node_name>Element());

Other wise you can change the node cardinality to 1..1 or 1..n

Regards,

Mithu

Former Member
0 Kudos

Hi ,

you need to initalize the RFC before dispalying the view.

i.e

<RFC>_Input input= new <RFC>_input();

wdContext.node<RFC>_Input().bind(input);

insert this code in either controllers or views init method.

Regards,

Sunitha Hari

Former Member
0 Kudos

Hi,

You need to instantiate the RFC inorder to enable the Input Filed. Once tou do that it will be automatically editable.

Thans & Regards,

Jhansi

Former Member
0 Kudos

Hi

In this case you can create a context element and bind it to the InputField. You can assign this context element to the RFC import parameter.

This time the InputField will be Editable and Enabled.

Regards

- Vinod

*