Skip to Content
1
May 29, 2013 at 08:47 PM

Transaction WDBM with IDOC WBBDLD for Assortment List

2479 Views

Hello,

I want to send the Assortment List to our PI system through the WDBM transaction that generates an outbound IDOC WBBDLD. I'v already did all the necesary configuration (assortment list profile, WE21, WE20, etc) and the IDOC's are created. But it seems to be a restriction for the IDOC to be sended only to a type KU partner profile. Since we have more than 20 stores (and will continue to grow) it doesn't seem feasible to create 20 or more type KU parter profiles for maintenance reason.

Is there a way to configure the Assortment List Profile to make the IDOC to be sended to a single type LS (logical system) profile that would be pointed to our PI system?

I've debugged tx. WDBM and I've found a FM WDLD_IDOC_REDUCT_STRUCTURE_GET with the following source code:

...line:81:

i_rec_edk13-mandt = sy-mandt. " 99A

i_rec_edk13-rcvprn = locnr. " 99A

i_rec_edk13-rcvprt = 'KU'. " 99A Partnerart Kunde

i_rec_edk13-mestyp = pi_mestyp. " 99A

CALL FUNCTION 'EDI_AGREE_OUT_MESSTYPE_READ' "99A

EXPORTING

rec_edk13 = i_rec_edk13

IMPORTING

rec_edd13 = i_rec_edd13

EXCEPTIONS

db_error = 1

entry_not_exist = 2

OTHERS = 3.

...

The partner type of receiver is hardcoded to 'KU'. Our server is on SAP ECC 6.0 NW 731 with component EA-RETAIL v600.

Please help.

Regards...