Query in Master Inspcection Characterictics (MIC).......

Hi there ,
             I gotta query regarding the master inspection characteristics........as per my understanding if we don't link the MIC with the class characterictics then after  result recorded in the result recording (QE51N) it  will not be updated against that batch.........
Or in other words MIC is the bridge between the QM & PP from that perspective............
Am I right ??
Thanks
Kaushik

Hi
SAP version 4.6B and above  your update is ok provided  you have made in QM plant settings check box under batch valuation  is checked .
If you are in before 4.6B for batch classification to occur, you have to maintain material specification.
Hope it helps.
Pl. award  if helpful.
Regards
YMREDDY

Similar Messages

  • Error when executing a query on master data

    Hi Friends,
    When I execute a query fon Master Data Characteristic infoObject ( 0BPARTNER ) from BEx Analyzer I got the below error. 0BPARTNER contains 15 attributes. I am getting the below error only for this query. Rest all other queries are working good with the same BEx Analyzer.
    <b>An error occured in the communication with the BW Server.
    Due to this connection has to be closed.</b>
    <b>Detailed Description:
    The system is configured incorrectly.</b>
    Please tell me what could be the problem? How to overcome this?
    Thanks,
    Sasi

    Hi Arun,
    Before the execution of query I did that. And it was ' Query is Correct'.
    Any more ideas?
    Thanks,
    Sasi.

  • How to query the master block based on one of the values in detail block

    Hi,
    In version 6i forms, I have a field in data block which is not set as a database item. I am using that field to store a value from detail block. If I want to query the form using that field (which represents one of the values from detail block), how do I do that? Any pointers?
    TIA,

    Do you want to query a master, which contains a specific detail? If so, here's an example how you could do it with a PRE-QUERY-trigger:
    DECLARE
      vcQuery VARCHAR2(4000);
    BEGIN
      IF :MASTERBLOCK.THE_DETAIL_SEARCH_ITEM IS NOT NULL THEN
        -- Build up an exists Sub-Query
        vcQuery:=' MASTERBLOCKID IN (SELECT FK_TO_MASTERBLOCK FROM DETAILTABLE WHERE DETAIL_COLUMN=''' || :MASTERBLOCK.THE_DETAIL_SEARCH_ITEM|| ''')';
      END IF;
      SET_BLOCK_PROPERTY('MASTERBLOCK', DEFAULT_WHERE, vcQuery);
    END;

  • Query from master data

    I am trying to create a structure to create a query as follows from 0EMPLOYEE master data. I have ceated a BI infoset with 0EMPLOYEE and using that to create this query. This query is intened to be used as the receiver query in RRI.
    Sender Query (query1):
                                  Employee Distribution by perfromace rating
    Performance Rating  Before_Min Below Above Total
    Receiver Query (query2) : this should feed the employees used in query1 and get their attributes in a query
    Employee       Last_Name First_Name, Annual_Salary
        A
        B
    Qns:
    1, What is the best approach to get this?
    2. How do I create a characteristic query for Employee (without key figures) as in qurey-2
    Amy help is apprecaiated.
    Thanks in advance

    Hi Bob,
    Thanks for your message. I got the receiver query working by configuring the infoobject as a infoprovider and getting "# of records" as the dummy KF into the query and hide it. I need to clean up to supress results reow.
    For connectign to this query as RRI, in the assignment details, do I use it as an Infoobject - parameter for 0EMPLOYEE or any other setting. I used the above settings and see more employees in the list than I had expected. i don't see the employee ids being passed on from Q1 to Q2 to provide a reduced result set when I limit the scope in q1 (eg: by filtering using the org unit or personnel area).
    Any clues?
    Thanks
    Raj

  • Auto Query in Master Detail Form using dynamic page doesn't work

    I created a Master-Detail form, and implement AutoQuery using a dynamic page
    with the following code :
    <HTML>
    <BODY>
    <ORACLE>DECLARE
    nre_ VARCHAR2(100);
    BEGIN
    nre_ := emp_nre;
    if nre_ is not null then
    net_portal.Popula_Agregados(nre_);
    net_portal.Popula_Docs_Agregados (nre_);
    htp.p('<iframe id=myFrame name="myFrame" frameborder=0 width="250%"
    height="300"
    src="/pls/portal/PORTAL.wwa_app_module.link?p_arg_names=_moduleid&p_arg_values=
    3
    388118140&p_arg_names=_show_header&p_arg_values=NO&p_arg_names=_cad_nre_cond&p_a
    rg_values=%3D&p_arg_names=cad_nre&p_arg_values='||nre_||'">
    </iframe>');
    end if;
    EXCEPTION
    WHEN OTHERS THEN
    htp.p(SQLERRM);
    END;
    </ORACLE>
    </BODY>
    </HTML>
    It works fine when we access the first time to the page, but if i press the
    save button after inserting or updating a detail record, the header record is
    lost. How can i avoid this situation ?

    I changed query:
    select
    Replace(
    '<img src="#IMAGE_PREFIX#ed-item.gif" border="0" alt="EditMap" usemap="#editmap***id***"></img>
    <map name="editmap***id***">
    <area shape="rect" coords="0,0,16,16" href="http://apex.oracle.com/pls/otn/f?p=&APP_ID.:'
    || decode ( type, 'FOLDER', '33', '22' )
    || ':&APP_SESSION.::&DEBUG.::P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_ID,P'
    || decode ( type, 'FOLDER', '33', '22' )
    || '_CALLING_PAGE:' || id || ',&APP_PAGE_ID." ></area></map>' ,
    '***id***', id
    ) Edit,
    id,
    type,
    name,
    decode ( type, 'FOLDER', 33, 22 ) target
    from tThe idea is - each img uses its own map.
    It works now.
    Check:
    http://apex.oracle.com/pls/otn/f?p=20980:13
    Lev
    Edited by: le on Nov 3, 2010 11:11 AM

  • Af:query for master detail

    Hi Experts,
    Can we have an af:query to show master detail data ?
    What we generally have is af:query showing records of 1 table. What i want is for the records that get populated from af:query in the master table, i want to show the records in the detail table of the row selected
    any idea ?
    thnks

    Thank you NewBee. It worked and am able to get the detail information from the master table. I am struggling with another implementation. I have 3 radio buttons in the global template which I am referencing in all my pages.
    The template has 3 radio buttons. Contacts, Plans and Users. The three queries are completely different from one another.
    On click of Contacts, I should display the respective af:query for Contacts, Plans and Users without displaying the resultant table. This query panel will be global to all the pages.
    I have tried setting it as follows:
    <af:panelGroupLayout layout="vertical"
    id="pt_pgl3"
    rendered="#{baseBean.searchContactsSelected == 'true'}"
    visible="#{baseBean.searchContactsSelected == 'true'}">
    <af:query id="qryId1" headerText="Search" disclosed="true"
    value="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryDescriptor}"
    model="#{bindings.GloablSearchByContactsVOCriteriaQuery.queryModel}"
    queryListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQuery}"
    queryOperationListener="#{bindings.GloablSearchByContactsVOCriteriaQuery.processQueryOperation}"
    resultComponentId="::contactSearch:md1"/>
    <f:subview id="contactSearch">
    <jsp:include page="/contactsSearchResults.jspx"/>
    </f:subview>
    <af:panelGroupLayout>
    I have tried various implementations to the best of my knowledge but its not rendering. Is it possible to navigate to a different jspx on click of Search button of af:query. This will give me an opportunity to display different pages based on the Search action and keeping the search on a global level.
    Hope I was clear in explaining the issue
    Thanks!

  • Query on Master CHM

    Hi All,
    Greets!
    I have a query on RoboHelp. I have a master chm, which is linked to
    couple of individual CHMs. I have a requirement to now place all the
    individuals chms in a sub-folder,keep the master chm outside the sub-
    folder and deliver it to the distribution team. Needless to say, on
    performing the action, the links in master chm stops functioning.
    Please can you throw some pointers as how do you specify the path for
    the sub-folder, so that when the 'help' is called, the master CHM
    opens up the individual chms. Where do I specify the path in RoboHelp
    project? Or, am I missing something here?
    Thanks
    Rajdeep

    All
    Many thanks for your valuable time and suggestions. It worked.
    OUTCOME:
    I registered 30 chm files, and the master CHM with all the links worked out fine even if I had placed the CHMs
    in Mars.
    RoboHelp HTML includes a nice tool that will facilitate this for you. The tool is called HTML Help
    Registration and is found in the Toolbox tab (RoboHelp 6 or earlier) or the Toolbox Pod (RoboHelp 7 or later).
    Big Question:
    But, wait now the big query is how will it work in the release folder and customer machines.
    These files are to be registered in the customer machine too.
    So, my question is do you use any package tool to deliver the files to the client?
    If we can write a patch file for the help files, then the customers will not have any
    hassles of registration. They will need to just double-click on the exe file and it should work.
    This is the only solution to this problem as far as I know.

  • Query says master data value is invalid in selection screen.

    Hi,
    I am experiencing an issue that is occurring across many reports in our BW QA system, not just one. My InfoProvider clearly contains data with plant = US33. However, when I run the report and in the selection screen I enter US33 I get the error message saying that the value US33 is invalid.
    If I open the selection box, it even shows US33 as an available option (selections are restricted to values in the infoprovider), but again if I select US33 and click ok I get the same error message saying that the value US33 is invalid.
    If I run the report open the report returns records with plant = US33. However, if I try to filter on plant US33 in the report it returns no data.
    US33 is available in the 0PLANT master data and yes the data is active. I even tried modifying this record and saving it and that didn't work. I also tried reloading the data and still nothing.
    I also tried running tests in RSRT on the 0PLANT master data but there are no errors.
    I can query data in the infoprovider successfully when I select plant = US33 in the BW.
    I suspect that since this is occurring across multiple reports that report off of different infoproviders, that this is a master data or system issue but I can't solve it.
    Please advise.
    Thanks,
    Anthony

    what is the length of 0plant .
    it should be 4 characters with lower case on.
    ensure cases are same in 0plant and report selection screen if lowercase is allowed in plant data.
    if it still gives your problem try to create a new variable on 0plant and use it.
    revert back nothing works..

  • Restricting Query in master detail situation

    I got two tables and three forms 1)master-detail 2)a selection form based on detial table.
    When we enter data in master form i.e deptno want to open a selection form with restricting query only to those records that is entered in master from.
    I want to know how to restrict data in selection form.Bit confusing,
    Thank You,
    Zubyr

    add a parameter to your detail form, and set the default-where property of your block.
    you can reference parameters directly in the where clause of the block:
    deptno = :parameter.deptno
    call your detailform from the masterform with a paramlist
    declare
    xParamlist paramlist;
    begin
    xParamlist := Get_Parameter_List('PARAMLIST');          
    IF (id_null (xParamList)) THEN
    xParamList := create_parameter_list ('PARAMLIST');
    ELSE
    destroy_parameter_list (xParamList);
    xParamList := create_parameter_list ('PARAMLIST');
    END IF;
    Add_Parameter(xParamlist,'EMPNO',TEXT_PARAMETER, :master.deptno);
    call_form('detailform',NO_HIDE,NO_REPLACE,NO_QUERY_ONLY,xParamList);
    end;
    regards

  • Can we duplicate standard query Search Master Agreements and Agreements.

    Hi Experts,
    I have a requirement to hide Agreement Manager and Business Unit & Region result fields in standard Search Master Agreements and Agreements query.
    I have duplicated this standard query and deleted Agreement Manager and Business Unit & Region result fields. Try to run this query but it is giving error.
    Execution Type is Java.
    Query Executor Class: com.sap.eso.contracts.query.SearchAllMAandAgreements
    Error:  SQL Exception: Fail to convert to internal representation, ANSI-92 SQL State: 99999, Vendor Error Code: 17059. Fail to convert to internal
              representation.
    Does anyone have idea about this functionality or how this standard query can be modified.
    Thanks,
    Lava

    Hi Lava,
    There is the Standard Query ODP-ESO-MasterAgreementList
    Duplicate the query and remove the fields from the Result fields whcih you dont want. I think you will get the result required.
    Thanks
    Kushagra A

  • Cannot Change SQL Query in Master page

    I am testing out Flex 3 and when I add a new master
    page and try to click the "Edit Master Page" button to write a query, nothing happens.  Any ideas?

    hello shay,
    no i not use the setWhereClause methode,
    i set the complete sql query (included where clause) from my backing bean!
        public void setSqlQuery4Object(StringBuffer sqlStr){
            ObjectsVOImpl vo =(ObjectsVOImpl)findViewObject("ObjectsVO");                    // Get ViewObject
            vo.setFullSqlMode(vo.FULLSQL_MODE_AUGMENTATION);
            vo.setQuery(sqlStr.toString());
        }i set the vo.setFullSqlMode(vo.FULLSQL_MODE_AUGMENTATION); and my problem are solved.
    is this way correct ??
    Thomas

  • Query - Find Master Records - Doesnt Child Rec

    Hello Experts,
    BANNER
    Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
    PL/SQL Release 8.1.7.4.0 - Production
    CORE 8.1.7.0.0 Production
    TNS for IBM/AIX RISC System/6000: Version 8.1.7.4.0 - Production
    NLSRTL Version 3.4.1.0.0 - Production
    Below is my table - ORG_VALUE
    ITEM_ID  ITEM_TYPE ORG_ID
    1000     TEST      222
    1000     TEST_1    223
    2000     TEST      322
    2000     TEST_1    323
    3000     TEST      222
    4000     TEST      322222,322- Master Org id... 223,323 - Child Org id
    I need to fetch those records which doesnt have child record for particular item in same table.
    E.g; if 1000 item_id for 222 org id, then def. there should be child record 1000 for 223 org_id.
    Similar for 322 and 323.
    OUTPUT
    ITEM_ID  ITEM_TYPE ORG_ID
    3000     TEST      222
    4000     TEST      322Tried the following query...
    SELECT     *
    FROM          ORG_VALUE a
    WHERE      NOT EXISTS (SELECT     1  FROM     ORG_VALUE b
              WHERE      a.item_id = b.item_id
                                and org_id IN (223, 323))
    order by item_id;Is there any other query better than this one>?
    Please help...

    Like this (assuming child org ID always ends with 3)?
      1  WITH d AS (
      2  SELECT 1000 as item_id, 'TEST' as item_type, 222 AS org_id  FROM dual UNION ALL
      3  SELECT 1000,'TEST_1', 223 FROM dual UNION ALL
      4  SELECT 2000,'TEST', 322 FROM dual UNION ALL
      5  SELECT 2000,'TEST_1', 323 FROM dual UNION ALL
      6  SELECT 3000,'TEST', 222 FROM dual UNION ALL
      7  SELECT 4000,'TEST', 322 FROM dual)
      8* SELECT item_id FROM d GROUP BY item_id HAVING(MAX(MOD(org_id,10))) != 3
    SQL> /
       ITEM_ID
          4000
          3000Lukasz

  • Display Title in BEX query for Master Data Field

    Hi All,
    Appreciate if someone can assist me in this.
    When we display query result, we will have results of master data field for as master data and Text, e.g Customer and customer text.
    BEX display:
    Header Line : Customer
    Display Line : 90002011   Mary Kay
                          90002023   John Smith
    For the header Line, we have title 'customer', can we have the title for 'Customer Description' instead of having it as a blank field.
    Appreciate if someone can assist me in this, I cant find this issue posted by anyone.
    Thank you.

    Hi,
    For one object you can not have seperate description for key and text.
    Either you need to have seperate object. Check if your Customer object is having some name attribute then display cutomer key with name attribute so that there will be two object and you may change the description in report display.
    If this is not possible then you may not have dirctly in reporting. You need to stage one more object in staging area with same cutomer field then one you may use as text the other one as key.
    I hope it will help.
    Thanks,
    S

  • WHEN-TREE-NODE-SELECTED need 2 Execute-Query on Master-Detail data block

    I optimize tree using this link
    http://andreas.weiden.orcl.over-blog.de/article-29307730.html_+
    For huge amount of data (Accountings)
    All i need for now is
    WHEN-TREE-NODE-SELECTED need 2 Execute-Query on the data block
    DECLARE
    htree ITEM;
    node_value VARCHAR2(100);
    BEGIN
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
    -- Find the tree itself.
    htree := FIND_ITEM ('BL_TREE.IT_TREE');
    node_value := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  ftree.node_value  );
       GO_BLOCK ('GL_ACCOUNTS');
       set_block_property('GL_ACCOUNTS', DEFAULT_WHERE , 'ACCOUNT_ID ='|| node_value  );
    EXECUTE_QUERY;
    END IF;
    END;The above code is working fine 4 the detail block which is *'GL_ACCOUNTS'*
    when i substitute is Master block which is 'GL_ACCOUNTS_TYPES' it doesn't display all data
    Help is Appriciated pls.
    Regards,
    Abdetu...

    Hello
    In WHEN-TREE-NODE-SELECTED i modified the following code :_
    DECLARE
            htree ITEM;
           node_value VARCHAR2(100);
           parent_node FTREE.NODE;
    BEGIN
      IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN
      -- Find the tree itself.
      htree := FIND_ITEM ('BL_TREE.IT_TREE');
      -- Get the parent of the node clicked on. 
                  parent_node := FTREE.GET_TREE_NODE_PARENT ( htree, :SYSTEM.TRIGGER_NODE );
           GO_BLOCK('GL_TYPES');
                set_block_property('GL_TYPES', DEFAULT_WHERE , 'TYPE_ID ='|| parent_node  );
                  EXECUTE_QUERY;
      -- Get the detail of the parent node
          node_value := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  ftree.node_value  );
               GO_BLOCK('GL_ACCOUNTS');
               set_block_property('GL_ACCOUNTS', DEFAULT_WHERE , 'ACCOUNT_ID ='|| node_value  );     
                   EXECUTE_QUERY;
          END IF;
    END;
    FRM-40350 : Query caused no records to be retrieved but i have records in the data base ...!
    Well, Do u think that's because in ur package i retrieve only the detail block ?
    Regards,
    Abdetu...

  • Query Designer Master data Time Dependent

    Hello
    im with this problem
    i have master data:
    material/till/since/price/description
    1/14.01.2010/01.01.1000/20/Material1-old
    1/31.12.2010/13.01.2010/15/Material-new
    cube:
    material/date/quantity
    1/01.01.2010/5
    1/15.01.2010/20
    in my querty designer, i put the 0calday with selection options
    when i insert for example 01.01.2010
    its couting the "material-new" ( 15*5) it shoudlnt
    it should calculate the old one. (20*5)
    how can i fix it?
    regards,

    Hi Amit,
    At "Query properties" screen, you can define a "Key date".  It can be fixed or it can be calculated from a user-input variable.  If you do not specify one, the default key date value is the date on which the query is executed (today).
    For time-dependent data, the key date determines the time for which the data is selected (material price, in your case).  However, there is only one key date per query.  You can't make it dynamic depending on the value of 0CALDAY in every transactional data record.
    Perhaps you might consider the option of adding 0AMOUNT to your InfoCube, and precalculate the formula quantity*price using an ABAP routine which reads price from InfoObject Q table, filtering by OBJVERS='A' and DATETO/DATEFROM=0CALDAY.
    I hope this helps you.
    Regards,
    Maximiliano

Maybe you are looking for

  • Help, experiencing minor bugs in program

    this is supposed to use rectangles and you should be able to load and save and they have colors and do a few more things with them, the loading is where it doesn't work. *-------------------------------------------------------------- 80 columns ---|

  • Time Machine Backup of NAS

    I have an iMac with OSX 10.0 and a NAS Drobo 5N which has a Time Machine share. It will backup my local machine fine, but how do I get a backup of the NAS folders and exclude the Time Machine folder?

  • How do i create email folders on my i phone 4s

    how do i create email folders on my i phone 4s

  • How to track license

    Hi, I have an account purchased 20 licenses,  I have a question is how to track this license, I don't know which machine have installed this license. Is there have some license server or some software can control all the license which I have used? Th

  • Pricat02 Idoc

    Hi All, what is Pricat02 Idoc? What are the fields and tables related to the Pricat02 Idoc?