cancel
Showing results for 
Search instead for 
Did you mean: 

Gateway and GenIL

Former Member
0 Kudos

Hi,

Is there anyone who can tell me where I can find more information on Gateway in combination with GenIL? Is this topic covered in any book like OData and SAP NetWeaver Gateway - SAP PRESS Bookstore?

This tutorial shows only the basics, I still have a lot of problems and unanswered questions.

Regards,

R.W.

Accepted Solutions (1)

Accepted Solutions (1)

ChandraMahajan
Active Contributor
0 Kudos

Hi,

sometime back I happened to work on creating GW services from GeniL components. Below are some of my findings. I got this information by debugging.

  1. Package – /IWGIL/INTEGRATION and   /IWGIL/GENIL_INTEGRATION
  2. Class Interface - /IWGIL/CL_GENIL_MODEL_ANALYZER
  3. Method ANALYZE_GENIL_MODEL - determines which node from GenIL component should be considered as Entity and further building association.
  4. Method BUILD_ASSOC – builds association
  5. Method BUILD_NODE - Build Node/Entity
  6. Message class -  /IWGIL/CM_DT

you can put breakpoints in mentioned class methods and can figure out how the service wizard builds GW service from GeniL component.

Let me know if you need any more information.

Regards,

Chandra

Former Member
0 Kudos

Hi,

I already put some breakpoints to debug. I noticed that max_hits is 0, so there are no entries displayed. Of coarse I can change the value in debug mode, but I need to know how I can pass on this value as an import parameter.

When I put "?$filter=MAX_HITS EQ 20" in my query url, I get an error (Property MAX_HITS not found in type OLWLes).


In short I just don't know how I can pass on import parameters.

Kind regards,

RW

ChandraMahajan
Active Contributor
0 Kudos

Hi,

Can you provide more details like which GeniL component are you using to generate GW service etc?

Regards,

Chandra

Former Member
0 Kudos

It is a custom z component...

former_member195242
Active Participant
0 Kudos

Hi Robbe,

MAX_HITS can be provided as $top option in the query. Ex - "...?$top=20". Internally, $top value is taken in the max_hits query parameter.

Best regards,

Aakash

Answers (1)

Answers (1)

former_member195242
Active Participant
0 Kudos