Show Item depending on two conditions

Hello,
I have an item which have to display conditions.
How can I realize this combined display option?
The same problem I have for the computation.
The computation depends on two conditions.
Is there a possibility to realize this in ApEx?
Thanks in advance
Ulrike

That does work for simple cases, but sometimes I have a more complicated set of conditions. If I'm just checking against data values on whether or not to display something, it's easy using PL/SQL. But I have a situation where I'm deciding whether or not to display something based on data values and whether or not the page is printer-friendly.
Is there a way (api?) in PL/SQL to get at the values for printer-friendly and other conditions? If so, that would be keen. I've looked in the docs, but haven't found something like that yet. Maybe I'm looking in the wrong place?

Similar Messages

  • F-32 ( User Exit / BTE ) Remove line items depending on condition

    Hi Gurus,
    When i run F-32 transaction, before the line items are displayed  I need to remove certain line items depending on some condition.
    Is there any user exit or BTE to do that ?
    Avi

    Hi,
    Try any of the below,
    Customer-exit
    SAPLF051
    RFKORIEX
    RFEPOS00
    RFAVIS01
    FEDI0001
    FARC0002
    F180A001
    F050S001
    F050S002
    F050S003
    F050S004
    F050S005
    F050S006
    F050S007
    Business Add-in
    FI_RES_ITEM_CURRENCY
    FI_TRANS_DATE_DERIVE
    BADI_ENJ_ALT_ADR
    BADI_F040_SCREEN_600
    BADI_FDCB_SUBBAS01
    BADI_FDCB_SUBBAS02
    BADI_FDCB_SUBBAS03
    BADI_FDCB_SUBBAS04
    BADI_FDCB_SUBBAS05
    RFESR000_BADI_001
    BADI_MIRO_SPLT_ADD
    BADI_PRKNG_NO_UPDATE
    FVFZ
    INVOIC_FI_INBOUND
    AC_QUANTITY_GET
    F050S008
    ADJUST_NET_DAYS
    FBAS_CIN_LTAX1F02
    FBAS_CIN_MF05AFA0
    FISPLIT
    FI_AUTHORITY_ITEM
    FI_DOC_DISP_LI
    FI_FB08_SUBST_BUDAT
    FI_GET_INV_PYMT_AMT
    FI_HEADER_SUB_1300
    FI_PAYREF_BADI_010
    Regards,
    Umang mehta

  • OIM11gR2 show items in catalog based on certain condition

    Hi All,
    Is there a way to show the catalog items based on some condition?
    Eg: Users having only "Role A" can see some entitlements or other roles.
    Any pointers are appreciated.
    Thanks
    Vicky

    You can take guidance from this: http://www.ateam-oracle.com/oim-11g-r2-ui-customization-tips-and-tricks/
    -Bikash

  • How to combine two conditions :  Exists and Item not null ?

    Hello !
    I have a flash chart region that I would like to display only if two conditions are both true.
    The first condition is this one :
    Exists (SQL query returns at least one row) :
    select 1
    from    observatoire.fiche aa, observatoire.activite_faite bb
    where   aa.fiche_id = bb.fiche_id
    and     bb.fiche_id = aa.fiche_id
    AND     bb.activites_id = TO_NUMBER(:P23_ACTIVITES_ID)
    AND     TRUNC(aa.date_activite, 'YYYY') = TRUNC(TO_DATE(:P23_ANNEE, 'YYYY'), 'YYYY')And the second condition would be :
    Item not null :
    P23_ACTIVITES_IDHow to combine these two conditions into one display condition ?
    Thank you .
    Christian

    Hello,
    The issue is that you're doing -
    TO_NUMBER(:P23_ACTIVITES_ID)When you leave the Null return value blank like that, you'll typically see '%null%' used in session state (i.e. it's not actually null). Obviously '%null%' can't be converted to a number, hence the error you're seeing.
    A simple solution would be to make your null return value -1 or some other value that is guaranteed not to be a valid id (and alternative is to convert the %null% to a real null via an App/Page process etc (if you search this forum you'll find a few examples on how to do that). Another alternative is to use a DECODE to detect the '%null%' etc.
    Hope this helps,
    John.
    Blog: http://jes.blogs.shellprompt.net
    Work: http://www.apex-evangelists.com
    Author of Pro Application Express: http://tinyurl.com/3gu7cd
    REWARDS: Please remember to mark helpful or correct posts on the forum, not just for my answers but for everyone!

  • Showing Items with no transactions

    I am trying to build a report that will show us items with potentially incorrect item status.  Item status (on table itmmas) is either A(ctive) or I(nactive).  The report should show all Inactive items which have had at least one transaction in the past 4 weeks AND active items which have had no transactions in that period.
    My plan is to join the item master table to the item ledger table (itmldg) which lists all inventory transactions.  I can show the inactive items with transactions without a problem.
    What I can't figure out is how to show items with Active Status that don't have any transactions.  I can't get CR to return a data set which includes ALL records from itmmas but only those from itmldg in the last 4 weeks.  I tried this SQL query:
    SELECT itmmas.itmiid, itmmas.itmdes, itmmas.itmsts, itmldg.ilgdno, itmldg.ilgdat
    FROM {oj itmmas  LEFT OUTER JOIN itmldg ON itmmas.itmiid = itmldg.ilgiid}
    WHERE (itmldg.ilgdat>={d '2009-09-01'})
    When I run this query in MS Query and return the results to Excel, I get single lines for items with no transactions.  For these items, the fields from itmldg are NULL.  When I run this query in CR, I don't get any data for items with no transactions.
    Can anyone think of a way to get this to work?

    The issue that you have is that the WHERE clause in your SQL statement is only looking at an itmldg table field for a value.  This is effectively making your Left Outer Join an Inner Join, because when an itmmas record does not have an itmldg record, the date field will be NULL.  You have to add the condition "OR itmldg.ilgdat is null".
    If you want to return ONLY the records that the report is interested in (which should have beter performance), change the SQL to
    SELECT itmmas.itmiid, itmmas.itmdes, itmmas.itmsts, itmldg.ilgdno, itmldg.ilgdat
    FROM {oj itmmas LEFT OUTER JOIN itmldg ON itmmas.itmiid = itmldg.ilgiid}
    WHERE ((itmldg.ilgdat>={d '2009-09-01'}) and (itmmas.itmsts = 'I'))
      or  ((itmldg.ilgdat is null) and (itmmas.itmsts = 'A'))
    HTH,
    Carl

  • Two conditions in a report

    Hello,
    I have a reports with few key figures, for one of regular key figure and formula key figure need to create two conditions. 1st condition needs to bring values greater than X values (example 20) from regular key figure. 2nd condition should bring top 10 values from formula key figure. 2nd condition should only show top 10 from list of 1st condition.  Can this scenario achievable in 3.x query designer? Any help greatly appreciated!
    Regards,
    JayPee

    Hi, You can have multiple Conditions in a Query wherein each Condition is evaluated independently, however the order matters. Hence, have;
    - first condition on the KF where > some fixed value
    - second condition on the same KF where the Top N operator is used where N is obtained from a Formula Var using Manual I/P
    for more on Conditions, refer below links
    http://help.sap.com/saphelp_nw04/helpdata/en/1e/7875a998bc44409f6002e28552685a/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/86/dfc405ab60524ea0d3e89db15fb2e7/content.htm
    --Priya

  • Formated Search: Auto refresh with two conditions.

    Hi,
    I've created a Formated Search in one of my column.
    I defined my formated search as :
    - Auto refresh "When Exiting Altered Column" Item No.
    - Display Saved Values.
    Now how can I make it Auto refresh with two conditions?
    - Auto refresh "When Exiting Altered Column" Item No.
    And
    - Auto refresh "When Field Changes" Customers/Vendor Code.
    - Display Saved Values.
    Is there any way to make it work?
    Thanks In Advance.
    Bruce.

    Hi Bruce,
    You could try this trick.
    You need to execute SELECT1 in Col1 when Item No. column is altered or the Customer code is changed.
    Then, in the Item No. column asign a new Formatted Search which selects the Item No. column value (Its value) when the Customer code is changed.
    And in the Col1 asign a formatted search that acts when the Item No. column is altered.
    I think this should do the trick.
    Let us know if works.
    Regards,
    Ibai Peñ

  • Show Items in Subfolders

    About two months ago I noticed that Adobe Bridge was not showing all of my files.  If I check "Show Items in Subfolders" they appear (or if I search for them).  I know I can go check this option every time I use Bridge but since I'm in it constantly, it is really a pain.  I'm not sure why this is happening because there are NO subfolders in this folder!  Any clues to this seemingly strange behavior would be greatly appreciated!

    Well, I have no folders within this folder only files.  And some files show up without having the subfolder option chosen and some do not.  All are the same type of file also.  Oh, well, maybe I'll figure it out or maybe I'll just have to live with it.  Thanks.

  • Toolbar button/hotkey for "show cover page in two page view" in Acrobat X?

    In Acrobat X, how about make a toolbar button/hotkey for "show cover page in two page view"?  I find toggling this option to be useful for changing up the order of adjacent pages in magazines/books in which a two page spread has to match for a full large picture.  Due to frequent toggling, I would like a button/hotkey for this for easier access.

    Hotkeys for existing menu items are not modifiable, but you can add a scripted button which toggles it with the following code:
    if (layout.substr(-5)=="Right") layout = layout.replace("Right","Left");
    else layout = layout.replace("Left","Right");
    For info on how to add a button with a folder-level script, see the Acrobat SDK documentation. Scripted buttons will appear in a new panel on the tools pane in Acrobat X, not on the tool bar.

  • How to set two Conditions Simultaneously in set where clause

    Hi,
    I have a messgechoice item , and i need to fire messagechoice VO with two conditions.
    For Eg:-- we have three Items ProjectContractor& Work Order on a custom Page , now i need work order list should populate on lelection of project & contractor both, so i have apply a fire partial event on contractor where i i get the parameter values as follows:--
    CO Code
    if("OrderNoself".equals(event))
    String value21 = (String)pageContext.getParameter("ProjectName");
    System.out.println("The Selected Project Name for self Contractor is "+value21);
    String value22 = (String)pageContext.getParameter("ContractorName");
    System.out.println("The SelectedContractor Name for ContractorName is "+value22);
    Serializable [] params11 = {value21,value22} ;
    am.invokeMethod("initWorkOrderNumberself",params11);
    AM Code
    public void initWorkOrderNumberself(String ProjectName,String ContractorName");
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME = " + "'"+ProjectName+"'");
    getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    getDprWorkOrderpopVO1().executeQuery();
    Now when i run my form then Work order list only populateon set conditions ofContractor NAme only.
    Please suggest....

    Hi Tarun,
    Thanx for ur reply,
    i have used below mwntioned code provided by you but still i m getting error...
    public void initWorkOrderNumber(String ProjectName,String ContractorName)
    //getDprWorkOrderpopVO1().setWhereClause("CONTRACTOR_NAME = " + "'"+ContractorName+"'");
    //getDprWorkOrderpopVO1().executeQuery();
    getDprWorkOrderpopVO1().setWhereClause("PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2");
    getDprWorkOrderpopVO1().setWhereClauseParams(null);
    getDprWorkOrderpopVO1().setWhereClauseParam(1,ProjectName);
    getDprWorkOrderpopVO1().setWhereClauseParam(2,ContractorName);
    getDprWorkOrderpopVO1().executeQuery();
    ERROR:---
    oracle.apps.fnd.framework.OAException: oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT * FROM (select * from omaxe_work_order_headers
    where work_order_number is not null) QRSLT WHERE (PROJECT_NAME =:1 AND CONTRACTOR_NAME=:2)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:888)
         at oracle.apps.fnd.framework.OAException.wrapperException(OAException.java:862)
         at oracle.apps.fnd.framework.OAException.wrapperInvocationTargetException(OAException.java:985)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:210)
         at oracle.apps.fnd.framework.server.OAUtility.invokeMethod(OAUtility.java:152)
         at oracle.apps.fnd.framework.server.OAApplicationModuleImpl.invokeMethod(OAApplicationModuleImpl.java:721)
         at omaxe.oracle.apps.xxopa.boqmain.webui.OmaxeDPRCO.processFormRequest(OmaxeDPRCO.java:107)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:799)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1118)
         at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:995)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:961)
         at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:816)
         at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:363)
         at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363)
         at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:2633)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1659)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:497)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:418)
         at OA.jspService(OA.jsp:40)
         at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56)
         at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:317)
         at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:465)
         at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:379)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
         at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:727)
         at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:306)
         at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:767)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:259)
         at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:106)
         at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:803)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    java.sql.SQLException: ORA-01006: bind variable does not exist
    Regards
    Saurabh

  • Hide a Item Depending on the Particular valve

    Hi All-
    I have 2 valves(consider valve A and valve B in this case). When the form shows Valve A a text item should show. When form shows Valve B text item should not show(it should hide from the form). I know I have to give a condition for this Item but I am not sure what to give.
    Appreciate your help,
    Regards,
    Nani (Apex Version 3.2).

    Do you mean VALUE ( as apposed to Valve, unless you are doing plumbing instead of APEX development)...
    You would modify the text item you want displayed/not displayed.. When the item holding Value A or B, in the text item setup, find the conditions area, in there, select the Value of Item in expression 1 = value of item in expression 2.. Here you would have the item holding A or B be in expression 1 and the value that allows item to display in expression 2..
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • Make changes to the line item depending upon doc type n sp. GL ind in F-48

    I want to make changes to the line item depending upon the document type and special GL indication for the transaction code F-48.
    Depending upon document type and special GL indicator i want to calculate the work contract tax during simulation in transaction code F-48.

    Hi,
    You want to deduct WCT when you use particular document type and special gl indicator.
    I just want to know the reason why you want to determine the WCT based on the above conditions.
    I created WCT as withholding tax types and assigned to vendor master. So when the user booking transactions he will choose the respective WCT tax type and tax code so system will deduct the amount and the same updated in WITH_ITEM.
    Or you made a down payment request through T.code F-47 and when you want to book the actual transaction in F-48 then choose line item from down payment request.
    Give me your requirement in clear if the above is not clear
    Regards,
    Sankar

  • Show Cover Page during Two-Up - Hotkey or Button?

    Hi,
    I find myself toggling this setting (in Acrobat Pro 8.1) on and off all the time: Menu "View", "Page Display", "Show Cover Page during Two-Up".
    That's because I often read PDF editions of magazines where the full-page ads have been left out, thus the order of odd/even pages changes all the time while browsing. But there are graphics, tables and text boxes spanning two opposite pages, so the adjustment is indispensable...
    Clicking through to a nested submenu item can get so tedious over time!
    So, here are my questions:
    Is there a hidden keyboard shortcut for this function?
    Or is there a way to add a user defined button to a toolbar?
    Or macros? Some other trick to make life easier? :)
    If not, does Adobe accept enhancement suggestions and where?
    Thank you in advance
    Hans

    Is there a way to do this from Acrobat Reader within a browser window? I often find myself having to save a PDF to my desktop only to open it in the standalone version of Acrobat because I don't have any access to the View menu while in Adobe Reader within a browser.
    thanks in advance
    Marty

  • Bridge Freezes when Show Items From Sub Folders

    Hi all. I am trying to create a portfolio of past works. Using Adobe Bridge and Show Items From Sub Folders makes it easy to go through thousands of files. One major problem though; Bridge is not stable. When I try to view a folder with thousands of files Bridge will freeze and I have to force quite.
    I am running a Mac Pro with Adobe Design CS4 Premium installed. I have 16gb of Ram and have played around with Bridge's preferences and deleted Bridges preference files. I also tried all the options list on Adobe's check list.
    Any help would be greatly appreciated.
    Regards
    Stephen Thompson

    Bridge is not stable. When I try to view a folder with thousands of files Bridge will freeze and I have to force quite.
    As a matter of fact, bridge CS4 is the most stable version of bridge, and although still not perfect yo should be able to view the folder in flat view.
    It only takes a lot of time to cache if you have not done before. If cache does not start you first should try to purge cache for folder using the tools menu.
    If Bridge keeps freezing first thing to try is to restart holding down option key and choose reset preferences. Set prefs again to your own wishes and try again.
    You can also try to first cache the folder using the tools menu. In the folderpanel select the main folder you want to view its contents and go to the tools menu / cache and this time select build and export cache.
    Depending on the amount and size of files it takes some time. Then try again.
    It is able to work, as it does on my system. I have also a main folder that contains around 5000 files organized in stacks and works as it should

  • How to do readyonly field depending on some condition.

    Dear All,
    One seeded page in iProc having Table Region. That Table region having Item, Item Description, Quantity, Price, Amount etc....
    I need to do Quantity field as readonly for some Items only..
    Is it possible to do, if it is possible pls suggest how to do it..
    Thanks in Advance,
    Hanimi.

    1. Extend the underlying VO
    2. Create a transient attribute in the VO and set the value to true/false depending on yoru condition
    3. Use spel on the item(using personalization) to enable/disable the item based on the VO Attribute created.
    Refer to: http://oracle.anilpassi.com/spel-in-oa-framework-with-audio-visual-demo.html

Maybe you are looking for

  • Sales Report Generation less the Credit memo

    Anybody can help me regarding Query for Sales Report. Im trying to create a sales report per Per Product and Customer with corresponding Quantity and Amount, I have already get the query the problem is I cant get the Credit Memo deduct from its A./P

  • How to close an open PO of partial GR and release procedure

    Hi friends,    I would like to know how to close an open PO where partial GR has done on it and release procedure exists for that particular PO.     I would also like to know if Invoice is not done for a PO and GR is done, then can we call it as open

  • Add new row to a table

    Hello! I'm using JDev 11.2 and I'm trying to add a new row to a table object (using create insert) the catch is this- and the new empty row that will appear- I want a value set instead of one of the values- so the user can choose which value to inser

  • In mode of taking a picture or videoing

    whenever I set the BB 8330 into picturetaking or video recording, the BB freezes and I have to reboot it. No problem with viewing pictures or videos. Hope someone out there has a solution. Thanks Solved! Go to Solution.

  • Can't tie new AX&Emac to exisitng AX network

    I've got a new AX hooked to an eMac through the ethernet port. The signal from my old box is strong, and I can get the new box to give off it's own signal as a base station, but I can't make it a receiver to my existing box. I even tried reading the