cancel
Showing results for 
Search instead for 
Did you mean: 

Deploying Fiori application on S4 side on premise edition from BAS

aczeitnerBW
Explorer
0 Kudos
192

Dear Specs ! 

I 've an S4 System with Embedded BW in it. I've been asked to create a fiori application that can launch process chain from the fiori . 

I 've never been built this kind of application before so I've started some search and I've got a little confusion. 

Can somehow Fiori application been deployed S4 side so I can call Function modules directly or only Odata calls are working ?

Could you give me some guidance on how to make the first steps ?  Calling directly the function modules, deploying the app directly upon S4 on premise system ? 

Sorry I mainly see solutions that covers scenario for cloud but for me this is not the case I would like to use Fiori as I would use a dynpro program calling FM-s directly not calling HTTP requests if it is possible.

Accepted Solutions (1)

Accepted Solutions (1)

ArunJacob
Active Participant
0 Kudos

yes OData is mandatory.

via SEGW or using RAP

in SEGW->Call function best option I believe to consume RFC as is...

METHOD userdetail_get_entity.

  DATA: ls_userdetails TYPE bapiaddr3,
        lt_return     TYPE TABLE OF bapiret2.

  DATA: lv_username TYPE sy-uname.

  " Get input from request
  io_tech_request_context->get_converted_keys( IMPORTING es_key_values = DATA(ls_keys) ).
  lv_username = ls_keys-username.

  CALL FUNCTION 'BAPI_USER_GET_DETAIL'
    EXPORTING
      username = lv_username
    IMPORTING
      address  = ls_userdetails
    TABLES
      return   = lt_return.

  " Map to entity structure
  er_entity = VALUE #( 
    username  = lv_username
    firstname = ls_userdetails-firstname
    lastname  = ls_userdetails-lastname
    email     = ls_userdetails-e_mail
  ).

ENDMETHOD.

thanks

Answers (1)

Answers (1)

junwu
SAP Champion
SAP Champion
0 Kudos

looks like you have no idea about odata service

ui5 call odata service, which in turn can call function module in the odata service implementation.

aczeitnerBW
Explorer
0 Kudos
Hello Junwu. Yes I saw that is the main approach (that is why I've included it in my questions) but I am curious if there are any approach that does not require me to create Odata services on the backend. For example with CDS view I able to create reports at fiori side without creating odata service myself. I am hoping to find a standard solution that handles these calls instead of me .
junwu
SAP Champion
SAP Champion
no, fiori only call odata( or web service), if your bw query is consumed directly, it is through InA, and the frontend is webdynpro, not fiori.