Skip to Content
author's profile photo Former Member
Former Member

Table Changes with Change Pointer

Hello all,

I have a table in system A(a self defined Table with Delivery class "A" with "Display and Maintanance Allowed").

Have the same table in System B as well.

My problem is whenever someone changes something in the table in System "A" - with the help of changepointers ,I have to send an Idoc to System "B" to reflect this changes in system A.

I havent worked with changepOinters and have no idea how to do this.Does this have to be done programatically?

Any tutorial or any pointers in this direction would be really helpful.

Thanks

K

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2011 at 09:55 AM

    Settings on the Sender End

    Table Creation T u2013 Code SE11. The table contains data that is to be sent to Receiver.

    ALE Configuration

    T-Code u2013 SALE

    In partner profile :

    Outbound Parameters add the Message type i.e is Z message type.

    Define the segment type in WE31-Add table fields

    Define the basic type - WE30

    Next you need to make the entry of the segment in the system table.

    Tcode : WE81

    Code a program using 'MASTER_IDOC_DISTRIBUTE'

    Reciever end :

    Defining Partner Profiles ,add z message type in Inbound section.

    Steps to be repeated on the receiver end

    Tcode WE30

    Tcode WE31

    Tcode WE82

    Tcode WE81

    Here on the receiver end, we need to specify a process code at the time of defining the partner profile.

    Process code is something that has the logic defined about what to be done after receiving the IDOC.

    In our case, on receipt of the IDOC, we are updating the Z Table. i.e Inserting the data from the IDOC into the Z Table.

    Creating a Process Code Tcode u2013 WE42

    The logic needed is coded in the Function Module ,(Create a Z FM)

    Also the processing type is selected as Processing by Function Module .

    But in order to make the entry of FM to be available in the drop down ,add it in TCode u2013 BD51

    Also it is important to make the entry in Tcode WE57 of FM/MESAGE TYPE etc

    What to code in FM ,I guess you know 😊

    Thanks!

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 01, 2011 at 07:07 AM

    Hello,

    Firstly you need develop a custom outbound idoc in system A to extract data from table.

    and and custom inbound Idoc in system B to update the data in the table.

    for custom idoc develeopment

    http://wiki.sdn.sap.com/wiki/display/ABAP/ALEandIDocs

    once you have your idoc created you need to create distribution model. in this you may activate change pointers based on your message type and fields

    regards,

    Abhishek

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.