Skip to Content

update address communication details

hi

may i know which function module can update address communication details

tables ADR2, ADR3, ADR6, ADRT, ADRCOMC?

i tried function module 'ADDR_SAVE_INTERN' and it can insert to database successfully, but when i view the BP in standard transaction, it has errors.

any help is appreciated.

thanks.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

6 Answers

  • Best Answer
    Posted on Apr 19, 2007 at 06:41 AM

    You should have tried the bapi: BAPI_BUPA_ADDRESS_ADD to add an address to a BP.

    Regards,

    Ravi

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 19, 2007 at 06:43 AM

    hi

    i am not adding a new BP.

    i am just updating the address communication such as telephone, fax, email details in a customized screen.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 19, 2007 at 08:33 AM

    hi ravi

    thanks for replying.

    i do not need to add an address.

    i have the address number.

    what i need is to update the address independent communication and address dependent communication details.

    i have tested the BAPI_BUPA_ADDRESS_CHANGE (insert a new telephone number and also with data in BAPIADTEL_X with updateflag = 'I')

    and did a BAPI_TRANSACTION_COMMIT after that.

    however the data is not reflected in the database and standard transaction

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      I have a simular problem when trying to add a address with this BAPI and if I debug through it I can pick up address numbers for the new address etc. No return errors but I cannot se any change on the BP transaction or database.

      Did you find a solution to this problem?

  • Posted on Jul 17, 2007 at 05:51 AM

    Hi anina

    i have solved my problem.

    how can i help you?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 17, 2007 at 07:41 AM

    in my actual function, i did not use BAPI_BUPA_ADDRESS_CHANGE.

    however, i did successfully get it to work. The function will not work when you run in SE37. You have to put it down in code, then call BAPI_TRANSACTION_COMMIT after the function call. And which type of address communication are you changing, dependent or independent?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 23, 2007 at 02:41 AM

    In reply to original question, take a look at documentation of function module ADDR_GET. There is a link in this to documentation of Function Group SZA0 where lots of functions for address maintenance are documented, with sample code.

    For Address communication details it lists function <Address object>_COMM_GET to read data and <Address object>_COMM_MAINTAIN

    to update it. It also mentions that <i>Address data changes are only written to the database after 'ADDR_MEMORY_SAVE' has been called.</i>

    Andrew

    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.