03-19-2012 2:36 PM
In trans. XD03 you can change Customer Data and also create/change Internat. versions data.
When changes are only made to Internat. versions i.e. not to General Data at all then there is not generated any IDOC when running BD21. If one change has been made in General Data then an IDOC is created.
Question: Is it possible at all to create change pointers on Internat. versions data and trigger a DEBMAS IDOC?
After changing Internat. versions data entries can be found in table CDHDR and table CDPOS but again no IDOC is generated in trans. BD21.
Following has been done
· Extend DEBMAS idoc to hold International versions (Trans. XD03)
· User exit
· Create a new Message Type (YDEBMAS).
· WE81 (Create a New Message Type)
· WE82 (Link the IDoc Type to the Message Type)
· WE20 (Create or Change a Partner Profile)
· BD64 (Add the Message to the Customer Distribution Model)
· BD61 (Activate the change pointers globally)
· BD50 (Activate the change pointers for individual message types)
· BD52 (Activate change pointers for specific fields)
Best regards
Simon
/
03-21-2012 10:32 AM
Hi,
I believe the fields for which you wanted a idoc to be generated , in the data element the check box change document is marked.. For change pointers you need to check CDHDR,CDPOS, and BDCP table.. See if u are getting any entries in BDCP.You can also debug the function module (You can get it in BD60). apart from this go to SCDO tcode, specify the change document and see the generation info , you will find the update function module. Put a break point and debug it in UPDATE DEBUGGING mode and check why there is no idoc triggered. The ALE configurations specified by you are correct .
Regards,
Nagaraj
03-19-2012 3:35 PM
Hi
I think DEBMAS will not have international version data.
I guess you need to trigger and activate change pointers for ADRMAS, ADR3MAS, ADR2MAS
03-21-2012 10:01 AM
Hi Vinit
and thank you for your answer. Can you elaborate why you think it is not possible?
Br
Simon
03-21-2012 10:18 AM
Hi,
DEBMAS idoc with standard SAP functionality does not send international version data or any address data.
For using change pointers you need to trigger both the IDOCS if you want to send address data as well.
You can check ADRMAS for this.
03-21-2012 10:32 AM
Hi,
I believe the fields for which you wanted a idoc to be generated , in the data element the check box change document is marked.. For change pointers you need to check CDHDR,CDPOS, and BDCP table.. See if u are getting any entries in BDCP.You can also debug the function module (You can get it in BD60). apart from this go to SCDO tcode, specify the change document and see the generation info , you will find the update function module. Put a break point and debug it in UPDATE DEBUGGING mode and check why there is no idoc triggered. The ALE configurations specified by you are correct .
Regards,
Nagaraj
03-21-2012 10:50 AM
03-27-2012 8:39 AM
Hi Nagaraj
and thank you for guiding me in the right direction. After debugging the function module (MASTERIDOC_CREATE_SMD_DEBMAS ) I realised that the call to the function CHANGE_POINTERS_READ with object class ‘ADRESSE’ is missing. I will hand it over to our abap guys (I'm a PI guy) to ensure the right solution in order to (maybe) change a standard SAP module.
Best regards
Simon
07-29-2015 2:22 PM
Thanks for your post... I also was stuck in similar issue and then during debugging, I was able to figure out that someone has changed the end date for the Distribution model Due to which Article Master related BAPI was not triggering
Regards
Manish Agrawal
04-16-2016 7:09 AM
Hi Simon,
I am stuck with the same issue,
Since, change pointers for any field apart form KN* tables, can not be activated using Object class 'DEBI'. ( till i append it to KN* tables )
I used ‘ADRESSE’, now the call to read change pointers for this object class is missing in BD21.
'MASTERIDOC_CREATE_SMD_DEBMAS' --> 'CHANGE_POINTERS_READ'
but even after reading pointers, it dose not process any change pointers apart from the KN* tables.
please help me with, the solution.
as i only find three solutions,
1. add my field to KNA1
2. use both ADRMAS & DEBMAS
3. enhance BD21 to process ADRMAS.
WHAT SAY ?