cancel
Showing results for 
Search instead for 
Did you mean: 

CREMAS without ADR3MAS creation

Former Member
0 Kudos

Hi,

i have configured my ALE Szenario for CREMAS outbound with ADRMAS and ADR3MAS.

Testing with BD14 shows creation of ADRMAS and CREMAS but the ADR3MAS is missing.

Testing with BD12 shows creation of ADRMAS / ADR3MAS and DEBMAS.

The distributionmodel Filter shows only entries for Debitor related IDocs and even Z-DEBMAS IDocs but the CREMAS IDocs are missing.

How can I use the ADR3MAS for creditor related IDocs or how can i distribute the contact persons of a creditor (CREMAS IDoc) ?

Accepted Solutions (0)

Answers (3)

Answers (3)

alpesh_patel10
Advisor
Advisor
0 Kudos

Hi,

Please check KBA with new detials:

1829328 - ALE CREMAS IDOC does not send vendor contact person.

Thanks,

Alpesh

rdesarzens
Explorer
0 Kudos

Hi,

Yes, with CREMAS06 (in EHP7, SP05) vendor contact person is distributed through ALE.

BUT:

ADR3MAS is still not included. This means, that a contact persons email address e.g. will not be replicated to target system.

Or is there anyone who managed to get this working?

I managed to get it working like this:

Simply add an entry in BD48 (dependencies between methods and message types) with these values:

Obj.Type = BUS4003

Method = SAVEREPLICA

Ref. message type = CREMAS

Filter object type = AD_OBJKEY1

This allows you to maintain a receiver determination in BD64 for BAPI AddressContPart.SaveReplica with dependent distribution for CREMAS as well.

It works! Testing with BD14 creates a CREMAS, ADRMAS and now also a ADR3MAS IDoc being distributed to the target system.

Best regards,

Renaud

Former Member
0 Kudos

Hi, Renaid

Would you tell all settings necessary for unload ADR3MAS with CREMAS.

I have the same issue: DEBMAS outbound with ADRMAS and ADR3MAS, but CREMAS with ADRMAS only.

I have Distribution Model for CREMAS/DEBMAS with AddressOrg, AddressContPart, AddressPers objects with SaveReplica methods

and I set record BUS4003 / SAVEREPLICA / CREMAS / AD_OBJKEY1 in BD48

rdesarzens
Explorer
0 Kudos

Hi Александр Назаренко

Here you go...

Requirement: EHP7, min. SP05 ( see SAP note http://service.sap.com/sap/support/notes/1829328 )

Step 1: Required entry in transaction BD48

Step 2: maintain your distribution model

Now with above entry, you are able to maintain your distribution model accordingly. Ours looks like that:

Step 3: Required entry in transaction WE57

( see SAP note: http://service.sap.com/sap/support/notes/2058455 )

Step 4: Add missing functionality in function module MASTERIDOC_CREATE_SMD_CREMAS

THIS IS A MODIFICATION!!! (We will raise a customer message for it soon. AFAIK there is no SAP note addressing this issue till today).

Adding or changing a contact person in an already existing !!! vendor master - without changing anything else in this same vendor master - creates a KNVK change pointer in table BDCP2. However, this change pointer is never picked up by this function module and thus no CREMAS06-IDoc is triggered/created and thus no contact person additions/changes (would be in a KNVK-Segment of a CREMAS06-IDoc) are sent to some target system.

To solve this, we "copied" over some logic (see red lines) we found in  MASTERIDOC_CREATE_SMD_DEBMAS to function module MASTERIDOC_CREATE_SMD_CREMAS and adopted it for LFA1 (search for WHEN 'KNVK').

[...]

WHEN 'KNVK'.

  PERFORM move_x_to_y USING t_chgptrs-tabkey+0(3)

                            f_knvkkey-mandt.

  IF f_knvkkey-mandt = space.

    f_knvkkey-mandt = t_chgptrs-mandt.

  ENDIF.

  f_knvkkey-lifnr = t_chgptrs-cdobjid.

  PERFORM move_x_to_y USING t_chgptrs-tabkey+3(10)

                            f_knvkkey-parnr.


  f_lfa1key-mandt = f_knvkkey-mandt.

  f_lfa1key-lifnr = f_knvkkey-lifnr.

  t_lfa1key-mandt = f_knvkkey-mandt.

  t_lfa1key-lifnr = f_knvkkey-lifnr.


  PERFORM convert_cdchgid_to_msgfn

    USING 'S'

          t_lfa1key-msgfn.


  READ TABLE t_lfa1key WITH KEY f_lfa1key BINARY SEARCH.

 

  IF sy-subrc <> 0.

    INSERT t_lfa1key INDEX sy-tabix.

  ENDIF.


  READ TABLE t_knvkkey WITH KEY f_knvkkey.

  MOVE f_knvkkey-mandt TO t_knvkkey-mandt.

  MOVE f_knvkkey-lifnr TO t_knvkkey-lifnr.

  MOVE f_knvkkey-parnr TO t_knvkkey-parnr.

  PERFORM convert_cdchgid_to_msgfn USING t_chgptrs-cdchgid

                                         t_knvkkey-msgfn.

  IF sy-subrc <> 0.

    APPEND t_knvkkey.

  ELSE.

    MODIFY t_knvkkey INDEX sy-tabix.

  ENDIF.

* add pointer to processed pointers

  MOVE-CORRESPONDING f_knvkkey TO t_cpident_cre.

  MOVE t_chgptrs-cpident TO t_cpident_cre-cpident.

  APPEND t_cpident_cre.

[...]

Step 5: Check your Partner Profile (transaction WE20)

In your sending/source system, ensure you put in "CREMA06" as the basic type in your outbound parameters of your partner profile.

Hope this will help you and others as well.

Regards

Renaud

Former Member
0 Kudos

Hello,

I have the same problem : replicate vendor master data with contact person from one system to another one using ADR3MAS...

Did you find a solution to this problem without moving to SCM -customer /vendor ?

If yes, I am very interested to know how you proceed...

Many Thanks in advance for your help,

MP.AL.

Former Member
0 Kudos

Hi

you may succeed to link and distribute ADR3MAS idocs BUT the main lack is with CREMAS.

CREMAS does not support distribution of vendor contact persons.

This is a non-developped process.

Sorry only a modification would help.

Alain

should be moved to

Former Member
0 Kudos

That´s the same response i have allready got from SAP OSS.

Thanks,

Gordon