Hide Button on User Query

Hi,
When we open a user query, at the bottom of the query list there are some buttons
Is it possible to hide/disable CopyData button ?
Thanks

Yes it is, just get the FormID and the ItemID. BTW, can you please help me on how to use SAP B1 for SAP HANA? Please send me a message, I want to learn SAP HANA on SAP B1.
Example of hiding item :
frmIncomingHdr.Items.Item("1").Visible = False

Similar Messages

  • Glass Pane( preventUserInput when user clicks on Search button in af:query)

    Hi,
    We are using glass pane implementation on a search screen.
    When I click on Search button in af:query component (having selectInputDate (Date Picker) components)., glass pane is firing correctly,
    but second time when I am trying to select date using Date Picker (and Change the Month), glass pane is fired (entering into handleBusyState function) and calendar popup is not opening.
    I folled the below article for implementation.
    url: http://www.oracle.com/technetwork/developer-tools/adf/learnmore/27-long-running-queries-169166.pdf used for glassPane implementation.
    Can any one help me for this issue.

    Hi am using the following code (javascript) -- Jdev(11.1.1.3)
    function preventUserInput(evt){   
    var eventSource = evt.getSource();
    var popup1 = eventSource.findComponent("showGlassPanePopup");
    if (popup1 != null){
    AdfPage.PAGE.addBusyStateListener(popup1,handleBusyState);
    evt.preventUserInput();
    //JavaScript call back handler
    function handleBusyState(evt){ 
    var popup = AdfPage.PAGE.findComponentByAbsoluteId('r3:0:r1:0:showGlassPanePopup');
    if(popup!=null){
    if (evt.isBusy()){
    popup.show();
    } else if (popup.isPopupVisible()) {
    popup.hide();
    AdfPage.PAGE.removeBusyStateListener(popup, handleBusyState);
    ... End of Code..
    This line .. (popup.isPopupVisible()) removes the Popup , if popup is visible...
    If u want the view am using..
    SELECT EMPNO , DEPTNO , HIREDATE FROM EMPLOYEE (sample Application i have created), created a view criteria for this..
    ( (EMPNO = :empNum ) AND (DEPTNO = :deptNum ) AND (TO_CHAR( TO_TIMESTAMP(HIREDATE), 'yyyy-mm-dd hh24:mi:ss.ff') = :hireDts ) ) (View Criteria)
    .. <af:clientListener method="enforcePreventUserInput" type="query"/> (added for af:query)
    Popup Used: <af:popup id="showGlassPanePopup" contentDelivery="immediate">
    <af:dialog id="d2" type="none" closeIconVisible="false">
    <af:panelGroupLayout id="panelGroupLayout1" layout="vertical">
    <af:outputText value="Processing......Please Wait.." id="ot97"/>
    </af:panelGroupLayout>
    </af:dialog>
    </af:popup>
    1. When i click search for first time.. it is showing like -- Processing .. Please Wait'
    2. When i click select Date picker it is show -- Processing .. Please Wait'
    and show a calender popup window.. If we change the month ... it will again show like -- Processing .. Please Wait'
    and it will not open calender window.
    Please Help me on this..Am facing trouble due to this.
    Thanks in Advance.
    Edited by: user10115793 on Nov 15, 2011 12:58 AM

  • How to hide reset button in af-query panel in ADF

    Hello All,
    i am using Jdeveloper version- 11.1.2.0.38.60.17 ,i am facing problem with hiding reset button in "af-Query panel".
    kindly suggest me how to hide it. it's urgent.
    Thanks & Regards
    AbhijeetPS
    Edited by: 967068 on Oct 23, 2012 12:39 PM

    Hello All
    I have solved this problem.
    Go to Query panel properties inspector and set Display mode = simple
    and drag an af- command button outside of the query panel.
    <af:commandButton text="Search" id="cb6" actionListener="#{bindings.Execute.execute}"/>
    Thanks
    AbhijeetPS
    Edited by: AbhijeetPS on Oct 23, 2012 6:38 PM

  • Using command button to select query - WAD 7.0

    Hello all
    Can anyone please tell me how to configure a command button (button group) to display a particular query in WAD 7.0?
    Here's what I mean -
    I have a web template with three queries. I have inserted 3 command buttons on the template. I want to assign one button to one query, so that the users can select which of the three they want to view. Which Command do I select in the command wizard to do this? Also, is it possible to hide the other two queries, when one is selected?
    Thanks
    Karen

    Hi,
    Here is one approach - Keep three analysis items in the WT. Assign three different data providers to all three analysis items. If you do not want to show any query when the WT first loads, don't assign any query to the data providers. When a button is pushed, you can use the command SET_DATA_PROVIDER_PARAMATERS to assign a query to a DP so that that query will show up.
    Other commands that will help you would be SET_ITEM_PARAMETERS using which you can hide analysis items and also, you can use the command BACK_TO_INITIAL_DP_STATE on data providers so that they do not show up if they were blank at the start.
    Another way to hide a query is to assign the analysis item to a data provider which is blank.
    For your requirements, you will have to put multiple commands behind each button - you can decide which of the above commands suit you best.

  • HIde button on events

    Hi,
    Can some body elaborate how to hide buttons on events.
    Regards
    Sameer

    Hi,
    You can use PPR.
    Step 1. create a VO which contains one transient attribute of type boolean
    Step 2. Base button rendered property using SPEL
    Step 3. Initialize your VO for PPR(inintialization includes insertion of one row and set the attribute as True)
    Step 4. In the event handler where you want to hide button just set it false.
    Sample code:
    //Code to hide button
    public void handlePoApproveChangeEvent()
    // Get the special, single-row application properties and make the first
    // (only) row current.
    OAViewObject vo = (OAViewObject)findViewObject("SampleBrowserPVO1");
    OARow row = (OARow)vo.first();
    // Get the value of the view object attribute with the PO Approval
    // status.
    OAViewObject poVO = (OAViewObject)findViewObject("PurchaseOrderHeadersVO1");
    OARow poRow = (OARow)poVO.getCurrentRow();
    String status = (String)poRow.getAttribute("StatusCode");
    // Set the application property values based on the PO Approval
    // status value.
    if ("APPROVED".equals(status))
    row.setAttribute("HideButton", Boolean.FLASE);
    //Code to initialize VO
    public void initializePPRExamplePage()
    // Create purchase order header
    OAViewObject appPropsVO =
    (OAViewObject)findViewObject("SampleBrowserPVO1");
    if (appPropsVO != null)
    // If the VO already has a row, skip its initialization. Note that
    // calling getFetchedRowCount() won't perform a DB hit on a VO with
    // no SELECT and only transient attributes.
    if (appPropsVO.getFetchedRowCount() == 0)
    // Setting the match fetch size to 0 for an in-memory VO
    // prevents it from trying to query rows.
    // Calling executeQuery() is a small workaround to a known
    // BC4J issue that ensures that modified rows in this
    // transient view object are not lost after commit. See
    // View Objects in Detail for additional information about
    // both of these calls.
    appPropsVO.setMaxFetchSize(0);
    appPropsVO.executeQuery();
    // You must create and insert a row in the VO before you can start
    // setting properties.
    Row row = appProposVO.createRow();
    appPropsVO.insertRow(row);
    // Set the primary key value for this single-row VO.
    row = (OARow)appPropsVO.first();
    row.setAttribute("RowKey", new Number(1));
    row.setAttribute("HideButton",Boolean.TRUE);
    // Initialize the application properties VO (and the UI) based on the
    // default PO approval value set on the underlying object.
    handlePoApproveChangeEvent();
    else
    // throw exception
    } // end initializePPRExamplePage()
    SPEL Parameter:
    ${oa.myVOName.HideButton}
    Hope this help, Please refer JDeveloper guide for Topic Dynamic User Interface.
    Regards,
    Reetesh Sharma

  • CHM buttons are not localized in a French project (shows English Contents, Index, Search, Print, Hide buttons)

    I opened an old WinHelp project into my new RoboHelp 7. When
    I generate the CHM, even with the Project Settings in RoboHelp set
    to French and running in a French Windows operating system (MS
    Windows XP Pro 2002 SP 2), the CHM output is still in English. The
    buttons display in English (Contents, Index, Search, Print, Hide
    buttons). The title bar of the CHM also says &quot;HTML
    Help&quot; even though the project title in the Project
    Settings is &quot;Aide en ligne...&quot;.
    My Windows Regional Settings through the Control Panel -
    Regional Options tab is set French (France). On the Languages tab I
    under Text Services and Input Languages, Details button, I selected
    French (France) French. On the Advanced tab I selected French. Then
    I rebooted.
    On the language bar on my Task pane, I selected FR. The CHM
    still displays in English.
    Please help! I have to produce 4 CHMS in languages other than
    English today.
    Thanks!

    GinaL, would you be able to give us an update? Did the CHM
    files look ok on a PC with a true French OS installed?
    To avoid having to rewrite everything, I've written the
    following info/instructions for my team -- though I'm not yet sure
    they're 100% correct:
    After I reported this issue to Adobe, they worked on the
    problem for several days. They even sent me a new
    HtmSingleSourceHtmlHelp.dll file that was supposed to solve the
    problem. But it didn't work correctly. No matter what contortions
    we put ourselves through, we couldn't get both of these items
    correct in the CHM file at the same time, namely:
    Index compiled in correct alphabetical order accdg to the
    language of the help project.
    Correctly translated help title showing in the caption,
    regardless of the user's Windows regional settings. (For example,
    we wanted "FORMS-Hilfe zu FORMS 5-3" to appear as the caption of
    the German version of FORMS help, even if our regional settings
    were set to English.)
    I think we'd all agree that the index has to be in
    alphabetical order. So from what I've seen, this is what we have to
    do when compiling a non-English version of help using RH7:
    1. Set up the project with the foreign name.
    2. Set the language in the project settings. And in the
    Project Settings dialog, click Advanced and check out the LNG File
    tab to make sure it's using a translated version.
    3. Ensure that the Window Caption setting is correct in each
    window included in the project. (On RoboHelp's Project tab, open
    the Windows folder, double-click each window in turn, and check the
    settings.)
    4. Set the Language setting in the HHP file to Language=[hex
    value for that language]. I found a bunch of them listed on this
    web page. Someone else might be able to find a better source:
    https://svn.origo.ethz.ch/scoop/es_scoop_60/library/i18n/locale/nls/i18n_nls_lcid_tools.e
    5. Change your Windows regional settings to the same language
    as the help project. (Reboot if prompted.)
    6. Recommended, for safety's sake: Delete the CPD file.
    7. Open the project and compile using RH7.
    8. Check the index's sort order -- is it in alphabetical
    order according to the language of the project?
    9. Check the help caption -- make sure it's not "HTML Help".
    Note: Any customized buttons in your CHM should appear
    correctly translated, but other buttons (Contents, Index, Search)
    still appear in English -- at least they do on my PC, even though I
    did step 2 above. We need to check whether those buttons appear
    correctly when the PC is actually running a true foreign version of
    Windows, and not just with temporarily adjusted Windows settings.
    OR -- is anyone else able to get these to appear translated in the
    CHM file?
    Does anyone have anything to add? Other solutions? Easier
    procedures? Better results to report?
    Thank you
    Eileen

  • Check Box or  Drow Radio Button on Bex Query

    Hi Experts,
    Does anyone know to how to put a "Check Box" or  "Drow Radio Button" variable on query selection screen?
    The user want to switch the order data between open and completed on a same report by a check box / radio button.
    Thnaks

    Hi Linkzhou,
    Why don't you directly use a var on Actual Delivery Date & include/exclude on # cases to report open/closed shipments.
    Alternatively, You can achieve the same without making changes to backend, if you are ok with using WAD. In WAD 7, you can use a DropDown webitem instead of a RadioButton/Checkbox webitem since you cannot assign a Command on selection from a RadioButton/Checkbox webitem. Also, you would need to design the same in a web template since this will not be made available on your query selection screen.
    In the DropDown webitem, use Data Binding Type -> 'Fixed List of Options' , here you can configure
    Open -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> INCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
    Closed -> under Action use Command 'SET_SELECTION_STATE_SIMPLE', choose your Actual Delivery Date char, Sign -> EXCLUDING, Operator -> Equals, Equals -> Member Name, Member Name -> Direct Input -> # [Not Assigned]
    Now when the user selects Open option from the DropDown webitem, the data provider query will be filtered for open shipments & vice versa for Closed option.
    --Priya

  • Can I run a User Query using SDK?

    Hi I am new to SDK development.
    Can I run a user query using SDK?  what I am after is, when the user clicks a button on my screen, I want to run the user query already in the system.
    If this can be done, does anyone know how to do this? I have not been able to find a way of doing this so far. appreciate any help here.
    Thanks,
    Indika.

    Hi,
    I have an additional question to this thread. Does anyone know a way how to run an user query, and how to pass some parameters to it, so the user doesn't have to write them down manually?
    For example, I add a button on a Bussines partner form and when this button is clicked, I want a query to be started with parameter %1 = businnes partner's code...
    Is there some way how can I do this?
    Thanks
    Bohous

  • In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    In oracle rac, If user query a select query and in processing data is fetched but in the duration of fetching the particular node is evicted then how failover to another node internally?

    The query is re-issued as a flashback query and the client process can continue to fetch from the cursor. This is described in the Net Services Administrators Guide, the section on Transparent Application Failover.

  • Error in User Query

    Hello, I have the following User Query:
    SELECT T.USERID As EmpID, OHEM.FIRSTNAME' 'OHEM.LASTNAME, OHEM.U_RATE AS GeneralRate, T.CARDCODE As CardCode, T.CARDNAME As CardName, SUM(ISNULL(T.APPROVED_HOURS,0)*ISNULL(T.RATE,0)) As BilledAmount, T.GENCHECK AS CheckNumber, OVPM.[CheckSum], OVPM.DOCDATE
    FROM SCCG_WB_TIME AS T LEFT JOIN OHEM ON OHEM.EMPID=T.USERID LEFT JOIN OVPM ON T.GENCHECK = OVPM.DOCNUM
    WHERE ISNULL(T.GENCHECK, 0)<>0 AND <b>T.USERID =[%0]</b>
    GROUP BY T.USERID, OHEM.FIRSTNAME' 'OHEM.LASTNAME, OHEM.U_RATE, T.CARDCODE, T.CARDNAME, T.GENCHECK, OVPM.[CheckSum], OVPM.DOCDATE
    I get an error because of the variable I have. When I press Execute I just get '' (SEWSY) error message in red. Without the variable is working fine. Please help me!
    Thank you,
    Irina

    Hi Irinca,
    I think (can't test it) the problem is the not-system-nor-usertable-but-yours table created in SBO that you're passing the variable (SCCG_WB_TIME, just in case).
    Try something like,
    DECLARE @UserId int
    SET @UserId = (SELECT TOP 1 T0.INTERNAL_K FROM [dbo].[OUSR] T0 WHERE T0.U_NAME = '[%0]')
    ...(your query....)... T.USERID = @UserId...
    HTH,
    Ian

  • Hide Button in Applications WD ABAP Travel Standard

    Dear Experts.
    Please Someone can help me with suggestions for the following issue that I have in this moment:
    I need hide the button "Entrada Nueva" "New Entry" for the component[ fitv_vc_advances|http://img842.imageshack.us/img842/2719/fitvvcadvances.png]
    I found that this is posible using the t.code FITVFELD_WEB that controls the input fields within the portal.
    But I am checking and I don't find this with this t.code for hide this button.
    Thanks in advance,
    Regards
    Carmen G

    Hi,
    are you using ESS in portal?
    you can hide button through iView
    choose iView form Content Management, then preview.
    press "Ctrl" button  (@ button you want to hide) combine with right click of your mouse, then you can set the button invisible.
    hope it helps

  • Is there a way to Hide data from Users in Cubes?

    Hello All,
    Is there a way that I can easily hide data from users. For instance, in the XYZ cube we have data loaded through the year 2005. Is there a way for me to still keep the data in the cube; however, just hide 2005 so when users go in they do not see the year 2005. I know we can set filters and then apply "none" on select members. But the disadvantage with this is the data at the top level shows up as No access and it is only when the users drill down will they be able to see the data. So instead is it possible to hide data with everything else just normal?
    Thanks,
    Ted.

    Celvin Kattookaran wrote:
    With MetaRead Year will show up as "No Access"/Missing for users. http://docs.oracle.com/cd/E12825_01/epm.111/esb_techref/frameset.htm?maxl_meta_read.htm
    Thanks for the reply Celvin, So I understand from the link you posted that when using metaread the data of the ancestors is hidden. However in our case Years data is not getting hidden.:)
    I think this is because Under years we have CY, LY-1, LY-2, LY-3,LY-4,LY-5,LY-6,LY-7 as children. However Only CY Consolidates to Year. So I create a metaread to include CY, LY, LY-1,LY-2,LY-3,LY-4,LY-5,LY-6 members and not LY-7. As a result my Year still includes data as CY is included in the metaread filter.
    So this tells me(please please correct me if am wrong) it is not a must like indicated in the technical reference that data will be missing/No Access for ancestors of the metaread members. Data will be shown as No Access/Missing for an ancestor only if the members the ancestors consolidate from are not included in the metaread! Please let me know if this is right. I have verified it on my end but I would like to know what you think as Tech Reference sounds like "if metaread read filter is used, ancestor data will be hidden" which is not true.
    Thanks,
    Ted.

  • Terms user query Changes in unit price in purchase order and a/p invoice

    Dear sir
         please give me a term user query for , if any changes in unit price in purchase order and a/p invoice

    Hi,
    Try this:
    SELECT  Distinct ' true'
    FROM adoc T2
    JOIN ado1 T0 ON T2.docentry = T0.docentry AND T2.Objtype = '22'
    JOIN por1 T1 ON T1.docentry = T0.docentry AND T1.Linenum=T0.Linenum
    WHERE  $[$38.14.number] != T0.Price
    Thanks & Regards,
    Nagarajan

  • Is it possible to use parameter in a user query with subquery ?

    Hi ,
    i need to use parameter ( [%0] ) in user query using a subquery , but i have errors message when i execute the query 
    example :
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =N'[%0]'
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  =N'[%0]'
    works fine
    but ( exactly the same query in the subquery )
    Select t2.Docnum ,t2.cde , t2.fact from
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =N'[%0]'
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  =N'[%0]'
    ) t2
    return an error message
    the same query without parameter works fine too :
    Select Docnum ,cde , fact from
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  ='C1'
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  ='C1'
    ) t2
    Is it possible to use parameter in a subquery ?
    thanks

    Try this one:
    declare @cc nvarchar(20)
    set @cc=/*Select c.cardcode from OCRD c where c.cardcode=*/'[%0]'
    Select Docnum ,cde , fact from
    SELECT T0.[DocNum] as docnum, T0.[DocTotal] as cde , 0 as fact FROM ORDR T0 WHERE T0.[CardCode]  =@cc
    union all
    SELECT T0.[DocNum], 0 as cde,T0.[DocTotal] as fact FROM OINV T0 WHERE T0.[CardCode]  =@cc
    ) t2

  • Viewlink between Custom VO "Cannot set user query to view"

    We have an application where we have extended custom VO and EO’s to get data from flat files. It all looks fine till we create a viewlink for a LOV with two related VO’s. The viewlink VO fails we get message of the form -Cannot set user query to view "CustomVO1" because it is a destination in a view link”. Are there any methods to override in the custom VO/EO or any parameter to be added to configs. Has someone tried this out

    Thanks for the update and for sharing the solution!
    Regards,
    Hussein

Maybe you are looking for

  • Indicator for Generic Object Services

    We are planning to use the Generic Object Services functionality to attach Word, Excel or PDF files to existing documents in SAP. Our plan is to use this in Accounts Receivable. The issue we have is when we are looking at the open items for a custome

  • How can i submit a podcast through soundcloud?

    I started a internet radio station and it records it as a mp3. When i'm done editing i put it on soundcloud but i'm not quite sure how to upload it from soundcloud to itunes. Does anyone know how to do this?

  • Video Wont Load To ipod!

    please help me i bought quicktime pro for the sole purpose of putting videos on my itunes to play on my ipod i spoke with a support agent about putting videos into your itunes how they had to go thru the quicktime eport into itunes to fit the ipod we

  • Easy DMS 6.0

    Hi, with the function "Z_EASYDMS_FUNCT_CALLED" it is possible to react on additional entries of the context menu. I want to call a transaction where i need the gui (p.ex. transaction CV03N) but this is not possible due to the restricted rfc-call i th

  • Goods Reciept With Excise

    Dear All,          When i am doing GR with capture and Post of Excise details.The value is not getting picked up for E Cess but Excise duty is getting picked up..       I maintained the Condition recorrd for E Cess and picked the Respective Tax Code