on 01-23-2015 9:45 AM
Hi
I am trying to retrieve the data from odata service for utilities for Accounts Entity type, but I am not able to retrieve the data, its showing blank result.
Early response will be highly appreciated.
Thanks
Hi Prince,
(F12 --> Put a break point on oData request )
Google Chrome Developer Tools: 12 Tricks to Develop Quicker - YouTube
Debugging JavaScript - Google Chrome
Put an external Break Point in the program code (Right Click on the Code and select "Set External Break-Point" and execute your UI5 application.
Once you do above program will stop on your SAPUI5 application and you may see what is going into GW system from oData and will stop in Gateway system and you may see what is coming into Gateway..
Thanks
Tharaka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prince,
Are you able to get data inside the Gateway System.
(use 2nd option that I have mentioned above - Debug in NW Gateway whether you are receiving oData into Gateway and ECC )
To go to the NW Gateway ABAP code :
Tcode : SEGW --> Select your oData - -> D.Click on Class "...DPC_EXT" --> and select --->
"..... Get Entity " or ".....Get Entity Set" Section
Then Put a External break-point in ABAP coding (better to put brkpoint in Both section)
and Execute your SAPUI5 application in Webbrowser. Program will stop at the break-point you have pointed. t
You will be able to see how odata is coming into your GW system.
If that is not Working;
use Tcode : /IWFND/ERROR_LOG
This will show you all the error details happend in gateway system with oData Connections.
Thanks
Tharaka
Hi Prince,
Did you test your oData service in Gateway Client?
If yes then what is the HTTP response?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Prince,
This screen depicts that there is no data to be listed when you executed a QUERY request.
It happened that your get_entityset call was successfully executed but no data has been fetched from the backend.
This may happen due to
You need to put external breakpoint in the Get_Entityset method and check why no data has been fetched.
Regards,
Ekansh
Hi Prince,
You need to debug in the get_entityset method at the point where the data is fetched. If you are using the RFC FM to fetch the data, you need to go inside that FM call (in debug mode only) and check why you are not able to fetch the data. Thats a pure ABAP thing.
One of the reason may be of authorization to get the data. May be your user is not allowed to get the data using the business logic written.
Regards,
Ekansh
Need more information to help understanding the issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.