Application Development and Automation 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: 
Read only

Message Type for Change pointers

former_member295881
Contributor
0 Likes
2,196

Hello Experts,

I'm a rookie with Change pointer and Message Types but had to deal with them. For one of my interface I need to create a Message Type which I can use with FM 'CHANGE_POINTERS_READ'. After some research I've created a Message type using TCODE (WE-81). Then I used BD52 to add all the objects, tables and fields for change pointers. However, when I pass message type in FM 'CHANGE_POINTERS_READ' then it returns nothing. If I use another message type I FM returns list of changes done. Can somebody tell me if I'm missing something in creation of Message type or any other errors?

For reference here is my FM call.

---------------------------------------------------------------------------------------------------------------------------------------------------

* Get all changed customers
   call function 'CHANGE_POINTERS_READ'
     exporting
       message_type                = p_msgtyp (I created but doesn't return any changes, However using some other message types I do get all the changes)
       read_not_processed_pointers = c_x
     tables
       change_pointers             = i_change_ptrs
     exceptions
       others                      = 3.

   if sy-subrc ne 0.
*- An Unknown Error Occurred While Reading the Change Pointers.
     message e012.
   endif.

---------------------------------------------------------------------------------------------------------------------------------------------------

Many thanks in advance.

3 REPLIES 3
Read only

former_member215575
Active Participant
0 Likes
1,887

Hi,

Have to activated change pointers for new message type(BD50)?

Regards,

SG.

Read only

Former Member
0 Likes
1,887

Hi,

Please go through this link.

http://help.sap.com/saphelp_nw04/helpdata/en/78/2178da51ce11d189570000e829fbbd/content.htm

Prerequisites and Procedure for using this FM is given here.

Thanks,

Shambu

Read only

former_member295881
Contributor
0 Likes
1,887

Many thanks for both of you. I've activated my message type but still no luck (refer to the attached). Any more suggestions?