Change attribute on cancel query

Dear all,
I have a block emp, its CURRENT_RECORD_ATTRIBUTE is set to NORMAL_ATTRIBUTE.
I want to change the attribute to ENTER_QUERY_ATTRIBUTE when the user put the form into ENTER_QUERY mode,
i did it from KEY-ENTQRY,
If the user cancel the query, i want to change the current_record_attribute back to NORMAL_ATTRIBUTE.
IS THERE ANY KEY TRIGGER EXIST FOR CANCEL QUERY?
THANKS & REGARDS

use the KEY-EXIT-trigger.
Another option would be to use a WHEN-NEW-RECORD-INSTANCE-trigger and check SYSTEM.MODE

Similar Messages

  • How to display attributes in the query

    Hi frnds,
    I want to show the attributes of material ( mat group , mat type ), vendor ( Sort field ) in the report.
    We loaded master data for material and vendor.
    I dragged the char and the relevant attributes in the query designer and executed the query. But in the output the attributes values are not displayed.
    What could the reason ?
    Regards,
    V N.

    Hi all,
    Thanks for the reply.
    "Display attributes will also get displayed if you include the infoobject for which they are attributes."
    Suppose for 0vendor the attr is 0sortl. By defualt it is display attr. I dragged in the query the 0vendor and its attr 0sortl  and executed. It didnot displayed any values for this 0sortl
    I changed it to Nav Attr. And rerun the query, it is displaying values.
    In the first case i included Display attr and the infoobject for which it is attr in the query. Please explain me why it didnot displayed the values.
    And after changing it to Nav attr it displayed the values.
    Please explain me what happened actually.
    Regards,
    V N.

  • Cancel Query not working

    Problem Summary
    Cancel Query not working on 11.5.10
    Problem Description
    While finding orders, window pops up the cancel query but when user tries to click the cancel button, query does not cancel.

    jemar98 wrote:
    Problem Summary
    Cancel Query not working on 11.5.10
    Problem Description
    While finding orders, window pops up the cancel query but when user tries to click the cancel button, query does not cancel.Please post the details of the application release, database version and OS.
    Was this working before? If yes, any changes been done recently?
    Please review (Canceling Long Running Queries in Oracle Applications 11i [ID 138159.1]) and make sure you complete all the steps.
    Thanks,
    Hussein

  • ADF BC : "Attributes selected in query with no column type found! ..."

    hi
    Using JDeveloper 10.1.3.3.0, I have this "Selected in Query" attribute, "Never" updatable, in my Entity Object.
    The Entity Object is based on the SCOTT.EMP table and the attribute, called "BonusInfo", is defined using the expression " '[bonus info ' || (SAL * 2) || ']' ".
    see http://verveja.footsteps.be/~verveja/files/oracle/NoColumnTypeFoundApp-v0.01.zip
    While creating this Entity Object, I got a "Business Components" dialog that says:
    "Column type is not specified for this attribute. Specifying column-type and precision results in better query performance at runtime. Do you wish to set column type to VARCHAR2(255)?"
    I clicked "Yes".
    I also created two View Objects based on this Entity Object.
    In the "Create View Object" wizard "Step 4 of 7: Attribute Settings" I got a "Business Components" diaglog that says:
    "Attributes selected in query with no column type found! Specifying column-type and precision results in better query performance at runtime. Do you wish to set default column type for these attributes?"
    I clicked "Yes".
    Testing the query in "Step 5 of 7: SQL Statement" showed "Query is valid.".
    question:
    Why do I keep getting the message ...
    "Attributes selected in query with no column type found! Specifying column-type and precision results in better query performance at runtime. Do you wish to set default column type for these attributes?"
    ... in the View Object Editor if I click on different attributes?
    (I don't get such a message the first time I click on an attribute after opening the View Object Editor, but after that it keeps popping up each time I click on a different attribute, no matter what I answer "Yes", "No" or "Cancel".)
    many thanks
    Jan Vervecken

    Jan,
    BC needs the column type and precision so that we can allocate the correct JDBC buffer size; otherwise we would just allocate 2k per string.
    Blaise

  • Attributes selected in query with no column type found! (solved)

    Dear JHeadstart Team,
    In the view object Editor I have two entity based attributes attrib1 and attrib2
    both with type Number. Both have aliases with type number(9,0)
    If attrib1 is null I want to have the value of attrib2.
    In the expression box I put: nvl(attrib1,attrib2)
    When I press the ok button I get the next error message.
    "Attributes selected in query with no column type found!
    Specifying column-type and precision results in better query performance at runtime.
    Do you wish to set default column type for these attributes? "
    When I say ok I get the next message:
    "An error occurred. Unable to apply all the wizard changes.
    Column type cannot be changed for Entity based attribute.
    Exception: oracle.jbo.dt.objects.JboExeption."
    The details button serves no extra information.
    Since both the attributes have the same type I thought the nvl commando should work.
    But what does the "no column type found" sentence mean?
    regards,
    Marcel.
    Message was edited by:
    user571204

    Thanks Jan,
    You've put me on the right track.
    I found out that this is only possible in the entity object class.
    So I have to check my limited java skills.

  • CHANGE ATTRIBUTES DYNAMICALLY

    hi,
    Explain me how to change attributes of the object dynamically?
    sarath

    hi sarath,
          Hope u have queried regarding screen attributes..
      u can use the loop at screen for changing the attributes dynamicaly..
    r1 type radiobutton group a.
    loop at screen.
    screen-name = 'R1'.  " r1 is field name make sure u write in caps
    screen-input = 0.
    screen-invisible = 0.
    endloop.
    u can check SCREEN table in se11 u can get the attributes which u can change dynamically..so use the syntax SCREEN-ATTRIBUTE NAME....
    hope i have answered u..
    regards,
    Rajkumar.G

  • Manager is not able to change attribute

    Hello SRM Guru,
    As per my knowledge Managers can change the attributes defined for their organizational unit(s) or for users in their organizational unit(s) using the Web application Changing Attributes BBPATTRMAINT. In my case manager is only able to only change attributes defined for their organizational unit(s) not for the users in the organizational unit(s).
    Could you please suggest what could be the setting I am missing? I have also tried with standrad manager and administrator role.
    Thanks,
    Jack

    Jack
    It seems that you are trying to change the attribute value which is inherited.
    If the user attributes are inherited from the parent org unit level, then you cannot change them at user level. You need to go to the parent level where attributes are set and change there. This will affect to all levels down the line wherever inherited. Be careful while doing this.
    If you do not want those attributes to get inherited down the line then remove the value at parent level. Then you can add new value to that attribute at the user level.
    Regards
    Jagdish

  • Where to get BW Metadata: owner, creation date, change date of a query / WS

    Hello,
    I need a report over the existing queries / worksheets and the owner, creation date, change date of a query etc.
    You see some of the information when you go over query properties in the query designer. But you see only the information of one (the opened) query. And you have to do this for every query ...
    My idea is to go over BW Metadata in the technical content.
    Here is the cube BW Metadata 0BWTC_C08
    (The InfoCube BW Statistics u2013 Metadata contains metadata from the Metadata Repository.)
    Is this the way to do it? Or any other suggestions u2026
    Can I get infos about used structures , etc over this way
    Thanks Markus

    I had to work on an other subject:
    But now the source of information is clear:
    RSRREPDIR - index of all queries
    RSZELTDIR -  index of all queries-components
    RSRWORKBOOK - Verwendungsnachweis für Berichte in Workbooks
    RSRWBINDEX - List of binary large objects (Excel workbooks)
    RSRWBINDEXT - Titles of binary objects (Excel workbooks) in InfoCatalog
    The tables are to join over
    RSRREPDIR.COMPUID  = RSZELTDIR.ELTUID
    RSZELTDIR.TEXTLG  contains the description
    RSRWORKBOOK.GENUID  = RSRREPDIR.GENUID
    RSRWBINDEXT and RSRWBINDEX are connected over WORKBOOKID
    I'd like to put the information of all of this tables in a cube and define a query on it.
    I have to define new datasource, infosource to get the data in the cube.
    Right?
    Now i see some existing datasource objects in the technical content.
    0TCTQUERID, 0TCTQUERID_TEXT, 0TCTQUERY, 0TCTQUERY_TEXT
    I can't open them to look in. But they might be helpfull. Anybody used them?
    Markus

  • STO-Handling units have been changed. No cancellation possible

    Hi All,
    I am getting the following error while doing the cancellation of outbound delivery in VL09.
    Handling units have been changed. No cancellation possible
    Message no. HUDIALOG304
    The Business Process:-STO(mov type 641) from Plant 1000 to Plant 2000
    ME21N->VL10B->HU02->VL02N(Assigning HU and PGI)->VF01(Proforma)->J1IIN(Excise)->MIGO(w.r.t Outbound Delivery)
    -> VL32N(PGR-Post goods receipt).
    Now i want to reverse the outbound delivery..
    For this I cancled the PGR in VL09(for Inbound delivery) and removed the assignment of HU then deleted the Inbound Delivery.
    Then cancelled the outgoing excise invoice.
    In VL09 for outbound delivery i am getting the error.
    Handling units have been changed. No cancellation possible
    Message no. HUDIALOG304
    Kindly guide me
    with regards
    Azeez.Mohd

    For this the solution is we need to do STO proces in reverse direction.
    i.e from receiving plant to supplying plant.
    So i am closing the issue.
    With Regards
    Azeez.Mohd

  • Operation ' Change Attribute TSTATE ' could not be carried out for Request

    hi,
    i am unable to delete the request Id  from  DSO. and when i checked that, it says request is partially activated(error occured during the activation)
    and when i checked the logs i got the following error messages:
    Operation ' Change Attribute TSTATE ' could not be carried out for Request 609249
    Termination in problem report 'RSS2_DTP_RNR_SUBSEQ_PROC_SET' in row '      361'
    i even thought it was BASIS issue but it was not.
    due to this error the process chain is failing daily
    kindly help
    regards
    laksh

    hi arvind,
    i tried using the both the methods you had mentioned, i am able to delete the request at that moment but its again coming back, i think as it is a partially activated request so may be that is why it is happening
    but the problem is still there
    regards
    Laksh

  • Operation ' Change Attribute TSTATE ' could not be carried out

    Hi All,
    When I attempt to compress an infocube I get the following error messages:
    @5C\QError@     Operation ' Change Attribute TSTATE ' could not be carried out for Request 1114486
    @5C\QError@     Termination in problem report 'RSS2_DTP_RNR_SUBSEQ_PROC_SET' in row '255'
    I checked the request 1114486 in infocube and saw that its status is green however the overall status in the load monitor was "deleted".
    How can I fix the problem with this request ?
    It is a very old request and it was already uploaded to several other targets.
    Thanks in advance..
    Berna

    hi,
    It can be due to large data volume which might require more system resources then usual, see if there is any dump related to this in ST22, Also check whether any request is currently running on cubefor data  loaded to cubeor getting load to further targets
    try compression for less requests say 3 or 4, see if it works or not
    hope it helps
    regards
    laksh

  • Change Font size of Query Title in PDF Output

    Hi Experts
    I want to change font size of Query title when its exported to PDF format .
    I change the text properites     to  Header size 1 ,  but still its not reflected in Output in PDF .
    Any suggestions,
    Regards,
    Jawad

    Hello Jawad,
    Please tell me the solution for this.

  • XML attributes makes my query return no rows

    Hello everyone,
    I've an odd problem.
    I'm querying some XML, but the attributes in one of the tags make my query return no rows; if I remove the attributes, then the query works as expected.
    The XML is below; it's the attributes in the Report tag that cause the issues:
    <result errorCode="0">
         <return>
              <Report
                   xsi:schemaLocation="Items_x0020_status_x0020_information http://******-****/ReportServer?%2FReports%2FContent%20Producer%20Reports%2FItems%20status%20information&amp;rs%3AFormat=xml&amp;rc%3ASchema=True"
                   Name="Items status information" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                   xmlns="Items_x0020_status_x0020_information">
                   <Tablix1>
                        <Details_Collection>
                             <Details ItemId="914P7" Username="test" user_role="IT"
                                  first_name="Barry" last_name="Donovan" organisation=""
                                  content_format="On_Screen" modified_date="26/05/2011 13:16:49"
                                  item_status="Draft" status_date="" component_name="" demand="" />
                        </Details_Collection>
                   </Tablix1>
              </Report>
         </return>
    </result>My query is:
         select
                a.item_id
               ,a.username
               ,a.user_role
               ,a.first_name
               ,a.last_name
               ,a.supplier_id
               ,a.format
               ,a.modified_date
               ,a.item_status
               ,a.completion_date
               ,a.component_code
             from   dual
                   ,xmltable
                    ('/result/return/Report/Tablix1/Details_Collection/Details'
                       passing p_xml
                       columns
                          item_id         varchar2(1000) path '@ItemId'
                         ,username        varchar2(1000) path '@Username'
                         ,user_role       varchar2(1000) path '@user_role'
                         ,first_name      varchar2(1000) path '@first_name'
                         ,last_name       varchar2(1000) path '@last_name'
                         ,supplier_id     varchar2(1000) path '@organisation'
                         ,format          varchar2(1000) path '@content_format'
                         ,modified_date   varchar2(1000) path '@modified_date'
                         ,item_status     varchar2(1000) path '@item_status'
                         ,completion_date varchar2(1000) path '@status_date'
                         ,component_code  varchar2(1000) path '@demand'
                    ) a;I've tried stripping out the attributes in the tag, which does work, but some of the XML I'm expecting back may be quite large (many records), so that caused issues in itself. I'd rather deal with it and not mess with the XML itself if possible.
    Any help would be hugely appreciated!
    Thank you very much in advance.
    Robin
    Edited by: User_resU on Apr 12, 2012 2:50 PM

    Example:
    SQL> ed
    Wrote file afiedt.buf
      1  with t as (select xmltype('<result errorCode="0">
      2     <return>
      3             <Report
      4                     xsi:schemaLocation="Items_x0020_status_x0020_information http://******-****/ReportServer?%2FReports%2FContent%20Producer%20Reports%2FItems%20status%20information&amp;rs%3AFormat=xml&amp;rc%3ASchema=True"
      5                     Name="Items status information" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      6                     xmlns="Items_x0020_status_x0020_information">
      7                     <Tablix1>
      8                             <Details_Collection>
      9                                     <Details ItemId="914P7" Username="test" user_role="IT"
    10                                             first_name="Barry" last_name="Donovan" organisation=""
    11                                             content_format="On_Screen" modified_date="26/05/2011 13:16:49"
    12                                             item_status="Draft" status_date="" component_name="" demand="" />
    13                             </Details_Collection>
    14                     </Tablix1>
    15             </Report>
    16     </return>
    17  </result>') as xml from dual)
    18  --
    19  -- end of test data
    20  --
    21       select
    22              a.item_id
    23             ,a.username
    24             ,a.user_role
    25             ,a.first_name
    26             ,a.last_name
    27             ,a.supplier_id
    28             ,a.format
    29             ,a.modified_date
    30             ,a.item_status
    31             ,a.completion_date
    32             ,a.component_code
    33           from   t
    34                 ,xmltable
    35                  (xmlnamespaces('Items_x0020_status_x0020_information' as "x0"),
    36                   '//x0:Report/x0:Tablix1/x0:Details_Collection/x0:Details'
    37                     passing xml
    38                     columns
    39                        item_id         varchar2(1000) path '@ItemId'
    40                       ,username        varchar2(1000) path '@Username'
    41                       ,user_role       varchar2(1000) path '@user_role'
    42                       ,first_name      varchar2(1000) path '@first_name'
    43                       ,last_name       varchar2(1000) path '@last_name'
    44                       ,supplier_id     varchar2(1000) path '@organisation'
    45                       ,format          varchar2(1000) path '@content_format'
    46                       ,modified_date   varchar2(1000) path '@modified_date'
    47                       ,item_status     varchar2(1000) path '@item_status'
    48                       ,completion_date varchar2(1000) path '@status_date'
    49                       ,component_code  varchar2(1000) path '@demand'
    50*                 ) a
    SQL> /
    ITEM_ID
    USERNAME
    USER_ROLE
    FIRST_NAME
    LAST_NAME
    SUPPLIER_ID
    FORMAT
    MODIFIED_DATE
    ITEM_STATUS
    COMPLETION_DATE
    COMPONENT_CODE
    914P7
    test
    IT
    Barry
    Donovan
    On_Screen
    26/05/2011 13:16:49
    Draft

  • How to change the font in query builder window in Reports 6i?

    Hi
    I am facing the old problem again and again, which is I can not find any way to change the font in query builder window in Reports 6i. The current font is so bad for alignment and ordering each part of SELECT statement. Is there any way to change this to COURIER NEW for example?

    No, but I suggest using a different editor which does allow a different text option and just pasting it in.

  • Problem in BW system while tranporting a change in a Bex Query

    Hi All,
    I am facing a problem in BW system while tranporting a change in a Bex Query. Actually on our BW system our Client team works as well. I have done started doing some change in query in dev. I have created bex transportable request
    I want to transport a change in bex query. I am doing that dev work. usually i create a request in RSA1->tranport connection-> drag a query to a bex transportable request which I have already created. But the problem is my client also want to work on the same query for another change. so he is asking me to release the request or delete the request.. Is there any otherway that I can do the transports without conflicting with Client.
    Regards.
    haaris

    Hi Harris,
    A transport request if is BEx transport request (i.e. a request which is assigned as BEx transport request in transport connection) allows multiple users to work on same query.
    Instead of deleting your request, you could assign it as a BEx transport request in transport workbench and your client can also make changes under the same request without adding him under the request. It will also be better as all the changes made to one query will be onder one request.
    Please let me know if you need any more help.
    Regards,
    Pankaj

Maybe you are looking for