Update superior equipment status based on sub equipment status

Dear friends,
I have a scenario for calibration process for  which there are two equipments .One sub equipment and the other superior equipment. Calibration process is done for sub equipment and I have given usage decision as rejected based on which sub equipment staus gets updated as NPRT(PRT not ready for use). Now the client requirement is as that the superior equipment also get the status NPRT since they are linked through superior/sub equipment relation. Kindly suggest some solutions.
best regds
Arun

Dear friends ,
I have observed that if a sub equipment is assigned to a superior equipment ,the equipment status of sub equipment does not get updated when calibration process is run.(NPRT status does not get updated if an equipment is installed to a superior eqpt when usage decision is made for not accepted). So there is no possiblity of updating the superior equipment status. Hence kindly ignore my query.
best regds
Arun

Similar Messages

  • Update parent status based on all children status and sum of children amount.

    Hi,
    I need to write sql query for the following scenarios.
    We have 3 financial systems (sys1, sys2, sys3) where a same transaction gets entered independently into each system OR entered into one and exported to the other system. Transaction need not be in all 3 systems.
    We need to create reconcile report to see the status of transaction and display if it is reconciled or not. For this, in our stored procedure we are pulling data from 3 systems into temp tables and using CTE and other logic marking each transaction status
    in each system temp table. One of the systems (eg sys1), we made it as source.
    Sys1 temp table has both parent and child records and are distinguished using type. Sys2 and sys3 has only children records.  When report is created, we are showing parent  from sys1 temp table and
    children from new temp table where children status is updated based on availability of it in all 3 systems.
    DECLARE
    @sys1 TABLE
    ID int,
    childID varchar(20),
    ParentID varchar(20),
    RecType decimal(3,0),
    SettleDate smalldatetime,
    Principal money,
    Sys3ID varchar(16)
    NULL,
    Sys2ID int
    NULL,
                            Status varchar(25) NULL
    DECLARE
    @sys2 TABLE
    TxID int
    PRIMARY KEY NOT
    NULL,
    CommonTransactionID varchar(16),
    SettleDate smalldatetime,
    Par money,
    Sys3ID varchar(16) NULL,
    Sys1ChildID,
    Sys1ParentID bigint
    DECLARE
    @sys3 TABLE
    Sys3ID varchar(16),
    REFERENCE
    varchar(16),
    VALUE_DATE datetime,
    DIRECTION char(1),
    AMOUNT money,
    RecSource varchar(2)
    Insert Into @sys1 (ID, childID, ParentID, RecType, SettleDate, Principal)
    Select 172876, 217955, 217954, 100, ‘2015-03-01’, 100.00
    Union
    Select 172877, 217956, 217955, 50, ‘2015-03-01’, 15.00
    Union
    Select 172878, 217957, 217955, 50, ‘2015-03-01’, 25.00
    union
    Select 172879, 217958, 217955, 50, ‘2015-03-01’, 10.00
    Union
    Select 172880, 217959, 217955, 50, ‘2015-03-01’, 10.00
    union
    Select 172881, 217960, 217955, 50, ‘2015-03-01’, 40.00
    Insert Into @sys2(TxID, Sys1ID, settleDate, Par)
    Select 4336620, 217956, ‘2015-03-01’, 15.00
    Union
    Select 4336621, 217957, ‘2015-03-01’, 25.00
    union
    Select 4336613, 217958, ‘2015-03-01’, 10.00
    Union
    Select 4336614, 217959, ‘2015-03-01’, 10.00
    union
    Select 4336615, 217960, ‘2015-03-01’, 40.00
    Insert into @sys3(Sys3ID, Reference, Value_Date, Direction, Amount)
    Select 1, ‘5654471 4336620’, ‘2015-03-01’, ‘O’, 15.00
    Union
    Select 2, ‘5654481 4336621’, ‘2015-03-01’, 'O',25.00
    Union
    Select 3, ‘5654491 4336613’, ‘2015-03-01’, 'O',10.00
    Union
    Select 4, ‘5654501 4336614’, ‘2015-03-01’, 'O',10.00
    Union
    Select 5, ‘5654511 4336615’, ‘2015-03-01’, 'O', 40.00
    After going thru lot of other logic, final temp table will have only children with status assigned. The above temp table data is only for 1 scenario.
    The following are status of children.
    This is how status of children is determined:
    Not Settled – All child records start as Not settled in temp tables.
    Settled – when record exists in sys3 and other criteria is met.
    Partially settled – record exists in sys3 and either in sys1 or sys2 or other criteria is not met.
    Reconciled – child record should exist in all 3 systems and all criteria is match
    Mismatched – record has wrong amount when compared in any of 2 systems.
    **************** My Part below*******************
    My part is to update the status of parent based on children status and parent amount must match sum of child amounts. If amounts don’t match, then leave the status of parent as null.
    Determining the status of parent:
    Not Settled – None of children has yet settled.
    Settled – All children are settled.
    Partially settled – some of children are as settled OR 1+ children are partially settled.
    Reconciled – All children are reconciled.
    Partially Reconciled – some children are partially reconciled.
    Null – 1 or more childen has a status of mismatched.
    AND sum of children amount should match parent amount
    How can I update the status of parent based on all children and sum of amount of children equal to parent amount.
    Thanks,
    Spunny

    >> We have 3 financial systems (sys1, sys2, sys3) where the same transaction gets entered independently into each system OR entered into one and exported to the other system. Transaction need not be in all 3 systems. <<
    Your design is fundamentally wrong. In RDBMS, we want to have one fact, one way, in one place in the schema. The goal of all databases is to remove redundancy, not increase it. This not just SQL; this was true for hierarchical and network databases before them! 
    >> We need to create reconcile report to see the status of transaction and display if it is reconciled or not. For this, in our stored procedure we are pulling data from 3 systems into temp tables and using CTE and other logic marking each transaction
    status in each system temp table. One of the systems (eg sys1), we made it as source. <<
    You have re-invent the worst of 1970's file processing, but you want to use a temp table instead of scratch tape. This is not RDBMS or good SQL. 
    >> Sys1 temp table has both parent [sic] and child [sic] records [sic] and are distinguished using type. Sys2 and sys3 has only children [sic] records [sic]. When report is created, we are showing parent from sys1 temp table and children from new temp
    table where children [sic] status is updated based on availability of it in all 3 systems. <, 
    The terms “child” and “parent” are not part of RDBMS. They come from network databases. You are building fake pointer chains we do have referenced and referencing tables. Or do you mean to model weak and strong entities? Where is the DRI actions?
    These things are not tables! They have no keys, so they are called (garbage) piles. But even the garbage is wrong. There is no generic “id” in RDBMS; it has to be “<something in particular>_id” to be valid. Since you do not do math on it, it should not
    be a numeric. 
    A “rec_type” is a nominal scale, so it cannot be a numeric either! Likewise, we have no generic “status”, but a status is state of being so it has to have a temporal dimension. And did you know that “reference” is a reserved word in SQL as well as another ISO-11179
    violation. 
    The MONEY data type does not do correct math. Google it! It is another Sybase left-over that nobody should ever use. 
    Finally, you used the old Sybase INSERT INTO ..SELECT..), .. disaster instead of the ANSI/ISO Standard VALUES table constructor. 
    >> This is how status of children [sic] is determined: ..
    My part is to update the status of parent [sic] based on children [sic] status and parent [sic] amount must match sum of child [sic] amounts.<<
    Your narrative describes what Tom Johnston called a Non-Normal Form Redundancy. We do not put summary data in the strong entity; another basic data modeling principle. We build a VIEW that gives us the current summary. Your mindset is still in punch cards and
    magnetic tape files. 
    "No matter how far you have gone down the wrong road, turn around!" -- Turkish proverb. 
    Can you start over and do it right? 
    --CELKO-- Books in Celko Series for Morgan-Kaufmann Publishing: Analytics and OLAP in SQL / Data and Databases: Concepts in Practice Data / Measurements and Standards in SQL SQL for Smarties / SQL Programming Style / SQL Puzzles and Answers / Thinking
    in Sets / Trees and Hierarchies in SQL

  • Update activity status based on Customer request status,

    Hello,
    I have a requirement to update the status field of a service request activity to Completed when the service request status = closed. Any suggestions?
    Thanks,
    SKJ

    If the field they are updating is in the same object it shouldn't be an issue. If another object needs to be updated then the workflow won't work.
    Integration events can be used for this. generate a event and have a external process poll the integration event queue for new events. when received, it can do whatever is necessary via web services.

  • Should I use Sub-Equipment Hierarchy for sub-systems (first post)?

    I am 2 months into the maintenance manager role for a fleet of Locomotives and it has been decided to use SAP PM by senior management based on a separate business arm requirements.
    I believe for this to be successful the first step is to get the structure right so that data is collected in the most logical manner.
    I intend to use SAP to schedule all maintenance tasks based on measuring points and dates of previous work orders, capture system and sub-system failure history, capture costs and parts usage and trend performance of subsystems based on their own and system level measuring points.
    I have been told that all locomotives are assigned to a single functional location within the business model. The individual locomotives themselves are assigned as separate pieces of equipment in this functional location.
    Within the individual locomotives there are a series of subsystems that have associated maintenance requirements based on time and usage and they are serial number tracked. These items are exchanged between the locomotives and the warehouse upon failure, upgrade or overhaul and include:
    AC traction Motors
    Wheelsets
    Diesel Engine
    Main Generator
    Auxiliary Generator
    Dynostarter
    Gearbox
    Compressors
    Traction motor blowers (Fans)
    Radiator fans and AC radiator fan motors
    Is it logical to put these as sub-equipment within an Equipment Hierarchy with the Locomotive being the superior equipment?
    Should notifications regarding their failure be assigned to the Superior Equipment (Locomotive) or the Sub-Equipment and what are the implications of each? If assigned to sub-systems can I still report on system reliability by "rolling up" the failures?
    Do the measuring points (e.g. kilometres) assigned to the Superior Equipment (Locomotive) accumulate to the Sub-Equipment automatically and does installation and removal from different Locomotives with different kilometres affect this? For example a traction motor in Locomotive 001 is installed from 100,000 to 360,000 locomotive kilometres and then it is installed in Locomotive 002 from 300,000 to the current 340,000 locomotive kilometres. Does SAP accumulate 300,000 kilometres of life to the traction motor sub system based on its superior equipment's measuring points?
    I have many more questions to come that I will most likely solve through experimentation and future questions, but in order to hit the ground running I would appreciate your feedback if any of you have similar experiences.
    Thanks in advance
    Glenn Sanders

    In SAP, you can define "N" no. of hierarchies for Functional Location & Equipment.
    But in the reporting, you can get the costs at Functional Location level & Equipment level at next. Its not possible to have Sub Functional Location level or Sub Equipment Level.
    Also, you have mentioned that you will interchange the Sub components between Locomotives. Also, you want to maintain those using Serial Numbers. You can define these Sub Components as Assemblies with Serial Numbers so that Equipment can be created for those combinations.
    To maintain Measuring Point for Sub Components, Equipment should be created. In SAP, you have the option to transfer the Measuring Points from One Equipment (Superior Equipment) to another Equipment (Sub Equipment).
    While interchanging the Sub Component from One Locomotive to another Locomotive, without Measurement Reading Transfer, you can dismantle & install the same.

  • Sub equipment assign in BOM

    Hi,
    Can i assign sub equipments in equipment BOM ?

    Hi
    Sub equipment or assembly
    Yes you can assign assebly to the Equipment BOM
    what is your scenario what is sub equipment is the part of main equipment
    See you can assign Item category to BOM are D,I,L,N ,T
    Reagrds
    chandrashekhar

  • Asset data should flow to sub-equipment

    Dear experts,
                        My requirement is whenever i'll change Asset No.in parent Equipment it should flow to all sub-equipments.
    I mean it should be changed in all sub equipments too.
    Is there any standard detting is available regarding this?????
    Thanks
    Rahul
    Edited by: RManchanda on Jan 3, 2011 4:56 AM

    HI RManchanda ,
    Where you are storing Asset Number ?
    If it is in one of the std field of SAP, then I don't think it is possible to reflect any changes in Parent equipment will reflect in Sub equipment.
    For this you can go for some sort of development or LSMW for to change sub equipment.
    Hope this will help you.
    Riyaj

  • Roll up sub equipment cost to Superior Equipment

    Hello,
    Is there a way to see sub equipment cost to the superior equipment.
    We have a pump (superior) then under that we have motor (sub) and elec (sub). Is there a way to see the total cost of the two subs in the superior.
    Thanks.

    Another work-around is to get your list of equipment, say from IE05.
    Then paste the equipment into IW39 to get your costs
    PeteA

  • Filtering Equipment download based on status?

    Hi,
    We are implementing CRM 2007 and need some of the equipments in R/3 to be downloaded to the CRM system. The standard filters on the EQUIPMENT object in R3AC1 only provide very limited filtering options and does not support our requirements.
    What would be the best way of filtering based on the equipment status so only equipments with system status ECUS (Equipment at Customer) in R/3 are being downloaded?
    Kind regards
    Christian

    Hi Christian,
      Have you set filter with JEST table based on STAT?
      I also have same requirement, if the equipment status is ECUS, then only EQUIPMENT needs to flow to CRM. I have set filter like below.
       But still Queues are forming in CRM. Can you tell me how to restrict the equipment queues based on status.
    Thank you
    Vijay

  • Table Link between Equipment and Sub-equipment

    Hi all
    My requirement is this
    I have one mobile set with a serial number. for that mobile set i have one battery with a serial number, now i want to link both the serial numbers, one as main and another as sub item
    I tried by maintaining the battery serial number as sub-equipment in the main mobile set equipment number master,
    Let me know the table link between equipment and sub-equipment
    I want a report based on the input mobile set equipment number what are all the sub-equipment associated with the main equipment
    Also suggest is there any other approach,
    Regards
    Amuthan M

    Hi
    EQUZ is the table,if u give the sub equipment in equipment field and execute.you can find the main equipment in superior equipment field

  • DETAILS OF SUB-EQUIPMENT

    Dear PM Consultants,
    The issue is , In each Equipment 4 to 5 sub-equipments are installed and people are creating Orders and Notification on Equipment and also on  Sub-Equipments.
    If I run IW39 based on equipment and for a particular period, it will give the  details of order created created for the selected equipment only  and not the details of order or Notification created on sub-equipments installed in the equipment given in the selection screen.
    Eg Equipment-E00001
         Sub-Equi  -S00001
                        -S00002
                        -S00003
    For one month (say October) orders created on E00001-5
                                                                         S00001-2
                                                                         S00002-3
                                                                         S00003-6
    If I run IW39 for E00001,Is there is any possibility to get details of orders created
    on S00001,S00002&S00003,Bcoz it's all areas of main equipment E00001.
    If not, is there is any std report,where I can get this info.
    Thanks and Regards
    ISWARI

    hi iswari
    Sub equipment is used for structuring your system for exploding the equipments futher .it is just to diplay the hierarchy of the equiment.if you create an order for superior equipment meant that it is only for that equipment only.it will not be consisdered for sub equipments, because you are maintaining seprate master record for equipments as well as sub equipments.i dont think there is any seperate report for sub equipments , in IW39 itself you can specify the equipments for which you want to see the order generated.
    i hope you will be clear on this
    regards
    thyagarajan

  • Breakdown of sub equipment

    Hi Gurus,
    I have an equipment that has sub equipments.  If I create an maintenance order for the sub equipment, I want the breakdown of the sub equipment to reflect in the main equipment.  Can I do that?
    Thanks,
    Paul

    Hello,
    Normally, the sub equipment will be dismantled from the main equipment and do the work and re-install the same. The dismantle date time and re-install time and details will be updated in the Equipment Log.
    Prase

  • Sale of Equipment with sub-equipment attached

    Hi fellow members,
    We have a business scenario where two different serialized materials are assembled into a single composite unit and sold to the customer. The single unit sold to the customer also has a serial number on it. We are required to track the serial numbers of the individual components as well when the main unit is sold.
    There is a sub-equipment option that could be used to attach the individual serialized devices to the main equipment. However, seek the following inputs from you:
    a. Is there a way where the equipments can be attached to the main equipment master record automatically when the composite unit has been produced ?
    b. If we sell the main unit, the system status of the equipment record gets recorded as ECUS. Will this also change the system status of the sub-equipments to ECUS ?
    c. What is the approach to be used if we would like to create one composite unit from two individual materials without the use of a production / sub-contracting order ? Can this be done via a direct movement type ?
    Appreciate your help
    Regards
    Rohit Zalani

    Hi
    The scenario you described is a production process & if you map it through PP order processing it can be tracked through its cycle. However you have following alternative as workaround-
    1. Create the finished material as equipment with serialised material & with construction type feature.
    2. Create a material BOM of the main material & you will get a structure of two material.
    3. Component material can be serialised for their own identity.
    4. You maintain the equipment master if required for the main equipments, no need to creatre equipment view of the component material.
    5. Further your question- If we sell the main unit, the system status of the equipment record gets recorded as ECUS. Will this also change the system status of the sub-equipments to ECUS ?
    Ans- No equipment status are maintained individually
    Regards
    Shakti

  • Temperature indicator & pressure gauges as sub equipment.

    Dear All,
    I have four Flavour Tank in my plant which is created as Equipment.
    Each Flavour tank is having 3 Temperature Indiactor & 2 Pressure Gauges installed on it.
    Can we create these Temperature Indicator & Pressure Gauge as Sub Equipment & installed at Flavour Tank which is a Superior Equipment.
    If yes, then can we perform all types of maintenance on these sub equipment. Here mainly i have to execute calibration orders & b/d maintenance for Temp. Indicator & Pressure Gauge.
    What are the advantages & disadvantages of sub equipment functionality. This i need from process & reporting point of view.
    Thanks & Regards,
    Sandeep

    Hello Sandeep,
    Sub equipment is not a special type of equipment in SAP. It is normally a refrence object as a normal equipment. You can perform each and every function over it as u perform on normal Equipment. It has some advantages like inheritence of warranty, Structural display etc. As per cocern of disadvantage i dont think that there is dis advantage. So you can procedd further.
    Regards
    Naveen

  • Equipment ---- Sub-Equipment heirarchy Requirements

    Dear All,
    While assiging super Equipment to Equipment do we need to confirm anything in master data , ie .Do we have any mandatory master data that have to be same??? or anything
    plz guide
    rgrds
    DM

    hi
    there is no mandatory field for this ,if you have created with max amount of data in superior equipment then some fields will be automatically copied to your sub equipment while creating
    regards
    thyagarajan

  • Difference between Sub-Equipment & Equipment BOM

    Can Anybody Please tel me the difference between Sub-Equipment & Equipment BOM ?
    Since both are Sub-part of the Equipment , on what basis these two items are differentiated ?

    Sub-equipment:
    Suppose there is a overhead cranes in a coal yard, and your client mapped coal yard as functional location and cranes as eq-1 in SAP.
    but a overhaed crane has many equipment like -
    1. LT motor (long travel)
    2. CT motor (cross travel )
    3. gear boxes
    so u can categorise all above equipment as sub-equipment in SAP and each sub-equipment having one superior equipment as eq-1 (crane no. 1)
    Eq BOM:
    Equipment BOMs are used to describe the structure of equipment and to assign spare parts to equipment for maintenance purposes.
    simply, what are the components and quantity being used to make this equipment.
    electric motor having component like
    1. bearing
    2. nut-bolt
    3. casing
    4. armature
    5. winding
    6. carbon brush
    like may be more than 50 components.

