on 07-22-2009 8:00 AM
Dear Experts,
I went to XD01 tcode and gave the required inputs. I have turned on my event trace. After giving the inputs i press save button and go to SWEL tcode to see which BO is getting triggered. There i see an entry as CLBUS1007-Created Event. I checked in SWO1 tcode but there is no BO by name "CLBUS1007". I tried with BUS1007 BO but it has no event at all. What is CLBUS1007. Can i use it to trigger my workflow.
Actually BUS1007 is the BOR name , but it is Obselete , instead of this BOR you can make use of KNA1 BOR
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Samson,
Thanks a lot for your reply.I was able to find out the status obsolete as you said. I create a new BO with supertype as KNA1. In that BO i give an event say created. I also put an entry in SWE2 tcode for this BO, event, workflow name. In XD01 tcode i put an entry and press save button. Where should i specify that i need to call KNA1 BO's created event when i press save button in XD01 tcode in order to trigger my workflow.
Hi,
Please find any USER EXIT or BADI to trigger to event you have created insub subtype.
The function module to trigger create event is ''SAP_WAPI_CREATE_EVENT' .
Please find the code below to trigger the event
CALL FUNCTION 'SAP_WAPI_CREATE_EVENT'
EXPORTING
object_type = 'ZBUS2009' " name of subtype onject
object_key = gv_objkey
event = 'ZCREATE' " created Zevent
commit_work = 'X'
event_language = sy-langu
TABLES
input_container = gi_container.
Regards,
Deepanker Dwivedi
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.