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 with custom message type

Former Member
0 Kudos

Hi Gurus,

              I have a requirement on Idoc, i.e whenever user change the particular fields data in the transaction (PA30) and then he click on save, automatically the changes should trigger the idoc.

To achieving this functionality, I have do the following steps:

WE31  :   Segment creation    (With the Particular fields of PA30)

WE30  :   Basic Idoc creation  (With above segment)

WE81  :   Logical Message Type creation

WE82  :   Assign the Idoc to Message type

BD50   :   Activate the Message type (change pointer)

BD64   :   Distribution Model Created with the above Message type

And finally i have done the configuration things to trigger the idoc.

After that i executed the transaction PA30, and make some changes on particular fields,finally i executed the transaction BD21 with my own message type. The result will be like this ' Data not found', it won't trigger the idoc.

Please guide me to trigger the Idoc.

Thanks in Advance

Regards,

SR Krishna.

1 ACCEPTED SOLUTION

former_member184569
Active Contributor

Hi Siva,

The change pointers are not active for all fields. In IMG (BD52), you specify the fields that must trigger the idoc. Make sure that the field that you are changing in PA30 is also included.

Also verify, if the in the data element of these fields, the change document check box is selected.

6 REPLIES 6

former_member184569
Active Contributor

Hi Siva,

The change pointers are not active for all fields. In IMG (BD52), you specify the fields that must trigger the idoc. Make sure that the field that you are changing in PA30 is also included.

Also verify, if the in the data element of these fields, the change document check box is selected.

0 Kudos

Hi Susmitha,

Thanks for your reply.

 

     One thing i don't understand in BD52   i.e 'OBJECT'

     What is this object and how can we create this object?

     will you please provide detail information about this one.

- SR Krishna

0 Kudos

Change document object in CDHDR table. Like we have DEBI etc.

0 Kudos

Check transaction SCDO and find the relevant object corresponding to your infotype (though not all infotypes are here.)

You may have to create the change document object in SCDO if its not already there for the required infotype.

Refer this link for more details on change object.

SAP Library - BC Extended Applications Function Library

0 Kudos

Hi Susmitha & Nabeeth,

Thanks for your immediate response.  I am entirely new to this change pointers concept.

What i understand - To trigger the Idoc of particular field changes of PA30 transaction is,

1. Activate the Message type with Required Object, Table, Fields

2. And then do the Distribution model with this message type in BD64

3. Finally execute the Transaction BD21

This will be enough or we can maintain any logic.

Regards,

SR Krishna.

0 Kudos

Yes looks like...via BD64 the partner profile should get generated their is an option which you should also carry out

Nabheet