Maybe you are looking for

  • Why doesn't ical add all of my google calendars on the same page?

    why doesnt ical add all of my google calendars on the same page. like in gmail, i have different calendars that all show up together on the same page. i see that they are there in ical when i click window. but the are not all see together on one page

  • Winword.exe process starts at startup after installing Adobe Acrobat X Standard

    I installed Adobe Acrobat X Standard on a Dell Latitude D610 running Windows XP Service Pack 3.  Every time the machine is started up, Winword.exe appears in the Processes tab of task manager using up to 100% of the CPU.  Word itself does not open. 

  • Index of EXIF-metadata from jpeg files by TREX

    Hello, I have the following scenario: We have a central fileserver with a lot of marketing pictures. Our marketing people are looking for a solution to search pictures by data stored in the EXIF-metadata of the jpeg-files. So I like to integrate this

  • Moving just part of a library?

    Hi everyone, I just got a new MacBook and would like to move all of my music from my old iMac to my new computer.... my problem is, I have over 2,000 songs on my original iMac... but I don't want all 2,000 on my new MacBook... There is a lot of stuff

  • Unable to Burn DVD due to Verification Failure

    I am trying to make a backup copy of my Leopard Install DVD. It is a 7.2 GB file so I used Disk Utility to make a disk image of the DVD, then tried to burn the disk image to a Sony DVD+R Dual Layer disk (8.5 GB). Everything seemed to be working just