Skip to Content
avatar image
Former Member

Deploy SAPUI5 application to ABAP repository database connection

Hi Gurus,

I have one question which i searched in SDN but not able to figure out.

When we deploy SAP UI5 application to ABAP Server, what is the code required to connect to oracle database and where we need to write it. Next, how to fetch data from backend ECC to UI5 application.

I found some blogs where we are deploying to BSP application but i won't be able to find where we are writing code for connecting to database and how backend ECC data is getting fetched.

Please provide an example if possible where the code snippet would be illustrating the above queries and would be really appreciated.

Thanks for your support and time in advance.

Regards,
Ajay

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Jul 17, 2017 at 01:39 PM

    You have to create the FM to access data and expose it via oData. This oData service can then by consumed in Ui5 application.

    -Sharadha

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi saurabh,

      Our company don't have any such plan to upgrade the required component.

      Therefore i want to deploy SAP UI5 to ABAP server as BSP application. Please let me know how to use RFC and pass data to SAP UI5 in detailed steps.

      Regards,
      Ajay

  • Jul 18, 2017 at 01:33 PM

    if you don't have gateway, you'd better forget about UI5

    one more thing to check if you are able to deploy ui5 to your abap server.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Jun,

      Yes we can deploy UI5 to ABAP server. Can you please give some steps how to connect UI5 to backend in such cases.

      Like, where we need to write the logic to call the RFC and display the data in the frontend.

      Any help will be really appreciated.

      Regards,
      Ajay

  • Jul 18, 2017 at 12:09 PM

    Hi Ajaya,

    You can expose the ECC tables through odata service through Netweaver Gateway Services.You can refer to below blog or video for a basic overview.

    Thanks,

    Ashwin

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi Ashwin,

      Thanks for your response.

      As i already mentioned in my previous post we don't have Odata server in our system.

      What are the other ways of using the RFC to pass data to the front end?

      Regards,
      Ajay

  • avatar image
    Former Member
    Jul 23, 2017 at 08:21 AM

    Hi Gurus,

    I found out how to develop UI5 application in eclipse without using gateway services, so i am closing this thread.

    Thanks for your help.

    Regards,
    Ajay

    Add comment
    10|10000 characters needed characters exceeded