Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Event

Former Member
0 Likes
388

Hi Experts,

Im New to workflow.

Im going to trigger the work flow when purchase order is created. But in my version[4.7] there is no Event for "Create"[BUS2012].

So I need to create one Event like "Create". What are the steps are involved for Creating Events.

Thanks,

Points will be Rewarded for all Helpfull answers.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
369

Hi

Goto Tcode SWO1

enter the business object BUS2012

press CREATE button on Menu

create a subtype enter ZBUS2012 and other parameters save

assign dev class and save

Goto its attributes methods and events

keep the cursor on events

press create button

give name and other attributes Save

GENERATE the object

Goto Error List -> press program

Generate the program

Implement the Object, EVENt and release the Object and EVENT

from menu Settings-> delegate -> system wide

select BUS2012 change and enter the ZBUS2012 as delegation type SAVE

You can use that event in the PFTC

<b>Reward points for useful Answers</b>

Regards

Anji

2 REPLIES 2
Read only

Former Member
0 Likes
370

Hi

Goto Tcode SWO1

enter the business object BUS2012

press CREATE button on Menu

create a subtype enter ZBUS2012 and other parameters save

assign dev class and save

Goto its attributes methods and events

keep the cursor on events

press create button

give name and other attributes Save

GENERATE the object

Goto Error List -> press program

Generate the program

Implement the Object, EVENt and release the Object and EVENT

from menu Settings-> delegate -> system wide

select BUS2012 change and enter the ZBUS2012 as delegation type SAVE

You can use that event in the PFTC

<b>Reward points for useful Answers</b>

Regards

Anji

Read only

0 Likes
369

Hi Anji,

Thanks for your quick reply.

is it possible for write a code in Event. In methods and attributes we can write our own codes.

But In event it is possible?

Thanks.