[QM] How to create an inspection lot with task list assigned?

Hello, everyone.
I know, the similar questions have been asked plenty of times, but I am still unable to find a suitable receipe of the inspection lot creation. My goal is to create an inspection lot programmatically and be able to record its results using, e.g., BAPI_INSPOPER_RECORDRESULTS.
Creating a lot does not appear to be a big problem. I just call the following FMs:
QPL1_INITIALIZE
QPL1_INSPECTION_LOT_CREATE
QPL1_UPDATE_MEMORY
QPL1_INSPECTION_LOTS_POSTING
BAPI_TRANSACTION_COMMIT
As a result, I have a new shiny inspectin lot, but it comes with statuses "CRTD" and "CHCR". I do specify PLNAL and PLNNR fields values for the QALS structure which is passed to QPL1_INSPECTION_LOT_CREATE, but that does not seem to have any effect. When I call BAPI_INSPOPER_RECORDRESULTS later (result values and inspection points come from another lot which is used as a template), it reports of beging unable to find characteristics for the inspection operations (error E026).
Does anyone know which of the QPL1_INSPECTION_LOT_CREATE parameters affect task list assignment besides PLNAL and PLNR? Or maybe there is a special FM which associates a task list with an inspection lot?
Thank you in advance.

Hi Samuel,
You can get create an Agent as a Task by using the following steps:
1. Go to Customizing --> EHS --> Industrial Hygiene & safety --> Risk Assessment --> Specify Agent Types
2. Click on "TASK' Agent type and click on Details icon (CtrlShiftF2)
3. In the "Only EHS-IHS" drop down, Select "No"
4. Save the entry
5. Now try creating an Agent [CBIH92] and you can create an Agent as a Task.
Hope it Helps,
Raghu

