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

IDOC triggering with Even Linkage for IW32 & IW22

Hi All,

I have to trigger the IDOCs for message type IORDER whenever there is a change in Order (IW32) using the Event Linkage.

As there is no standard event in BUS2007 for change, i have delegated the BUS2007 with custom Event CHANGED with CHANGE method and few lines of code for IW32.








Now to trigger the Event on any change in IW32, I have configured the Event Linkage in SWE2 with following parameters:

Object Category: BO

Object Type: BUS2007

Event : Changed

Receiver type: 'test' (I assume it can be any text)

Receiver Call: Function Module

Receiver Function Module: ZTEST_FM (Template copy from SWE_TEMPLATE_REC_FB) No Code for now.

Destination of receiver: RFC created by Java developer with JCo path in RFC

Event Delivery: tRFC

Linked Activated : tick

I put my code in the RFC Enabled Receiver Function Module "ZTEST_FM" to trigger the IDOC using the IDOC triggering Function module: "MASTER_IDOC_DISTRIBUTE" but I am not getting any IDOC in IW02.

When i put the External Breakpoint in custom FM, ZTEST_FM, it is not getting to it.

When i see the Event log in SWEL, i get the Trace Data as

Action : Receiver started correctly

RFC Status : The JCoServerFunctionHandlerFactory

I am not sure where i am wrong.

Need your Input to run this scenario.



Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 07, 2014 at 03:58 AM

    Sorry i was on holidays with less internet access.

    The Solution is as below:-

    1) Created a Subtype BUS2007 with new event 'CHANGED' for Tcode IW32.

    2) Configured it in SWEC with the new ZBUS2007 CHANGED event and change button selected.

    3) Configured the ZBUS2007 event CHANGED in SWE2 with a receiver FM without any RFC rest is as mentioned in my thread.

    The problem is you cannot debug the receiver FM, So what i did is i put the same code in another FM and put it in Check FM. That too you cannot debug with internal or external breakpoint. So i used infinite look debugging concept and debugged it using SM50. It then triggered my FM.


    Manish T

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 16, 2013 at 09:50 PM

    Still awaiting for your response/suggestions..



    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.