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: 

user exit for service notification status in IW51

Sidhant-Acharya
Participant
0 Kudos

Hi experts,

Is there any exits available to get the service notification status in IW51.

ie once I click on put in process button the status gets changed my requirement is to perform few operation based on status.

once I click on the flag put in process the status gets changed

so I need the exit that triggers when the status of the notification changes. need some serious help.

Regards,

Sidhant.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi,

   Try these Exits, Hope they will be helpful..

  

   First create project in CMOD and assign these in Enhancement assignments.

   You will get the available exits and includes in it..

 

  1. IWO10026

  2. IWOC0002

Regards,

Kusuma.

7 REPLIES 7

Former Member
0 Kudos

Hi,

   Try these Exits, Hope they will be helpful..

  

   First create project in CMOD and assign these in Enhancement assignments.

   You will get the available exits and includes in it..

 

  1. IWO10026

  2. IWOC0002

Regards,

Kusuma.

former_member212002
Active Contributor
0 Kudos

Try the user-exit EXIT_SAPMIWO0_020.

Tables T_VIQMMA - STTXT

Cheers!

Abhinab

Former Member
0 Kudos

Hi,

Check

QQMA0024  QM/PM/SM Deactivate function codes in CUA menu

rdiger_plantiko2
Active Contributor
0 Kudos

A loosely coupled approach would be using workflow:

When a system status of a service order changes - for example to, say RELE, a workflow event is fired as notification about this change.

You can register on this workflow event with an own receiver function module.

See the docu for details

http://help.sap.com/saphelp_erp2004/helpdata/en/c5/e4afe6453d11d189430000e829fbbd/frameset.htm

Former Member
0 Kudos

Hi Sidhant,

I agree with Rüdiger. If you are familiar with workflow, you can use Status Management for your requirement.

You can link notification status with workflow event via 'BSVW' then create WF task using PFTC. Maintain WF event as the triggering event for WF task.

Whenever the status of notification changes, WF task is triggered. You can code your requirements in WF task.

Former Member
0 Kudos

hi Sidhant

You can use this list of below exits for your requirement

EXIT NAME           DESCRIPTION

IWO10026            User check on setting status 'Do not perform'

IWO10027            User exit: Generate user-defined settlement rule

IWOC0001            Create PM/SM notification: Determine reference object

IWOC0002            PM/SM notification: Check whether status change is allowed

IWOC0003            PM/SM authorization check of ref. object and planner group

IWOC0004            Change single-level list editing PM/QM/SM ALV settings

If useful plz like

Sidhant-Acharya
Participant
0 Kudos

Hi all,

Now am getting the status using the below mentioned FM In IWOC0002

CALL FUNCTION 'STATUS_TEXT_EDIT'

  EXPORTING

   client                  = sy-mandt

   flg_user_stat           = ' '

    objnr                   = i_viqmel-objnr  "LV_QMNUM

   only_active             = ' '

    spras                   = 'E'

   bypass_buffer           = ' '

IMPORTING

*   ANW_STAT_EXISTING       =

*   E_STSMA                 =

   line                    lv_line

*   USER_LINE               =

*   STONR                   =

EXCEPTIONS

   object_not_found        = 1

   OTHERS                  = 2

Now based on status need to add the task that should be automatic. So need some serious help,

to add the task automatically where do I need to append the code group, task code and other info .

Need some serious help.

Regards,

Sidhant.