Skip to Content

Slug/header parameters are missing in the ODATA


I am uploading a file to backend with the Header Parameters as mentioned below.

oFileUploader.addHeaderParameter(new sap.ui.unified.FileUploaderParameter({

name: "x-csrf-token",

value: this.oDataModel.getSecurityToken()


oFileUploader.insertHeaderParameter(new sap.ui.unified.FileUploaderParameter({

name: "slug",

value: "Slug Value"




if (oFileUploader.getValue()) {



I am getting the data and everything works fine expect the slug parameter.

In the CREATE_STREAM the IV_SLUG is coming empty and I have checked all the client headers with the below mentioned code.

Still i didn't find the slug parameter value. Same problem with the custom headers also

DATA : lo_facade TYPE REF TO /iwbep/if_mgw_dp_int_facade,

lt_client_headers TYPE tihttpnvp.

lo_facade ?= /iwbep/if_mgw_conv_srv_runtime~get_dp_facade( ).

lt_client_headers = lo_facade->get_request_header( ).

i have checked the same thing(passed slug parameter in headers) from the gateway client it worked fine.

Can anyone help me to solve this issue?

I have attached the request headers screenshot.

Thanks & Regards,


Request Header.PNG (54.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 13, 2016 at 06:03 PM

    Hi Hari,

    With nsertHeaderParameter you need to provide the index where the header parameters are to be inserted, see this- SAPUI5 SDK - Demo Kit

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Kedar,

      I have tried all the possibilities still I am facing the same issue.

      I have raised a message to the UI5 team. One of the UI5 colleague mentioned that we need to add the slug parameter in some configuration file.

      Do you have any idea about the configurations need for the slug?

      Thanks & Regards,


Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.