Equipment Inspection in PM - Valuation

I'm trying to setup the following scenario: Inspection for equipment:  There are 100 points that are qualitive with 4 possible options: Y (Yes = 0 points), N (No = can be 1, 2, or 4 points), Q (70% of 1, 2 or 4 points) or N/A (0 points).  When the inspection is done, the Usage Decision involves totalling up all the points.  I feel i'm pretty close to it, but I need some advice on how to approach this.  Any suggestions?

Hi,
You can maintain the cost of equipment value in Field  "AcquistnValue"  In General Tab Using TC IE01 while creation of equipment or IE02 while changing of equipment.
Then you can execute the report according Cost of equipment="AcquistnValue"  using TC IH08
Regards,
Rakesh
Edited by: RAKESH ASHOK MANE on May 13, 2009 7:11 AM

Similar Messages

  • Equipment callibration

    Hi everybody ,
                         Can some one pls tellme how to put Callibration of equipment in PM.I have created equipment with catg Q,I am also making equipment tasklist ,Maint plan Scheduleing it .Can somebody will guide me .My client is doing equipment Callibration .Please give me the reqments and procedure .
    You can pls mail me at [email protected]
    Thanks in advance .
    Regards .
    Shahid Shaikh

    hi shaik,
    try the following link it is an example for creating the calibration order."<b>http://help.sap.com/saphelp_46c/helpdata/en/fe/67fbcc9d6f11d189b60000e829fbbd/frameset.htm</b>".
    try to create as the exact way from the link
    <b>some points on Inspection Point (Equipment)</b>
    Definition
    A reference object for carrying out several inspections and recording characteristic results within an operation.
    In a calibration inspection, each inspection point corresponds to an equipment number. In addition to the equipment number, the inspection point may also include several other optional fields that you can freely define.
    Integration
    When you plan a calibration inspection, you must maintain inspection point-related data in the following planning objects:
    Maintenance task list
    At the header level of the maintenance task list, you specify the inspection point type (inspection points based on equipment).
    In the QM data at the operation level, you specify how the inspection points are valuated when you record inspection results. You can valuate each inspection point (equipment) manually or the system can valuate the inspection points automatically. The default setting is a manual valuation of the inspection points.
    Sampling procedures
    For each sampling procedure used at the characteristic level of the maintenance task list, you specify an identifier for inspection points based on the inspection lot quantity (plant maintenance)
    regards
    thyagarajan

  • Problem in mapping MIC with Inspection Lot

    Dear All,
                        I have two problems I am making the form for Equipment Inspection but not able to find how should I map the Testing equipment and MIC with the inspection lot I mean from which table they are coming or is their any Standard function for that.
    Thanks in Advance
    Sachin Gautam

    hi,
    check these tables for <b>results</b> entered through lot
    QAKL
    QAMR
    QASE
    QASR
    if they have used <b>inspection points</b> check this table QAPP
    for i<b>nspectionlot</b> check table QALS
    hope this helps !!!
    Cheers
    Alfred

  • In process inspection(QM)

    Hii ,
    In case of Inprocess inspection , we offered particular operation for confirmation to QC. If QC rejects the lot through usuage decision system is allowing confirmation of that operation.
    I dont want to allow the confirmation of operation if its rejected by the QC,
    How can i put control on this.
    Regards,
    Vivek

    hi
    maintain the valuation type of inspection point quantity,valuation and confirmation(production) for that operation in routing( double click on operation no. go to operation detail screen find at bottom)
    this is setting for confirmation through operation...
    regards
    Pravin

  • No Sampling Procedures in In-Process Quality Inspection (origin 03, insp. points 100)

    Hi
    I am facing a problem while attaching master inspection characteristics etc. in a master recipe (C202). I first specify inspection points as 100 in the recipe header (quality data section) and then I go to the operations section, select a phase and go into the area where I can attach MICs, methods and procedures. Now, no matter what kind of MICs I add there ( ones that require a sampling procedure, of course, as it is my need) it does not let me browse (F4) on the mandatory sampling procedure field. I have created all kinds of sampling procedures (freely defined inspection points, without inspection points, manual valuation, spc, fixed, 100% - all combinations) but the mandatory sampling procedure field does not let me browse for sampling procedures. If I directly type a name, it says that the procedure is not suitable for inspection points (100 that I defined) despite the sampling procedure being a freely defined inspection points one or any other. This is only in the case of inspection points/in-process/master recipe. otherwise normal GR usage 5 plans are working fine. Any help? It's urgent. Thank you!
    Regards,
    Bilal

    No, I'm using 100 inspection points, freely defined (both in my master recipe header and sampling procedure)
    And yes, the sampling procedure does have the radio button selected for freely defined inspection points, manual valuation and fixed sample.
    Like I said above I did get half of it working by making a setting in SPRO in the section that says Inspection for manufacturing order. In the process order section, I selected something related to production order in one of the tabs. That now enables me to assign a sampling procedure to a characteristic (SP with freely defined insp points) but it still doesn't let me browse (F4) for a sampling procedure eventhough there are 3-4 suitable procedures. I directly have to type them and press enter. Cannot F4/browse procedures.

  • Statutory Inspection planning in PM

    Dear Experts,
             I need an advise on the Inspection planning in plant maintenance. To me Inspection and calibrations are two different processes.
    Inspection can be related to any equipment (whether a Test Equipment or a manufacturing equipment). Test equipment e.g. Vernier caliper, Meggers, Current meter, Multimeter etc. helps to take the measurement reading. With time , the accuracy of the measuring equipment gets deviated from the required and then it need to undergo the "Calibration Process".
    On the other hand, the manufacturing Equipment, It self need to undergo some "Statutory Inspection" (due to legal requirement from various government bodies) e.g. in large Oil and gas plants , Particle content into smoke, Noise level from an equipment, Inspection of various fire extinguishers  etc are required to be inspected on periodic basis and need to be certified by an external/ internal agency. This certificate can be submitted on demand to various Govt. bodies.
    if some Non compliance is being found during Inspection, the corrective action need to taken by replacement or maintenance of that part.
    I need to get some guidance on Inspection plan for such equipment. How the process can be mapped into SAP. Do we need to go through QM path for Inspection plan? How certificates can  be issued for this process?
    Please provide the detailed steps ..
    Thanks

    Hi Dennis,
    You can try the following process. It might help.
    For Statutory requirement a time based maintenance plan can be created.
    For Smoke Particle/ Noise, Mater Inspection Characteristics (MICs) can be created, with qualitative indicator.
    Rest of the process might be mapped as below:-
    1: Assign an Order to inspection type 14 in configuration.
    2: Create Master Inspection Characteristics (Quantitative or Qualitative as per your requirement)  and assign sampling procedure.
    3: Create a task list with inspection point 300 and assign Master Inspection Characteristics to it. Assign control key PM01 (for internal) or PM03 (for external processing)
    4: Create a Maintenance Plan with the same task list for an Equipment with the order type with inspection type 14
    5: An Order will be created as per the schedule given in Maintenance Plan.
    6: An inspection lot will be generated once the order is released.
    7: Do result recording and usage decision for the same.
    8: I think there is a provision to print certificate as well  (I have not used it though)
    Hope it will be useful.
    Thanks and Regards,
    Sanjay

  • Settings for inspection point user field

    Hai gurus,
    i want to know the settings for inspection point user field(150)
    1) Field combination = 150
    2 )Inspection type = ?
    3) Functional location- field active  = ?(predefined field)
    under user field
    1)Text length 18 - Field active = ?
    2)Text length 10 - Field active = ?
    3)Number  length 10 - Field active = ?
    4)Number length  3 - Field active = ?
    5) Date - Field active = ?
    6) Time - FIeld active = ?
    waiting for positive reply.
    regards,
    sekar chand

    dear Sekar
    1) 150 inspection point is maily used for production related inspection. 03 , 04 . it is a freely defined inspection point which means you want to carry out several inspections for each operation during the production process
    2) It is not Inspection type it is inspection point type- There are mainly 3 inspection point type
    Freely defined - explained
    Equipment related - You need this inspection point type if you want to carry out calibration inspections and record the results of test equipment inspections or inspections of functional locations
    Inspection points to identify samples-You need this inspection point type if you want to manage samples and record inspection results for physical samples
    3) Predefined field is for identification of the inspection point.
    Example for inspection point type  1
    For inspection point type 1 (inspection point for equipment) that is used, for example, in a calibration inspection, the equipment number must be entered. (To access the results recording function, however, you can use a different key word instead of 'equipment number', such as, 'test equipment').
    Example for point 3
    The sample-drawing procedure determines the number of samples to be taken. The system automatically creates an inspection point for each sample.
    4) User fields are again identification. You can add in key work text which will appear while result recording.
    5) Field Active  -This helps in sorting out the user fields.  An identification field is only active if you have made an entry in this field.Fields with numeric entries are required fields. The numbering sequence that you define for these fields uniquely identify an inspection point.
    a typical example can be User field/field active/keyword combination
    1)Text length 18 -1 -Inspector Name
    2)Text length 10 - 2- Location
    3)Number length 10 - 3- Shift No
    4)Number length 3 - 4- Section No
    5) Date - 5- Date
    6) Time - 6-  Time
    please Date and Time populates automaticaly. it is not mandatory that you use all the fields
    Hope this helps
    Regards
    gajesh

  • Valuate the non-valuated QM characteristic during usage decision

    Hi Guys,
    I don't understand why during usage decision, system pops up the following message even though I have force the inspection completion on one particular inspection characteristic.
    Valuate the non-valuated QM characteristics manually? Yes button and No button
            After hits Yes button, another message appears...
    Class characteristic QNNVM1 can be manually evaluated.
    There are two inspection characteristics in this inspection lot, and one inspectin characteristic has been record as pass and accepted during result recording, while another inspection characteristic (which is a required characteristic on system setup) did not perform result record. Thus, during QA11, I force this required characteristic to inspection completion.
    My questin is why the system gave me "Valuate the non-valuated QM characteristics manually?" message?
    Thanks
    YY

    Plz. tell me whether sampling procedure is used for these characteristics ?
    If yes then whether valuation mode is 'valuate manually ' ?

  • Inspection types

    Dear All,
    i have on one material which has
    1) Inprocess check with different parameter
    2) Daily check with different parameter
    3) Weekly check with different parameter
    4) Monthly check with different parameter.
    so please suggest me which inspection types should i maintained ?
    and  how the inpection lot generated for this inspection type?
    points will be rewarded.......
    Regards
    Pravin

    You can set up an 89 inspection type with the three operations and using inspection points as I described before.  This is not stock relevant but you not handling stock with this.  At any time the inspection lot can have a UD made and the lot closed out.  Inspection points are valuated within each operation and the results copied to the batch.  So the batch record will always have the most current results.
    I would use physical samples, store my initial sample as a reserve via the original 04 lot.  Then the 89 lot is created for the physical sample.  Using inspection points won't cue anyone to do the sample however.  You'd have to actually look at each lot into each operation to determine if I shold be doing a sample today.
    The best option however is to create a stability study.  This would easily be the most elegant and rigorous solution.  I would encourage you to look at that and it is really exactly what your doing.
    Recurring inspection as you see, only can handle one time point.  And if you don't make the UD on the right day, the number of days between testing can easily vary. 
    Craig

  • QM_Class Characteristic

    Dear QM Experts,
    Can anybody tell me about Class characteristics? Its exact use, its step by step procedure to work out.
    I followed following steps up till now. But can not understand how exactly the inspection results get transferred to batch class and how they appear when someone displays that batch.
    Steps Followed,
    u2022     Creation of class Characteristic (CT04)
    u2022     Creation of  Batch Class (CL01)
    u2022     Assignment of above created classed characteristic to the Batch Class at the time of class creation. (CL01)
    u2022     Assignment of batch class to material master in classification view. (MM01)
    u2022     Creation of MIC with reference to above created Class characteristic (QS21)
    u2022     Creation of inspection plan with above MIC (QP01)
    u2022     Creation of new batch (external numbering) for the material (MSC1N)
    u2022     Creation of manual lot for 89 lot origin (QA01)
    u2022      Result recording and usage decision (QA32)
    Queries,
    1.     After this where these results get reflected? I checked in MSC3N. Unfortunately I could not find anything.
    2.     Am I missing something in above procedure?
    3.     Anything special that should be considered at the time of batch creation?
    Thanks in advance,
    Best Regards,
    Anand Rao

    Inspection results are only transferred to the batch record under the following scenarios:
    In all cases, the mics must be created with reference to the general characteristics (which you indicate you did)
    1) As stated in a previous reply, you can set the config setting in the plant settings.  "batch valuation w/o material specification."  This should be checked on.
    2) You maintain a material specification and in the material master you select "inspect with material spec".  (You might have this checked in addition to "inspect with task list".)  You can not unlock the characteristic in the inspection plan in this case.  The specs come from the batch.  If you break the link, the values do not transfer.  (unless the above config setting was set).
    In both case you maintain the 023 (or 022) batch class for the material.
    Keep in mind values are only transferred to the batch when an inspection point is valuated or a UD is made.
    Hope this helps.
    Craig

  • Save pdf as custom filename using field data

    Hi folks, I'm not very knowledgable in JavaScript and I'm hoping to get pointed in the right direction. I will give a brief description of what I hope to accomplish.
    I have a pdf form that is to be filled out for equipment inspection.  Once all the fields have been completed I would like the user to click on a save button that will save the pdf into a subfolder with a file name such as
    equipmentTYPE-equipmentID-date-pass.pdf
    where equipmentTYPE and equipmentID are text fiels and pass/fail are radio buttons (I already have the form built, except for the save button).  I would also like for the saved pdf to have the user rights removed.
    Any help with this would be greatly appreciated! I don't know yet how big or challenging this task will be.  Is it something that can be accomplished soley in Acrobat with javaScript?

    First of all, you cannot automate the removal of usage rights, so that part is out. You can save a file to an existing directory and build the file name based on form field values, but the code that does the saving has to be included in a folder-level JavaScript file on each user's macine, as explained in the following tutorial: http://acrobatusers.com/tutorials/how-save-pdf-acrobat-javascript

  • Can I create a form that works on android devices?

    I am trying to create an equipment inspection form that uses radio buttons and drop-downs that I can email to customers, download to a server and add attachments such as photos.  I would have an employee inspecting between 1 and 50 peices of equipment for an end user.  I would like to maintain some information on the form such as equipment location, S/N's, customer name etc. so we would not need to re-enter for each unit / inspection.

    Hi,
    You can fill out forms on mobile devices. You cannot create/view responses on mobile devices.
    We don't support maintaining information on the form between submits, so information would need to be reentered.
    Thanks
    Roman

  • Supplier Warrenty

    Dear PM Experts,
    I need to maintain warrenty information for a perticular equipment and I need to have a process flow for sending this item to vendor within the warrenty period, get it serviced and take it back to my inventory (free of charge). can any one of you suggest the process flow in sap for this?
    cheers
    Deepal

    Hi Deepal,
    Subcontracting process
    Dismantle the equipment
    Create the Non valuated material for your equipment. Do the GRN by 202/262 to get the inventory.If you are going for valuated then it will hit the Accounting.
    Create Subcontract PR, PO against the equipment material no.If acct assignment is Order then better your equipment will get the cost.
    Maintain the Sub contract value in PO ( for warranty case it may be zero). Which is charging by the vendor.
    Send the item to vendor by 541 Movement. Make the RGP.
    Do the GRN agaianst Po
    Reconsile your RGP
    Receive the items thro Order or install your equipments if the sl no mgt available.
    The sub contracting stock also you can monitor thro ME20 T codes
    Hope this helps
    Babu

  • PL/SQL problem with too many lines - can not apply changes

    I have a complex PL/SQL that requires checking 90 check boxes and the query works to a certain point then it just stops being able to be saved (apply changes) after a high no. of lines has been typed in. (The PL/SQL query is to check against a file, that the file has all the check boxes as yes. If there is only 1 or 2 boxes checked, then the sql created only checks those 2 fields for yes.) Is there a way to increase the coding space (or number of lines) that APEX can save/use.

    This is the whole PL/SQL coding. At this point, we cannot add any more lines or it will come up with "web page cannot be found" message.
    declare
    q varchar2(32767); -- query
    new varchar2(1):='Y'; -- first one
    begin
    q := 'select a."CONTR_ID", a."NAME", b."PHONE_NO", b."EMAIL_ADDR" FROM contractor a, contacts b where a.contr_id = b.contr_id and a.contr_id not in (Select unique a."CONTR_ID" from contractor a, contractor_competency b where a."CONTR_ID" = b."CONTR_ID" ';
    -------------------Start ENV
    if :P33_AIR_QUALITY_TESTING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Air Quality Testing'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ASBESTOS_REMOVAL_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Asbestos Removal De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ASBESTOS_REMOVAL_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Asbestos Removal Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_BUILDING_ASBESTOS_REMOVAL = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Building Asbestos Removal'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ENVIRONMENTAL_CONSULTING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Environmental Consulting'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_MANHOLE_ASBESTOS_REM_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Asbestos Removal De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_MANHOLE_ASBESTOS_REM_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Asbestos Removal Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OIL_FILTERING = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Oil Filtering'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OIL_SAMPLING = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Oil Sampling'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OIL_SPILL_CLEANUP = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Oil Spill Cleanup'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_PUMPING_OUT_MANHOLES = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Pumping Out Manholes'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_SIGNED_ENVIRO_DOCS = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Signed Enviro Docs PRO-MS-008'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TRANSPORTATION_OF_D_GOODS = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Transportation of Dangerous Goods'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TRANSPORTATION_OF_PCB = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Transportation of PCB'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_WASTE_PICK_UP = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Waste Pick-Up'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    -------------------- start OCM
    if :P33_GREENFIELD_POLELINE_CONST = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Greenfield Poleline Construction'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_HV_OVERHEAD_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''HV Overhead Maintenance'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_INSULATOR_WARNING = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Insulator Warning'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_LV_OVERHEAD_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and (';
    new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''LV Overhead Maintenance'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_OVERHEAD_INFRARED_SCAN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Overhead Infrared Scanning'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLEHOLES_AND_ANCHORS = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleholes and Anchors'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLELINE_INSPECTION = 'YES' then
    if new = 'Y' then q := q || ' and( '; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleline Inspection'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLELINE_WORK_TO_35KV = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleline Work to 35KV'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_POLELINE_TO_44KV = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Poleline to 44KV'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_ROCK_DRILLING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Rock Drilling'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TENSION_STRINGING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || ' (instr(upper(b."JOB"),upper(''Tension Stringing'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TREE_TRIMMING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Tree Trimming (De-Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_TREE_TRIMMING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Tree Trimming (Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_WOOD_POLE_TESTING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Wood Pole Testing De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_WOOD_POLE_TESTING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Wood Pole Testing Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    ------------------ start UCM
    if :P33_CO2_CLEANING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''CO2 Cleaning'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CABLE_PULLING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Cable Pulling'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CABLE_TESTING_DEENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Cable Testing De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CABLE_TESTING_ENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Cable Testing Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CONC_DUCT_MAN_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Conc. Duct & Manhole (De-Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_CONC_DUCT_MAN_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Conc. Duct & Manhole (Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIR_BURIED_DUCT_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Direct Buried (De-Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIR_BURIED_DUCT_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Direct Buried (Energized)'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIRECTIONAL_BORING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Directional Boring De-Energized'')) > 0) and
    ((instr(upper(b."SET_YES_NO"),''NO'') > 0) or
    (instr(upper(b."CRAFTMAN_YES_NO"),''NO'') > 0) and
    (instr(upper(b."PROBATION_YES_NO"),''NO'') > 0)) ';
    end if;
    if :P33_DIRECTIONAL_BORING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Directional Boring Energized'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_GENERAL_EXCAVATION = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''General Excavation Around Plant'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_HV_UG_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''HV Underground Maintenance'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_LV_UG_MAINTENANCE = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''LV Underground Maintenance'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_MANHOLE_CLEANING_DEEN = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Cleaning De-Energized'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_MANHOLE_CLEANING_ENER = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Cleaning Energized'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_MANHOLE_INSPECTION = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Manhole Inspection'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_UG_EQUIPMENT_INSPECTIONS = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''UG Equipment Inspections'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_UG_INFRA_RED_SCANNING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''UG Infra Red Scanning'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_UG_CABLE_LOCATES = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Underground Cable Locates'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    ------------------------ start SCM
    if :P33_FENCING_AROUND_SUBSTATION = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Fencing Around Substation'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_FENCING_GREENFIELD = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Fencing Greenfield'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_INSPECTION_AND_TESTING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Inspection And Testing'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_CIVIL_WORK = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Civil Work'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_CONST_DEENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Construction (De'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_CONST_ENERGIZED = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Construction (E'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATION_INFRARED_SCANNING = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Station Infrared Scanning'')) > 0) and
    (instr(upper(b.”SET_YES_NO”),''NO'') > 0) ';
    end if;
    if :P33_STATIONS_ASBESTOS_REMOVAL = 'YES' then
    if new = 'Y' then q := q || ' and ('; new := 'N';
    else
    q := q || ' or '; end if;
    q := q || '(instr(upper(b."JOB"),upper(''Stations Asbestos Removal'')) > 0) and
    (instr(upper(b."SET_YES_NO"),''NO'') > 0) ';
    end if;
    if new = 'N' then q := q || ' ) ';
    end if;
    q := q || ' ) ';
    return q;
    end;

  • Business Process Procedures-Document

    Hi Guys,
    I am looking for Business Process Procedures document of QM. Is there any link where I can get the Business Process Procedures
    Normaly these documents are with Building block documents but for QM it is not available for any process other than QM in Procurment.
    I wanted these document for other QM part like for Production, SD, Equipment inspection etc.
    If somebody has prepared this, request to forward it the my gmail ID "dhanu.e" .
    Thanks,
    Dhanu

    [http://help.sap.com/bp_pharmav1500/Pharma_DE/Documentation/P56_BPP_EN_DE.doc]
    Hope it will help you.
    Regards,
    Shyamal

Maybe you are looking for

  • Flash to Device Central issue

    In Flash CS3 I am testing an animation by sending it to Device Central. When I do, I am getting an "Output" window with error messages that repeat the same issue: "Enhanced stroke not supported in this player". I am not clear as to what this complain

  • Best practice for multiple email accounts

    Hello I have set up a Mac mini server with virtual hosts. So, how is the best practice to set up email accounts for each host? I want to have emails like [email protected] [email protected] and [email protected] [email protected] and so on. Should I

  • Maximum model size of 32k reached

    Hi I've reached the maximum model size of 32k. The problem is that the dashboard I'm creating is still only a fifth of what the final solution will be. So now I'm trying to think of ways to split the model into five models. And hopefully still mainta

  • Powershell script to findout all the software products installed in the SharePoint farm

    Hi All, Please find the simple and accurate power shell code implemented by me to generate report to get all the softwares installed on each server in the farm.It would be very helpful to create reports at farm level. $servers = get-content F:\temp\S

  • Russian Character in Reports

    I have a requirment where i have to create a report based on a Oracle standard Report in RUSSIAN language. The users have provide with the RUSSIAN equivalent to the English text. when i opened the standard report in reports 6i and try to Copy Paste t