11-30-2007 1:59 AM
hi ALL,
I need to change the telephone number TELF1 in table KNA1.
say I need to change customer telephone value to 001233222.
how can i handle a standard table contents.
rpoints will be rewarded
thanks in advance
11-30-2007 2:13 AM
Hi Jai,
Avoid directly updating SAP standard table(s)...use a BAPI or screen logic for the update so that all standard checks can be executed by the system before the update.
Cheers,
Sougata.
11-30-2007 2:01 AM
Either change the Contents using a standard BAPI or use
UPDATE
statement.
A
11-30-2007 2:13 AM
Hi Jai,
Avoid directly updating SAP standard table(s)...use a BAPI or screen logic for the update so that all standard checks can be executed by the system before the update.
Cheers,
Sougata.
11-30-2007 2:18 AM
Strangely enough, there doesn't seem to be a BAPI to change a customer (or a vendor, for that matter). There is one for create, delete, read etc. but not for change. The ones for EDIT call the dialog transaction... doesn't make much sense.
Your best bet appears to be to do some BDC-like processing (like CALL TRANSACTION 'XD02' USING...). In case of just the phone number, this is easy enough.