Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Table value (selected row) haven't come to Input

Hello expert,

According to my app, I have a page which like this:

When I press the F4 (ValueHelp) the dialog is coming have table and table values are coming from SAP.

And I want, when I press the image input should fill "20004140" like from table.

Here is my example of code :

oTable.addColumn(new sap.ui.table.Column({

            width : '50px', // "80px",

               flexible : false,

               template : new sap.m.Image({

                 height : "40px",

                 src : "image/turkish_airlines.png",

                 // <---------------------- Press Event ---------------------->

                 // register function for press event on the image

                 press : function(oEvent) {


                var page4 =  sap.ui.getCore().byId("page4");




                 var oInput3 = new sap.ui.commons.TextField('oInput3',{

                         value : "{MATERIAL}"



                    var oInput4 = new sap.ui.commons.TextField('oInput4',{

                         value : "{BATCH}"



                  var ProductId3 = oInput3.getValue();

                var ProductId4 = oInput4.getValue();







//                          oCreateDialog.bindProperty("title", "MATERIAL");




But there is no value come to my inputs right now. Could you please help me for this?


Ogulcan G.

Former Member
Not what you were looking for? View more on this topic or Ask a question