Skip to Content
0
Former Member
Sep 22, 2006 at 09:02 PM

SD_CUSTOMER_MAINTAIN_ALL

311 Views

Hello,

I'm currently trying to update bank account data for a customer through SD_CUSTOMER_MAINTAIN_ALL. When I update the record, I get 5 records written out to ADRU each missing PERSNUMBER and VALID_TO??

CLIENT ADDRNUMBER PERSNUMBER COMM_TYPE CONSNUMBER COMM_USAGE VALID_TO VALID_FROM DEF_USAGE

260 3000000133 INT 001 AD_DEFAULT X

260 3000000133 INT 001 AD_HOME X

260 3000000133 TEL 001 AD_DEFAULT X

260 3000000133 TEL 001 AD_HOME X

260 3000000133 TEL 001 AD_NMBDEFA X

I am reading KNA1 for my customer for i_kna1. I am also populating t_xknbk and t_yknbk with the bank data.

CALL FUNCTION 'SD_CUSTOMER_MAINTAIN_ALL'

EXPORTING

i_kna1 = ls_kna1

  • I_KNB1 =

  • I_KNVV =

  • I_BAPIADDR1 =

  • I_BAPIADDR2 =

  • I_MAINTAIN_ADDRESS_BY_KNA1 = ''

  • I_KNB1_REFERENCE = ' '

  • I_FORCE_EXTERNAL_NUMBER_RANGE = ' '

  • I_NO_BANK_MASTER_UPDATE = ' '

  • I_CUSTOMER_IS_CONSUMER = ' '

  • I_RAISE_NO_BTE = ' '

  • pi_postflag = ''

  • PI_CAM_CHANGED = ' '

  • PI_ADD_ON_DATA =

  • I_FROM_CUSTOMERMASTER = ' '

  • IMPORTING

  • E_KUNNR =

  • O_KNA1 =

  • E_SD_CUST_1321_DONE =

TABLES

t_xknbk = lt_knbk_upd

t_yknbk = lt_knbk_old

Am I not populating something correctly? I am not attempting to update any address information.

Thanks for any Help.

Brent