Skip to Content
1

SAP Fiori Count Stock App

Jul 31, 2017 at 08:24 AM

102

avatar image
Former Member

Hi,

I'm implementing a standard SAP Fiori Count Stock App for my company. In ECC I created a Physical Inventory document with a list of SKUs.

When I login with a test user and open the App. I get a HTTP Status Code 400 Bad Request for the request to the URL: https://company_host_name_and_port/sap/opu/odata/sap/RETAILSTORE_COUNT_STOCK_SRV/$batch?sap-client=100
The request payload is:

```
--batch_5bb6-cfed-b0df
Content-Type: application/http
Content-Transfer-Encoding: binary

GET Sites?$top=50&$skip=0 HTTP/1.1
Accept-Language: en
Accept: application/json
MaxDataServiceVersion: 2.0
DataServiceVersion: 2.0
x-csrf-token: J2pqco3LARakg5LYJ0mDiw==


--batch_5bb6-cfed-b0df--
```

The response body is:
{
"error":{
"code":"RETAIL_ST_CS_MSG/000",
"message":{
"lang":"en",
"value":"No site assigned."
},
"innererror":{
"application":{
"component_id":"LO-SRS",
"service_namespace":"/SAP/",
"service_id":"RETAILSTORE_COUNT_STOCK_SRV",
"service_version":"0001"
},
"transactionid":"D0B975E757DEF152944180C16E07F904",
"timestamp":"",
"Error_Resolution":{
"SAP_Transaction":"",
"SAP_Note":"See SAP Note 1797736 for error analysis (https://service.sap.com/sap/support/notes/1797736)",
"Batch_SAP_Note":"See SAP Note 1869434 for details about working with $batch (https://service.sap.com/sap/support/notes/1869434)"
},
"errordetails":[
{
"code":"RETAIL_ST_CS_MSG/000",
"message":"No site assigned.",
"propertyref":"",
"severity":"error",
"target":""
},
{
"code":"/IWBEP/CX_SD_GEN_DPC_BUSINS",
"message":"An application exception has occurred.",
"propertyref":"",
"severity":"error",
"target":""
}
]
}
}
}

Can someone let me know what does the error message mean and how to resolve it?

Thank you.

Cheers,

Christian

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

1 Answer

Best Answer
Jürgen L
Jul 31, 2017 at 08:39 AM
1

Have you seen that you got 2 OSS note links in your message. Have you followed them? The first note has a trouble shooting guide as pdf attachment, where exact this error that you have is explained

Share
10 |10000 characters needed characters left characters exceeded