Dular SharmaDular SharmaDular Sharma
(Monday - Saturday)
sharmadular7392@gmail.com
Himatnagar
Dular SharmaDular SharmaDular Sharma

8. DDIC Get Data – Single Record

6 Views

For this operation we will use method GET_ENTITY of class *DPC_EXT.

Edit class put cursor on GET_ENTITY method and press Redefine Method.

Below screen will appear.

Remove each commented thing in method and write code.

DATA : wa_keytab TYPE /iwbep/s_mgw_name_value_pair.

READ TABLE it_key_tab INTO wa_keytab INDEX 1.

SELECT SINGLE * FROM ZEMPLOYEE_1 INTO er_entity WHERE EMP_ID EQ wa_keytab-value.

Save and activate class.

Execute Transaction Code /IWFND/MAINT_SERVICE

Select service and activate it.

Information message will be displayed like below.

Now click on SAP GateWay client.

Press on EntitySet and select relevant entity set.

Add filter to fetch selected row from table.

We have successfully fetched single row of table , in next blog we will try to update entry of table.

Previous Post
Newer Post

Leave A Comment

Need Help?