Skip to Content

BAPI to update standard customer tables

Hi All,

I got requirement to update the following fields NAME1 NAME2 STRAS NAME3 ORT01 PSTLZ from standard tables ADRC, KNA1, MHNK, MHNKO, REGUH, SADR. Is their any BAPI available for the same.


Also please suggest me if there is any best solution available instead of modifying the tables using MODIFY statement.

Thanks,

Sneha

Add comment
10|10000 characters needed characters exceeded

5 Answers

  • Best Answer
    Posted on Feb 20, 2015 at 03:26 PM

    Hi Sneha,

    You would use these Bapi functions:

    BAPI_CUSTOMER_CHANGEFROMDATA

    BAPI_CUSTOMER_CHANGEFROMDATA1

    regards,

    Kadir

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 23, 2015 at 10:24 AM

    Hi all,

    Using BAPI's mentioned by Kadir I can be able to update tables KNA1, ADRC. I need to update rest of the tables too which I have mentioned. Can you please provide me any other BAPI so that I can update all the tables.

    Thanks,

    Sneha

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Sneha,

      I would suggest you to go for modifying tables instead of using Multiple options for each tables you want to update.

      As there are BAPI to update KNA1, ADRC

      BAPI_CUSTOMER_CHANGEFROMDATA

      BAPI_CUSTOMER_CHANGEFROMDATA1.

      and you want to update both Z tables too, so you can go for modify statement for each table you wish to update.

      Regards,

      Arif

  • author's profile photo Former Member
    Former Member
    Posted on Feb 23, 2015 at 10:13 AM

    Hi Sneha,

    For Updating any Standard, either you have to use above BAPI's as posted by @Kadir Celikmih

    or you can modify the specifying all key fields.

    and in case of Z-tables, you have to write a custom code in your program.

    Regards,

    Ashish Patil

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 24, 2015 at 07:03 AM

    Hi All,

    Does any BAPI's available to update MHNK, MHNKO, SADR, REGUH. Please suggest me.

    Thanks

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2015 at 07:12 AM

    Thanks to every one for their valuable post but My requirement is suppose I have 3 line item and I need to change on 2nd line item then what will be the approach that I want to know...

    Add comment
    10|10000 characters needed characters exceeded