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

Entity Type in combination with "BAPIRET2"

$
0
0

hello!

 

I just started using sap netweaver gateway and I am a complete beginner, so please take it slow on me (I am very thankful for useful links).

 

in transaction SEGW I have a question how I can build a smart solution for creating an entity type which is used to handle my business logic in the backend (erp) and also passing something like a bapiret2 to the frontend (SAP UI5) whether it has passed or failed.

 

here is a simple example:

I have a small Z table with personnel number (PERSNR), first name, last name and I'm passing via my odata channel the ID (PA0032-WAUSW) and create an entry in this Z table.

So actually I want to tell my frontend something like "Entry created" or "no ID found". How do I model this? My first and I guess wrong thought was to create an entity which has the fields of my Z table + the ID + the BAPIRET2 structure.

 

I am somehow a bit confused...maybe you can help me clear up my mind?

 

Thank you very much,

BR,

Dominik


Viewing all articles
Browse latest Browse all 2823

Trending Articles



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