Post GR (from production) + Create inspection lot through an interface

Dear All<BR><BR>
We would like to set up an interface which posts a GR (production - mvt type 101) and also creates an inspection lot for the produced batch. When you post this GR online (MB31), it is possible to have the inspection lot created automatically (some memory ID has to be flagged), which actually first triggers a SAP standard popup asking for the inspection plan.<BR><BR>
I have tried setting this up with a test program, first calling BAPI_GOODSMVT_CREATE to post the GR and then calling a combination of functions, the main one being QPL1_INSPECTION_LOT_CREATE, to have the inspection lot created. I am however having troubles with the generated inspection lot, e.g. when I click the button "Mat. Documents", it says "no material documents fonud".<BR><BR>
Does anybody have any suggestions? Our system is 4.6 C. If I appear reluctant to answer any of your replies, that's because I'm out for holidays the upcoming 20 days)<BR><BR>
Thank you and krgs<BR>
Tom<BR><BR>
Edited by: Tom Van Oevelen on Aug 26, 2009 3:53 PM
Edited by: Tom Van Oevelen on Aug 26, 2009 4:00 PM
Edited by: Tom Van Oevelen on Sep 22, 2009 5:15 PM

Hi Lammie,
I am really confuses actually what you want, but can give you a brief idea about in process inspection.
There are 2  of inspection types related to it-03 and 04.  03 type will create lot but that will use routing as task list. 04 will use inspection plan as task list. So, when processing production order, 1st 03 type will generate a lot, there you can check hows the quality going.This lot is not stock relevant. After confirmation, 04 type will create another lot for final result confirmation and this lot is stock relevant.

