Quantcast
Channel: SCN: Message List - ABAP Development
Viewing all articles
Browse latest Browse all 10425

Re: how to assing partners to a customer using standard bapi/class

$
0
0

Hi

 

 

    CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'

      EXPORTING

        i_kna1  = is_kna1

      TABLES

        t_xknvk = it_knvk

        t_yknvk = it_knvk2

      EXCEPTIONS

        OTHERS  = 23.

 

 

and to modify the address info

 

      CALL FUNCTION 'BAPI_ADDRESSCONTPART_CHANGE'

        EXPORTING

          obj_type_p  = 'BUS1006001'

          obj_id_p    = w_id_p

          obj_type_c  = 'KNA1'

          obj_id_c    = w_id_c

        TABLES

          bapiadtel   = it_telf

          bapiadfax   = it_fax

          bapiadsmtp  = it_smtp

          bapiadtel_x = it_telf_x

          bapiadfax_x = it_fax_x

          bapiadsmt_x = it_smtp_x

          return      = it_return.


regards

Fred


Viewing all articles
Browse latest Browse all 10425

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>