Error in QM Data(Inspection types)

Hi
i want all inspection types for all materials...
n i want to display materials that are not having inspection types...
i WANT BELOW OUTPUT.
Eg: MATNR- WERKS- ART
      10002-1120- 01
                         02
                         03
      10003-1130                
I have Written this below Query'
My Problem is im not getting all Inspection types for material it is displaying only one inspection type
Can anybody help me on this?
SELECT MATNR
         WERKS
    FROM MARC
    INTO CORRESPONDING FIELDS OF TABLE IT_FINAL
    WHERE MATNR IN S_MATNR.
    IF IT_FINAL[] IS NOT INITIAL.
      SELECT ART
             MATNR
             WERKS
        FROM QMAT
        INTO CORRESPONDING FIELDS OF TABLE IT_QMAT
        FOR ALL ENTRIES IN IT_FINAL
        WHERE MATNR = IT_FINAL-MATNR
        AND WERKS = IT_FINAL-WERKS.
    ENDIF.

Hi,
Try like below code
Select * from <DB> into <ITAB> wherr <Inspection Type>  EQ  ' '.
Regards
Md.MahaboobKhan

Similar Messages

  • In ECC 6 , I AM  GETTING ERROR WHILE DECLARING DATA TYPE OF BAPI

    HI,
    IN ECC 6 , i AM  GETTING ERROR" NO READ ACESS RETURN"
    EVENTHOUGH   I DECLARED  DATA TYPE   FOR EXAMPLE
    DATA: RETURN TYPE BAPIRET2.AND USING IN RFC.
    HOW TO CORRECT THE ERROR.
    pLZ HELP ME.
    REGARDS,
    RANI

    Hi Rani,
    Could you please post the piece of coding where the error comes from? Maybe we can help you then.
    Regards,
    John.

  • "Error 13 writing data in step 6: type mismatch" - Error during package run

    Hi experts,
    I am using SAP BPC 7.0 M and facing an issue while importing a package. I am encountering the error : "Error 13 writing data in step 6: type mismatch". The package is running successfully for some files but is failing for similar other files. The data is uploading successfully on server but still it is giving an error while conversion.
    Thanks,
    Regards,
    Kamya Nagpal

    Hi All,
    In continuation to the above message:
    Even when the package is failing, the data is getting uploaded in the server.
    Thanks,
    Regards,
    Kamya Nagpal
    Infosys Technologies Limited

  • Aspnet_compiler web.config(132): error ASPCONFIG: Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'

    My latest MVC 5 project built with VS 2013 compiled and works fine on my PC but can not be published to server using command line aspnet_compiler. I kept getting the web.config(132): error ASPCONFIG: Could not load type 'System.Data.Entity.Design.AspNet.EntityDesignerBuildProvider'
    In my web.config file, I have the following as suggested by many for solution:
    <add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
     <add assembly="System.Data.Entity.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"/>
    However, the error is persisting.  I have no clue how to fix this.  Hope someone can help.

    Hello FredVanc,
    As you mentions, it could work with your develop environment, so I am wondering it is that on the server machine, the assembly is not there actually. Here are some information I found which might be helpful:
    https://support.microsoft.com/en-gb/kb/958975?wa=wsignin1.0
    https://social.msdn.microsoft.com/Forums/en-US/1295cfa8-751b-4e9b-a7a7-14e1ad1393b6/compiling-error?forum=adodotnetentityframework
    By the way, since this issue is related with ASP.ENT project, I suggest that you could post it to the ASP.NET forum, there are web experts will help you:
    http://forums.asp.net/
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Runtime error at maintain insp lot origins and assign inspection types

    Hi all,
    When i want to assign a new inspection type to lot origin 05 i get a runtime error. I don't know what's happening, but i think that it is caused because the system cannot find a record. When i look in TQ31 and TQ33 i see a line with lot origin 05. In table TQ32 there is no line.
    I can still maintain all other inspection lot origins. I removed the inspection type from 05 and want to add another one, but it's not possible anymore because of the error...
    Does anybody have an idea?

    It sounds like you deleted the 05 insepction type that SAP delivers and had linked to origin 05
    You shouldn't do that. 
    SAP is very picky about having the 01 variant assigned.  You have deleted the 01 variant. 
    You can try to create it back maybe.  If it fails, my guess is you'll have to have the basis team regenerate the TQ32 table from the 000 client.  Then you'll have to redo any entries you need, like any custom inspection types.
    FF

  • LIMS data of inspection type 89 to be uploaded in SAP QM

    How to upload the LIMS data into SAP. These data are for for different material. And each material have different batch. A lot of batch is their. Inspection type is 89. How to upload the data batch wise????

    Check with your LIMS vendor.  Must LIMS vendor provide the routines required to interface with SAP.
    There is no straight forward answer to what you are asking.  Interfacing a LIMS has a lot a of moving parts to it.  It's best to work with your vendor.
    FF

  • When saving sales order Error determining local currency: ER type 'M' date

    Hi experts
    we have created new sales area for intercompany billing process. we are doing testing for this.
    Update was terminated    
    after saviing sales order express document update was terminated received from author
    sales order Error Info...   M2 802: Error determining local currency: ER type 'M' date 02.08.2011.
    i need your input
    thanks

    Dear Manoj Verma,
    Check the pricing date of the sales order.
    Check the valid from date for the currency types/exchange rate type M in OB08
    Now check whether the pricing date in sales order is before the valid from date in OB08.
    If so , make the valid from date in OB08  as the pricing date in sales order in OB08 and then save.
    Thanks & Regards,
    Hegal K Charles

  • Error:First create the valuation-type-independent data:BAPI MM

    Hello all,
    I am getting above error (First create the valuation-type-independent data) when i sent the BWTAR field to BAPI_MATERIAL_GET_ALL and material data is not getting fetched.
    Please guide to resolve the issue.
    Thank you.
    Edited by: sanjivrd on Nov 30, 2009 10:08 AM

    Hi all,
    I'm using BAPI_MATERIAL_SAVEDATA for opening all views of material. I I try to open COST and ACCOUNT views, still having same message error "First create the valuation-type-independent data".
    Also If I don't open ACCOUNT and COST views, the creation works fine. After in updating material, I set up the VALUATIONDATA / X structure but the error is the same.
    We use "split valuation on material" and the Valuation Type is a mandatory field.
    Any help?
    Thanks in advance.
    GB

  • Replicat  : GGS ERROR    171  Unknown data type received 0x54 49 .

    I am trying to run an initial load as shown in the tutorial at http://www.oracle.com/webfolder/technetwork/tutorials/obe/fmw/goldengate/11g/GGS_Sect_Config_WinUX_ORA_to_WinUX_ORA.pdf and I am seeing this error in the REPLICAT process.
    I have tried using the SOURCEDEFS clause as well (Even though the source and Target structures are exactly similar), but I run into the same issue.
    ** Run Time Messages **
    *2011-04-14 12:02:15 GGS ERROR 171 Unknown data type received <0x54 49>.*
    The only other Indication that I see in the report file is the following Warning message
    *2011-04-14 12:02:15 GGS WARNING 201 Rounding up LOBWRITESIZE 32528 to be a multiple of LOB chunk size (16324).*
    LOBWRITESIZE = 32648 bytes.
    Here are the other details. If you need any more information, please let me know
    GoldenGate Delivery for Oracle
    Version v9.5.1.31 Build 003
    HP-UX 11.23 (optimized 64-bit), Oracle 10g on Jun 24 2008 13:43:23
    Copyright GoldenGate Software, Inc. 1995-2008
    Starting at 2011-04-14 12:02:09
    Database Version:
    Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bi
    PL/SQL Release 10.2.0.4.0 - Production
    CORE 10.2.0.4.0 Production
    TNS for HPUX: Version 10.2.0.4.0 - Production
    NLSRTL Version 10.2.0.4.0 - Production
    I'd appreciate any advice on fixing this issue.
    Thanks,
    Rajesh.

    Looks like the error is because we have ASM set up at our place.. and I did not pay enough attention to this part of the tutorial Guide..
    Note: When Oracle Automatic Storage Management (ASM) is in use, the TRANLOGOPTIONS ASMUSER and ASMPASSWORD must be set in the Extract parameter file. For more information refer to the GoldenGate for Windows & UNIX Administrator and Reference manuals.
    Posting the reply here so that It'd be useful for anyone running into the same issue later.
    Cheers!
    Rajesh.

  • Error : Inspection type not properly maintained

    Hi Experts,
    I am trying to perform MB1B for a material and its giving me an error ...." Error : Inspection type not properly maintained" any suggestions would be appreciated...
    Regards
    Albert

    Hi
    Check the material master Quality management view where the inspection type is maintained.
    Check the settings for inspection type in that material master.
    Regards
    Prasad

  • QM Inspection type 03

    Hi
    Can any body please let me know how to make an insepction type 03 stock relevant ?
    Regards
    Sankar N

    Hi Sankar,
    Not possible dear. 03 is strictly Stock ir-relevant inspection type. The reason according to me is, it is in process inspection type for the material that is under process of mfg. so at this time you will not have the stock of your product/semi finish product physically as well. So there should not be an issue of stock, hence it is id not in existence.
    But as soon as you confirms the final confirmation of the order, you will have the stock of the same, so here the functionality of 04 inspection type is available. That you can use very well.
    Further in addition to my argument, you have the Operation confirmation functionality available with the 03 inspection lot operation confirmation, I am talking about the yield confirmation. And the quantity you confirm at here in QM, the PP guy will not able to confirm more than it.
    That is possible with FS-SS relation ship between two phases the task list. Again I will say these are not standards but you can develop them using the user exists..
    - CONFPI04 to carry out your own inspections (after carrying out SAP inspections)
    You can use this customer enhancement to carry out checks on the
    confirmation after the SAP checks have been carried out. The
    confirmation can be changed depending on the user entries.
    The following are copied to the interface: the operation in the order
    (AFVGD), the complete order header (CAUFVD) and the confirmation
    (AFRUD). The confirmation is copied from the customer enhancement to the
    SAP standard program.
    - CONFPI05 to update your own data after saving the confirmation
    You can use this customer enhancement to update your own data after
    saving the confirmation. The confirmation cannot be changed.
    In this customer enhancement it is strictly forbidden to send error
    messages or other messages because otherwise there is the danger that
    data will be inconsistent. SAP cannot be held responsible for this!!
    The following are copied to the interface: a table with all the
    confirmations (AFRUD) created in this transaction and a table with the
    corresponding order headers (CAUFVD).
    Regards,
    Shyamal
    Edited by: Shyamal Joshi on Jul 29, 2008 10:44 AM

  • Activation Inspection Type of Material through BDC

    Dear Experts,
    Can anyone tell me how to activate the inspection type of material by using bdc or is there any sample program to do so.
    I have written the program for uploading inspection type for material using bdc. But when i upload the data by default Accounting1VIEW  gets selected instead of QM. What can be the reason. Help me to track the error and resolve.
    Regards.
    Edited by: Govinder Singh on Jan 27, 2010 12:28 PM
    Edited by: Govinder Singh on Jan 27, 2010 12:29 PM

    Hi,
       In standard inspection type field is ' Art ' . Check QALS table where you can find this field & if 03 inspection type is maintained it will store in qals table.
    Regards,
    Himanshu

  • Inspection Type

    Hi All,
    I am using T.Code QA08 for inspection Type of material upload.
    Initially i give plant,material and then press Mass processing tab and then check Activate Despite insp stock check box and will give insp. type.then i will be taken to next screen where i have to check Preferred Insp. Type check box and then save. i wrote a BDC program for the above and it works fine in Foreground and in Error only mode but not in Background. In background mode it displays Error as No Batch Input data for the screen SAPMSSY0 0120.
    Please suggest me how to rectify this

    Hi Kumar,
    Were you able to run BDC in background for QA08 ?
    What solution did you provide to client finally ?
    Thanks,
    Nisha Vengal.

  • Error while insert data using execute immediate in dynamic table in oracle

    Error while insert data using execute immediate in dynamic table created in oracle 11g .
    first the dynamic nested table (op_sample) was created using the executed immediate...
    object is
    CREATE OR REPLACE TYPE ASI.sub_mark AS OBJECT (
    mark1 number,
    mark2 number
    t_sub_mark is a class of type sub_mark
    CREATE OR REPLACE TYPE ASI.t_sub_mark is table of sub_mark;
    create table sam1(id number,name varchar2(30));
    nested table is created below:
    begin
    EXECUTE IMMEDIATE ' create table '||op_sample||'
    (id number,name varchar2(30),subject_obj t_sub_mark) nested table subject_obj store as nest_tab return as value';
    end;
    now data from sam1 table and object (subject_obj) are inserted into the dynamic table
    declare
    subject_obj t_sub_mark;
    begin
    subject_obj:= t_sub_mark();
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,subject_obj from sam1) ';
    end;
    and got the below error:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7
    then when we tried to insert the data into the dynam_table with the subject_marks object as null,we received the following error..
    execute immediate 'insert into '||dynam_table ||'
    (SELECT

    887684 wrote:
    ORA-00904: "SUBJECT_OBJ": invalid identifier
    ORA-06512: at line 7The problem is that your variable subject_obj is not in scope inside the dynamic SQL you are building. The SQL engine does not know your PL/SQL variable, so it tries to find a column named SUBJECT_OBJ in your SAM1 table.
    If you need to use dynamic SQL for this, then you must bind the variable. Something like this:
    EXECUTE IMMEDIATE 'insert into op_sample (select id,name,:bind_subject_obj from sam1) ' USING subject_obj;Alternatively you might figure out to use static SQL rather than dynamic SQL (if possible for your project.) In static SQL the PL/SQL engine binds the variables for you automatically.

  • Error while saving date value in Java dictionary

    Hello Everybody,
    I got following error while saving date value in one of the fields of the Java table.
    Internal error occured in submit request: Error in method updateRequestContact : The object of type java.sql.Date with the value '2005-12-04 08:00:00.0' assigned to host variable 9 is not normalized. It must not contain time components in the time zone running the virtual machine.
    I can't find why it is taking time value in the date object.
    This value is coming from the RFC as a date value, and I am saving this value in Java dictionary table.
    Same code for this was working fine earlier. But, now suddenly it gives error like this.
    Even if I provide date on the screen from webdynpro application, this date value can't save in the Java dictionary and gives same error.
    What should be the problem behind this?
    Regards,
    Bhavik

    Hi Satyajit,
    I am getting date value from the screen of the webdynpro application from date picker control and passing this value in Java dictionary.
    More Information:
    I have dat value in the Date object: <b>target_date</b>
    But Now I have made new Date object as following:
    Date target_Date1 = new Date(target_date.getYear(),target_date.getMonth(),target_date.getDate());
    Then I am passing this object to Java dictionary. Still it gives same error.
    Then I have changed code as following:
              int l_year;
              int l_month;
              int l_days;
              l_year = target_Date.getYear();
              l_month = target_Date.getMonth();
              l_days = target_Date.getDate();
         Date target_Date1 = new Date(l_year,l_month,l_days);
    Now it works for me.
    But I guess this is not the perment solution. It looks very strange. I have used so many date objects at various palces. So, this solution is not the final for me.
    I want to findout the main cause of it.
    One more thing: This code was working for a mornth or two. But, now suddenly it is giving this error.
    Please help me if anybody knows.
    Regards,
    Bhavik

Maybe you are looking for