‎2007 Feb 26 9:32 PM
Hi Friends,
How an instance is being created for an object type, say BUS2032, when we create a sales order? How they are linked? I need to know this because i am creating a custom business object type for a standard transaction. I need an instance to be created (and an event raised) for this object type when the transaction is saved. The transaction doesnt have a std object type associated with it.
Thanks in advance.
Nathan.
‎2007 Feb 26 9:48 PM
Hi,
I believe BUS2032 is hard coded in the program SAPMV45A (sales order program)...You can also search for BUS2032 in the sales order program..
ALso If you create a new business object type for a standard transaction..I believe You will have to change standard sap code also...To triggering the event..
Thanks,
Naren
‎2007 Feb 27 4:32 AM
Hey,
Add the include <CNTN01> in your program.
For creating an instance call the macro SWC_CREATE_OBJECT.
For raising an event call the macro SWC_RAISE_EVENT.
~Kiran