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

Doubt : Event

Former Member
0 Likes
514

hi,

In Tcode SWO1 there is an object say BUS2012 for purchase order and it is having different events like change,release,cancel,reject.But it is not having "Create".

So what i did is copied BUS2012 into make it as ZBUS2012.I added an event called "Create".But how does it really work?What i actully need to do in event "Create" to get the functionality of "Creation of Purchase Order".I need to use this object in Workflows for creation of Purchase Order.

Thanks and Regards,

Gaurav

4 REPLIES 4
Read only

Former Member
0 Likes
491

hi Gaurav....

i recently did this thing, so i think i can help on this.

i would suggest you to create a method called create. then in the method creation box that appears, in the abap tab, select transaction and put in me21n in the text box. after this save it , select the mothod and go to Edit> Change release status> Object Type> to implemented....

now come out to swo1 main screen and choose Settings> delegate

by doing this, ur new BO is ready for use with a new method....

i hope ths helps... do reward if it does.

Read only

0 Likes
491

Hi prem,

thanks for the answer, I did so and found these errors :

1.When i added this method "create",and then Generate then got an error saying method is not implemented.

2,When delegate and new entries -> when F4 on delegation type one message says

Object type 'ZBUS2012' has no subtypes

pls help

Regards,

Gaurav

Read only

0 Likes
491

hi prem,

i want to send one mail on vreation of PO thru Workflows.This is my requirement.I think now i have got the my actual requirement which is i want an "create" event in ZBUS2012 which is still missing.

Regards,

Gaurav

Read only

0 Likes
491

hi

can please send ur requirement in detail

gupt