cancel
Showing results for 
Search instead for 
Did you mean: 

unable to enter data in Input fields during run time.

Former Member
0 Kudos

Hi all,

I have a problem to enter data into input fields during run time. I am getting data from back end and creating records in backends too. But unfortunatelly i am unable to enter data in input fileds. Context and backend every thing is fine. Any one knows abt this type of error.

Thank you

Ravi Golla

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member189631
Active Contributor
0 Kudos

Hi Ravi,

  • Set the cardinality Property of your UI element as 1:n

*Set the default values to your Context Via Coding.

Regards,

Ram.

Former Member
0 Kudos

Hi All,

Firstly Thank you for prompt responding. I already created new element in Component Controller. But still i see cardinality value of model node 0..n. I can't change the value of cardinality value of context of view. can any one tell me with example.

Previously i have done example project, their i enter value in text field and i got results from backend. I do not understand why this one not working!.

Can any one help me in codeing.

Thanks a lot

Regards

Ravi.Golla

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

no dont think for changing the cardinality, instead create the value node or value attribute , retrieve the value from user in them and them map them to import parameter of rfc ,

or if you want to take use of model class then create its element as ,

Zab_Get_Ticket_Input tickIp = new Zab_Get_Ticket_Input();

IPrivateGet_ticket_applView.IZab_Get_Ticket_InputElement ipEle = wdContext.createZab_Get_Ticket_InputElement(tickIp);

wdContext.nodeZab_Get_Ticket_Input().bind(ipEle);

put this in WdDoInit()

hope it helps

regards

Former Member
0 Kudos

Hi Ravi,

Check these,

1) Please check the binding with your UI element

2)Try to Set Default values to that partcular context attributes

3)Check the cardinality property (1:n).

Regards,

Dhana.

abhijeet_mukkawar
Active Contributor
0 Kudos

hi,

if you are not able to enter data in input fields in WD application, check out

1) if the UI element binding is done properly , you should not directly bind the inport parameter to UI element , better bind them with some value attributes and then set them into the import parameter of the RFC.

2) If it is alreadt bound to the value node then check out the cardinality of that node if it is 0.1 or 0.n then you need to create element and then bind that to the node or change its cardinality to 1.1 or 1.n

hope it helps

regards