cancel
Showing results for 
Search instead for 
Did you mean: 

bo for XD01 tcode

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

bpawanchand
Active Contributor
0 Kudos

Actually BUS1007 is the BOR name , but it is Obselete , instead of this BOR you can make use of KNA1 BOR

Former Member
0 Kudos

Dear Pavan,

Thanks a lot for your reply. If a BO name is precedeed by CL does it mean that its obsolete? Is this how we have decide that a BO can't be used anymore?

Former Member
0 Kudos

Hello,

When a red Icon with the STOP symbol placed beside the BO name in the object builder, you can infer that the BO is obsolete. You can view the status as Obsolete in the field Object type status of the basic data of the BO.

Hope this will help.

Thanks,

Samson

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

bpawanchand
Active Contributor
0 Kudos

In the workflow Start Events you have to specify this

BOR Object KNA1 CREATED

Former Member
0 Kudos

Hi,

Use the change document object 'DEBI' and link the same to your business object in SWEC for creation.

Hope this will help.

Thanks,

Samson

Former Member
0 Kudos

Dear Samson,

Thanks for your reply. Do you mean like against DEBI entry instead of CLBUS1007 should i give my BO name.? Correct me if i am wrong.

Former Member
0 Kudos

Hi,

Do not change the standard entries, instead make a new entry with your BO in SWEC.

Thanks,

Samson

Answers (0)