Usage Decision & Inspection close completed BAPI

Hello friends,
i'm looking for a BAPI / FM that giving an Inspection Control, it makes the Usage Decision and the Inspection Close Completed automaticaly..
Is there any ?
Best Regards
Ricardo Jorge Monteiro

Now i'm getting a message "Selected set code does not exist, or data entered is incomplete" in The BAPI...
Here Is the program code i'm using:
data: ud_data like BAPI2045UD occurs 0 with header line,
      sy_data like BAPI2045SS occurs 0 with header line,
      return like BAPIRETURN1 occurs 0 with header line,
      c_return like  BAPIRET2 occurs  0 with header line.
ud_data-INSPLOT = '030000007159'.
ud_data-UD_FORCE_COMPLETION = 'X'.
ud_data-UD_CODE = 'A'.
ud_data-UD_CODE_GROUP = 'SCC01'.
ud_data-UD_SELECTED_SET = 'SCC1'.
ud_data-UD_PLANT = '02'.
append ud_data.
CALL FUNCTION 'BAPI_INSPLOT_SETUSAGEDECISION'
  EXPORTING
    NUMBER               = '030000007159'
    UD_DATA              = ud_data
  LANGUAGE             =
IMPORTING
  UD_RETURN_DATA       =
  STOCK_DATA           =
   RETURN               = return
TABLES
   SYSTEM_STATUS        =  sy_data
  USER_STATUS          =
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
  WAIT          =
IMPORTING
   RETURN        = c_return.
Can anyone please help me this is very urgent

