on 02-11-2014 9:53 AM
Hi
Would it be possible to set a filter (or similar) for my GET_ENTITY, so I can decide my output.
Maybe so I only show my line 20 or what I put into my "filter"..
/sap/opu/odata/sap/ZGW_xxxxxxx_SRV_03/OrdDetSet('000010025783')
Thanks
Lars
Hi,
you can read your key from importing parameter IT_KEY_TAB of method ORDDETSET_GET_ENTITY in you DPC_EXT class.
use it and accordingly code your logic.
Regards,
Chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI,
You have to Redefine method ORDDETSET_GET_ENTITY inside DPC_EXT class and write logic as shown below.
1.READ TABLE it_key_tab WITH KEY name = 'ORDERID' INTO ls_key_tab
2. ls_key_tab-value you can use for your filtering
3. URL : - /sap/opu/odata/sap/ZGW_xxxxxxx_SRV_03/OrdDetSet?$filter=(Orderid eq '4000')
Thanks,
Arun
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
10 | |
10 | |
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.