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

XI - Publish and Subscribe

Hi All,

From my recent discussions with SAP folks in XI, I realized WebServices is the way to go.. But How do you accomplish a publish/subscribe (not a request-response and hence WebService wont fit the theme or will it ? ).. As an illustration, let us say I have following scenario

> A new customer is entered in SAP system

> I will have the process configured to "spit" out a idoc(??)

> The idoc will be routed to XI (can it) and then I need it to be sent to systems outside of SAP like a legacy system that can handle JMS etc..

This is a typical pub(XI is the publisher) and sub(non-SAP systems subscribe)..How can this be done ? I do not think WebService is a way to go..

Regards

Madhu

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • Posted on Oct 03, 2005 at 07:32 PM

    hi Madhavan,

    in SAP this is done by scheduling a job

    once a new customer is entered

    your scheduled report sends customer master data

    you can schedule your report (TCODE - BD12 I think) to one day or every 5 minutes... it depend on your needs and the system performence

    Regards,

    michal

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 03, 2005 at 08:09 PM

    Write an ABAP program who reads the customer master data and post it in an IDOC. IDOC type DEBMAS03 could be used for that.

    Create an event in SM62. Schedule your program to start on the Event.

    Use an user-exit in the customer master data (SAPMF02D) an trigger the Event here using the function module BP_EVENT_RAISE.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 09:11 PM

    HI,

    As from the replies, there are lot of ways to tackle this and lot of possible options to get this working.

    Let me put in my suggestion:-

    Use the transaction SWEC(Event Linkage for Change Documents) to attach the customer master change document object to a Function module. The Idoc generation can be done here( Either by creating the IDOC message fully or submitting the report RBDMIDOX which generates the IDoc from change pointers - for this the change pointers need to be activated for customer master message type).

    Thanks & Regards,

    Renjith

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 03, 2005 at 09:14 PM

    Hi.

    You will have configured the SAP system to spit out an iDoc upon the creation of a customer.

    This iDoc will be sent to the XI system (using proxies (native XI format) or the iDoc adapter).

    Once the iDoc gets into XI, you will have configured XI to map the iDoc to the format required by the target legacy system. Once mapped, the target message is sent to the relevant target system via the configuration of a communication channel. The communication channel in the Integration Directory (config time) component enables you to define receivers of this new customer.

    Hope this helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 04, 2005 at 04:41 PM

    All - Thanks much for your replies.. Very enlightening.. I do have another clarification to the same issue..

    > If the target system is an application (needs API calls - not a database) should I build new adapters using the adapter development kit

    > I also heard that XI does not act as a JMS server although it can talk JMS. So, this means I need to have a JMS provider server - right (like Weblogic etc) ?

    Thanks much

    Madhavan

    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.