Quantcast
Channel: SCN: Message List - Enterprise Asset Management (SAP EAM)
Viewing all articles
Browse latest Browse all 10043

Re: Message pop up required in Notification and PM Order

$
0
0

Hi Frazer,

 

I have tested a model for Notification part. It is working.

This is Enhancement route.

 

Details are as under:

 

1. First about the about the Z-Table.,

If your Database is quite big, you can go for it. To avoid Z-table I have adopted a method.

I have maintained  a code for the vehicle: DUMP-MOD1-BEML-0001 in the Technical-Id (TIDNR) field in the Structure Tab of Equipment Master.

This indicates a Dumper of Model1 of BEML make of Regn number D001.

This number will be unique. But first 3 labels will be namely 'DUMP-MOD1-BEML' repeating in many equipments because it  forms a group.

I am assuming that your messages will be common across such groups.

 

2. I use the User Exit QQMA0014

Here I give the following code.

DATA: LV_TIDNR TYPE TIDNR.
IF I_VIQMEL-QMART = 'M3'.    "Type of Notification
   SELECT SINGLE TIDNR FROM V_EQUI INTO LV_TIDNR WHERE EQUNR = I_VIQMEL-EQUNR AND DATBI = '99991231'.
   IF LV_TIDNR+0(4) = 'DUMP' AND LV_TIDNR+5(4) = 'MOD1' AND LV_TIDNR+10(4) = 'BEML'.
     IF T_VIQMSM-MNGRP <> 'DUMPMOD1' OR T_VIQMSM-MNCOD <> '0001'.
       MESSAGE: 'Have a task of ''Engine Testing''  into this car' TYPE 'I'.
       MESSAGE: 'Have a task of ''Engine Testing''  into this car' TYPE 'E'.
     ENDIF.
   ENDIF.
ENDIF.

 

This code throws a pop-up and error (given below) while Saving the Notification, if the Task of 'Engine Testing' represented by CodeGroup 'DUMPMOD1' and Code '0001' is not taken into the All Tasks Tab.

Capture.JPG

Capture1.JPG

 

 

A Pre-requisite

 

Prior to handling the User-Exit we need to  configure required CodeGroup and Code line items in QS41, as shown below

Code GroupCodeCode Text
DUMPMOD10001Engine Testing to be Done

 

In a similar way to the above , we will have different messages in QS41 for different combinations of Vehicle, Model, Make.

For example, your another group of vehicles can be DOZE-MOD1-LNTT and yet another DUMP-MOD2-BEML and so on.

 

For each such case one line item in QS41 and one above code in User Exit, with suitable changes..

 

Very Important

Another Pre-requisite is your Notification Type should have All Tasks Tab. (10\Tab14), where we have the above mentioned Gode Group and Code.

 

I have tested this.

If this suits to you, you need to develop this idea in the Order area, with the help of a Technical person.

 

 

Jogeswara Rao K


Viewing all articles
Browse latest Browse all 10043

Trending Articles