Quantcast
Channel: SCN : All Content - SAP Gateway
Viewing all articles
Browse latest Browse all 2823

Display success message in GW Response

$
0
0

Hi experts,

 

After a POST operation executes, the GW response shows the payload of get_entity method for the created item, if the creation is successful.

If the creation is unsuccessful, the error caught in the return table of the BOR/RFC is thrown and it comes up in the response.

 

Is it possible to display the success message from the Return table of BOR/RFC in the GW Response?

If yes, how do we do it? What needs to be done while redefining the create_entity method?

 

Consider my example, I am creating a sales order. When the creation is successful, the GW response shows the sales order that has been created. What i want is just the message "The Order with Number xxxxxxxxx has been created" (I have added that in my RFC's Return Table).

 

Thank You in advance,

-Nimish Kate


Viewing all articles
Browse latest Browse all 2823

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>