QM - BAdi Required for Inspection Lot Updation

Hi,
1.
<b>May i know the exact BAdi for the requirement shown below.</b>
Actually the material master is setup for serialnumber assignment at HU, when this is the case when PGR of the delivery is done another inspection lot gets created, and correct, the second one should not be created, the first inspection lot has to be updated based on the PGR of the delivery.
2.When I double click over the method in SE19 and try to change it,I am not able to write the code for the required method.I'm getting message as "User XX is currently editing Class XXXXX".
Can I have a solution for this too..
Thanks in Advance

Hi,
  You can prefer any one of the BADI,AS per idea you can look into <b>INSPECTIONLOT_UPDATE.</b>
Implementing Business Add-Ins (BADI)     
The use of object orientated code within SAP has lead to new method of enhancing standard SAP code called
Business Add-Ins or BADI's for short. Although the implementation concept is based on classes, methods and
inheritance you do not really have to understand this fully to implement a BADI. Simply think of methods
as a function module with the same import and export parameters and follow the simple instructions below.     
Steps:
1.     Execute Business Add-In(BADI) transaction SE18
2.     Enter BADI name i.e. HRPBSGB_HESA_NISR and press the display
        button
3.     Select menu option Implementation->Create
4.     Give implementation a name such as Z_HRPBSGB_HESA_NISR
5.      You can now make any changes you require to the BADI within this
        implementation, for example choose the Interface tab
6.     Double click on the method you want to change, you can now enter
        any code you require.
7.      Please note to find out what import and export parameters a
        method has got return the original BADI definition
        (i.e. HRPBSGB_HESA_NISR) and double click on the method name
        for example within HRPBSGB_HESA_NISR contract is a method
8.      When changes have been made activate the implementation
Here iam giving docs to ur ref:
check any fo the below links. this will def help u.
http://www.allsaplinks.com/badi.html
And also download this file....
http://www.savefile.com/files.php?fid=8913854
There are other tutorials on this site...
http://sapbrain.com/Tutorials/tuto_download.html
BADI'S
http://help.sap.com/saphelp_erp2005/helpdata/en/73/7e7941601b1d09e10000000a155106/frameset.htm
http://support.sas.com/rnd/papers/sugi30/SAP.ppt
http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/abapindx.htm
http://members.aol.com/_ht_a/skarkada/sap/
http://www.ct-software.com/reportpool_frame.htm
http://www.saphelp.com/SAP_Technical.htm
http://www.kabai.com/abaps/q.htm
http://www.guidancetech.com/people/holland/sap/abap/
http://www.planetsap.com/download_abap_programs.htm
http://help.sap.com/saphelp_nw04/helpdata/en/c8/1975cc43b111d1896f0000e8322d00/content.htm
/people/thomas.weiss/blog/2006/04/03/how-to-define-a-new-badi-within-the-enhancement-framework--part-3-of-the-series
/people/thomas.weiss/blog/2006/04/18/how-to-implement-a-badi-and-how-to-use-a-filter--part-4-of-the-series-on-the-new-enhancement-framework
<b>Reward points</b>
Regards