Similar Messages

  • Inspection Lot without task list

    Dear experts,
    I've this problem:
    I've create an inspection lot without task list.
    If I try to assing a task list the system give me the message "No inspection plan could be found".
    But in transaction QP02 I've seen that the inspection plan exists and the material is assinged to the insepction plan correctly.
    Where's the error?

    Most of the issues for a plan not being assigned have been raised here already.  I suggest you rereview the value in QA02 to see what usage the lot is looking for.  Than change the key date to one day after the date the inspection plan was created and assigned to the material.
    Once you have double checked all the above, go to QA02 and click on the button to assign the specifications/plan and see if the lot is updated.
    If not, please tell us:
    1) what is the inspection type and origin for this lot.
    2) what are that statuses of the lot at this time.
    That might help us.
    FF

  • How to create an inspection lot for each line item of the Purchase order?

    Hi,
    How to create an inspection lot for each line item of the Purchase order ?
    In detail if possible.

    Hi
       please check this
    [thread|Create Inspection Lot;

  • How to create an inspection lot out of a sales order?

    Hey all,
    I know that at purchasing side you can make a "source inspection" which makes it possible to create an inspection lot before you do a goods receipt.
    Is somehting similar existing at sales side meaning that you can create the inspection lot out of the sales order, but before a delivery or delivery note is created?
    Thanks for the replies,
    Philippe

    hi
    yes system can create inspection lot before or after delivery provided you have activated the material for inspection type and specified in the QM info record
    for detailed process kindly refer here
    http://help.sap.com/saphelp_46c/helpdata/en/af/fc4f35dfe82578e10000009b38f839/tree.htm
    regards
    thyagarajan

  • In inspection lot..task list does not fetch

    Hi QM Guru..
    when i do UD for fish material. with QA32....in QA32 showing inspection lot no..but when i select line item of inspection lot and click on inspection lot..one window open..when i go inspection specification for task list..when i  click on task list....show the massage....
    but i all ready created inspection plan from QP01...i have over ther MIC and sampling procedure also
    No inspection plan could be found
    Message no. QA278
    Diagnosis
    A task list  could not be found for the selection criteria. The inspection setup for this material in the quality management view of the material master defines an inspection with a task list.
    System Response
    Sample calculation and inspection lot release are not possible.
    Procedure
    Check the:
    Selection criteria
    Material/task list assignment
    Task list status
    Task list usage
    Task list usages i have taken 5  for GR
    status 4 general release
    kindly suggest me why task is not taking...i have already created task list
    kindly suggest me
    Regards
    Aqueel

    Dear,
    Is this quality Plan is back dated and Lot size should be 1 to 9999,999.
    Why are you creating rate routing? check lot for 04 insp type in QA02.
    Or for old material just create one new order and test it once again.
    You can check the statuses in config.
    QM>Quality Planning>Inspection Planning>General>Define Task List Status.
    You should find that "4" is in there with all the check marks on.
    QM--> Quality Inspection --> Inspection Lot Creation --> Maintain Inspection Lot Origins and Assign Inspection Types.
    There is a column called status. For each inspection ORIGIN, you can specify the status of the inspection plan. It appears someone in your system changed the 4's to an X and then created the status "X".
    Regards,
    R.Brahmankar

  • How to create a Business Partner with internal number assignment

    Hello,
    We are using a CRM 7.0 system. We want to create a new Business Partner using LSMW. We chose IDoc basic type CRMXIF_PARTNER_SAVE_M03 to perform it. We want to create it with internal number assignment (we don't have BP ID or BP GUID). Unfortunatelly, when we leave PARTNER_NO and PARTNER_GUID fields empty, we get an error message that we should supply at least BP ID or BP GUID. So what values should we enter in order to create a BP with internal number assignment?
    Please put attention that we also don't want to enter any alternative external number because we don't want the end user to see after in the WebUI.
    Thanks in advance,
    Sergey Kozyrev

    Hello,
    Standard CRM PC UI application offers three options when you push 'New' button: 'Person', 'Organization' and 'Group' (combobox appears). In your case, 'Person' should be selected.
    p.s. If you don't see combobox mentioned above, it could be security issue.
    Kirill

  • Creation of Recurring Inspection Lots with Serial numbers

    Hello,
    We have the following scenario at our client :
    <i>MIGO_GR</i> is used to create GR for materials with Serial number requirement. The serial numbers can be generated automatically or manually entered on the screen. At this point of time, the Shelf Life expiry date & Next Inspection date are calculated based upon the Production date. The Batch gets created with Next Inspection date, Inspection Lots are created and the Serial numbers are assigned by the system. The stock moves into QI.
    The stock is moved from Quality restricted to Unrestricted stock via <i>QA11</i>. The serial numbers are handled by the system or can be managed on screen.
    Transaction <i>QA07</i> (Deadline Monitoring of Batches) is used to create Recurring Inspection. QA07 gives error message IO304 that "<b>Only 0 serial numbers entered instead of 1</b>". The problem is that system doesn't pick up the corresponding serial numbers.
    OSS # <u>497845</u> mentions that Transaction QA07 can not handle serial number. The serial numbers are very critical to the business process.
    Has anyone come across this situation before ? Please suggest solution or workaround. I tried using BAdI "<b>INSPECTIONLOT_UPDATE</b>" & was able to create Inspection Lots with serial number assignment, also manipulated Batch to change the Next Inspection date. The problem is Material Movement (322) Document does NOT get created.
    Also tried implementing BAdI as per OSS # <u>608830</u> but doesn't give desired results.
    Any help is greatly appreciated.
    Best Regards,
    Homiar Kalwachwala.

    Hello all,
    Just wanted to bring this on top to be noticed.
    Would appreciate any help, suggestions...
    Regards,
    Homiar.

  • Creating new inspection lot origin via SPRO

    Hi guys.
    I would like to know how to create new inspection lot origin via SPRO.
    I tried going via SPRO->Quality Management->Quality Inspection->Inspection Lot Creation->Maintain Inspection Lot Origins and Assign Inspection types , but could not find the way.
    Thanks in advance.

    Hi,
    You should 1st create/define the inspection types in OQL1 for your needs then you should assign them to locations.
    Have you defined your inspection types?
    Check n revert
    Shiva

  • How to cancel inspection lot with REL status

    Hi Guru's,
                     I am not able to close old process orders becuase of active inspection lots in the system, Error message is  "inspection lot doesnot have necessary data" . I could see there are lot many old inspection lots which are in REL status, I am not able to cance these inspection lots in QA02(option is grayed out) How to cancel these  inspection lots which are in REL status?
    Regards,
    Uday

    Hi,
    check the below links....
    cancel QM inspection lot
    QM - Deletion of inspection lot from qa32
    and it would be better if you post this question in QM forum....
    Thanks
    Kumar

  • Inspection lot with Production Order

    Hi friends,
    I am PP consultant and need some help in setting up a scanario of Production order with inspection lot.
    I need to setup a scenario where a inpspection lot is created from production order manually (not at the time of release). The purpose is to post few quantity of production order to scrap storage location. Inspection lot needs to be created only in certain production orders where some of the quantity has to be declared as scrap and that needs to be rejected with usage decision.
    can any one please suggest the overview of such scenario.
    Regards,
    Rohit

    Dear Rohit,
    You want to create a manual inspection lot only for the purpose of Scrapping and also want it to be done with Usage Decision.
    You can not use inspection type 89, as it is not stock relevant (Inspection type for Miscellaneous inspection),
    There is one another solution with inspection type 08( inspection for Material Movement), but it might look Lengthy.
    1. Release a Production order. say 100 qty.
    2. If during process, 10 is scrap, then perform Partial Confirmation of 10 Qty.;  Stock will be in Unrestricted.
    3. Now, through MB1B, transfer 10 qty from Unrestricted to QI.
    4. As you have inspection type 08 active, System will create an Inspection lot for 10 Qty.
    5. You can post this whole 10 qty to Scrap while giving Usage Decision.
    I think, in your process, Scrapping is not done frequently, that is why you do not want inspection lot at every production order.
    in that case this solution may solve your problem.
    regards,
    Amol
    Edited by: Amolbook on Jan 12, 2012 3:13 PM

  • Can we create 2 inspection lots at the time of goods receipt.

    Hi experts,
         Can we create two inspection lots at the time of goods receipt from vendor.I will assign two inspection types in material master
    suppose 01,02.Both are releated to goods receipt.For one inspection lot when we take usage decision stock should not post into usage decision.for other inspection lot stock has to be posted.Is this possible?if possible how to do configuration?

    I think I made this recommendation in a previous post concerning this but this is exactly what reference operation sets are created for.
    Create the reference operation set for the characteristics that are used for all the materials.  You create this once.
    When you create the sepcific plan for the individual materials, you include the reference operation as one of the operations, (probably the first one in your case).  You don't have to add characteristics, modify or change it.  All the characeristics and settings come from the reference operation.  If you need to make a change you edit the reference operation and make the change once.   The change is immediately seen in all newly created inspection lots.
    In a second operation of the plan, you add the characteristics specific to the material.
    You can add different workcenters to the operations if you want.  That way you can set up security on the workcenters and control who can record results against which operations.
    Aside from creating lots manually, you can't create two lots at the same time from the same GR.
    Craig

  • Inspection lot with 01 origin for stock transfer (Intra company STO)?

    Hi Sap Gurus,
    As per standard SAP configuration for 101 movement type, 08 is the inspection type used for stock transfers (Intra company STO). But, there is a requirement from business to use 01 for Intra STO. Is it possible to get an inspection lot with 01 origin while GR to the delivery created for Intra STO ( Stock transfer B/n plants from same company code)?.
    Thanks in advance
    Venkat V

    Hi All,
    Thanks for your replies..
    Its STO Purchase order between two plants under same company code. System triggers movement type 101 with movement indicator B - Goods movement for Purchase order and Receipt indicator X - Stock transport order. Here system expects inspection lot origin 08 as per standard SAP configuration(OMJJ).
    I just wanted to check, is it possible to get inspection lot from 01 origin for this type of stock transfers. If anyone who worked on this area, please share your inputs. 
    Thanks in advance
    Venkat V

  • How to create a procedure function with a return value of ref cursor?

    Can anybody provide a sample about how to create a procedure function with a return value of REF CURSOR?
    I heard if I can create a function to return a ref cursor, I can use VB to read its recordset.
    Thanks a lot.

    http://osi.oracle.com/~tkyte/ResultSets/index.html

  • Create multple inspection lots at customer returns

    Hi all,
    at my comany we've the following problem. Customer returns should be posted to insp stock and an inspection lot must be created. When a customer has multiple return from the same batch it should create multiple inspection lots. We use insp 05 for this. But we also use 05 for the receipt of externally produced materials. This should only create one inspection lot. Therefor it's not possible to set the indicator in the inspection setup in the maerial master.
    We had a look at inspection type 06, but this is not stock relevant. What is the best way to set this up?
    thank for your help.

    Its not the delivery I'm concerned about.  Its the other 05 lots that he creates via material movements.
    If the Z inspection type is assigned to the delivery type as proposed, the Z inspection type still has an 05 inspection origin.  It is the origin that SAP links to material movements not the inspection type.  As delivered most inspection types match one to one the origin, i.e. an 05 inspection type to an 05 origin.  An 04 inspection type to an 04 origin, etc..
    When a movement is used that is linked to the 05 inspection orgin and an inspection is called for, the system looks at the material master and attempts to assign an inspection type with an 05 orign. In this case, they'll be two inspection types active with an 05 oriign.  The standard 05 and the Z05. 
    Now it might work if the Z05 is assigned to the delivery type for returns and the 05 inspection type is marked as preferred.  Hopefully the Z05 will get used for the deliveries and the 05 for all others  But I'm not 100% sure the system will behave exactly that way.  I 've never tested that scenario specifically.
    FF

  • Inspection lot not updated with Task list and sample

    Hi,
    I have created a quality plant and assigned the MICs. When I am trying to Process the quality lot which is created automatically through QA32, I got an error, ,No inspection plan could be found'
    When i create an inspection lot system is picking up the Task list and picking up the Sample size.
    Please provide some light on this.

    Hello Kumar,
    Check each and every point given in below document and come up with your observations.
    I presume Inspection lot status consists CRTD.
    Inspection lots with CRTD status- Causes and Remedies - Product Lifecycle Management - SCN Wiki
    Amol.

Maybe you are looking for

  • Trouble with homepage pic

    I just updated my iPhone 5 to the new iOS 7 and I love it. The only thing that Im having a problem with is setting a home page photo.  When I try to select one of mine to use, it zooms in on the picture when it says move and scale.  It wont let me zo

  • ID CS6v8 -- Blank pages, missing text, slanted cursor, etc.

    Having very strange problems with a file. 1. I am getting blank pages where I had completed a layout (yes, I can see elements in Layers and some items reappear if I turn off some items called <group>, but not all. 2. Some pages have missing items. 3.

  • Help with Library

    Hello, I am not very computer smart, and I have absolutely no idea how to handle the problem I have with my iTunes library. I store my library on an external hard drive, but I don't know if that's relevant to my question. I tried to open iTunes, the

  • How to delete PostOffice using AdminTypeLibrary (C#)

    Is there any way to delete PostOffice using Admin Object API? Thank you in advance. Kahren

  • RFC Error for TMSADM After Executing RSRFCCHK

    Hi, I'm using ECC6 and running RSRFCCHK to check our RFC destinations. Everything is working fine except that I'm getting an RFC no authority error for function group SYST for TMSADM. I've reset the buffer by using RSET and even executed report RSUSR