cancel
Showing results for 
Search instead for 
Did you mean: 

Business object BUS2015 is not triggered for Delivery Creation

Former Member
0 Kudos

Hello,

I have linked the relevant events of my subtype of business object BUS2015 to the change document for the delivery which is LIEFERUNG for the creation and change of the inbound delivery. The problem is the event is triggered for the change in the delilvery but not for the creation of the delivery.

When I checked the tables CDHDR,CDPOS...I found the entries for the change but not for the creation. The Inbound Delivery creation is not reflected in CDHDR/CDPOS tables.

Could someone let me know as to what is to be done or activated for the changes to be reflected in the tables for the delivery creation.

Best Regards,

Samson

Edited by: Samson on Jun 8, 2008 5:08 PM

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

I have used a BADI to get this done. Thanks again for the inputs

hafizul_mollah2
Participant
0 Kudos

Hi Samson,

Could you please update the BADI name here which you have used, so that others can use the same and this will be helpful.

Thanks & Regards,

Hafizul

hannes_mack
Explorer
0 Kudos

Which BAdI did you use?

Former Member
0 Kudos

Hi Samson,

Check in the transaction SWEC whether there is an entry for your create event .

If it is no there create an entry and select the create radio button and try to execute your workflow.

Former Member
0 Kudos

Hello Manik,

I have linked two seperate events in SWEC, one for the create and other for the change.....when I create a new delivery, i cannot see the entry in event log. when i change the existing delivery, I can see the event that i linked in the event log.

Sam

Former Member
0 Kudos

Hi Samson,

Workflow linkage can not influence the creation of change documents for creation/action or deletion.Events are triggered upon the creation of change documents written in the change document tables which is independantly controlled by application.In your case ,program for inbound delivery creation is controlling the change documents updation.

So better you look for some other way to meet the requirement.We have another business object LIKP in which we have a component 'CREATE_IBDLV'.You switch on the event trace using SWELS to see if this event is logged after the inbound delivery creation.

Otherwise look for user exit / badi in the application program to trigger the event.Since you already have the sub object of BUS2015,define a new event and create this event in the application program.

I hope this helps you to an extend.

let us know if you have any qs or clarifications.

Regards,

Karun

Former Member
0 Kudos

Hello Karuna,

Presently no event is being logged in the event trace log after the Inbound delivery is created. So I feel the event & business object that you specified is not triggered by the application.

When I change the existing inbound delivery, the event which I have linked using the change documents for the "Change" action is being logged. So I was wondering why the event for the "Create" is not triggered when a new delivery is created in the system.

Thank you for the inputs.

Regards,

Sam