Similar Messages

  • Certificate creation for inspection lot

    Dear all,
       Is it possible to create test certificate for inspection lot of type 04. what is procedure to create this test certificate.
    Thanx & regards,
    Harish Parab.

    Hi Harish,
    You can generate an inspection certificate for the inspection lot generated for 04 insp type.
    U need to use QC21 Certficate for inspection lot transaction ( U can search the lot for ur production order)
    Basic steps to be done
    1. Create certificate profile
    2. Assign profile with out any recipient.
    3. Generate certificate
    Regards
    Venugopal

  • BAPI for Inspection lots

    Hi,
    I'm executing the following steps in development:
    Goods Receipt
    (Transfer Order Creation)
    Transfer Posting
    (Transfer Order Creation)
    The goal is to receive the goods in an "external" Storage Location and then repost it in an "internal" Location. The TOs are automatically generated per Customizing of the Movement Types.
    I'm using the BAPI  BAPI_GOODSMVT_CREATE.
    In case of automatical Inspection Lots (Material master, view Quality management) the Express document lands in my Wokplace Inbox with the following error message:
    Error during creation of transfer orders for material document 5000002931
    Date: 10.03.2009
    Time: 13:13:42
    Transf.reqmnt CP1 8000000325
    TRs relevant for inspection lots cannot be processed using this func.mod.
    By pressing 'Ctrl + F6', you can directly trigger subsequent processing
    Is anyone aware of the BAPI, which will work with the inspection lots?
    Thanks,
    Taras

    Hi,
    you should be able to create inspection lots when executing                 
    BAPI_GOODSMVT_CREATE. See for example the attached note 536769 that         
    is about wrong status in the inspection lot created in this way.                                                                               
    Please review your data used for testing this BAPI. 
    Best Regards,
    Arminda Jack

  • Bapi or FM to read data for inspection lot

    Hi Experts
    I need bapi or FM that will read all specifications and result value for entered inspection lot
    the data that we also got in transaction qa13
    I need exactly that data
    Thanks
    Taran

    hI,
    Check the below bapi's
    GetDetail : Load detail data for inspection lot [ BAPI_INSPLOT_GETDETAIL ]
    GetList : Select inspection lots [ BAPI_INSPLOT_GETLIST ]
    GetOperations : Select inspection operations for inspection lots [ BAPI_INSPLOT_GETOPERATIONS ]
    SetUsageDecision : Make automatic usage decision [ BAPI_INSPLOT_SETUSAGEDECISION ]
    StatInterface : QM-STI Interface [ BAPI_INSPLOT_STATINTERFACE ]
    Reward if helpful.
    Regards,
    nagaraj

  • What is the IDOC for Inspection Lot Edit

    Hi All,
       What is the IDOC for Inspection Lot Edit and Cancellation in QM module?
    Thx&regards,
    Khaja.

    Check these..
    in TCode: we30
    ->INSPECTIONPLAN_CREATE01
    ->MATQM01
    ->QPMK01
    Regards,
    Ramesh.

  • What is the BAPI for Inspection lot change - QA02??

    Hi Guys,
    Can anyone tell me plese, What is the BAPI for Inspection lot change - QA02?
    Thanks

    Hello,
    This BAPI suppose to be able to do that for you:
    BAPI_INSPLOT_SETUSAGEDECISION
    Best regards,
    Marcin

  • No Inspection Lot required for Skipped Lot

    Hi Experts,
    I have used DMR to skip 10 lots from a particular vendor and inspect the 11th lot. But the client's requirement is even inspection lot should not be generated for the skipped lots.
    Also, if the material is procured from some other vendor, then the inspection lot should be generated everytime.
    How can I map this?
    Please advise.
    Regards,
    Rahul

    The only alternative I can think of would be to use a development.  Set up the inspections to happen .  No DMR.   You then would use a user exit, (I believe QAAT002, maybe QAAT001 would work). One of those allow you to set a flag in the user exit that supreses the creation of the inspectoin lot.
    You would have to have the user exit look up the GR's for the vendor/material/plant combination since the last inspection lot for this combination.  Then if the count is equal or greater than ten, you create the lot.  If less then 10, you suppress the creation of the lot.
    I would be careful how you code the user exit.  You'll probably only want this to apply to certain materials so you have to come up with a way that allows flexibability in what materials this is used for.  I might suggest using the QMin procuremnet control key.  If you have no procurement functions, you usually define a control key 0000 for this .  Copy that to 1001 for instance.  It will have no functions.  But your user exit would only run if the control key was 1001.  It would immediately exit for any other control key in use.  You might need additional control keys if you do use other features of the conrtol key such as COA receipt.  In that case you might have two control keys that trigger your user exit.  1001 and 1002.  1002 would require a cert.
    I hope this is clear.
    FF
    Edited by: FireFighter on Sep 22, 2011 2:50 PM

  • Outbound trigerring for Inspection Lots

    Hi Friends,
    I am working on QM. I have to trigger inspection lots data in the form of an outbound idoc. I need to find out any creation/change in inspection lots data.
    In this scenario the inspection lots will be created/changed when:
    1) there is a creation/change (QA01, 02)
    2) Production orders are released (CO02, 05)
    3) GR done (MIGO), stock posted in QI.
    Has anyone worked on such a requirement earlier? Any suggestions on flow-logic for picking up the inspection lots data in a custom wrapper program?
    Thanks in Advance...
    Birendra Chatterjee

    Hi,
    you should be able to create inspection lots when executing                 
    BAPI_GOODSMVT_CREATE. See for example the attached note 536769 that         
    is about wrong status in the inspection lot created in this way.                                                                               
    Please review your data used for testing this BAPI. 
    Best Regards,
    Arminda Jack

  • Manual Inspection Lot for Inspection Lot Origin '04'

    Dear SAPians,
    We are presently getting Automatic Inspection lot with the Closing of Process order against Inspection Lot Origin '04'. Now there is a requirement came to generate Manual inspection lot against Inspection Lot Origin '04' but System is STOPPING US and giving an Error Msg. You Cannot Enter A Material  for the Specified Origin. I feel that there is some customizing issue. Please suggest.
    Thanks

    Yes Atul,
    The system is correcting you, remember the 04 type lot triggers in reference to the Order!!!!
    So don't enter the Material, just enter the Plant and inspection type i.e. 04 and press enter in QA01 trx.
    The system will ask you for the Order number.
    NOTE:- This will be manual lot (Other inspection), so will not have the stock posting tab at UD, though it will have number range of 04.............
    Regards,
    Shyamal

  • QM Operation number for inspection lot

    Hi All,
    I have a requirement wherein i need to get the opertaion numbers corresponding to inspection lot number. I am acheiving this using the BAPI 'BAPI_INSPOPER_GETLIST'. This bapi accepts inspection lot as input and returns the operation number details(including the operation short text). Now am facing a performance issue when i am executing this bapi for more number of records in my report(1000+). So am searching for an alternate solution. Can anyone provide me a standard table which has inspection lot, operation number and operation short text maintained in it.
    Looking forward to your reply.
    Regards
    Ramanan

    V_QAPO u2013 gives the relation of Inspection Lot, Inspection Plan and Operation. or there is another term called vorgflnr which is related to the operation.
    most of the tables like qase qasr and qamr  contain vorgflnr and inspection lot(prueflos).
    Hope this answers your question.

  • User exit for inspection lot creation

    Hi,
    We are using In-process inspeciton.
    At the time of Production Order release an Inspection Lot is created automatically.
    We want the Lot Specification values to be changed based up on the Configuration of the Sales Order.
    Is there any User Exit or BADI that can be used for this purpose?
    Ramakanth

    Hi,
    Thanks for reply.
    Did you apply this for quantitative or qualitative MIC?
    If Qualitative what is the field name to be worked up on?
    Thanks & Regards
    Ramakanth

  • Report for inspection lots

    Hi All,
    Report for the inspection lots that clear UD but still in inspection stock( no posting is done).?
    Thnaks
    vbraj

    Dear Raj,
    Please try report QVM2.
    Best Regards,
    Anand Rao

  • Automatic Inspection lot not generated for Inspection lot origin 12

    Hi all,
    I am not able to trigger the automatic Inspection lot for General Delivery i.e Inspection lot origin 12.
    The scenario is, I am creating the STO ( Inter company stock transfer) and against the same STO i am creating the delivery but after delivery inspection lot is not generated. In the material master correct inspection type is maintained also the mvt type 641 is active for QM. The inspection lot origin is assigned to the delivery type in the configuration but still i am not able to generate the inspection lot.
    Please let me know i am missing something?
    Regards

    Hi,
    You are missing 1 Config
    Quality Management
    Quality Inspection > Inspection Lot Processing > Inspection Lot Creation > Inspection at Shipping (Tcode OQL8)
    mantain inspection origen agenist Delivery type u are using.
    also you need to create Sales Info record(QV51)
    I hope all other settings are OK then it should work
    Edited by: Jayashankardm on Jan 6, 2010 9:59 PM

  • Want to do mass processing for inspection lots with status SPRQ

    Hello,
    My company using early lot creation for 04 inspection type. We have thousands of inspection lots with status "UD   ICCO SPRQ PRII PRSI STUP". Now due to SPRQ status, system is not closing process orders associated with thousands of inspection lots.
    Is there any transaction where I can do mass processing of inspection lots to change the status "SPCO" from "SPRQ"?
    Thanks
    Bhavesh

    Dear Bhavesh
    You may have to modify the standard program to do so. Modify this program RQEVAI30.
    This can help you
    Regards
    gajesh

  • Goup result recording for inspection lots

    Dear All,
    Is there an option of recording results simultaneously for a number of inspection lots????
    Please help out....
    Regards ,
    rishabh

    Dear!!
    Please Check QE51n with Plant as selection And unchecke With out usage decision below and execute ull get all the Inspection Lots
    with regards
    Pushpalas

