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

Trigger an Event in PI when IDOC is created

Hi Expert ,

I am working on a inbound scenario where multiple IDOC is created from one XML file . When the IDOC is getting posted in ECC then its taking time to get processed . IDOC is getting processed by a batch job RBDAPPO1 and it is scheduled after every 30 min so IDOC processing is delayed for 30 min if it is getting posted just after the completion Job . We can't increase the frequency of job at its taking lot of resource .

So is it possible to create an event when IDOC arrives in ECC which will run the job program i.e instead of running the background job at scheduled time is it possible to raise an event while posting IDOC so RBDAPP01 can be run just after the IDOC is received in ECC.

There is an option of Process IDOC immediately in parter profile but we don't have to go for that as at one time lots of IDOC is being posted in ECC.

Regards,

Saurabh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2010 at 03:47 PM

    It seems ABAP enhancement needed.

    You need fot find out the what function module for the IDOC posting, and enhance the function module by executing the job.

    Regards

    Liang

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Thanks all problem resolved .Points awarded .

      Dummy IDOC working in interface determination we have to use EOIO (No need to use queue processing in IDOC CC)and dummy IDOC will get posted in last .

      the FM assoiated with Dummy IDOC will call the RBDAPP01 program .

      Regards,

      Saurabh

  • author's profile photo Former Member
    Former Member
    Posted on Oct 01, 2010 at 12:24 PM

    Hi,

    Along with Idoc message interface, use another interface at inbound. The interface structure may like as Trigger_Event, Trigger_Date and Trigger_Time.

    You can map CONSTANT value to field Event and system Date & Time to other two fields in your message mapping. Generate Inbound proxy and write the logic here,to raise an event to execute a batch job RBDAPP01.

    By doing this whenever XML file getting processed it will post an Idocs to ECC and your inbound proxy will trigger EVENT to execute the job. If there are any timing problems in process of Idocs and event triggering of job, you can put some delay time in proxy before raising an event. This delay time is useful to ensure all posted IDocs are getting processed.

    Still if there are any unprocessed Idocs seen on ECC, you can keep the job whcih is triggering for every 30 minutes of time.

    Hope it will helps to you.

    Cheers

    Veera

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks veera for your reply so you are suggesting that in file to IDOC scenario I shoud use it as file to IDOC and Proxy .

      i.e I should use two interface as inbound interface one IDOC and other Inbound interface which will trigger proxy , and in interface determination I should add the additional inbound interface and the IM which wil carry the date and time and then proxy will be trigerred at ECC. this proxy will run the report RBADPP01 which will post the IDOC at same time when they will arrive .

      Regards,

      Saurabh

  • author's profile photo Former Member
    Former Member
    Posted on Oct 05, 2010 at 10:58 AM

    Hi,

    We had a similar issue. You can write a abap report which will trigger the RBDAPP01 posting program.We had scheduled the job to run our custom IDOC posting program to run every 15 mins posing only 100 IDOCS everytime.

    Thanks,

    Sonalisa

    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.