Create Inspection plan ( BAPI_INSPECTIONPLAN_CREATE )

Hi,
I am trying to create Inspection plan using BAPI -> BAPI_INSPECTIONPLAN_CREATE
On executing i am getting following messages:
E BAPI 001
A CPCL 006 Task list Q 1 1 already exists
A CPCC_DT 210 For further processing, the routing entry is missing
Also same scenario i have tested in QP01 with same details that i have mentioned above. There it is working properly.
Thanks
Smruti Ranjan

Hi All,
Have any one used this BAPI, BAPI_INSPECTIONPLAN_CREATE to create Inspection Plan ?
Can you help me on above errors?
Thanks in advance,
Sabu

Similar Messages

  • Errors while creating Inspection plan using BAPI_INSPECTIONPLAN_CREATE

    Hi All,
    I am writing an upload tool for inspection plans. In this program I use bapi: BAPI_INSPECTIONPLAN_CREATE.
    I made an extraction of a excisting inspection plan with SXDA_TOOLS which uses the same bapi and filled the bapi structures with the similar data. Now I am getting strange messeges in the return structure as below.
    1. Material is not maintained for plant NNNN. But the material is mainained for that plant.
    2. Consistency check not successful when creating operation
    3. Inspection characteristic cannot be uniquely assigned to one operation
    Let me know your suggestions
    Thanks,
    Sabu

    Hi All,
    Have any one used this BAPI, BAPI_INSPECTIONPLAN_CREATE to create Inspection Plan ?
    Can you help me on above errors?
    Thanks in advance,
    Sabu

  • Creating Inspection plan using BAPI

    HI all,
    I am using the FM 'BAPI_INSPECTIONPLAN_CREATE'. I am unable to update the Inspection characteristics as multiple entries. Its getting updated only the last item.
    Expecting answer from the experts.
    Ravi.

    Hi,
       you can check the BAPI_INSPECTIONPLAN_CREATE for the named purpose, the values you named are in the structure BAPI1191_CHA_C please read the BAPI documentation:
    Functionality
    You can use this function module to create inspection plans and all its subordinate objects.
    You can create a key date view and the complete history of an inspection plan. It is useful to have a history when transferring data from external systems.
    Example
    You want to create an inspection plan with operations and inspection characteristics for key date 01.01.2000. Make an entry in the following tables for each object:
    TASK
    OPERATION
    INSPCHARACTERISTIC
    If you want to assign test equipment to the inspection characteristic in field ITEM_NO_OF_PRODUCTION_RESOURCE, you must have assigned this test equipment in PARAMETER PRODUCTIONRESOURCE.
    Notes
    If no error occurs during the transfer of data, the export parameters GROUP and GROUPCOUNTER contain the key for the task list created. A COMMIT WORK must be executed for writing data to the database.
    All errors that have occured are logged in the export parameter RETURN. If there are inconsistencies, the inspection plan to be created is rejected
    <b>Reward points</b>
    Regards

  • QP01 Create inspection plan BAPI

    Dear experts,
    I am trying to create Inspection plan, by using BAPI_INSPECTIONPLAN_CREATE, but it is not working always giving some error. I can create with same data manually in QP01.
    Can anyone please help.

    closed thread as no answer recvd

  • Error while creating Inspection plan

    Hi,
    While creating inspection plan in QP01, system is showing error  "Material type ZROH is not defined for task list type Q''
    Please help me to solve the error.
    Thanks
    Prasant

    Hi,
    This is due to the configuration error,
    Just use T.Code OP50
    Create an entry for task list type "Q" with material type "ZROH" and save,
    Then try creating a Quality Inspection Plan, it will work
    Regards
    Merwyn

  • How to map revision level materials to already created inspection plan?

    Dear All,
    I have created single inspection plan for many existing raw materials. Now it has been found that each raw material have different revision level as well as valid from date.
    My inspection plan is created on 02.07.2014 and each raw material has different revision level with valid from date which is also very old (like 11.03.2012 for revision level 09).
    My Requirement is:  how to correct my inspection plan?,  so that it will work for each assigned raw material and there will not be any material revision level wise problem created for the inspection lot so that my inspection lot should be created in REL status in QA32 transaction i.e. inspection lot is assigned automatically as per standard SAP functionality.
    Thanks,
    Narresh

    Hi Amol,
    Thanks for your reply.
    In this business scenario, we are not creating inspection plan for each raw material because there is similarity in inspection for 40-50 raw materials and total number of raw materials are around 500. This will be very difficult and unnecessarily data creation in the system.
    As per my understanding revision level is for material master revision and if material master changes then how it affect so much on inspection plan? also is it means that for every revision in future we will have to create new inspection plan?  hence I believe that if I will make back dated inspection plan for raw materials then it may work. Is my understanding is correct?
    Expecting much better solution from QM experts.
    Thanks,
    Narresh

  • BDC - Creating Inspections Plans using T-Code QP01

    Hi All,
    I want to Create Inspection Plans using QP01 transaction using BDC.
    It having 4 screens. Third and Fourth screens having line item details.
    I did recording. Upto First and second screens data is populating properly, coming to third screen data is not taking even though bdctable having data (in debug mode i found). I don't know hw to resolve this problem.
    Can u please explain hw to populate line-item details, possible give some example coding .
    Regards,
    Prabhakar

    Hi,
      If you are comfortable using function modules then you will not have any difficulty in using the BAPI, only thing we need to take care of the following, refer the following this is not using the bapi for Inspection plan, this is done for different purpose, still you can refer this and use accordingly,
    Data declarations,
    DATA: TOPNODEONLY LIKE BAPICO_GROUP-TOPNODEONLY,
          RETURN LIKE BAPIRET2,
          LT_HIERARCHYNODES LIKE BAPISET_HIER OCCURS 0,
          LT_HIERARCHYVALUES LIKE BAPI1117_VALUES OCCURS 0,
          LS_HIERARCHYNODES LIKE BAPISET_HIER,
          LS_HIERARCHYVALUES LIKE  BAPI1117_VALUES,
          LV_FLAG TYPE I,FLAG.
    DATA: BEGIN OF ORDERS OCCURS 0,
          ORDER_GROUP TYPE GRPDYNP-NAME_COALL,
          DESC(30),
          ORDER TYPE GRPVALUES-VFROM,
          END OF ORDERS.
    START-OF-SELECTION.
      CALL FUNCTION 'WS_UPLOAD'
           EXPORTING
                FILENAME = FILENAME
                FILETYPE = 'DAT'
           TABLES
                DATA_TAB = ORDERS.
      SORT ORDERS BY ORDER_GROUP ORDER.
      LOOP AT  ORDERS.
        IF LV_FLAG NE 1.
          TRANSLATE ORDERS-ORDER_GROUP TO UPPER CASE.
          LS_HIERARCHYNODES-GROUPNAME = ORDERS-ORDER_GROUP.
          LS_HIERARCHYNODES-DESCRIPT = ORDERS-DESC.
          LS_HIERARCHYNODES-HIERLEVEL = 0.
          LS_HIERARCHYNODES-VALCOUNT = 0.
          APPEND LS_HIERARCHYNODES TO LT_HIERARCHYNODES.
          LV_FLAG = 1.
        ENDIF.
        CLEAR LS_HIERARCHYNODES.
        LS_HIERARCHYNODES-GROUPNAME = ORDERS-ORDER.
        LS_HIERARCHYNODES-HIERLEVEL = 1.
        LS_HIERARCHYNODES-VALCOUNT = 0.
        APPEND LS_HIERARCHYNODES TO LT_HIERARCHYNODES.
        AT END OF ORDER_GROUP.
          FLAG = 'X'.
        ENDAT.
        IF FLAG = 'X'.
    BAPI is called to create Internal Order group in the system
          CALL FUNCTION 'BAPI_INTERNALORDRGRP_CREATE'
               TABLES
                    HIERARCHYNODES  = LT_HIERARCHYNODES
                    HIERARCHYVALUES = LT_HIERARCHYVALUES.
          CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
          CLEAR :  LT_HIERARCHYNODES[], LS_HIERARCHYNODES.
          CLEAR : LV_FLAG,FLAG.
        ENDIF.
      ENDLOOP.
    Hope this helps,
    Rgds,

  • How to create inspection plan in mass for material

    Dear Guru,
                    How to create inpection plan for material in MASS, usually we will create inspection plan in QP01 but in mass for more than one material how to maintaain? Please help
    Regards
    Karthik.

    Hi raja
    refer following lonks
    QM- LSMW FOR INSPECTION PLAN
    Re: CEWB:Inspection Plan upload
    bapi for qm inspection plan
    Regards
    Sujit

  • Is it possible to create  inspection plan for "Inprocess Inspection"

    Hi,
    Is it possible to create  inspection plans for "Inprocess Inspection".
    If yes , what would be the "task List Usage".Is it "1"?
    If no ,then how to map this requirment?
    Regards
    Vemula

    Hi
    Vemula
    Generally as Per SAP std Routing is used for inspection of 03 type of inspection.
    but you can also customize the Inspection task list Usage for Inprocess Inspection.
    This is possible through
    QCC0>Quality Inspection>Insp lot creation>Assign Insp type to origine>
    here informt of 03 inspection type you can assign
    Task list type:Q
    Usage:either 1(Production) or 3(Universal)
    save
    Regards
    Poonam

  • Create Inspection Plan -LSMW -Direct Input -Error with Control Indicators

    Hi,
    I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
    Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
    how can we suppress this?
    I want to use MIC's default parameters.
    Regards
    Praveen

    have Lost Previous File
    what does that mean? did they lose the source that should be used to load the data from?
    without source you cannot load data.
    Had you ever got this source file? how? by mail, then check your old mails and take it from there, ask the sender to he/she checks the SENT folder in his mail system. Maybe someone has a local copy of this fille.

  • Create Inspection Plan -error in control Indicators

    Hi,
    I am creating Inspection Plans using LSMW-DIRECT INPUT Method.
    Although MIC's control indicator parameters are correct while creating a plan it is changing the control indicator parameters.
    how can we suppress this?
    I want to use MIC's default parameters.
    Regards
    Praveen

    Hi Naresh,
    QA32 screen shot suggests material has Revision level as "B".
    Now Check Revision level for Inspection plan.
    Amol.

  • ERROR WHEN CREATING INSPECTION PLAN

    HI GURUS,
    WHEN CREATE AN INSPECTION PLAN GET THE FOLLOWING ERROR
    Op. 0010, CH 0180: Char. ident. SMS used for QDI several times in task list.
    THIS BECAUSE MY CLIENT WANTS TO REPEAT THIS M.I.C TWICE.HOW CAN I SOLVE THIS
    REGARDS
    AMIT

    Hi,
    It is not a error message It is a warning message for Use the Same MIC in Multiple time, No problem just you can save the Inspection plan, It will not reflect any problem any where.
    Regards,
    S.Babusingh

  • Create Inspection plan at once for many materials through QP01. Possible?

    Dear Friends,
    Is it possible to create Inspection Plant for more than one material at onece through QP01 when operation activity and Characteristics are same. I will change the Characteristics specifications afterwards.

    As suggested in earlier reply you can assign multiple materials to one inspection plan.
    But you may still need more than one plan because of
    1. UOM is maintained in Inspection plan header. So you have to create different inspection plan if you receive materials in different Unit of measures.
    2. Usage is also at header level, so depending on configuration, usage for 01 inspection type may be different from usage for 0101 inspection type.
    If you like the user exit approach.
    1. Create a dummy material and assign default inspection plan to this material.
    2. In the user exit change the inspection plan assignment.  Assign inspection plan from this dummy material.
    Form us this was a very useful approach during testing or for new material where inspection plan was not created in time.
    Once this default inspection plan is assigned, inspection lot is released even without inspection plan. If we need,  we can always change the default inspection plan in QA02 transaction before RR
    AK Marwadi.

  • How to add the Drawings while creating Inspection Plan

    Dear all,
    As we can attach the files in QM01 - Create Notofication thru "Choose an Object" .
    In similiar way can  "Choose an Object" object can be attached to Insp. plan or any other way to attach drawing.

    in case of inspection if want to see the the drawing during Result recording then
    You can create a document in Cv01n & attach  drawing document ........
    then
    1.use it in Inspection Method & attach inspection method in the inspection lot.
    2.use it in PRT as document  & attach it in inspection.
    In case of notification DMS( document mgt system-CV01n) can be used & attached in Notificaton.
    Regards
    Sujit

  • BAPI to create inspection lot

    Hi,
    Someone know if exists an standar BAPI or function to create an inspection lot?
    Many thanks!!

    Hi,
    try these....
    Function group                 Function group short text
    Function Module Name           Short text for function module
    COQM                           Create inspection lot from order
    CO_QM_INSPECTION_LOT_CREATE    Create inspection lot from order
    CPCC_BUS1191                   BAPIs for Inspection Plan
    ALE_INSPECTIONPLAN_CREATE
    BAPI_INSPECTIONPLAN_CREATE     Create Inspection Plan
    CPDMDATACOLLECTOR2
    C_PDM_INSPECTIONPLAN_CREATE
    QMHU
    QMHU_INSPECTION_LOT_CREATE
    QPL1
    QPL1_INSPECTION_LOT_CREATE
    QPLEXT
    QPLEXT_INSPECTION_LOT_CREATE
    Arunima

Maybe you are looking for

  • Footer text in PO

    Hi We are priniting name of the PO  relesed person in the each page of the footer in PO. But in print/preview first time we are able to see the name only in last page.for the second and subsiquent times we are able to see  in print/ preview. We want

  • Saving form created in Acrobat XI so other users cannot edit contents

    I created a form in Acrobat XI and added information to the fields.  I created multiple files, each with different data.  I want users with Reader to be able to see the completed forms using Reader, but not be able to edit the fields.  Hopefully I do

  • I see my spry accordian images in the live view but they disappear in the browser view

    Here is my page code: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; cha

  • What was wrong with OS 10.5 airport settings

    I'm wondering what was specifically wrong with the networking built into 10.5. I noticed that one of the fixes says "Improves compatibility with third-party wireless wide-area network devices". What compatability issues did they resolve?

  • During updating version 9.0.7 loss effect riple is possible recover this?

    after updating version 9.07 the effect ripple is not present and in old video loss this effect, i want reinstalled this effect but i dont' know the methode