on 03-20-2019 9:12 AM
Hi there,
on my MDG system I have created a replication model that is triggered on creation ofBusiness Partner / Customer in MDG.
It consists of MDG configuration:
On ALE side there is a distribution model and partner profile for DEBMAS Idoc type.
Until here it works fine. DEBMAS Idocs are created an send from the replication model.
Replication monitoring on MDG says: "Process Messages > IDoc 000000x with a data record was transferred"
Nice.
Question:
How can I change the described configuration to trigger a custom IDOC extension type (say) ZDEBMAS?
I changed ALE distribution model and partner profile to ZDEBMAS. In connection with the MDG replication framework this seems to be not enough.
Symptom: The replication monitoring now says "No customer IDOC (DEBMAS) was sent, check Customizing settings"
Where is the missing link to tell the MDG to use ZDEBMAS?
I am aware that after that I have to fill the additional data to the custom segments. But first step would be to trigger the custom type, isn't it?
Best regards.
Hi Ingo,
Replication framework and its configuration only works for message type. DEBMAS is your message type.
When the system is replicating the DEBMAS message type, Idoc DEBMAS07 ( Assuming this is the latest configured basic type in your system ) will get triggered.
You must have created an extension of the same basic type in your system say ZDEBMAS and configured in WE20 ( Partner Profile).
Everything is done. The only thing is left to tell the system, that the extension type is created and system is suppose to pick this one instead of the basic type.
Solution:-
Implement the BADI: CUSTOMER_ADD_DATA_BI
Create your own Z class and implement the method IF_EX_CUSTOMER_ADD_DATA_BI~FILL_ALE_SEGMENTS_OWN_DATA
Make sure that you assign the new extension to the E_CIMTYPE Changing parameter of this method.
eg:- E_CIMTYPE = 'ZDEBMAS'.
Now the system will send the extension instead of the basic type.
PS: This is the same method where you can fill the data in the custom segments as well.
Cheers,
Rohit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.