2023 Jan 17 11:08 AM
My scenario is ABAP proxy to File. ABAP program is sending data to PI with blank value. But in response the field is not showing at all.
For eg: If i send customer no = '' and custname = 'Anita'. In response , i'm getting only <custname>Anita</custname>.
Not showing <cutomerno> tag.
As per my requirement it should display empty tag<customerno/>.
I tried to pass space and ' ' but not working.
Do i need to change anything ABAP side or need to check with PI?
2023 Jan 17 12:54 PM
Is your ABAP "program" consuming a Web service, or is it the Web Service itself which is consumed by PI? What is your ABAP code? How is your Web service defined? (request and response)
If your ABAP program consumes an external Web service and you complain about what the Web service returns, it's impossible to help with the few details you provided.
2023 Jan 18 2:00 PM
yes .abap program consume a web service..
Web service defined with both request and response. My change is in response file.
difo--->is the field name where i should pass blank value
my abap code to send blank value:
IF output-response-header-status = co_success.CLEAR: output-response-header-difo .
ENDIF.