{"error":{"code":"ZCM_E2E001ODATAV4_SO/050","message":"Entity '500000000' not found in entiy set 'SalesOrder'","@SAP__common.ExceptionCategory":"Provider_Application_Error","@SAP__common.Application":{"ServiceRepository":"DEFAULT","ServiceId":"ZE2E001_SALESORDER","ServiceVersion":"0001"},"@SAP__common.TransactionId":"B9E0A2A100BE0090E0061061A69D0108","@SAP__common.Timestamp":"20210801204416.987976","@SAP__common.ErrorResolution":{"Analysis":"Use ADT feed reader \"SAP Gateway Error Log\" or run transaction /IWFND/ERROR_LOG on SAP Gateway hub system and search for entries with the timestamp above for more details","Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)"}}}
Request Line
GET /sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')?$expand=_Item($filter=Grossamountintransaccurrency%20ge%201100%20and%20Transactioncurrency%20eq%20%27USD%27)&sap-ds-debug=true HTTP/1.1
Request Header
NameValue
user-agentCCBot/2.0 (https://commoncrawl.org/faq/)
accepttext/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-languageen-US,en;q=0.5
accept-encodingbr,gzip
hostsapes5.sapdevcenter.com
connectionKeep-Alive
Response Line
HTTP/1.1 404 Not Found
Response Header
NameValue
sap-cache-control-u
Content-Typeapplication/json;odata.metadata=minimal;charset=utf-8
Content-Languageen
OData-Version4.0
Server Environment
NameValue
~request_lineGET /sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')?$expand=_Item($filter=Grossamountintransaccurrency%20ge%201100%20and%20Transactioncurrency%20eq%20%27USD%27)&sap-ds-debug=true HTTP/1.1
~request_methodGET
~request_uri/sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')?$expand=_Item($filter=Grossamountintransaccurrency%20ge%201100%20and%20Transactioncurrency%20eq%20%27USD%27)&sap-ds-debug=true
~path/sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')
~path_translated/sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')
~query_string$expand=_Item($filter=Grossamountintransaccurrency%20ge%201100%20and%20Transactioncurrency%20eq%20%27USD%27)&sap-ds-debug=true
~server_protocolHTTP/1.1
~server_namesapes5.sapdevcenter.com
~server_name_expandedsapes5.sapdevcenter.com
~server_port_expanded443
~remote_addr3.236.124.56
~uri_scheme_expandedHTTPS
~unidentified_path_segments/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')
~virtual_host_number0
~script_name/sap/opu/odata4
~path_info/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')
~script_name_expanded/sap/opu/odata4
~path_info_expanded/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')
~path_translated_expanded/sap/opu/odata4/sap/ze2e001/default/sap/ze2e001_salesorder/0001/SalesOrder('500000000')
~gui_header_handler_field/sap/opu/odata4
~script_segment_parameter
~server_infovmw6271_ES5_11
URI information
{ "requestMethod" : "GET","resourcePath" : "SalesOrder('500000000')", "uriType" : 100,"target" : { "kind" : "entitySet", "name": "com.sap.gateway.default.ze2e001_salesorder.v0001.SalesOrder" },"entitySetInformation" : { "entitySetName": "SalesOrder","keyPredicate" : [ { "propertyName" : "Salesorder","propertyValue" : "500000000" }]},"propertyPath" : [] }
Normalized $expand and $select options
{"edmTypeName" : "com.sap.gateway.default.ze2e001_salesorder.v0001.SalesOrderType" , "isCollection" : false,"selectProperties" : [],"selectFunctions" : [],"selectActions" : [],"expandProperties" : [{ "navigationProperty" : "_Item", "entityTypeCastAfterNavigation" : null,"typeCastBeforeNavigation" : null,"isExplicit" : true,"cyclicNavigation" : {"isCyclic" : false, "edmTypesOnCycle" : []},"target" : { "expandLevel" : 1,"edmTypeName" : "com.sap.gateway.default.ze2e001_salesorder.v0001.SalesOrderItemType" , "isCollection" : true,"levels" : -1,"inlinecount" : false, "top" : -1,"skip" :-1, "expandAll" : false, "selectAll" : false,"filter" : { "nodeType" : "binary" ,"operator" : "and" ,"type" : "Edm.Boolean" ,"left" : { "nodeType" : "binary" ,"operator" : "ge" ,"type" : "Edm.Boolean" ,"left" : { "nodeType" : "property" ,"name" : "Grossamountintransaccurrency" ,"type" : "Edm.Decimal" },"right" : { "nodeType" : "literal" ,"type" : "Edm.Decimal" ,"value" : "1100" } },"right" : { "nodeType" : "binary" ,"operator" : "eq" ,"type" : "Edm.Boolean" ,"left" : { "nodeType" : "property" ,"name" : "Transactioncurrency" ,"type" : "Edm.String" },"right" : { "nodeType" : "literal" ,"type" : "Edm.String" ,"value" : "USD" } } },"apply" : null,"orderby" : null,"selectProperties" : [],"selectFunctions" : [],"selectActions" : [],"provideReferenceOnly" : false,"provideCountOnly" : false,"search" : null,"expandProperties" : []}}]}
Entity '500000000' not found in entiy set 'SalesOrder'

Exception ZCX_E2E001_ODATA_V4_SO occured in Class ZCL_E2E001_ODATA_V4_SO_DATA Method READ_ENTITY_SALESORDER and Line 28

9     DATA: ls_todo_list TYPE /iwbep/if_v4_requ_basic_read=>ty_s_todo_list,
10           ls_done_list TYPE /iwbep/if_v4_requ_basic_read=>ty_s_todo_process_list.
11 
12     io_request->get_todos( IMPORTING es_todo_list = ls_todo_list ).
13 
14     " read the key data
15     io_request->get_key_data( IMPORTING es_key_data = ls_key_salesorder ).
16     ls_done_list-key_data = abap_true.
17 
18     SELECT SINGLE * FROM ze2e001_c_salesorder
19     INTO CORRESPONDING FIELDS OF @ls_salesorder
20     WHERE salesorder = @ls_key_salesorder-salesorder.
21 
22     IF ls_salesorder IS NOT INITIAL.
23       io_response->set_busi_data( is_busi_data = ls_salesorder ).
24     ELSE.
25       "Move data first to an integer to remove leading zeros from the response
26       lv_salesorder_key_edm = lv_helper_int = ls_key_salesorder-salesorder.
27 
28       RAISE EXCEPTION TYPE zcx_e2e001_odata_v4_so
29         EXPORTING
30           textid              = zcx_e2e001_odata_v4_so=>entity_not_found
31           http_status_code    = zcx_e2e001_odata_v4_so=>gcs_http_status_codes-not_found
32           edm_entity_set_name = gcs_entity_set_names-edm-salesorder
33           entity_key          = lv_salesorder_key_edm.
34 
35     ENDIF.
36 
37     " Report list of request options handled by application
Unknown http error occurred in the context of Data Services

Exception /IWCOR/CX_OD_HTTP_ERROR occured in Class /IWBEP/CL_OD_UTILS Method RAISE_LIB_EXCEPTION and Line 7

1   METHOD raise_lib_exception.
2 
3     " Save call stack for Error Log
4     /iwbep/cl_v4_logger=>save_callstack( ).
5 
6     " Raise an IWCOR exception
7     RAISE EXCEPTION TYPE /iwcor/cx_od_http_error
8       EXPORTING
9         previous = io_gw_exception.
10 
11   ENDMETHOD.