on 06-08-2008 10:13 AM
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
I have used a BADI to get this done. Thanks again for the inputs
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.