‎2006 Jan 24 11:05 AM
Hi all,
How can we delete 10 vendors from database?
can we use BDC or directly from database tables?
Or any other method can we follow?
Thanks in advance,
K P
‎2006 Jan 24 11:07 AM
First of all to delete vendors from database you will need archiving program . With BDC of XK02 you can only mark vendor for deletion ( LFA1-LOEVM ) but not delete the lines from LFA1 .
For archiving the tcode is SARA and object for vendor is FI_ACCPAYB.
Cheers.
Sanjay
‎2006 Jan 24 11:07 AM
First of all to delete vendors from database you will need archiving program . With BDC of XK02 you can only mark vendor for deletion ( LFA1-LOEVM ) but not delete the lines from LFA1 .
For archiving the tcode is SARA and object for vendor is FI_ACCPAYB.
Cheers.
Sanjay
‎2006 Jan 24 11:08 AM
Hi K.P,
Best way is use BDC.Its is better to never
insert/delete data from mastert tables directly.
Thanks&Regards.
Siri.
‎2006 Jan 24 11:08 AM
with BDC u can just mark for deletion.
after marking, u can write
DELETE FROM <DBTAB>
‎2006 Jan 24 11:09 AM
Use this bapi,
BAPI_VENDOR_DELETE
This BAPI sets Deletion Indicator Online for Vendor Set the delete indicator online for the vendor to be transferred.
‎2006 Jan 24 11:12 AM
Hi,
SAP recommends that data to be inserted or
deleted from table using transacton. Write a bdc
for xk02 and mark the vendor as deleted.
Further selection take records where loevm <> 'X'.
Regards
Amole
‎2006 Jan 24 11:22 AM