Skip to Content

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

Submit Table data to Web Service

Hello Tech Gurus,

                                 I am relativ ely new to SAPUI5 and I have built a app in which there is a table and the data is in json format coming from a Web Service , Now What I need is to just send the selected rows back to the Server @Note I also have a Select option so the Selected value of that also needs to be captured  I am using a multi Select option for the table.

Sample Json :

[

    {

        "userid": "DHORIONS",

        "username": "Horions Dries",

        "department": "US Development",

        "location": "",

        "status": "Unlocked",

        "validfrom": "2014-05-06",

        "validto": "9999-05-06",

       "rstatus": [

            {

                "stats": "1",

                "valfield": "Pending"

            },

            {

                "stats": "2",

                "valfield": "Retain"

            },

            {

                "stats": "3",

                "valfield": "Remove"

            }

        ],

        "succes": true

    },

The one in the bold is used by Select Option.

I need the sample code to send all the selected rows to my Web Service. Its simple but I

am new here so need a helping hand.

Thanks

Somil

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