cancel
Showing results for 
Search instead for 
Did you mean: 

Issue in Registering OData Service on SAP Gateway from an External System.

mvaibhav
Contributor

Hi All,

We are trying to Generate an OData Service on SAP Gateway (Version 7.5) connecting to an external system (SAP MII).

We are referring to the following link for Generating Service based on OData.

Generating an SAP Gateway Service for OData

As per the link, it requires to have a connection type 'G' or 'H' to the external system.

We already have a RFC Connection to the external system which works fine as it is being used to pull data from external system.

On selecting the RFC Connection type G and clicking on next, we get the error message as "RFC Connection should be type 'G' or 'H'.

On checking the standard code, we found that it is happening because of an incorrect IF Condition in the code.

Ideally the Operator AND should have been used instead of OR.

Program Name : /IWBEP/SAPLFG_SBUI_OCI_GA_SPEC

Include : INCLUDE /iwbep/ifg_sbui_oci_ga_specf01.

We searched for an SAP Note as well to see if there is any correction note available but could not find anything helpful.

Please let us know if there is any other approach that should be used for generating OData Service from external systems.

We also tried by-passing the condition in debug mode just to check if we are able to go further but encountered another error in next screen. The error mentioned to "Fill in mandatory fields" however we have entered data for all the input fields.

Please let us know if there is any other approach that needs to be followed to generated ODATA Service from external system..

Thanks,

Vaibhav Maheshwari

Accepted Solutions (1)

Accepted Solutions (1)

mvaibhav
Contributor
0 Kudos

Hi All,

We found an SAP Note which is relevant for the above mentioned issue.

Anyone else facing the same issue can apply the following note :

2900139 - Destination should be Type G or H Error While Redefining Odata Service using HTTP Destination
Error While Redefining Odata Service using HTTP Destination

Thanks,

Vaibhav Maheshwari

Answers (0)