on 04-08-2015 9:49 AM
Hi Experts,
I am new in Gateway domain and need your guidance.
1. How to check quickly Gateway is installed over my ECC System?
2. I need to populate an Odata service which will fetch data from multiple infotypes, Can you please help from where to start?
Thanks in advance.
regards,
Ekansh gave the theoretical and the right answer.
If you want to know quicker
try running these two tcodes.
/nSEGW and
/n/IWFND/MAINT_SERVICE.
If both of them work, you are good to start with Gateway.
About starting Gateway Coding, go ahead with the coding approach (not the RFC approach). It might be tough to start with, but will make you an expert. Chandra has written a nice blog.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Thank you all for supporting my initial query.
My basic understanding is now if there is no RFC/BAPI or any standard BOR available then we need to go for code based implementation. Please correct if I am wrong here.
Secondly, I can see there are mainly two service implementation creating for a particular Entity. One is GetEntity and another one is GetEntitySet. Can you please elaborate on this two service implementation - their meaning, on which circumstances this two will get triggered etc, any relation between this two?
and lastly, I can see Associations within the Model. Can you also please help me to understand this.
Thanks in advance.
regards,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhradeep,
Get Entity is a Read operation i.e. it will return only one set of record. But GetEntitySet is a Query operation, it will return multiple records based on the filter criteria. In Read, you have to pass the key properties and you will get one record in response while in Query you may or may not pass filter criteria and you will get multiple records in response.
Associations are relations between entities. For example, if you take a case of PO, there is an association between PO Header and PO Items. This relationship is having common key field PO Number. The common key properties which define the relation are called referential constraint in Gateway.
Regards,
Ekansh
Abhradeep Basu wrote:
My basic understanding is now if there is no RFC/BAPI or any standard BOR available then we need to go for code based implementation. Please correct if I am wrong here.
Even if you have standard RFC/BAPI available, it is always better to go with code based approach.
Secondly, I can see there are mainly two service implementation creating for a particular Entity. One is GetEntity and another one is GetEntitySet. Can you please elaborate on this two service implementation - their meaning, on which circumstances this two will get triggered etc, any relation between this two?
Please completely read my blog to understand various operations that can be performed on entity.
and lastly, I can see Associations within the Model. Can you also please help me to understand this.
Check this blog Let's code association/navigation and data prov... | SCN
I will suggest to try out these examples in your system and debug each and every operation to understand it correctly.
In addition to above replies, my 2 cents!
Regards,
Chandra
Hi Chandra,
Thanks a lot!!..
I have gone through your CRUDQ blog and it really helps for beginners like me in Gateway domain.
Now I am trying to implement one sample scenario and facing a situation:
I have created the basic settings and when I am running the Gateway Client and appending $metatda to the base url, I am able to receive a response of HTTP Response 200 but I can not see any EntityName or any property.
Am I doing any mistake?
regards,
Hi Abhradeep,
2. I need to populate an Odata service which will fetch data from multiple infotypes, Can you please help from where to start?
You have 2 approaches based on your requirements.
1.Using RFC generators and BOR interfaces
2.Code based implementation.
As a ABAP developer latter method is more preferable and comfortable to work with. Also please note OData supports only Flat structures. Here is a self started guide for you to get started.
SAP Gateway Self-Paced Learning
http://wiki.scn.sap.com/wiki/display/EmTech/SAP+Gateway+Self-Paced+Learning
Example HR ABAP Code and step by step guide:
http://scn.sap.com/docs/DOC-55554
Regards
Prabaharan Asokan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhradeep,
1. How to check quickly Gateway is installed over my ECC System?
You need to check the gateway components in your system. If your Netweaver version is <7.4, the gateway components are GW_CORE, IW_FND & IW_BEP. If its NW7.4, you will have inbuilt component SAP_GWFND. This contains all the above 3 components in a single component.
If you have gateway components, please follow this link to configure it
2. I need to populate an Odata service which will fetch data from multiple infotypes, Can you please help from where to start?
You can follow various material on this forum to create OData services. One of those is
Regards,
Ekansh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.