
function zdemo_gw_post.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(IM_POST) TYPE ZPOST1 OPTIONAL
*"----------------------------------------------------------------------
"Just get it in there...
modify zpost1 from im_post.
commit work.
endfunction.function zdemo_gw_post_read.
*"----------------------------------------------------------------------
*"*"Local Interface:
*" IMPORTING
*" VALUE(IM_FIELD1) TYPE CHAR10 OPTIONAL
*" EXPORTING
*" VALUE(EX_POST) TYPE ZPOST1
*"----------------------------------------------------------------------
select single *
from zpost1
into ex_post
where field1 = im_field1.
endfunction.











<?xml version="1.0" encoding="utf-8"?>
<entry xml:base="/sap/opu/odata/sap/ZDEMO_POST_SRV/" xmlns="http://www.w3.org/2005/Atom" xmlns:m="http://schemas.microsoft.com/ado/2007/08/dataservices/metadata" xmlns:d="http://schemas.microsoft.com/ado/2007/08/dataservices">
<title type="text">ObjectSet</title>
<updated>2019-07-18T17:50:32Z</updated>
<category term="ZDEMO_POST_SRV.Object" scheme="http://schemas.microsoft.com/ado/2007/08/dataservices/scheme"/>
<link href="ObjectSet" rel="self" title="Object"/>
<content type="application/xml">
<m:properties>
<d:Field1>WIKI</d:Field1>
<d:Field2>FIELD2</d:Field2>
<d:Field3>FIELD3</d:Field3>
</m:properties>
</content>
</entry>


You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 3143 | |
| 1916 | |
| 1916 | |
| 1213 | |
| 1079 | |
| 757 | |
| 755 | |
| 742 |