cancel
Showing results for 
Search instead for 
Did you mean: 

Event for Vendor invoice.

former_member193771
Contributor
0 Kudos

Hi,

I want to trigger the workflow when the vendor invoice gets parked. The vendor invoice comes in as an idoc, I want to trigger another workflow, if the vendor invoice doesnot get parked too.

What object is best suited.

Thanks in advance.

Sathish.

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Sukumar,

Not sure that this would work for Idoc or not, but for incoming vendor invoices (tcode MIRO) business object BUS2081(IncomingInvoice) can be used.

Check out in SWO1. I am not in front of system but you will find event which will be helpful for you or else you can also create your own one.

Cheers

Jai

former_member193771
Contributor
0 Kudos

Hi,

Is there some activation to be done from the configuration side for the event to be active.....

Thanks.

Sukumar.

Former Member
0 Kudos

Sukumar,

Two things:

1. If you are using any standard workflow (check in PFTC for that) then ofcourse you gotta activate the event in triggering event. might require to do some task level customizing (tcode OOCU) and if you are creating your own then I guess you know the answer.

2. Like I said if you only interested in workflow Via IDoc and standard events are not catering your requirements then you have to create your own event (involves a whole development process such as find BAdI or user exit, then creation of subtype in SWO1, delegation, creation of event, triggering of event in BAdI etc.) , you have to activate the event in triggering tab of your workflow template.

Cheers

Jai

imthiaz_ahmed
Active Contributor
0 Kudos

You need make linkage in SWEC. Bind change document INCOMINGINVOICE with BUS2081 and event "PARKED".

Hope this answers your question

Regards, IA

Former Member
0 Kudos

Imthiaz/Sukumar,

As far as I know you dont have to do any kind of configuration for standard events, they alwasys pre-configured and triggered by system itself.

I would also think that when you would create an an entry in SWEC for standard event (for standard BO) it would ask for transport request which would not be in customer namespace. Please correct me if I am wrong.

Cheers

Jai

martin_nooteboom
Active Contributor
0 Kudos

Hi Jai,

Not all standard events are used I think, but for most SAP already set up everything to trigger them. It would also always be my first suggestion to see if an event is triggered on the action. If not then start looking for other ways.

I think when you create an entry in SWEC for a standard BOR and event you will still get a customer request and not a repair because these are table entries you are making.

Regards,

Martin

imthiaz_ahmed
Active Contributor
0 Kudos

Yes I agree with Martin. Standard events has been provided in the business object for most of the case by SAP but not configured to trigger them. Standard WF's are available. But we need to activate them, then find a way to trigger these events in the most feasible manner.

Regards, IA

Former Member
0 Kudos

Guys,

I tried once enetering one entry for standard BO and Standard Event in SWEC and it sends out message for other name space, but its long time ago, even cann't remember SAP version.

Appreciate if you guys share any case (if comes in your mind) where you requires to configure in SWEC for standard one.

Cheers

Jai