EXIT_SAPLQAAT_002

Hi forum,
could anyone please tell me where / when the user exit EXIT_SAPLQAAT_002 is called? We were not able to find it...
Thanks a lot!
Kind regards
Christian Harms

Hi Harms ,
goto se16--->table MODSAP --->enter -
give EXIT_SAPLQAAT_002 value for field Member->F8-> then it will display User exit Name .like  this
after that , goto SMOD with that enhancement --->see the documentation.
---> i think its for Inspection Lots.
QAAT0001 E   EXIT_SAPLQAAT_002
we have seen that, but still we were not able to determine were the module was actually called. We tried to debug, but anyway we didn´t find it...?!--> this FM will tigger only when u activate the Project for this Enhancement ,other wise put a break point at ENDFUNCTION
regards
Prabhu

Similar Messages

  • Restrict creation of inspection lot for certain work centers

    Hi
    My client needs to restrict the creation of inspection lot at certain work centers although QM is active for all material processed in these work centers.
    I am using the  function module 'EXIT_SAPLQAAT_002' of QAAT0001 for this purpose. Z04 inspection type ( with Post to insp stock) is maintained for all these material.
    A different Z table is there , where material-work center combination is maintained for which no inspection lot is required.
    Logic provided so that system searches Material-Work center from production order then compares it with the Material-Work center combination with the maintained Z Table.If both found same then no inspection lot will be generated.
    But an error message (Change the inspection stock of material XXXXXX in QM only) appears for all those material while doing confirmation in CO11N . Hence system does not allow to complete confirmation for those material where QM is active.
    Please suggest if i am using the correct Exit or any further improvement is required.
    Thanks and regards
    D Mohanty

    Hi
    Actually the issue is resolved now.The problem was with coding where we were using Table-AFRU for reading prod order details.But AFRU does not consider fresh orders for which it was replaced with AFKO.
    Also the Z table must be maintained as Plant-Material-Work center combination prior to go for any order confirmation.
    Thank you all who have gone through the post , hope this will help those who have to map the same scenario at their end.
    Regards
    D Mohanty

  • Scheme on number of lots to be  created at the time of GRN

    Hi
    I have a bit different scenario: raw material is batch managed. Now at the time of GRN in MIGO, the no. of line items for the same material varies. Sometimes its 25, sometimes 30 and so on.
    Now the requirement is, can we control the inspection lot creation at the time of GRN. For example, when 25 line items, only 2 lots should go to quality. When line items are 50, 5 lots should be available in QA32, rest will be skipped.
    In simple words, like sam[ling scheme, we need a scheme for no. of lots to be craeted for quality.
    Any input on how to map that in SAP?

    Looks like a specific requirement, but how you want to control the creation of inspection lot depends on various factors. As you are saying a p.o has 25 line items of same material  - assuming with diff quantities and it is batch managed - total qty will be received as one Batch? whats the crieteria ? Is vendor batch is one or multiple/many?
    I did not understand how lnspection lot creation is based on the line items? You do have multiple options in the Material Master - QM view - control inspection lot for receiving inspection. Check them if they are not fit for your requirements, there is no ther way except writing your own piece of code in a user exit which is firing at the time of GR.
    You can check user exit - QAAT0001 Program:     EXIT_SAPLQAAT_002
    Thanks,
    Ram

  • Re: Changing Inspection lot origin from 08 to 05 for movement type 322 and 349

    Reference discussion:  Changing Inspection lot origin from 08 to 05 for movement type 322 and 349
    With reference to the above discussion and your explanation for user EXIT QAAAT0001, it was stated that:
    If you only have two inspection types, you can mark one as preferred.  Then with exit use logic that if MM = 311 use preferred inspection type, if 911 use, non-preferred inspection type.
    May I ask what are you refer to for MM? It seems like movement type to me, however, I can't find movement type field in the structure within the component of EXIT_SAPLQAAT_002.  Appreciate if you could shed some light on this.
    Best Regards,
    CY
    Branched from older discussion by moderator.  When there are questions concerning an older discussion, please create a new discussion with reference to the older one.  Thanks! 

    Yes.. you are correct.  But with the info that is provided by EXIT_SAPLQAAT_002, you should be able to identify the proper material document in table MSEG which will have the material movement. 
    You can use the values of plant, batch, material number, Purchase order number, Order number, item number, storage location as well as the current date since the exit would normally be executed on the same date the material movement was done.  You'd also probably only execute the logic if QKZ is "X".
    Craig

  • How to find function module in se37

    hello friends,
    i am supposed to extract revesion level, matnr, plant from sap to an excel sheet.
    matnr and plant we can get from marc or mara, but i could not find revision level on these tables.
    the technical name is REVLV
    i searched for function modules in se37 i got 3 function modules, but there was no documentation,
    how does anyone get tpo know which function module  works for them , with out  having documentation.

    Hi,
    What is your requirement actually and what purpose I did't get you
    any how I got these below FMs which is having the field REVLV
    you can go through below FMs.
    /SAPHT/DRM_MAT_BOM_READ
    API_DOCUMENT_MAINTAIN2
    API_DOCUMENT_SAVE_BOM
    BAPI_DOCUMENT_CHANGE2
    BAPI_DOCUMENT_CHECKIN2
    BAPI_DOCUMENT_CHECKIN_REPLAC
    BAPI_DOCUMENT_CHECKOUTCANCEL
    BAPI_DOCUMENT_CHECKOUTMODIFY
    BAPI_DOCUMENT_CHECKOUTSET2
    BAPI_DOCUMENT_CHECKOUTVIEW2
    BAPI_DOCUMENT_CREATE2
    BAPI_DOCUMENT_CREATEFROMSRC2
    BAPI_DOCUMENT_CREATENEWVRS2
    BAPI_DOCUMENT_GETLATEST
    BAPI_DOCUMENT_GETLATEST2
    BAPI_DOCUMENT_GETSTRUCTURE
    BAPI_DOCUMENT_WHEREUSED
    BBP_PROD_REVLV_CHECK
    C14SX_BAPI_DOC_CREATE2
    C14SX_BAPI_DOC_CREATE2_EXIT
    CAD_DISPLAY_BOM_WITH_SUB_ITE
    CAD_ECM_READ
    CDESK_CALL_CHECKOUT_WIZARD
    CDESK_CHECKOUT_WIZARD
    CDESK_CHECKOUT_WIZARD_RFC
    CDESK_GET_STRUCTURE
    CDESK_WHERE_USED
    CM_DI_PROCEED_MAT_PROV
    CO_SD_BOM_SELECT_DIALOG
    CSAP_DOC_BOM_CREATE
    CSAP_DOC_BOM_DELETE
    CSAP_DOC_BOM_MAINTAIN
    CSAP_DOC_BOM_READ
    CSAP_MAT_BOM_CREATE
    CSAP_MAT_BOM_DELETE
    CSAP_MAT_BOM_MAINTAIN
    CSAP_MAT_BOM_OPEN
    CSAP_MAT_BOM_READ
    CSEP_MAT_BOM_READ
    CS_RT_DIALOG_CALL
    CV115_ECN_CHECK
    CV115_ECN_REVLEVEL_SET
    CVAPI_DOC_CHANGE
    CVAPI_DOC_CREATE
    CVAPI_DOC_MAINTAIN
    DMU_DOC_BOM_EXPLODE
    DMU_DOC_BOM_READ
    DMU_MAT_BOM_EXPLODE
    DMU_MAT_BOM_READ
    EXIT_SAPLQAAT_002
    EXIT_SAPLQBCK_001
    EXIT_SAPLQBCK_003
    EXIT_SAPLQPL1_001
    MB_CHECK_MPN_RELATION
    MB_CHECK_MPN_VALIDITY
    MB_MPN_CHANGE_READ_DATA
    MB_SEARCH_HTN_MATERIAL
    MEPO_CONFIRMATION_PAI
    MEPO_CONFIRMATION_PBO
    MEX_CHECK_REVISIONSSTAND
    ME_CONFIRMATION_MAINTAIN
    ME_SEARCH_REVISION_LEVEL
    MMPUR_Q_INFORECORD_DISPLAY
    QAAT_CHECK_QM
    QBCK_INSP_TYPE_LIST
    QBCK_INSP_TYPE_NEXT
    QBCK_QINF_LIEF_ZAEHL
    QBCK_QINF_QUANTITY_CHANGE
    QBCK_QINF_READ
    QBCK_QM_DOCUMENT_TEXTS
    QBCK_QM_GR_CHECK
    QBCK_QM_PUR_CHECK
    QBCK_QM_PUR_MNG_UPD
    QBCK_QM_SYSTEMS_COMPARE
    QBCK_VB_QINF_PLOS2_POST
    QBCK_VE_QINF_STATUS
    QELA_QINF_SELECT
    QPAP_PLAN_SELECT
    QPL1_CHECK_CREATE_POSITION
    QSS1_QINF_SHOW
    QSS2_REVLV_F4
    RFC_DISPLAY_BILL_OF_MATERIAL
    ZQM_CREATE_05_INSPECTION_LOT
    Regards
    Ganesh

  • No insp lot reqd. for customer return in warehouse

    There are 4 plants
    3 manufacturing and 1 is warehouse (storing & distributing place)
    when retun sales order is created it can be created in any plant out of these 4.
    Mvt type is 655
    in 3 plants insp is required,I don't want inspection in warehouse.
    when pgi is done for warehouse plant , insp lot(05) is getting created even if inspection type is not activated or post to inspection tick is removed.
    I can deactive quality for 655 mvt as I want lot to be created in manufacturing plants.
    Please help

    Hi,
    Try customer enhancement QAAT0001. In FM EXIT_SAPLQAAT_002 you can raise no inspection for the combination of movement type and plant of your choice.
    Regards.

  • Restrict Inspection Lot Creation

    My scenario is
    For a material u2013 XXXXXXX
    I have activated inspection type 01.
    I have Two Storage location namely  0001 & 0002
    Now as I do GR against PO, I want that Inspection lot of this material should only be created ,If I select storage location 0001.
    If I select storage location 0002 , no inspection lot should get created.
    Do we have Any Standard Process to achieve this. ???

    Hello Mayank,
    if you want to control the creation of weather an inspection lot is created dependent on the storage location of the GR I would strongly recommend using the EXIT QAAT0001 where you can check MSEG-LGORT and dependent on the value set the flag E_NO_INSPECTION which will avoid that an inspection lot is created. The exits needed ate EXIT_SAPLQAAT_002 and EXIT_SAPLQPL1_005, please don't forget to set E_TQ32 = I_TQ32 in the exit or you will recieve an error.
    Hope this helps you
    Regards
    Isabelle

  • User Exit QAAT0001 to select insp. plan based on movement type during stock

    Hello,
    I am have a scenario mentioned in subjectline and would be thankful if somebody can share some detail about it.
    I created one more Inspection type Z1 apart from 08. Assigned it to insp. origin 08 as variant 03.
    Created Z1 usage that i am using in my inspection plan. Assigned 08 and Z1 inspection types in material master and two insp. plans with usage 08 and Z1.
    Now wanted to use user exit QAAT0001to select insp. plan. It would be a greatr help to me if somebody let me know the steps I am doing are correct and what could be the ABAP CODE for that Exit.
    Thanks in anticipation

    Hi,
    use EXIT_SAPLQAAT_002 under importing parameters ...unser I_TQ32 ...check the values....
    and try to modify E_NO_INSPECTION under exporting parameters .
    Thanks,
    Shailaja Ainala.

  • QM exclude storage location from QM

    Dear All,
    is it possible in some way to exclude a storage location from QM in a plant managed with QM.
    The case is this:
    We have the material AAA with QM active for good receipt.
    -If the material arrive in st. location 10 we want have stock in Q status.
    -If the material arrive in st. location 20 we want have stock in Free status.
    St location 10 and 20 belong to same plant.
    If it is not possible, do you have some suggestion to solve this case (u.exit?)?
    Thanks in advance. Best regards.

    Tanks,
    but finally we have used another u.exit, EXIT_SAPLQAAT_002.
    This one is called directly in the MIGO and allow to deactivate QM setting X in the parameter NO_INSPECTION.
    Best Regards.
    Alby

Maybe you are looking for