Filter by inspection type the result of BAPI_INSPLOT_GETLIST

Dear all,
I have an MII transaction that is used to select the list of SAP QM inspection lots for a specific material, plant and period of time. Later on other transactions are reporting the inspection results of the selected inspection lots.
I have the problem now that i should filter this list of inspection lots through the inspection type for selecting specific ones. Do you know if i can filter directly through this BAPI, or i should use a different one?
I'm using MII 11.5 and SAP ERP 6.0.
Thanks in advance for the help

Hello,
I don't think we can filter by Inspection Lot Type in BAPI_INSPLOT_GETLIST,
I would try below options,
Option 1:
You can filter via BAPI_INSPLOT_GETDETAIL  that is First pass the Insp Lot number to Detail retrieve the Details and then go for filtering as suggested by SOM
Option2:
Use "RFC_READ_TABLE" and pass the relevant QM Table name or View name to RFC and fetch the desired results
Option3:
Write Custom RFC (z-rfc)
Hope this helps!!
Regards,
Adarsh

Similar Messages

  • Inspection type assignment

    Hi All,
    I am  an MM consultant, i am trying to learn QM, I want  to know if there are one more than one inspection types assigned for inspection lot origin, then which inspection type the system will  pick up while creating automatic inspection lots
    Thanks in advance
    regards
    Venkat.

    Hi
    You can use Variant of The Inspection Lot Origin to assign several inspection types to one inspection lot origin.
    A variant 01 must exist for each inspection lot origin. The system then always chooses the inspection type defined as variant 01, if no control specifies another inspection type.
    You can choose another inspection type as the preferred inspection type if you do not want to use the inspection type specified as variant 01 for the inspection lot origin. This is done in the inspection setup of the material master (quality management view).
    The system can use the following special controls to select an alternative inspection type:
    Inspection lot origin 01 (goods receipt for a purchase order)
           a.Inspection type based on the status of the supply relationship
           b.Inspection type for a source inspection based on the info record for the
              supply relationship.
           c.Inspection type for an inspection during external processing based on the
              external processing data in the task list or order operation.
    Inspection lot origins 03, 13, 14 (production or plant maintenance)
                    Inspection type from the order type
    Inspection lot origins 10, 11, 12 (shipping)
                    Inspection type dependent on the delivery category
    If the required inspection type is not active, an inspection lot is not created.
    Path for creating Variant of The Inspection Lot Origin :
    <i><b>SPRO --> QM -> Qulatiy inspection --> Inspection lot creation --> Maintain Inspection Lot Origins and Assign Inspection Types</b></i>
    In this node select the inspection lot Origin and go to Inspection types for the origin, where you can define Variant.
    Regards
    Ramakrishna

  • Selecting two preferred inspection type in MM02 (Ispection Setup)

    Hi all,
        I got one probelm in MM02. In MM02 -> Quality Management -> Inspection setup we need to select two inspection type as preferred inspection type. But when we select both Z502 and Z504 inspection types it throw one error "Set 'Preferred inspection type' indicator for either insp. type Z504 or Z502". So we catn select.
      Plese guide me to solve this problem.
    Regards,
    Mahi.

    Dear,
    When the system creates an inspection lot automatically, it must determine which inspection type to use.
    Depending on various system and Customizing settings, the system normally selects one of the following inspection types:
    Default inspection type or
    Preferred inspection type
    For inspection lot origins 01, 03, 10, 11, 12, 14, the system may select an inspection type other than one of the above. Special rules apply for these inspection lot origins.
    To ensure that the system can select a default inspection type or preferred inspection type, make sure the following conditions have been met:
    You define the default inspection type in Customizing for Inspection Lot Origin by assigning an inspection type to variant 01 for the corresponding inspection lot origin. The system uses the default inspection type if this inspection type is active in the inspection settings of the material master.
    Click on Inspection setup and make sure check box Preferred type selected for one of your inspection type.
    In the Inspection settings of the material master, you can specify a preferred inspection type for each inspection lot origin. If you set the indicator Preferred inspection type for an inspection type, the system uses this inspection type to automatically create an inspection lot. This inspection type has priority over the default inspection type.
    If you do not set the indicator for the preferred inspection type and several inspection types are active in the material master, the system uses the default inspection type.
    If you set the indicator for the preferred inspection type, but the corresponding indicator for activating the inspection type is not set, the system uses the default inspection type.
    Regards,
    Syed Hussain.

  • Using 05 inspection type, all the materials moves to inspection lot

    Dear SAP Gurus,
    Using the 05-inspection type in material master for by product material, all the material goes to inspection lot.
    how to control the inpection lot movement, i have set a plan that the inspection will be carried through  a workcenter,but it moves all the materials to inspection lot.
    Since all the materials are moving to inspection lot, i have changed my inpsection type to 02 (goods issue), but the problem is,  i couldn't able to record the results for the created inspection lot.
    Kindly guide me and correct my process flow,
    Thanks in advance
    Thanks and Regards,
    R.Diwakar

    Dear Guru,
    Thanks for your response
    Sorry for not so clear ....
    My scenario is that, the user requires to have a inspection lot for their By-Product. during the production order, after manufacturing say 30000 material, for them the 30000 material should directly posted to the unrestricted usage and a sample maerial should go to inspection lot, where same will be inspected and transfered to unrestricted usage, through QA32.
    Based on their requirement, i have set the inspection type -05 in material master and a workcenter specifically created for the quality testing, so that a sample quantity can be produced and flows to the inpection lot,
    but it doesnt works,the produced materials are all going to inspection lot.
    Kindly guide me on this,
    Thanks in advance
    R.Diwakar

  • Reg: Copying inspection results from inspection( 04) to inspection type (!0

    Dear Friends ,
    I have configured for Quality certificate.
    At the time of delivery , the system will create an inspection lot.
    To make delivery we need to carry out RR and UD once again.
    Can we copy inspection results of inspection type (04) to inspection type 10 , as we are maintaining  the same results of inspection type (04). Also can we sit as background whenever a lot is created with lot origin(10) , automatically it has to copy the results from inspection  type 04 .
    Thanks in advance.

    HI Dear,
    As you said  , it is for COA.
    And the materials are not batch manged.
    Is there any possibility  of copying the results of 04 inspection lot to inspection type 10 lot  , which is created at the time of PGI.
    Because untill and unless RR and UD is made sales people will be not able to  make the delivery . if there are multiple lots , it takes
    time for them to carry out RR and UD.
    Thanks for your reply!!!

  • Using the results of one Query in a workbook as a filter in another query

    Hello!
    I'd like to have one workbook which my users can execute and the result from one Query (e,g, Customer Account Number) will then be used as a filter in a second query (which would be from a different cube).
    Can this be done?
    Cheers.

    Hi,
    As far as I understand your requirement, you want to pass the result of one query to another query as a filter.
    Well you can do this, by Using Replacement Path Variable.
    For e.g. you want to pass Values of Custmomer Account Number to another query. In the second query, create one variable on Customer Account Number with type Replacment Path. Here it will ask you to enter the name of the query from which you would like to take the values of Customer Account Number.
    When you will run the second query , it will execute the first query from which you want to read the customer accoutn number in the back-end. And it willl display the output the second query as per the valeus of customer account number.
    This will help.
    - Jaimin

  • OBIEE Report - filter based on the result from another analysis

    Hi,
    I am using OBIEE 11g,
    I am trying to use a filter which is based on the result from another analysis. I have an analysis A which is as table 1, and I want to filter the respective columns of analysis B (Table B) based on analysis A to remove the duplicates for march 01, 02, and 07 , but it is not working properly. I took a max of start and end time when I created analysis A. Please let me know if I did anything wrong. thanks.
    Table 1
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-01
    14:00
    20:00
    14:00:00
    20:00:00
    2015-03-02
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-07
    14:06
    20:02
    14:00:00
    20:00:00
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    Table 2
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours
    xxxxxxx
    2015-02-26
    9:00
    13:00
    00:00:00
    00:00:00
    -3
    2015-02-27
    12:00
    18:00
    00:00:00
    00:00:00
    6
    2015-02-28
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-01
    14:00
    20:00
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-02
    16:00
    20:00
    00:00:00
    00:00:00
    4
    16:00:00
    20:00:00
    4
    2015-03-07
    14:06
    20:02
    00:00:00
    00:00:00
    6
    14:00:00
    20:00:00
    6
    2015-03-11
    16:00
    20:00
    16:00:00
    20:00:00
    4
    2015-03-14
    8:00
    14:00
    00:00:00
    00:00:00
    6
    2015-03-25
    14:00
    20:00
    16:00:00
    20:00:00
    4

    Why avg here?
    What columns you want to show in the report?
    for a employee for given date if he have 2 rows then you may sum up hours right?
    Employee Number
    Date
    IN
    Out
    Start Time
    End Time
    Hours

  • I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be fund raising, gift p

    I need to set up an expense form so that our consultant can "filter" by customer type, program type, and finally the purpose of the trip. For instance: the customer types are churches, schools, organizations. The program type would be dependent on the customer type selection from the first list. Some examples would be: fund raising, gift planning, surveys, and others. The purpose of the trip would be dependent on the program type selected from the second list. Some examples of trip purposes would be: presentation, design, prospecting. Further, the purpose of trip selection from the third drop-down box would then have to determine the values of other fields by expense type: such as commission, airfare, hotel. etc. I've tried pop-up menu but can't figure out how to "select" from the final popup list and have it populate a field for the purpose of the trip. I've tried to look at the JavaScript examples for dependent drop-down boxes, but can't find any that quite fit what I'm trying to accomplish. I am very new to all of this. No training in writing Javascripts - just trying to wing it. The form has to be very simple for our consultants to use, but also give our office the detail we need to process through the correct account numbers. I would appreciate any detailed step-by-step instructions - kind of a javascript for dummies type of info. HELP!

    An AcroForm is the name given to the type of PDF form that you create in Acrobat. An XFA form is the type of form that you create in LiveCycle Designer. Although they are both PDF files, they are very different structurally and have significant;y different scripting models. So pay attention to the information on AcroForms and ignore anything about XFA. Be sure to get the sample PDF forms so you can look at how it works and where the scripts are placed.
    What you want to do will require scripting, and if you don't have the experience and are unable to use the information in the tutorials to create what you want, you might consider getting someone who has experience do this for you. I'll often suggest code if I can do so quickly, but what you want requires more than a few minutes.

  • How to maintain inspection type at the time of material creation using LSMW

    Hi All,
    I have a differnet Issue.
    I am using a std. LSMW to create the materials.
    But now using same LSMW i have to maintain Inspection types(ART-RMQAM) for the materials to be created.
    How this can be done.
    This filed is not found in any structures like BGR....to  BMMH8
    Can I create such a structure ??
    Amol

    Some need the hard answer: it is not possible in one go.
    It is an embedded functionality in material master like classification, but it is not stored in a material master table.

  • SSRS - How to display all the results from a query and then be able to filter the data

    Let's say I have a simple query that will return products name, ID, price
    SELECT pname,
    pID,
    price
    FROM products
    When I display the results in SSRS the user will (without entering any parameters) see something like:
    Product Name | ID | Price
    xyz                    1     $10.00
    .zzz                    10   $4,000.00
    How can I filter my results once they are displayed? For instance, Out of the results the user wants to see only the products where price is between $10 and $3000?
    -Alan

    Hi Visahk,
    Maybe I did not explain my issue very good. 
    I want the user to first see all results (without entering the price range) - then if he wants she/he can filter the results by price.
    As soon as I add 
    WHERE price BETWEEN @StartPrice AND @EndPrice
    to my SQL query, the user is prompted to enter a price range before seeing any data.
    -Alan
    Ok for that what you can do is to set allow null value property for the parameters.
    Then set NULL as default value for parameters in parameter properties tab
    and make the query as below
    WHERE price BETWEEN @StartPrice AND @EndPrice
    OR (@StartPrice IS NULL AND @EndPrice IS NULL)
    and then report will get executed without waiting for any prompt and user may change values at a later stage and rerun it
    Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

  • Need to know data type which could take the result of - data TYPE RAW.

    Hello,
    I have the following Req:
    I need to make a RFC call from one SAP system to SAP Banking Services system to retrieve Contract ID.
    But the field contract id happens to be of TYPE RAW. (16 characters)
    So my problem is - I need to know the data type could take the result (contract id) of that RFC call.
    As the declration -> data: v_con_id Type RAW --> isn't a valid syntax.
    Please help in this regard.
    Thanks
    Anoop

    Hi  
    Check this link for RAW data type
    http://help.sap.com/saphelp_46c/helpdata/en/9d/ab1b0f055b11d2806500c04fadbaa1/content.htm
    As you have mentioned about the declration ->
    data: v_con_id Type RAW --> isn't a valid syntax.
    lets try another one assign a variable to RAW data TYPE and inturn assign v_con_id to that variable.
    var_raw(16)  type RAW,
    v_con_id type var_raw(16).
    I am though not sure just try out
    Revert for clarification
    Thanks and Regards
    Srikanth.P

  • How can i pass a parameter to the query to filter the result of this lookup

    Hello,
    i'm developping a web application with JDeveloper 10.1.2 and JHeadStart.
    i realy need to know how can i filter the lookup (LOV) query result.
    in other word, when i click on the lookup, it show all the row that exist in may data base table.
    what i want is how can i pass a parameter to the query to filter the result of this lookup ?
    Thank you

    Hi,
    have a look if this helps
    http://oracle.com/technology/products/jdev/tips/fnimphius/restrictlovlist/restrictlov.html
    Frank

  • Trying to filter the result of get-qadgroup

    hello , 
    I'm trying to filter the results of a simple get-qadgroup command, to only list groups that have a specific OU as part of the DN, but I dont understand why my filter is not working . Any pointers or tips would be greatly appreciated. 
    get-qadgroup -sizelimit 0 | Where-Object {$_.DN -contains "OU=service"} | ft name,DN

    got it .. i changed it to -like and added the * before and after the OU=Service 
    get-qadgroup -sizelimit 0 | Where-Object {$_.DN -like "*OU=service*"} | ft name,DN

  • I've found no way to sort.  For example, if I type the group "Rush" into the search bar, I get a list of songs recorded by rush and literally thousands of other songs and artists with the word rush in them. There is; however, no way to sort the results.

    I've found no way to sort search results in itunes.  For example, if I type the group "Rush" into the search bar, I get a list of songs recorded by rush and literally thousands of other songs and artists with the word rush in them. There is; however, no way to sort the results. 

    In the Search box click on the black Arrow and UNTICK the Search Entire Library.
    Then the Search results in Songs view will be displayed in the main Grid and you can sort them by clicking on the column headers.
    You can also turn on the column browser which can help with filtering

  • After Preflighting a PDF, using Convert to CMYK, Flatten Transparency and Prepress Profile Convert to CMYK only the resultant PDF has a grubby halo along the edge of some white type sitting on an image. The type is part of the image.

    I am using a 27" iMac 3.2 GHz Intel Core 5, 8 GB Memory, running Yosemite 10.10.1. 
    The version of Acrobat that I am using is: Acrobat XI Version 11.0.10
    After Preflighting a PDF, using Convert to CMYK, Flatten Transparency (high resolution) and Prepress Profile "Convert to CMYK only" the resultant PDF has a grubby halo along the edge of some white type sitting on an image. The type is part of the image which is 300 dpi.
    It is like the image isn't really 300 dpi but has been artificially boosted to that to avoid being tagged by Preflighting, but when Preflighting the file it knows the original resolution.
    I have screen grabs which illustrate the problem perfectly but do not know how to post them, if indeed they can be.
    Any help or comments gratefully received.

    Without the files and possibly screen prints, it is virtually impossible to assist you.
              - Dov

Maybe you are looking for

  • Date problem in printing

    Hi frnds , I in my mail i am having problem to print the date . i dont know but some times it is displaying as 2008//0/4 instead of 2008/04/13 or sometimes for some other documents it is printing the currect date I am also having problem to print a c

  • 3 R/3 Systems

    Dear all,          I am connecting <b>3 r/3</b> systems into one BW system. There will be only <b>one cube</b> in the BW, which is material movement. Now i would like to know, How i can identify which data is comeing from which r/3 and how can i use

  • Problems servicing EJB requests on SOA server. SOA Suite 11g.

    Hi all I recently installed SOA Suite 11g on my Windows 7 machine for a project that will be employing SOA, BPM and EJB services. I created a new SOA domain with an admin server and a managed SOA server. When creating the domain, I specified BPM Suit

  • OS X Lion and NSS 326

    I've got a Cisco NSS 326 NAS and have recently run into a problem with OS X Lion Developer Preview and authentication to the NAS. When connecting to the NAS over AFP as guest I can access the NAS just fine. However, when I try and authenticate I get

  • Refreshing a dataprovider into a datagrid

    I´m editing a datagrid and i´m trying to validate and update the information inside the ItemEditEnd event, but I don´t get see any change into the datagrid. The column i´m editing is the one editable, if I debug the dataprovider, it changes in the ri