I have an oData service for File Download functionality. I have to include $value parameter to oData call to trigger GET_Stream at backend.
I see when I set a external breakpoint on get_stream method, that I the method is triggered. But the file download doesnt work. I get a http response 200 which means it is all ok but I dont see any data or row of information. Nothing it is empty the gw client response.
So I debug and see that at the end of the get_stream method there is a parameter changing with these lines:
EXPORTING IS_DATA = LS_STREAM
CHANGING CR_DATA = ER_STREAM)
So in ls_stream there should two columns (column1 and cloumn2)
One of the columns is set and the other is empty. No matter what I do what for value I give to column2 it is still empty. Maybe I dont get any information at gw client request because of the parameter column2 is empty? Can you give me a suggestion?
My redefined methods are: