Application Development 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: 

Change pointers does not generate IDOC

Former Member
0 Kudos

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

/

1 ACCEPTED SOLUTION

former_member404244
Active Contributor
0 Kudos

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

8 REPLIES 8

former_member189779
Active Contributor
0 Kudos

Hi

I think DEBMAS will not have international version data.

I guess you need to trigger and activate change pointers for ADRMAS, ADR3MAS, ADR2MAS

0 Kudos

Hi Vinit
and thank you for your answer. Can you elaborate why you think it is not possible?

Br
Simon

0 Kudos

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.

former_member404244
Active Contributor
0 Kudos

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

0 Kudos

Also check serialization concept for DEBMAS and ADRMAS

http://scn.sap.com/thread/945501

0 Kudos

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

0 Kudos

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

0 Kudos

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 ?