SAP Knowledge Base Article - Preview

2387550 - Unable to activate the OData service for a Fiori Analytic App on S4HANA

Symptom

Adding an ODATA service in transaction /n/IWFND/MAINT_SERVICE with System Alias and Technical Service Name fails with an error.



The error details can be different, such as:

  • Metadata not loaded - See /IWBEP/ERROR_LOG in backend <system alias> - Anexception was raised...
    Message no. /IWFND/MED024 

  • In Transaction /n/IWBEP/ERROR_LOG, there is error log, like:

       T100 Error ID:/IWBEP/COS_SUTIL002

     ..ERROR_INFO Unspecified error occurred. See Error Context and Call Stack for details.
    ...TEXT FILL_CHANMID_BUFFER
    ...PROGRAM CL_RS_BASE

    System error in program CL_RS_BASE and form FILL_CHANMID_BUFFERHANMID_BUFFER
    CL_RS_BASE FILL_CHANMID_BUFFERHANMID_BUFFER

  • Metadata not loaded - See /IWBEP/ERROR_LOG in backend <system alias> - Unknown or deleted query. Diagnosis Either the requested query, or one of the characteristic value variables with a replacement path from the query re...
  • Metadata not loaded - See /IWBEP/ERROR_LOG in backend <system alias> - Query xxxxx is invalid or contains errors....

    ODataError.png
For this error, if run the query in transaction RSRT in the backend BW system with the system alias as specified, exception is hit.
Possible errors are: CREATE_DTAPRO_FROM_DDFIELD-0XXXX (for example, 0CURRENCY)
In ST22, you may find short dump: 

Category External Error
Runtime Errors CALL_FUNCTION_REMOTE_ERROR

Category ABAP programming error
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED
ABAP Program CL_BICS_MD_SELECTOR===========CP
Application Component BW-BEX-OT

"Access using a 'ZERO' object reference is not possible."

If you check the Request that you get with the Developer Tool(F12) in Fiori Launchpad, the error that you see when you click the app is "No service found for namespace '', name 'XXXXXXXX', version 'XXXX'".  

 

  • Metadata not loaded - See /IWBEP/ERROR_LOG in backend <system alias> - Metadata call for model xxxx was not successful....
  • Execute program /UI5/UPD_ODATA_METADATA_CACHE in SE38, and the following dump occurs:
Runtime Errors OBJECTS_OBJREF_NOT_ASSIGNED_NO
Except. CX_SY_REF_IS_INITIAL
ABAP Program CL_EQ_BICS_GW_DT==============CP
Application Component BW-BEX-OT-BICS-EQ
-
Access using a 'ZERO' object reference is not possible. 
-
"OBJECTS_OBJREF_NOT_ASSIGNED_NO"  CX_SY_REF_IS_INITIAL                                            
"CL_EQ_BICS_GW_DT==============CP" bzw. CL_EQ_BICS_GW_DT==============CM00Q                      
"GET_DESIGNTIME_MD"
-
    1|METHOD GET_DESIGNTIME_MD.                                                                   
    2|                                                                                           
>>>>>|  p_t_md_characteristic = n_r_query_view_md->if_bics_md_selector~get_md_characteristics( ).
    4|                                                                                           
    5|  _get_designtime( EXPORTING I_R_QV_MD              = n_r_query_view_md                    
    6|                   IMPORTING e_t_query_var_md       = e_t_query_var_md                     
    7|                             e_t_column_description = e_t_column_description               
    8|                             e_s_query_details      = e_s_query_details                    
    9|                             e_t_messages           = e_t_messages       ).                


Read more...

Environment

  • S/4HANA
  • SAP Fiori for SAP ERP
  • SAP NetWeaver 751 SP2 and above (including 752, 753...etc)
  • SAP NetWeaver 750 SP4 and above

Product

SAP Fiori for SAP ERP all versions ; SAP NetWeaver 7.4 ; SAP NetWeaver 7.5 ; SAP NetWeaver Application Server for ABAP 7.5 for SAP S/4HANA, on-premise edition 1511 ; SAP S/4HANA all versions

Keywords

S/4 HANA, CDS, /IWFND/MAINT_SERVICE, C_SALESANALYTICSQRY_CDS, SMART_BUSINESS_RUNTIME_SRV, No Backend Services found, Metadata not loaded, No service found for namespace, #Fiori, CL_BICS_MD_SELECTOR, METHOD _CREATE_CHAR_FROM_CHABAS, CL_RSROA_VQ_SERVICES, 2CCMMSUPLREVALOVRQ,  Analytical tiles are not loading, 0UNIT, 0CURRENCY, 0LANGU, 0DATE, 0TIME, Cannot Load Tile, Odata services , KBA , sac , f2812 , BW-BEX-OT-ODP , Query Runtime for Operational Data Provisioning , SD-FIO-HBA , Analytical Apps , SD-FIO , Fiori User Interface , MM-FIO-PUR-ANA , Fiori UI for Purchasing Analytics , BW4-AE-API-ODAT , OData , BW-BEX-OT-BICS-EQ , oDATA Query / (Easy Query) , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.