SAP for Utilities Discussions
Connect with fellow SAP users to share best practices, troubleshoot challenges, and collaborate on building a sustainable energy future. Join the discussion.
cancel
Showing results for 
Search instead for 
Did you mean: 

update notification by creating a task

former_member224404
Active Participant
0 Kudos

Hi Guys,

I am creating a service order(IW31) from a notification. The notification doesn't have any task as of now. Then I am adding an operation into the service order. Now my requirement is, when I save the service order a task needs to be created into the notification with the operation data like start date, end date, status etc. Thus it will update the notification.

Is there any way(BAPI or any other way) to do that job? Please help.

Thanks,

Mainak

2 REPLIES 2

Former Member
0 Kudos

Hi

There is an option.

Check in the BOR ..whether does it have any object.

(if it has.. then give the same object in 3rd step.)

If it has the object, then check the methods.. if any save method is available. then write a Z FM with your custom code

steps to attach this FM to the event...

1. t. code swetypv.

2. click on new entries.

3. give the following entries on the new screen.

obj. category : select 'BOR'.

Object Type : <name of object type>

Event : <save method name >

Receiver Type : SWE_EVENT_CREATE

Receiver Call : Select option 'Function Module'.

Receiver FM : give the name of Z FM here.

4. Save .

Now put a break point in the FM and getting triggered in the transaction IW31.

Hope this helps.

Regards,

Vinay

Former Member
0 Kudos

please go to the SWO1 and c the object ISUMORDER u may find the relavent method for your requirement