Skip to Content
author's profile photo Former Member
Former Member

how to update the table contents in std table KNA1

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Nov 30, 2007 at 02: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.

    Add a comment
    10|10000 characters needed characters exceeded

    • 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.

  • author's profile photo Former Member
    Former Member
    Posted on Nov 30, 2007 at 02:01 AM

    Either change the Contents using a standard BAPI or use

    UPDATE 

    statement.

    A

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.