on 01-27-2015 6:17 PM
Hi,
I have tried external break point in MPC/DPC class, but somehow not been able to make it work, when I send request from web browser (Get entity Set). Any idea, what am I missing here?
thanks,
Pradeep
I am placing external break point in the class
'ZCL_Z_BANKDIRECTORY_DPC_EXT', method 'BNKAES_GET_ENTITYSET'.
URI
........./sap/opu/odata/sap/Z_BANKDIRECTORY_SRV/?$format=xml
thanks,
Pradeep
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
URI ........./sap/opu/odata/sap/Z_BANKDIRECTORY_SRV/?$format=xml will provide you the service document. It is not intended to trigger the 'BNKAES_GET_ENTITYSET' method.
To trigger 'BNKAES_GET_ENTITYSET' method your URI should be
........./sap/opu/odata/sap/Z_BANKDIRECTORY_SRV/YourEntitySetName
Regards,
Ekansh
HI Ekansh,
I gave that URI as an example..you are right, I should have made it clear that I have tried with EntitySet (and with filter criteria as well). Still it did not stop at the break point. May be I can try by hard coding..!
..../sap/opu/odata/sap/Z_BANKDIRECTORY_SRV/BankDirectorySet/?$filter=Country eq 'US'
thanks.
Pradeep
Dear Pradeep,
You have to Use External Break point in DPC_EXT class / MPC_EXT class..
This is where oData service data is pushed into GW system
If you are using navigation properties put a External Break point in Get Expanded Entity set..
If not Get Entity set..
make sure you are calling correct oData service and correct place in the coding..
Thanks
Tharaka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Apart from what Krishna says, please check that you if you are using the correct client. It is one of the most common reasons for not hitting the break-point. You can influence the correct client in Gateway call by specifying sap-client url param.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is it Embedded deployment? Or Hub?
If it is Hub. most probably a user might be hard coded in RFC destination logon. In such a case breakpoint has to be set for that user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pradeep,
Were you able to test your oData service in the Gateway client? if yes what is the response.
Also were does the control stop on your external break-point in the Gateway Client?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
82 | |
10 | |
10 | |
9 | |
6 | |
6 | |
5 | |
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.