Skip to Content
avatar image
Former Member

ADRC table is not getting updated

Hello Friendz

I am using BAPI_BUPA_ADDRESS_ADD function module to update ADRC table for address details.

When test this function module with one customer passing the parameter the ADRC table is not getting updated.

Can anybody tell me which parameter I have pass to get the ADRC table updated.

Regards

Manisha

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

13 Answers

  • avatar image
    Former Member
    Sep 02, 2008 at 05:09 AM

    Did you use BAPI_TRANSACTION_COMMIT FM after your FM if not please use this.

    Thanks

    Sudharshan

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 05:09 AM

    Hi,

    Try to Use the FM 'BAPI_BUPA_ADDRESS_CHANGE'

    If you use this FM,You can change the existing Addresses of the Partners,customers,etc...

    Regards,

    Rama.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 05:12 AM

    Are you getting the values in ADDRESSGUID which is export parameter?ADDRESSGUID uniquely identifies the address over all systems.

    if you are only changing the address than you can also use BAPI_BUPA_ADDRESS_CHANGE.also commit your work.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 05:12 AM

    Hi

    You have to do BAPI COMMIT then only it will update the table.

    In SE37, menu Function Module --> Test --> Test Sequences.

    There give FM 'BAPI_BUPA_ADDRESS_ADD' first and then 'BAPI_TRANSACTION_COMMIT' next and then execute.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 10:19 AM

    Hi Friendz

    I am using function module BAPI_BUPA_ADDRESS_CHANGE

    but adrc table is not getting updated. I am getting error message from bapiret2 as business partner does not exist.

    Can anybody tell me what parameter I have to pass to BAPIBUS1006_HEAD-BPARTNER, Rright now m passing Kunnr.

    Plz help.

    Regards

    manisha.

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi,

      Why are you passing Customer No[Kunnr] to field Business Partner.Check the check table[BUT000] for this field and pass the similar value to this field.

      Thanks

      Sudharshan

  • avatar image
    Former Member
    Sep 02, 2008 at 11:33 AM

    Hi Sudarshan

    I want to update customer address details in ADRC table for that I am using the above function module. In this case what will be the parameter for BAPIBUS1006_HEAD-BPARTNER

    or is there is anyother function module that can be used.

    Thanx and regards

    Manisha.

    Add comment
    10|10000 characters needed characters exceeded

  • Sep 02, 2008 at 11:40 AM

    Manisha,

    are you looking to update only customer address.

    why not you used BAPI_CUSTOMER_CHANGEFROMDATA1 and pass all parameter of customer address in BAPIKNA101_1

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 12:21 PM

    Hi Amit

    I need to update street1 street2 and street3 for the customer which is there is ADRC table. So I need to update the ADRC table.

    Do you know any other way??

    Regards

    Manisha.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 12:44 PM

    Hi

    If u see these structure U will not find those fields which I want!!

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Sep 02, 2008 at 12:56 PM

    Ya thats what I am telling you

    These fields are there is ADRC table. I need to update those!!

    Add comment
    10|10000 characters needed characters exceeded

    • I need to update street1 street2 and street3 for the customer which is there is ADRC table

      Though These fields are not in above Bapi but still you desparate to update them than you need to write one small utility in se38 for update ADRC.

      your code some looks like :

      select from adrc into table itab where adrnr = <kna1-adrnr>

      than

      update ADRC from itab.

      PS:structure of itab shold be same as ADRC.