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

Ideas for SAP-with-DB-synchronisation scenario

Hi experts,

I have a customer requirement for migrating a communication scenario and try to figure out if this can be done in a good manner via PI.

The scenario is as follows:

A synchronisation of active usere between a SAP system and MySQL database shall be done. Therefore all active users shall be pulled or pushed from the SAP system (which shouldn't be the tricky part) and then either inserted or updated in the MySQL database.

The problem is, that it is possible that users are in the MySQL database and not active in the SAP system anymore. In this case the user in database should be deleted.

Is there any way of doing so? I can imagine solving the insert/ update part with an UPDATE_INSERT- statement in the JDBC receiver, but what about the deletion?

Thank you for sharing your ideas!

Best regards,

Phillip

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    Posted on Nov 06, 2012 at 11:56 AM

    >Is there any way of doing so? I can imagine solving the insert/ update part with an UPDATE_INSERT- statement in the JDBC receiver, but what about the deletion?

    You can use delete part in the receiver channel or if you want to handle both update and delete collectively then you might have to use Stored procedure . Take help from DBA.

    refer this document

    http://help.sap.com/saphelp_nw2004s/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm

    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.