cancel
Showing results for 
Search instead for 
Did you mean: 

Error in SAP Gateway Odata Service

Former Member
0 Kudos

I am New to SAP and ABAP.

I have made Odata service in SAP Gateway. but when i run via SAP Gateway Client i am Getting error as Follows

"In the context of Data Services an unknown internal server error occured"

i have tried to refresg Metadata also but it still i am getting same error

In Error Log  i am getting Following Error

"Dereferencing of the NULL reference"

and i tried to check error in ST22, but i am not Getting entry for above error.

Please help me

Tags edited by: Jitendra Kansal (Modeator)

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

It is giving me dump from below function from Standard method

   me->build_property(

        EXPORTING

          io_property     = lr_property->attribute

          it_namespaces   = it_namespaces

        CHANGING

          cr_edm_property = lr_edm_property

      ).

in this method it is giving me dump in below method

me->build_nav_property_for_entity(

      EXPORTING

        io_node                 = io_node

        is_qualified_name       = is_qualified_name

        it_namespaces           = it_namespaces

      CHANGING

       ct_navigation_properties = rr_entity_type->*-navigation_properties

       ct_properties            = rr_entity_type->*-properties

       ).

now in this function it is giving me dump in below statement

io_node->get_references( IMPORTING et_references = lt_references ).

AshwinDutt
Active Contributor
0 Kudos

Can you share your Gateway Model which is created in SEGW ?

AshwinDutt
Active Contributor
0 Kudos

What is the operation which you performing ? Create Read Update Delete ?

Based on the above operation put a break point in appropriate methods in the DPC or DPC_EXT ( if you have implemented any custom code ) class and debug.

Former Member
0 Kudos

I ave already put break-point in Data Provide Class but it is not stopping there

Former Member
0 Kudos

I am using Read Operation