Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Debmas05 to update customer email, website

Former Member
0 Kudos
2,052

Hi guys,

It's there a way to update the customer email and website in a DEBMAS05 segment?

Thanks

1 ACCEPTED SOLUTION

JL23
Active Contributor
0 Kudos
1,305

no way though DEBMAS IDoc, you have to use ADRMAS Idoc.

8 REPLIES 8

Jelena_Perfiljeva
Active Contributor
0 Kudos
1,305

Google -> DEBMAS05 email. This old post indicates that at least email would be an enhancement. Something could've changed since 2009, but I doubt.

With the IDocs it's usually quite simple - search the documentation and the field is either there or it isn't.

Abhijit74
Active Contributor
0 Kudos
1,305

Hello Nicolas,

Instead of that if you get the KUNNR then from ADR6 table based on ADRNR you will always get SMTP_ADDR. Otherwise you can create an extension of this IDOC if you don't have website field.

Thanks & Regards,

Abhijit

JL23
Active Contributor
0 Kudos
1,306

no way though DEBMAS IDoc, you have to use ADRMAS Idoc.

0 Kudos
1,305

Would've never guessed there was a separate IDoc. Live and learn! (especially from Jurgen )

JL23
Active Contributor
0 Kudos
1,305

this is something that could have made it to your

blog. DEBMAS is a product from the last millenium, taking just care about the old well known basic tables like KNA1, KNB1, KNVV and a few more.

Central address management came with release 4.5, the address fields in the old KNA1 table became in general obsolete. But SAP never developed anything (not to speak about a BAPI) to load a customer master with a single IDOC, just added a second Idoc for the new address data and explained the thing in OSS note 384462 - Master data and addresses

1,044

Steps to send customer master with email id:

1. Partner profiles: Make sure both DEBMAS and ADRMAS created from sender side

2. Partner profiles: Make sure both DEBMAS( Process Code: DEBI) and ADRMAS (process code: BAPI) are maintained on receiver side.

3. BD64: select appropriate distribution model view : Make sure the DMV is maintained for DEBMAS and add BAPI: AddressOrg.SaveReplica (Obj name/Interface: AddressOrg, and Method as SaveReplica) with no filters (unless you know why you need them)

4. BD12: send customer

5. WE02: check outbound IDOC with both basic type as DEBMAS07 and ADRMAS03. You should see both of them.

6. Resolve errors if any.

I know im late by 10 years.. 😄 but it will show up when someone needs it the most.

Former Member
0 Kudos
1,305

Thanks you all,

It's amazing that we need to use 2 diferent IDoc just to update simple data as a Telephone and email.

I'll take your adivices in mind when coding.

Thanks.

IndraReddy
Discoverer
1,076

Steps to send customer master with email id:

1. Partner profiles: Make sure both DEBMAS and ADRMAS created from sender side

2. Partner profiles: Make sure both DEBMAS( Process Code: DEBI) and ADRMAS (process code: BAPI) are maintained on receiver side.

3. BD64: select appropriate distribution model view : Make sure the DMV is maintained for DEBMAS and add BAPI: AddressOrg.SaveReplica (Obj name/Interface: AddressOrg, and Method as SaveReplica) with no filters (unless you know why you need them)

4. BD12: send customer

5. WE02: check outbound IDOC with both basic type as DEBMAS07 and ADRMAS03. You should see both of them.

6. Resolve errors if any.

I know im late by 10 years.. 😄 but it will show up when someone needs it the most.