Altamas Khan

Altamas Khan

1 Articles Published

Articles by Altamas Khan

1 articles

Error while passing an image value to an OData request in SAP

Altamas Khan
Altamas Khan
Updated on 13-Mar-2026 376 Views

When working with SAP OData services, you may encounter errors while passing image values in your requests. This typically occurs when the image data format is not properly handled or the request headers are incorrectly configured. Converting Image Data If your ImgData includes an image in Data URI format base64, you need to convert it to a proper string format. Add the following line to convert your ImgValue to ImgData − var imgData = JSON.stringify(ImgValue); Using AJAX for Image Upload The recommended approach is to use AJAX to post images through OData. This ...

Read More
Showing 1–1 of 1 articles
« Prev 1 Next »
Advertisements