Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Understanding SAP Gateway and Service Creation

$
0
0

Greetings everybody.

 

Currently I'm working as a junior ABAP developer for a Retail Company where they plan to implement a SAP FIORI Application for Warehouse Management. I was given the task to generate a set of custom RFCs to emulate a few WM transactions in order to fullfil this requierement, which I have finished now, the next step is to generate the services via SAP Netweaver Gateway which is already up and running and configured for this.

 

I have a few questions regarding about the concept of service creation via transaction SEGW. I have read a few tutorials and tried to do some testing, however I have stumbled myself with a lot of issues trying to understand the very concept of the service creation.

 

So I want to ask to you experts for some insight to understand this.

 

First, I have, as mentioned above, created a set of RFCs to mimic some standar WM Transactions, the issue I have right now is this.

 

I created my project, and created a data model importing my ZRFC model, for example, this RFC has 5 Import Parameters, 2 are marked obligatory, 3 are optional, 1 exporting and 1 table which contains the result, which in this case is a table with Current Stock.

 

As far as my understanding goes, when I do the importing, I should only map the output table fields and ignore the importing parameters for the mapping. My doubt is, this mapping represents what the service will give as an output or since it's based on a RFC it will also mean that it will implement the logic for the process?

 

My other issue understanding is how I can define which fields will be Key, since my RFC already implements the logic for the data fetching / processing from the corresponding ECC tables, having a key doesn't make much sense to me, so I'm curious what does this Key works.

 

Lastly, I don't quite have to implement the CRUDQ functions, in most cases my RFCs already perform the corresponding operations like giving a table output or creating WM documents / operations such as Material Documents, Picking, and Order Confirmations, so the question in this case would be, should I create a custom service implementation for my RFCs or what criteria should I follow to fit them in any of the CRUD operations?

 

I'm just trying to get some understanding on how I should design my services or some insight if the approach we have is the most appropiate.

 

I will keep trying to get some reading done and get a deeper understanding on this, however I will be really greatful for any insight you guys could provide me with.

 

Thank you all in advance.

 

Cheers.


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>