Similar Messages

  • Record usages decision- inspection lot stock

    hi gurus,
    when i am using a record usages decision screen (QA11) after putting my inspection lot number it show me only two tabs Defects and charterstics it didn't show me an inspection lot stock tab.
    Please suggest
    Regards
    Maashish

    Hi Maashish,
    I believe that your PO is for cost center.
    when you will recieve the material using MIGO for This PO, then matieal stock/Value will be posted to Consumtion Account ( Stck will not posted to store) and GR/IR for Vendor.
    In this case if Inpection lot generated,  then using QA11/QA32 you can records quality information in  Result & UD.
    In this case Transfer posting 321/105 for material will not take place.you can input quality inforamation only. 
    Hope this piece of info. will help to resolve your query..
    Cheers
    Manoj Singh

  • BAPI or FM for changing usage decision on Inspection lot

    Hi,
    Does anyone know of any BAPI or FM which can change usage decision on inspection lot. I'm already aware of BAPI_INSPLOT_SETUSAGEDECISION. This only works when there is no UD on inspection lot.
    Thanks for your help.
    Stephen

    hi peter,
    BAPI_INSPCHAR_SETRESULT Confirm Inspection Results. BAPI_INSPLOT_GETDETAIL Load Detail Data and Usage Decision for Inspection Lot
    see this link for list of bapis....
    http://www.sapbapi.com/bapi-list/
    thanks
    sagar
    reward me points if usefull

  • Sample  still showing in quality inspection stock after usage decision completed

    After process order completed, we have received 100 units as a quality inspection stock.  After usage decision,( QA11), I have posted 98 units to unrestricted use and 2 units to the  to sample usage
    98 units successfully move to unrestricted stock.
    However 2 units for sample still showing quality inspection stock.
    I have checked MB51, mat document number for sample is 4900000160 and movement type is 331
    Do you have any idea why sample still showing in quality inspection stock. It  should consumed and zero out the quality inspection stock in MMBE

    Hi,
    Please check you MIC's control Indicators.
    Is it tick on Destructive insp. under Sample tab ?
    Please tick it and try again with whole process.
    Destructive Insp. : You specify whether the sample is to be destroyed after inspection. This means that is no longer available. This quantity is used in the usage decision as the proposed quantity for the posting to sample.

  • BAPI to post stock movement in QM's Usage Decision

    I'm looking for a bapi or standard program to register stock movements in QM as a result of a usage decision.
    We've tried using BAPI_GOODSMVT_CREATE with no success as it returns error QA 495 "Change the inspection stock of material in QM only"
    Thanks
    André

    Hello!
    You do not need to create TO manually. Set up RLAUTA11 report as a job.
    To run RLAUTA11 you have to maitain:
    creation indicator:
    Logistic Execution->Warehouse Managment->Activities->Transfers->Set Up Autom. TO Creation for TRs / Posting Change Notices->Automatic TO creation/control data: for warehouse level: any character
    Logistic Execution->Warehouse Managment->Activities->Transfers->Set Up Autom. TO Creation for TRs / Posting Change Notices->Movements assign: set up your indicator in field "Automatic TO" Background processing (MvT type and warehouse, probably your e.g. MvT is 321 - realese from Quality Inspection stock)
    Next You must create variant for job with your warehouse and creation indicator.
    Best Regards,
    Marcin

  • Usage decision thru QA11 for forcibly give the UD code on a inspection lot

    All,
    I am trying to do an usage decision through QA11.Where in Batch for respective Inspection Lot we have to find the PD,SLED and NID there .
    when i forcibly give the UD code  on a inspection lot  and save this it will calculate the NEXT inspection Date.But some times the NID value is greater than SLED value after the UD.
    My requirment if NID is greater than SLED after UD then give a waring message.
    Any suggestions would be appreciated.
    Regards,
    Sanjit

    Hi Sanjit,
    You can just try the BAPI: BAPI_INSPLOT_SETUSAGEDECISION
    for more help, check the following helpful link:
    Re: Stock posting through mb1b
    Hope this will help you.

  • IDoc or BAPI to send Usage Decision to external system

    Dear SAP experts,
    I am searching for an IDoc or BAPI which allows me to send the Usage Decision (on a QM Inspection Lot) to an external system.
    Can anyone help me with this? Please advice.
    Best regards,
    Kenny

    I think there is no standard IDoc that can be used. But you can define (customize) a follow up action for the usage decision in R/3. This follow up action could be a Z_* program that triggers a custom IDoc. This would suit your requirements I guess!
    Regards,
    Kai

  • Printing of Inspection Report After Usage Decision

    Hi,
    I want take the print out of Inspection Report after Usage Decision completed.......... Can you plz guide the complete Confiuration & related transaction codes for this........
    Regards,
    Raghunath

    Inspection report can be printed from QA33 t_code.
    There are some pre requesites for this,
    i)   In material master 'Inspection with task list' and 'Check characteristics'  should be activated.
    ii)  Inspection plan for that material should be present.
    iii) Record results for these inspection characteristics and take Usage decision.
    iv)In QA33 t_code, u can see 'inspection report tab' . click on that tab.
    v) Give output device and see print preview.
    U can see inspection report with all details.
    Plz. revert back

  • Need to send data, after Usage decision in quality inspection (QA11)

    Hi all,
    After Usage decision in quality inspection (QA11), i need to send some data like material number, qty etc to external database or to external party. is there anyway i can achive this in real time? real time means, it should send the appropriate data to external party after usage decision is made.
    Thanks
    Pabi

    Hi,
    You can change results recording in case the MIC in the inspection plan of the lot are marked as "long term characteristics", else it wont be possible to change result recording.
    you can change the UD code only after giving the Usage decision.
    you cannot change the defects recording.
    Thanks
    SUMIT

  • Partial quality inspection & partial usage decision?

    Hello Friends
    Inspection lot is created when GR is done against purchase order, in normal case result is recorded for whole lot and usage decision is made partially / fully.
    Say business want to inspect (record result) only 50 pieces and want to do usage decision of 50 pieces immediately and again want to inspect (record result) another 50 pieces of same lot and want to do the usage decision u2026u2026u2026u2026how to do it?
    As per my knowledge once inspection is done & usage decision is done system stops to inspect that lot again.
    Looking for your valuable input as soon as possible.
    Thanks & Regards
    Swanad

    hi
    inspect (record result) only 50 pieces and want to do usage decision of 50 pieces immediately and again want to inspect (record result) another 50 pieces of same lot and want to do the usage decision
    For result recording to be done for  qunatity In control indicator of each char tick on long term Inspection.
    This will allow you to do RR after UD has taken.
    For UD to be done Partially means stock posting partially ...
    You can create a UD code(AP) & in customization do not post it automatically.
    Then You can only post 50 Qty initially with UD -AP
    then for rest of the  qty in QA32 select those lots with UD & stock post rest of the items when you carry out RR for rest of 50 .
    This is the solution
    Regards
    Sujit

  • Quality inspection stock showing in urestricted stock without usage decision

    Dear Gurus,
    We have came across a serious issue in Quality department as follows.
    The skip stock status "REL  SKIP SPRQ CROK QLCH" is showing in unrestricted use stock even before the usage decision is made. Now when we are trying to reject the skip material, in MMBE there is no stock against Quality inspection. & the stock when rejected is getting deducted from unrestricted stock.
    Request you please guide me so as to transfer the "REL  SKIP SPRQ CROK QLCH" stock yo quality ispection once 105 is done.
    Kindly guide what configuration settings need to be changed.
    Regards,
    Mahesh

    Thanks Saravan.
    As I am new to QM kindly clarify following things to me.
    1. Even if we reject the skip stock by making the usage decision, it won't be deducted from unrestricted.
    2. Skip/DOL lot will never be shown under Quality inspection in MMBE.
    3. The only rejection of SKIP/DOL that will happen is the line rejection.
    4. Once the line rejection happens materila status will be removed as DOL & converted to normal for next 5 lots.
    Correct me if I am wrong.
    Thanks & Regards,
    Mahesh

  • Usage decision and inspection plan

    Hi,
    1. Once Usage decision has been done, can we still change it? how can i set that it can be changed?
    2.Is it possible to create an Inspection plan for a group of material? for example, I just need to maintain 1 Inspection plan for 30 material. something like it can be group like reference operation set? if yes how? if no, why?
    Thank you so much,
    raymond

    Hi
    Hi,
    1. Once Usage decision has been done, can we still change it? how can i set that it can be changed?
    Yes UD  can be changed anytime but you can not change the stock postng.Also for history in QM view tick on "document req"
    2.Is it possible to create an Inspection plan for a group of material? for example, I just need to maintain 1 Inspection plan for 30 material. something like it can be group like reference operation set? if yes how? if no, why?
    Yes this is possible through QP01/02 --->in header there is one tab"Material assignment" here you can enter
    Group conter (same say "1" ) material & plant.
    Same Inspection plan is reffered to the multiple materials.You can add as materials possible.
    But remember that Unit of measurement of all materials must be same.
    Sujit

  • Usage decision of Inprocess Inspection lot as per batch

    Dear,
    i am doing result recording to inspection point with partial lot and with batch,
    i have some charactristics which is to be transfer to the batches for that i have to do separate Usage decision with every batches
    Is it possible??
    note i have used 120 inspection point.( with shift wise) and partial lot with batches..
    Regards
    Pravin

    You can mkae a UD for the lot, but not by batch.
    The characteristic data should be transferred to the batch after the valuation of each inspection point however.  So your results should already be copied over long before you make the UD.
    Craig

  • Rejection in Usage Decision of an inspection Lot

    Dear Masters,
    I want to know that is there any standard method to trigger the notification for rejection of an inspection lot?
    Please do explain. Thanks in advance.
    Chin2

    Dear Pushpa,
    Once again thanks for your reply. In the case mentioned above I can only define one notification type, what if I have more than one notification type to be used on rejection in usage decision? I will explain my scenario as below:
    I have 3 different quality notification types i.e, 1) Engineering Calibration notification (For Engineering Equipments)
                                                                              2) Quality Calibration Notification (For Quality Equipments)
                                                                              3) Fleet & Trade Calibration Notification (For Fleet & Trade Equipments)
    Now, I have 3 different types of orders from which the inspection lot will be created and for those 3 different types of orders I want 3 different types of notifications to be generated on rejection of the inspection lot.
    Please do guide if there is any standard method to achieve this
    Thanks once again.
    Chin2

  • Unable to change stock posting date at usage decision while inspecting HUs

    If we were using materials without WMS it's simple: thereu2019s a button in the screen for stock posting by which we're able to change document date and posting date; but we're using WM and the screen is slightly different: the button I'm referring it's gone!
    So, how to change the posting date at posting stock in QA11 when we're using handle units? Some end-user told me that in version 4.7 this was possible. I don't think so ...unless there was something customized at WM IMG...or maybe they were using a USER EXIT to bring a pop-up window for this (I'm starting to believe that this was implemented..). This is the first time I work with HUs, so I don't know how to manage this.
    Anyone?
    Seba
    Edited by: Sebastian Sniezyk on Apr 3, 2009 10:16 AM

    I solved it in this topic: Changing posting date at usage decision for handle units. How?

Maybe you are looking for

  • Time Machine won't back up. Starts of REALLY SLOW, and the errors out.

    I've been having a hard time getting time machine to back up. To start off I'll give you my specs and what I have done. iMac OS 10.6.6 2.4 GHz Intel Core 2 Duo 4 GB 667 DDR@ SDRAM 320 GB HD All software updates are current. I am trying to back up to

  • How can I fix this issue with Video iChat?

    These are the details to the issues. Please Help: Date/Time: 2009-11-25 23:30:45.484 -0500 OS Version: 10.5.8 (Build 9L31a) Report Version: 4 iChat Connection Log: 2009-11-25 23:30:14 -0500: AVChat started with ID 2476254623. 2009-11-25 23:30:14 -050

  • How to know report server name in oracle forms and reports with weblogic server 10.3.5

    Hello Experts,               I am new in oracle forms and reports.I have installed Oracle forms 11g with weblogic server 10.3.5 at windows 7.Forms and reports are working well.But I want to call a report from an oracle form button press trigger. For

  • IPad mini retina speakers/volume

    I just picked up my retina mini a few days ago and have noticed that the speakers/volume act a little glitchy. For example, I'll be listening to music on Spotify or watching a YouTube video, and all of a sudden (and without any prompting by me), the

  • Finder file sort order is reversed (z a), can it be changed

    "all my files" shows reversed alphabetical sorting. can you change it to a->z? there is no little widget available like in other search ares of finder such as pictures,music, applications