Skip to Content
0
Former Member
Jul 13, 2006 at 03:28 AM

Access proxy structure

30 Views

Hi-

I am trying to retrieve the values that i get in my proxy and insert the values to a table.

The screen shot of the structure that i have in proxy is Structure" target="_blank">http://venkat.healthyplace2.com/">Structure Screen Shot.

The code i have written is..

method ZII_MI_VENDOR_TO_BW~EXECUTE_ASYNCHRONOUS.

  • **** INSERT IMPLEMENTATION HERE **** ***

*tables zmdm_vendor.<b>I am getting an error here that i cannot use tables statement in a method.</b>

data: itab_venkat type ZMI_VENDOR_TO_BW_GENERIC_V_TAB.

data: wa_venkat like line of itab_venkat.

itab_venkat = Input-Generic_Vendor-Generic_Vendor_Record1.

  • Delete all existing records in the table.

delete zmdm_vendor.<b>I am getting an error that i cannot delete,what is the correct way to do?</b>

  • Now loop thru all the records of the inbound record and insert into *

  • the table.

LOOP AT itab_venkat into wa_venkat.

zmdm_vendor-vendorid = wa_venkat-generic_vendor_id1.

zmdm_vendor_groupid = wa_venkat-group_id1.

zmdm_vendor_country = wa_venkat-country1.

modify zmdm_vendor.

endloop.

endmethod

Can someone correct my code and help me.

Thanks in advance.

Venkat