Maybe you are looking for

  • Wtk 2.5 : Manager.createPlayer("capture://audio"); throws IO.Exception

    hi in wtk 2.5, i am creating the player with locator "capture://audio" for recording purpose ... But it gives java.IO.Exception in Manager.createPlayer(locator); fuction. Is there any way to come out of this problem? Waiting for reply..

  • Catch KeyDown events for modifier keys

    I need to be able to tell when a user presses or releases the CTRL key for my application, but I can't get KeyListeners to work and the key bindings only appear to work with releasing the key. I also have key bindings for CTRL key combinations (like

  • Partial Prompts

    I am trying to create a report that prompts a user for a Serial Number... That part is easy enough... but Some of the serial numbers will start with 6767 or 4439 or 2767 etc... The whole serial number would be 6767958343300033232 So I want to have th

  • Small DNS host has not replied in days, how can I transfer my domain?

    I guess I'm not clear if your issue is with the domain registrar, the DNS provider, or the web host? In general the answer is to simply choose someone decent. If your issue is with the DNS provider it's easy enough to change, just go sign up with a n

  • Two level tabs - problem

    hello, i have problem with two level tabs.. i create new patten tab, look at pic: http://img148.imageshack.us/img148/1267/88330428.jpg and i can't see it in my application when i run it .. look at second picture: http://img169.imageshack.us/img169/97