Similar Messages

  • Material Return/Scrap Material from production generate inspection lot

    Hi experts,
    I would like to confirg the following:
    When material return or scrapped material return from production(mvnt type 262), system is required to generate inspection lot.
    How can I config this scenario?
    Thanks!
    Regards,
    Daniel

    The inspection lot origin '05' is assigned to movement type '262'.
    (You can check this in update control at transaction OMJJ.)
    So you have to activate the inspection type '05' or new one.
    But you should be 'careful' because an inspection lot will be create even if other movement like '501'.
    Regards
    Luke

  • Serial Number not flowing from GR from Production to Inspection lot

    Dear Friends,
    In GR from production we are entering Serial Numbers but it is not coming automatically in the inspection lot.
    Please guide me
    Regards
    Prashant Atri

    go to spro
    Sales and Distribution  Basic Functions   Serial Numbers   Determine Serial Number Profiles select ur serial number profile
    double click on serialing procedure QMSL Maintain inspection lot     03     02
    now check

  • Create inspection lot move data from mseg to qals

    hello.
    When SAP create inspection lot from MIGO,  I need to move mseg-ablad ( uploading point) to qals-yyfield.
    In Migo we can have more than one pos, then system create differents inspection lot.
    Is it possible ??? are there any user exit to do that ??? i see user migo's exist  and inspecion lot's create, but in both cases i don't see all data to read an and move it.
    Regards.
    Antonio

    Namastey
    In my case i have Migo with more than one position, and for each position the system will create a new inspecion lot.
    Do you mean there are more than one Items in PO and for each Item there will be different inspection lot?
    Then,
    You need to get Material document number for inspection lot number and get MSEG-ABLAD which will be QALS-YYFIELD (YYABLAD).
    I hope, I have understood your question!!
    Amol.

  • Problem to creating Inspection Lot

    Hi,
    I am creating inspection lot using fm as mention below, with inspection type '89'.
    call function 'QPL1_INSPECTION_LOT_CREATE'
    exporting
    qals_imp = l_qals
    rmqed_imp = l_rmqed
    importing
    e_prueflos = l_prueflos
    e_qals = l_qals
    subrc = l_subrc.
    if sy-subrc = 0.
    Update memory stack for actual posting...
    call function 'QPL1_UPDATE_MEMORY'
    exporting
    i_qals = l_qals
    i_updkz = 'I'.
    Post lot to DataBase...
    call function 'QPL1_INSPECTION_LOTS_POSTING'.
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'
    IMPORTING
    RETURN =
    I am getting message, Inspection lot created successfully. But unable to view the Inspectionlot in QALS table. or Is there is any other process to create Inspection lot.
    Will you help to solve this problem.
    Thanks & Regards,
    Srini

    Hi,
    Check this .
    wa_rmqed-dbs_flag = 'X'.
    wa_rmqed-dbs_edunk = 'X'.
    wa_rmqed-dbs_fdunk = 'X'.
    wa_rmqed-dbs_noerr = 'X'.
    wa_rmqed-dbs_nowrn = 'X'.
    wa_rmqed-dbs_nochg = 'X'.
    wa_rmqed-dbs_steuer = '01'.
    WA_QALS-MANDANT = SY-MANDT.
    wa_qals-WERK = 'XXXX'.
    WA_QALS-HERKUNFT = '89'.
    WA_QALS-MATNR = '000000000000111111'.
    WA_QALS-LOSMENGE = '1'.
    WA_QALS-PASTRTERM = SY-DATUM.
    WA_QALS-CHARG = 'Test123456'.
    WA_QALS-PLNNR = 'FORMULA1'.
    WA_QALS-PLNAL = '1'.
    WA_QALS-PPLVERW = '3'.
    WA_QALS-STAT01 = 'X'.
    WA_QALS-STAT20 = 'X'.
    WA_QALS-PLNTY = 'Q'.
    WA_QALS-PLNNR = 'FORMULA1'.
    WA_QALS-PLNAL = '1'.
    WA_QALS-CHARG = 'AB78654'.
    CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'
    EXPORTING
      qals_imp              = wa_qals
      rmqed_imp             = wa_rmqed
    IMPORTING
      E_KZSKIPLOT           =
       e_prueflos            = gv_prueflos
      E_QALS                =
       subrc                 = gv_subrc.
      E_SKIP_TO_STOCK       =
    IF gv_subrc = 0.
      COMMIT WORK.
    ENDIF.
    WRITE 'ABCD'.
    Ashutosh

  • 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

  • Creating inspection lot  in REM

    Hi
    In REM(Repetitive Manufactruing) Scenario: 
    Is their any possibility to create an inspection lot.
    1) At the first GR and no more at subsequent GR or;
      2) at each GR?
    Thanks in advance
    Saravana

    Hi kumar
    if you want to create inspection lot for REM then following are the settings
    1. inspection type 13 for inprocess check for repetative with task list selection
    2.  maintained inspection characteristics in rate routing for which you want to maintained inspection.like inspection point
    3. Inspection creation by tcode MFPR which creates inpsction lot for your production version. manually,
    Regards
    Pravin

  • Creating Inspection Lots

    I need to create inspection lots using FM. I have the matnr and charg available. How to use this FM to create inspection lots?
    CALL FUNCTION 'QPL1_INSPECTION_LOT_CREATE'
      EXPORTING
        qals_imp              =
        rmqed_imp             =
    * IMPORTING
    *   E_KZSKIPLOT           =
    *   E_PRUEFLOS            =
    *   E_QALS                =
    *   SUBRC                 =
    *   E_SKIP_TO_STOCK       =

    We have created a function which creates inspection lots based on some Z-tables we have. The FM you mention creates the inspection lot but just stores it in memory. It is necessary to update table QALS. Here's the interesting part of the code we're using:
    LIKP data:
    MOVE ztaf07-proveedor TO l_likp-lifnr.
    MOVE ztaf07-cliente TO l_likp-kunnr.
    MOVE ztaf07-cliente TO l_likp-kunag.
    SELECT SINGLE vkorg FROM vbak
    INTO l_likp-vkorg
    WHERE vbeln = ztaf07-vbeln.
    IF sy-subrc <> 0.
    MOVE sy-subrc TO l_subrc.
    EXIT.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    LIPS data:
    MOVE ztaf08-matnr TO l_lips-matnr.
    MOVE ztaf08-werks TO l_lips-werks.
    MOVE ztaf08-c_fact TO l_lips-lgmng.
    MOVE ztaf08-vrkme TO l_lips-meins.
    MOVE ztaf08-charg TO l_lips-charg.
    MOVE ztaf07-fecha TO l_lips-mbdat.
    TVLK data:
    MOVE '89' TO l_tvlk-qherk. "Lot creation without reference
    CALL FUNCTION 'QAAT_SD_LOT_CREATION'
    EXPORTING
    i_kuwev = l_kuwev
    i_likp = l_likp
    i_lips = l_lips
    i_tvlk = l_tvlk
    IMPORTING
    e_prueflos = l_prueflos
    E_TEILLOS =
    EXCEPTIONS
    x_no_origin = 1
    OTHERS = 2.
    IF sy-subrc <> 0.
    MOVE sy-subrc TO l_subrc.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ELSE.
    MOVE l_prueflos TO l_lipsvb-qplos.
    MOVE 0 TO l_lipsvb-qtlos.
    MOVE 1 TO l_lipsvb-updkz.
    APPEND l_lipsvb.
    CALL FUNCTION 'QAAT_SD_LOT_POSTING'
    TABLES
    t_lips_tab = l_lipsvb.
    IF sy-subrc <> 0.
    MOVE sy-subrc TO l_subrc.
    ENDIF.
    COMMIT WORK.
    ENDIF.

  • Create Inspection Lot for Serial Number

    Hello,
    Is it possible to create an Inspection Lot and associate it to a Serial Number right away.
    I've done a process were I've change the Material and Serial Number of my equipment, so now the old inspection lot is not usefull no more and I would need to have a new inspection lot so that the movement to place the stock on unrestricted is cone for the new inspection lot.
    Or is that any other way to do this???
    Thanks in advance.
    BMO

    Atul,
    The inspection lot is created when the mobile is delivered from client and dismantled, and my stock gets increased for the returned material - that stock remains in Quality.
    Later when the Usage Decision for the Inspection Lot is given (depending on the selection) my stock passes from quality to unrestricted, and this is the normal process without issues.
    Possible exception:
    If in the midle of the process I've to change the serial number for this mobile or to change the Material + serial number, the first Inspection Lot created is not helpfull to me because I can´t change there the Material or serial number. So the Usage Decision would be given for the old serial number, isn't it?
    Today I found a Ztransaction that is used to create Inspection Lot. In the first step the material, goes in the warehouse in Quality and in the second step, when the Usage Decision is given, the stock passes from Quality to Unrestricted.
    For the substitution Material / Serial number everything is correct, but for the first one it's not, should this obsolete stock goes to scrap?
    Thanks,
    BMO.

  • Create inspection lot in sales return

    Hi Experts,
    When doing sales return (VA01) and return delivery order (VL01N), if I need to create inspection lot for QA guys, what is required to set?
    I have tried using SAP standard inspection type 06 or 10, no inspection lot is created.
    Please help!
    Regards,
    Daniel

    Hi
    Sales return inspection mainly deals with two scenarios: stock relevant and non stock relevant. 06 inspection origin/type is for non-stock relevant and the preferred one.
    The basic setting is already explained in previous post. Now few things to done are:
    1. Activate inspection type 06 for the materials
    2. Make sure tick box is not checked for movement type 651 in QCC0Q-inspection-Insp lot creation-insp for good movement--deactivate quality
    3. in Tcode VOV6, select schedule line category DN and check that movement type maintained in 651
    4. Check your inspection plan usage is correct as per your inspection type setup.
    Now your settings are completed for customer return inspection with 06 origin. Once any return delivery is done, a non-stock relevant lot will be created in SAP.

  • Problem Posting Receipt From Production and Issue for Production

    Hi Everyone,
    I am posting Receipt from Production and Issue for Production through DIAPI in SAP Business One 2007A SP00 PL03.
    I am using following lines of code
    oDocument.Lines.SetCurrentLine(0);
    oDocument.Lines.BaseEntry = int.Parse(BaseEntry);
    oDocument.Lines.Quantity = double.Parse(Quantity);
    lRetCode = oDocument.Add();
    The Document adds perfectly but when I open the document in SAP Business One i am not able to see the Order Number at Line level on which this document was Based.
    I identified the problem being Order Number Column being binded to BaseRef field hence form is not able to Show the Order Number and we cannot set BaseRef via DIAPI since the property to set that field is not exposed.
    I donot want to update the table through a Recordset Update Query. I would appreciate if the property to set that field is exposed by SAP or any other workaround can be put forward by anyone who has faced the same problem.
    Thanks
    Kapil

    Do you need to set
    oDocument.Lines.BaseType = 17 (if this is sales order)
    and then baseentry = baseentry....etc
    If you bind the base entry correctly it should alwasy shows the base document on both database as well as front end. I have never had any problem with this
    Sincerely

  • FM to create inspection lot same as in QA01

    Hi Experts,
    I need a function module to create inspection lot as in QA01.  Can you please help?
    Thanks,
    Vitz

    Hi vitish I will refer you to this wiki ..  created by Arpit shah
    http://wiki.sdn.sap.com/wiki/display/Snippets/FMforAutomaticInspectionLot+Creation
    According to the wiki
    the FM you are looking for is
    QPL1_INSPECTION_LOT_CREATE
    Also a BAPI for the same
    CO_QM_INSPECTION_LOT_CREATE.
    Also a forum entry for the same
    Inspection Lot creation Problem using FM QPL1_INSPECTION_LOT_CREATE
    Br
    Manthan.

  • How to create inspection lot manually without using QA01 Transaction code?

    Hi,
    Please anybody give procedure for creating Inspection Lot Manually without using Transaction Code QA01

    Hello, Srinivas,
    If you want another T code only then you can try QA01A.
    or you can create a Physical Sample with QPR1 and then click on the button there to create inspection lot. To create inspection lot for that Physical sample (you will able to see that button only after releasing the sample) Or you can use QPR5.
    But let me know the reason why you want T code other than QA01.
    Regards,
    Shyamal

  • Create Inspection lot at 'Network - Activity' level

    hi all,
    We are having a requirement to see if there's a possibility to Create inspection lot at 'Network - Activity' level for activities that are "In-house" processing. So that the user can record the Inspection information against a Network - Activity.
    Ex - Network Activity:
    1)Plate cuttingu2014 Inspect cut edges 
    2)Welding - Inspect Weld joint 
    3)Rolled tube - Check Inner diameter

    Any suggestions plz!!.

  • Create Inspection Lot

    Hi,
    In my program, I want create an inspection lot with Function 'QPL1_INSPECTION_LOT_CREATE'. Before I created the inspection plan. I used control flags (RMQED) like the function 'CO_QM_INSPECTION_LOT_CREATE'. In 'QPL1_INSPECTION_LOT_CREATE' output, I have a subrc equalt to 0. Normaly, it must created a new input in QALS table but I have nothing!! I debuged the 'QPL1_INSPECTION_LOT_CREATE' and I see that the inspection lot obect number begin by 'TM' and not by 'QL'.
    Why the 'QPL1_INSPECTION_LOT_CREATE' process doesn't show error but doesn't create the inspection lot and why the inspection lot obect number begin by 'TM'???
    I see the functions 'OBJECT_NUMBER_GET_QL' and 'OBJECT_NUMBER_INSERT_QL'... but I don't know used it!
    What the process to create Inspection Lot??
    Thanks.

    Hi,
    Refer this:
    http://help.sap.com/printdocu/core/print46c/en/data/pdf/QMIMIL/QMIMIL.pdf
    http://sapqminfo.blogspot.com/search/label/Inspection%20Lot%20Creation

Maybe you are looking for

  • Deployment Fails For EPPM 8.3

    Dear Experts, I am trying to deploy the EPPM 8.3,p6.ear file on the managed server on which I want to deploy the EPPM application but it Fails with the following error : ####<Dec 12, 2013 3:53:33 PM IST> <Warning> <HTTP> <ecmintapp.oracle.com> <EPPM_

  • Icon sizes

    Besides the View Options, which changes all icons, is there a way to selectively change the size of only one icon on my desktop? Jonathan

  • I exported a pdf file to word but i can't edit

    I exported a pdf file to word but i can't edit. What am I doing wrong?

  • SQL Developer Exchange Upgrade?

    Can the APEX installation used to provide the SQL Developer Exchange be upgraded to APEX 3.1 and the various reports redeveloped as Interactive Reports? This would give Exchange users the ability to customise the screens to their requirements, partic

  • Adobe reconoce errores de INDESING CS 2

    Hola a todos. Desde que compramos el CS2 he tenido inumerables y agotadores problemas con las notas al pie de página de Indesing, ya que no los puedo editar manualmente, colocarlos en marcos de textos independientes o ubicarlos en otro lugar distinto