Skip to Content

Cannot read property 'setData' of undefined

pass-error.txtHi All,

I am passing value from one view to another view,useing simple form .

I am getting error unable to read Cannot read property 'setData' of undefined.

A)

B)

Code:

pass-error.txt

Can anyone help me ,what is missing in code.

Thanks and Regards,

SAM



err1.jpg (97.6 kB)
erro2.jpg (90.3 kB)
pass-error.txt (6.4 kB)
pass-error.txt (6.4 kB)
Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    Apr 24 at 03:34 PM
                                      		          new sap.ui.commons.Button({
                                      		    	                              text : "SubmitData",
                                      		    	                              width : "100px",
                                      		    	                              height : "25px",
                                      		    	                              press : [oController.senddata,oController]
                                      		    	                              
                                      		          })
                                      		      

    Add comment
    10|10000 characters needed characters exceeded

  • Apr 25 at 04:45 AM

    Hi Jun Wu,

    Thanks for your input..

    It's not working..

    Regards,

    SAM

    Add comment
    10|10000 characters needed characters exceeded