on 08-17-2018 10:18 AM
Hi Everyone,
I am new to Odata. I have started developing a project in SEGW. My requirement is to displaying Sales details based on Customer No. I have imported the fields from KNA1 table and i have created a custom structure in MPC Class replaced standard structure with custom structure as shown below.. It worked fine. But when i create a other Entity set and regenerate it.. i am unable to see the custom structure...
Kindly suggest me what i have to do now...
Why are you using some standard service. You should learn about basic OData development first before going towards OData Extensibility.
Please follow as below -
1. Create a Z structure which has the required fields like KUNNR, VBELN, etc.
2. Create a Z Gateway Builder Project in SEGW and on that right click on new on Entity and say import. Enter the name of Z structure of step 1 and also let the checkbox - Create default entity set be checked.
3. Now you can save and generate the service.
4. Go to the associated *_DPC_EXT class and implement the coding in the asscoiated <>_GET_ENTITYSET method.
5. Follow step 1,2 and 4 for any further entities you need to add.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.