cancel
Showing results for 
Search instead for 
Did you mean: 

Getting dump while registering the OData service

Former Member
0 Kudos

Hi Gurus,

We are trying to register an OData service in BW system (by redefining BW Queries), but getting below error:-

The call to function module "BAPI_IOBJ_GETDETAIL" is incorrect:

In the function module interface, it was stipulated that only fields of

a specific type and length can be specified under "DETAILS". The currently

specified field )"ES_INFOOBJ_DETAIL") has the right type, but its length is

incorrect.

Regards,

Krishna Chauhan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hello

I had the same issue described. It helped to set up the flag called "For Local App" in the system aliases in customizing:

SPRO -> SAP Customizing Implementation Guide -> SAP

NetWeaver -> Gateway -> OData Channel -> Configuration -> Connection

Settings -> SAP NetWeaver Gateway to SAP System -> Manage SAP System

Aliases.

Lukasz

Former Member
0 Kudos


Hi All,

Closing the thread, as it we need to implement an enhancement to the standard. After adding field to ABAP structure the issue is fixed.

Regards,

Krishna Chauhan

0 Kudos

Hi Krishna,

We are experiencing the same issue.

Can you please tell us how did you evaluate the issue and what field was added to which structure?

Thanks.

Former Member
0 Kudos

Hi Tarun,

We have added few additonal fields in structure: ES_INFOOBJ_DETAIL of Fun module: LV_BAPI_IOBJ_GETDETAIL.

You can put a breakpoint in funmodule LV_BAPI_IOBJ_GETDETAIL.

Regards,

Krishna Chauhan

0 Kudos

Thanks Krishna,

Our analysis showed the same yesterday. we seem to have a difference of 5 fields between the expected and passed structure.

kammaje_cis
Active Contributor
0 Kudos

Krishna, I see that the error message is very descriptive. Isn't it? Problem is with the way you have mapped/called the FM.

Former Member
0 Kudos

Hi Krishna,

Thanks and really appreciate for your response. We have not created any FM, the error is coming from the standard.

We are using BW queries for creating the service, by redefining. Is anything missed by the BW team while creating the query.

We are able to register other OData services, where as this dump is coming when we want to register the service created from BW Query.

Regards,

Krishna Chauhan