Customer Exit IMRC0001 for condition based preventive maintenance
Dear Experts,
I am using customer Exit IMRC0001 for creating maintenance order if my measuring point reading exeeds the thresold value or it is out of the upper and lower limit range , which i have set for that particular Measuring point.
This scenario is working fine if i am creating measuring point with unit *C (Degree centigrade-Temp).
But it is not working fine for measuring point having unit other then *C
Like : Kg/Cmsq, Bar, Run Hr, Vaccum, voltage, current, consumption etc
The Reason for this i have found out.The logic return in the program only considers the *C unit
Say if i set 50c as my target value in Measuring point*
In Table IMPTT the value is getting stored as 50 + 273.15 = 323.15
But if i enter 5 Ohm as my target value in Measring point
In Table IMPTT the value is getting stored as 5 only.
Target Value field name is DESIR
So i want to know why for some units the same value is getting stored and why for some units value with some formula getting stored.
Regards,
Amar Jadhav
does your characteristic allow decimals??
also why not use deg K instead of deg C
ignore above
see note 525948
Symptom
When you change the target value of a measuring point, it seems as if the system updates incorrect values for the 'Target value' field in the change documents.
Other terms
IK02, IK03, IMPT
Solution
The internal display of field 'Measuring Point Target Value' has the SI unit belonging to the unit of measurement.
Example:
For temperatures, the target value can be displayed in the user interface (RIMR0-DESIC) in the units of measurement Celsius, Fahrenheit or Kelvin. However, the database display in field IMPTT-DESIR always refers to the respective SI unit Kelvin.
As the change documents always refer to the database display, they also refer to the SI unit.
Edited by: Virendra Pal on Oct 1, 2008 2:34 PM
Similar Messages
-
Condition based Preventive Maintenance - IMRC0001
Hi Friends ,
Can we create notifications of a particular type against a particular equipement automatically , only with the help of user exit IMRC0001 or some other are also required .
Actually our main requirement is that user will post measurement documents regularly . If the reading falls
below a decided point then a notification should be created . Like for a rubber pad if width falls below 7 inches then
notification should be created .
and I think to satisfy above requirement there are no standard settings in SPRO other than using the user exit .
thnx.Notification creation in exit IMRC0001
It might be helpful.
regards,
Tehsin -
Customer exit code for fiscalyear period based on system date
Hi Experts,
Please provide customer exit code for fiscalyear period derive based sy-datum. Fiscal year period derivie current to previous 12 periods and current to fast 12 periods.
Thanks,
SubbarajuHi Subbaraju,
Please use below customer exit code for your solution. Please define declarations as per requirement.
When 'ZFPERIOD'.
IF I_STEP = 2.
ztoday = sy-datum.
zfast = sy-datum + 365.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = ztoday
i_periv = 'K4'
IMPORTING
E_BUPER = PERIOD2
E_GJAHR = YEAR2.
CONCATENATE YEAR2 PERIOD2 INTO FISCPERLOW.
CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
EXPORTING
i_date = zfast
i_periv = 'K4'
IMPORTING
E_BUPER = PERIOD2
E_GJAHR = YEAR2.
CONCATENATE YEAR2 PERIOD2 INTO FISCPERHI.
L_S_RANGE-LOW = FISCPERLOW.
L_S_RANGE-HIGH = FISCPERHI.
L_S_RANGE-SIGN = 'I'.
L_S_RANGE-OPT = 'BT'.
APPEND L_S_RANGE TO E_T_RANGE.
ENDIF.
Similar code user for your previous periods also.
Thanks,
Chandra -
Doubt in Scheduling of performance based preventive maintenance
Dear Experts ,
This is with respect to scheduling of performance based preventive maintenance.
I will put my doubt in example so that it will be easy for you to understand.
I want to perform a preventive maintenance for every 100 litres of fuel consumption.
annual estimate is 7200 litres , that means 5 litres a day.
so as per plan , for every day 5 days , maintenance needs to be performed.
same will be appear after scheduling in ip10 also.
While updating in the measuring document , I know that , if 100 litres is updated before due date , then order will be generated in the current date itself.
I just want to know how system responds , if 100 litres consumption takes more than 5 days , will the system generates order as per schedule date or will it wait to complete for 100 litres consumption ??
Regards
Keerthan KumarGreetings Keerthan,
That depends on:
1) The frequency that you input Measurement Documents in
2) Your Call Horizon on the Maintenance Plans
3) Your Scheduling Period in your IP30 Deadline Monitoring variant
Generally, SAP will adjust the schedule based on the Measurement Documents entered for the counter (1) to account for readings (usage) which are higher or lower than estimated.However, it will NOT reschedule any Orders already called. So to make sure the dates are usually adjusted to your usage, you want frequently input MDs, a high Call Horizon and a short Scheduling Period.
SAP will determine a scheduled due date for the Order based on the Annual Estimate and the readings. So, if the due date is in 5 days and you are on a call horizon of 100% and a Scheduling period of 3 days, for example:
a) if you do not input Measurement Documents from Day 0 onwards, the Order will be generated due for Day 5 when you run the IP30 on Day 2
b) if you input a Measuring Document on Day 1 indicating that less than estimated or no fuel was used, the due date and call date may be pushed into the future and the Order will be generated after Day 2.
c) if you input the MD after Day 2, this Order will already have been called and will not be rescheduled, but subsequent calls might. -
Cycle sets in Performance Based Preventive Maintenance
Hi,
Can any one explain what is cycle sets in Performance Based Preventive Maintenance means?
Thanks in advance.hi
Cycle sets are used for multiple counter plan where the unit of measurement is different .For example you have to plan your equipment based on KM it had serviced and also based on Months ,then you have to create cycle set for these 2 measurement like KM and Mon ,then while creating the multiple counter plan you can specify the cycle set and make the scheduling
Also refer help.sap.com
regards
thyagarajan -
Customer exit Variable for Previous 12months Rolling based on 0calday
Hi Experts,
I am creating a Customer exit variable to derive Rolling 12 months based on calday,
Could you please any body correct the below code,
Or if you any body have pseudo code based on calday, could you please pass to me
WHEN 'zcalday'.
* Rolling 12 months to period
IF i_step = 2.
CLEAR: l_s_range, loc_var_range,
LOOP AT i_t_var_range INTO loc_var_range
WHERE vnam = 'RYEAR'.
MOVE sy-datum TO: lv_date_from,
lv_date_to.
zmonth = lv_date_from+4(2)
l_s_range-high = zmonth = loc_var_range-low.
v_fiscper = v_fiscper - 12.
l_s_range-low = v_fiscper.
l_s_range-sign = 'I'.
l_s_range-opt = 'BT'.
APPEND l_s_range TO e_t_range.
ENDLOOP.
ENDIF.
Thanks and regards
SreeHi Yasemin,
Thanks for your help,
I have small clarification, I have following data in base cube,After restricting the customer exit variable
on revenue I suppose I will get one Amount, i.e 7800, But If I want month wise, Do I need to create offset? or without creation of offset is there any way that will split based customer exit variable.....
Thanks a lot
regards
Sree
Execution date
24/06/2014
Comp Code
Date
Revenue
C100
01/07/2013
100
C100
01/08/2013
200
C100
01/09/2013
300
C100
01/10/2013
400
C100
01/11/2013
500
C100
01/12/2013
600
C100
01/01/2014
700
C100
01/02/2014
800
C100
01/03/2014
900
C100
01/04/2014
1000
C100
01/05/2014
1100
C100
01/06/2014
1200
Total
7800 -
Customer Exit Variable and Condition in a Query (Sequence of Execution)
Hi,
For a query i defined a Customer exit variable and a condition....
Which will first execute...wether it is a Variable and then Condition or vise versa
Is there any way we can control sequence of execution
My requirment is first to execute the condition and the variable how can i control this
ThanksHi
In your customer exit you will be having a field by name I_STEP which will help you to handle the time of execution of the variable.
Assign points if helpful
Prathish -
Customer exit variable for date range for the last day
Hi,
If user enters date ranges in variable
suppose user enters 9/1/2010 to 9/15/2010 and we have to calculate currency conversion based on last day i..e 9/15/2010 . 08
2)User input is date range 08/01/2010 to 08/30/2010
I need from the customer exit 08/30/2010 (on last day) to calculate currency conversion.
Can anyone help me with ABAP code to achieve this customer exit?And please tell me how to proceed step by step
Sridharcreate a variable to enter date range (ZDATE1)
create a key date variable(ZDATE2) with processing type customer exit, should not be ready for input.
In the exit ZXRSRU01 write below code.
DATA: l_s_range TYPE rsr_s_rangesid,
loc_var_range LIKE rrrangeexit.
WHEN 'ZDATE2'.
IF i_step = 2.
read table i_t_var_range INTO loc_var_range
with key vnam = 'ZDATE1'.
CLEAR l_s_range.
l_s_range-low = loc_var_range-high.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
APPEND l_s_range TO e_t_range.
ENDIF. -
Performance Based Preventive maintenance
Hi Guru,
I have equipment motor. But I need to do the preventive maintenance based on motor running hour (ie: every 1000hr).
How to map the scenario in SAP
Thanks in Advance.
Regards,
S.BabusinghHi
You need to create the measuring point for the equiment motor.(IK01)
and in the maintenance plan (IP01)you chose counter based mainteannce plan and set the couter reading 1000 hrs.
also you can define the other paramenters in the plan.,
once the measuring documents reading(IK11) updated by you is reached equal to or greter than the set value orders gets triggerd.
this is standard SAP process
regards
Krishna -
Customer exit - code for variable
Hi Friends,
I have created a variable "CUST_EXIT_YEST" and defined the processing type as customer exit. Now would like to add code in CMOD.
Requirement: The variable should allow take yesterday's date. Please help me with the code.
Already there are some codes defined for other customer exit variables in CMOD. Can I add my code below that. If so please explain.
Regards,
SurjitIf i'm not wrong you want to show previous day in the variable.
At the bottom of the existing code before EndCase, u can write the below code
Data: loc_var_range LIKE rrrangeexit, (must be there this kind of declaration in ur existing code)
WHEN 'CUST_EXIT_YEST'.
IF I_STEP = '1'.
Read Table I_T_VAR_RANGE into LOC_VAR_RANGE WITH KEY VNAM = 'CUST_EXIT_YEST'.
myrange-SIGN = 'I'.
myrange-OPT = 'EQ'.
myrange-LOW = sy-datum - 1.
APPEND myrange TO e_t_range.
ENDIF. -
Customer exits (0calday) for a query to populate dates dynamically
Hi,
Our user has this requirement for running a reporting in background for every previous week and month which has 34 variants.
Please tell if the way i choose is correct and also any suggestion for the below!...
1. wanted to use reporting agent for running the report in the background with reporting agent+ webtemplates.
2. and also wanted to get the dates populated dynamically in the report...so thought of using CUSTOMER EXITs.
please help me with the code to write in CMOD. for populating the dates for every previous week and month dynmically.
- jj
Edited by: Jpjuvvan on Jun 1, 2009 8:36 PM
Edited by: Jpjuvvan on Jun 1, 2009 8:39 PMArun,
The report has 34 variants for which the date ( 0calday) RANGE has to be populated dynamically when I am running the report in the background using Reporting agent( using 'Precaculating of Web templates...as reporting agent setting).
My concern is ..
1. How can I dynamically populate the dates(0calday) for running the report weekly and monthly for all 34 varinats in the report in the backgrond?( since dont want to manually enter the date range for all 34 variants of the report)
2. Since I am using precalculating web templates as reporting agent setting should I have to create webtemplate on the query ( if so ..will it automatically run the 34 variants) or should I create web template for 34 variants using query views ( even then the dates has to be populated automatically/dynamically)?
For eg. If I am running the report on 1s t June....for Monthly the date range should be 5/1/2009 to 5/31/2009 and for weekly I run the report on sunday of every week..so if i run the report on 6/14/2009 then the date range should be 6/5/2009 to 6/13/2009.
The date range should be populated DYNAMICALLY , since I don't want to manulally give the date range for all 34 varinats every time I run the report.
Please suggest.
JJP -
User exit/BADI for condition type in shipment costing
Hi! Does anyone know of any user exit or BADI or function module we can use to populate a value to a custom condition type we have created for shipment costing? We want to calculate the customs duty charges based on the purchase price of the item in the PO. As such, we need to go extract this information on the PO and populate it on the condition type.
Appreciate any help on this.
Cheers!
SFDear SF,
These are the Exits available in the shipment cost process.Take help of ABAPer to choose the appropriate one.
V54B0001 Shipment costing: Configure pricing
V54B0003 Shipment Costs Calculation: Determine Rate Type and Cur
V54B0004 Shipment Cost Calculation: Determine Status
V54C0001 Shipment costing: Description(s) shipement cost item(s)
V54C0002 Shipment costing: Create shipment cost sub-items
V54C0003 Shipment Costs Processing: Determine Invoicing Party
V54C0004 Shipment Costs Processing: Determine Loc. for Tax Invoi
V54D0001 Shipment Costing: Determining the Tax Countries
V54KSFRC Determining the factors for apportionment of shipment c
V54P0001 Extended Function Codes for Shipment Cost Information
V54U0001 Shipment cost processing: Check whether changes made
V54U0002 Check shipment costs for completion
V54U0003 Specification of shipment cost number
V54U0004 Formatting for update of new objects (shipment costs)
V54U0005 Updating new objects in shipment cost processing
V54U0006 Shipment Purchase Order - Header Data Supply
V54U0007 Shipment Purchase Order - Item Data Supply
I hope this will help you,
Regards,
Murali. -
Can User Exit works for Settlement Rule in Maintenance Order creation?
Dear Experts,
I have this situation where I tried to create an Internal Maintenance Order via IW31 for multiple equipments from different functional location (different cost centers) using the Object List. However, the settlement rule has a problem to pull out as there's no Equipment in the reference object. That's the reason, I'm looking at the User Exit which I understand the IWO10027, can do the work. Since I'm new to User Exit, can I enhance the settlement rule by the following condition.
The costs spent on each equipment will be used as a basis of calculating the weightage (via equivalence no) for the settlement rule.
Can it be done that way?
regards,
AbrahamSanjay,
This data can be checked in the following user-exits:
COZF0001: Change purchase req. for externally processed operation
COZF0002: Change purchase req. for externally procured component
PeteA -
Exit/BADI for condition type value
Hi friends,
I have a BADI BADI_SD_BILLING_ITEM. I want to enhance method 'ITEM_PRICING_COM' present in this BADI.
My purpose of using this BADI is that I want to get the values of condition type before saving a billing document.For that purpose I want to enhance this BADI.
But I don't know how to proceed.
Please help me out.
Regards,
RajeshEnhancement
V61A0001 Customer enhancement: Pricing
V60P0001 Data provision for additional fields for display in lists
SDVFX011 Userexit for the komkcv- and kompcv-structures "This may be usefull -
Custom search help for characteristic based variant
Dear Experts,
I have characteristic based variant report, my requirement is, in any Article(matnr) related transaction( Ex: MM43, VA01..) I required custom search help based on these characteristics and i will populate article/variant. Attached report selection screen snap. This screen will come in my custom search help.
Regards,
Abbas.I have found own for my problem. I am using MAT1 standard search help and with database view.
Regards,
Abbas.
Maybe you are looking for
-
Hi Folks, Since the upgrade of Anyconnect to 3.0.3054 on my MAC OSX LION 10.7.1, i have been getting failed to load preferences error. During the upgrade the vpn connection get established, but once i disconnect and try to connect again its starts bo
-
it happen to can't sent any music on it when it connect to window it's show a drive on my computer but when itune popup the icon was gone and then when i want to add music it take long time waiting and wnd up with show the message "the disk could not
-
Cannot Download iMovie from Appstore!!
I'm on a 13" Macbook Pro, Model A1278 On it, I'm running OS X Maverick 10.9.4 Yes, it is registered. This macbook was a floor model and was inspected and sold to me. It came pre-installed with iLife, but after I upgraded to Maverick it was gone. I've
-
Best XML binding framework or utility???
Hi all, In my application I am storing all the data into XML file. And I have designed the resource layer entty. Now I want to know which mechanism of object to XML binding is better (like Castor, JAXB etc). So it will be great if some one can sugges
-
Photo book with iPhoto on iPad?
Hello is it possible to create a photo book with iPhoto on iPad? (Like with iPhoto on minimac) Reg ratouns84