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

Schedule Background Job whenever new message WVINVE

Hi All,

I have following requirment:-

Schedule Background Job with a ABAP program,

whenever new message type WVINVE posted in SAP inbound.

I am confused in "Event" which i select in SM36.

Or, is there any other method to trigger a background report, whenever WVINVE03 IDOC posted in SAP system & create physical Inventory document.

regards

Umesh

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 02:50 PM

    For triggereing a background job, when ever a message type WVINVE is posted. You need to create a

    Background Job with the the program and mark the Job Event periodic. Secondly you need to trigger that event from the Inbound processing program or Function module which processes the message type using the Function module <b>BP_EVENT_RAISE</b>. so when ever a message type is processed it will trigger the event which inturns trigger the Job.

    Hope this will Help.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 05, 2005 at 01:24 PM

    Hi

    U can do it with the AFTER EVENT parameter in the background job definition which will be triggered after the inbound...

    Regards,

    Abdul

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 01:25 PM

    Umesh,

    Have you thought about creating a background dynamcially using the code instead of using SM36.

    I don't know if you IDOC functions are editable, if YES then you can use the JOB SUBMIT, SUBMIT REPORT and JOB CLOSE functions.

    Regards,

    Ravi

    Note : Please reward points for helpful answers.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Dec 05, 2005 at 02:58 PM

    One more point i forgot to add was, We need to register the event name using transaction SM62.

    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.