Application Development 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: 

Disconnecting header notification from order header

Former Member
0 Kudos
382

Hi All,

Can you tell me if we have any function module or any method for disconnecting the header notification from an order in the background. Please help

3 REPLIES 3

Former Member
0 Kudos
105

Hi,

If u do not want notification to be created with MO in background then you can remove the integration between notification and Order via configuration under SPRO -->Plant Maintenance --> Maintenance and service processing ---> Maintenance and service Orders -->Define Notification and Order Integration ... here against ur order type u can remove notification type , thus notification will not be created when order is created ...

regrds

pushpa

0 Kudos
105

Hi,

Its not that I do not want a notification to be created. I definitely want a notification to be created. But my requirement is that, in a certain condition, when I try saving the WO, the header notification should be disconnected from the WO in the background. Is there a function module to do this. If not, can you help me out with a piece of code in order to achieve this.

0 Kudos
105

I solved it. What I did is, dynamically called the subroutine which does the disconnection. PERFORM ('FCODE_IHDL') IN PROGRAM ('SAPLCOIH'). This subroutine does the disconnection when we manually disconnect the WO.