How to add logic in Bex designer?

I have one formula field ZPERCENT in my query designer. ZPERCENT(%) = ZQTY / ZREVENUE. Now I want to add one logic in Bex deisgner, if ZQTY is equal to 0, then field ZPERCENT should be 100%. Does anyone have an idea how to make it possible in Bex designer? I'm using Bex 3.5 version. Thanks a lot.
Formula ZPERCENT:
1st selection:ZQTY
2nd selection: ZREVENUE

Hi,
(ZQTY NOTEQUALTO 0) * (ZQTY/ZREVENUE) + (ZQTY=0)*100

Similar Messages

  • How to add addtitional pages in design view?

    How do I create additional pages in design view?  I have tried using NEW PAGE AFTER, but that doesnt add another page in design view, like I need. 
    I am creating a report that uses 8 subreports per page to dynamically create labels.  Currently I have a report header, and am using the page header to arrange the subreports so the top of each subreport prints on the top of each label.  The fields in the subreports can grow, and fill in the label from the top down. 
    I need to create a multiple pages using this format, but I dont know how to add more pages in design view.  Essentially I need subreports 1-8 on page 1, 9-16 on page 2, etc.  I would like to preserve the formatting I have created thus far, but I can always change it if I have to.

    In attempting to create the label sheets I needed, I ended up creating 14 separate reports (which report on 6 individual queries), because there are 14 pages worth of labels that need to be created.  What I wish to accomplish is to condense these 14 reports down to 6 reports.  One for each query.  What I absolutely cant find a way to do, is to get Crystal Reports to allow me to customize subreports on consecutive pages.  Again, I have 8 subreports on each page, which have been formatted to fit on 8 labels when printed.  Each subreport is identical in design, but has a different range selected (i.e. my driving value in each subreport has been modified with Select Expert to be between 1 and 5, or 6 and 10, or 11 and 15).  This is how I have been able to return 5 consecutive results on each label, with the next label returning the following 5 results. 
    My ultimate question:  Is it possible to create a multi-page report using this method?

  • How to  add filter in Bex report

    hi how to add filter in BEx report and what is the difference between filter and free charcteristics.
    Regards,
    Viren.

    Hi Viren,
    difference between filter and free characteristics is that free characteristics can be added to drilldown at query runtime. Filter values can not be changed at query runtime.
    You can add a filter to a query by placing a characteristic in filter section and restrict the characteristic to certain values. Characteristics in rows / columns / free characteristics section can be restricted to certain values, too.
    Best regards,
    Björn

  • How to add Logo in Bex report

    Hi Guys,
                 How to add logo in a Bex report.

    Hi ABDUL KHADAR
    We can only add the logo at Work book level but not the query level @the query
    level it wont allow us to add.
    Jus open an ordinary excel sheet format it as you wish  Ctrl+A and fill with white
    color .Then jus save u r logo which u wont to upload in the desktop.
    Then go to file insert picture or file  and place it wher ever u wont in the work sheet
    and save it as a templete and then insert the query in this templete and format it
    as per your standarads.
    If any struck up feel free to let me know. We explain you clearly...
    hope its helpful..
    Cheers
    R M K
    **Assigning poitz ez da only way of saying thankz in SDN**

  • How to Add logic to change quantity of child item(Template BOM).

    Now We use ver 2004B.
    2004B has bug about Sales Bom,The Bom can't be expanded correctly using UI-API.
    We have to using BOM Both UI-API and GUI,so we use Template Bom(in UI-API we expand the BOM by ourselves).
    Now we face two problems.
    1. In Template BOM,when change parents item's quantity,
    child item's quantity don't change.We must make UI-API logic to change child item's quantity,but we don't know which event should we catch.
    2. We have to add another logic,when expanded Template
    BOM (using GUI),setting zero price specific item.But don't know which event should we catch.
    Focus lost event may not use,because focus lost event triggers too much timing(for example,displaing a list of item,expanding BOM etc...).
    Please suggest us how to do.
    thank you.

    Hi Ibai Peña
    I tried logic which trrigerd Validate Event,but I face a
    new probrem.
    ・When trrigerd Validate Event ,and add something value to other field, trriger Other Validate Event.
    To avoid this problem, I use a variable which type is bool using flug triggerd process.
    But I think this way is not so sensible, I want to take other way.
    thank you.

  • How to add logic in FM of USer exit

    Hi All,
    I new to this QM Module , i got one Enhance ment Object to add some  code in that.
    I have to update some logic in  one Function Module in one Exit, the logis is i have to check the Inspection type in the inspection lot ( QALS-ART = ZV_VSGR) then i have to read the P.O.NO from QALS table  and  ihave to read OUR reference field EKKO-UNSEZ from EKKO to get the original  PO and sent to vendor from Production office. and based on this original PO number i have to read the Vendor Number(EKKO-LIFNR).
    based on this Vendor No i have to update Vendor No in (QALS-LIFNR) and  short text (QALS-KTEXTLOS)..
    so plz help me in thi smatter, i new to this QM module..
    Thanks in Advance...
    jd

    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • How to add "%" symobl in Bex query?

    Hello All,
    In a Bex query, there is one structure with 3 elements as Rows. I have to show the resultant values in a specified format...
    in the first row, the values are to be suffixed with character "K" and the remaining 2 rows values are suffixed with "%". I will use this query in a webtemplate. Is there any funcationality in Bex to perform my requirement?
    Regards,
    Ravi

    This can be done using the table interface for web applications. Using this you will be able to manipulate the cells in a web report.
    See the attached documentation on this.
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/1bac3a22f0785ce10000000a11402f/content.htm

  • How to add unit to calculated key figures in BEx

    How to add unit to BEx calculated key figures in SAP BW BEx?
    I would like to add a unit to a calculated key figure in SAP BW BEx, so that it gets visible on the end user level. Currently the unit field is empty. I calculated the value from various key figures with different units and removed the units with the NODIM()-function. Is there an inverse function to NODIM() with which you can add a specific unit (like EUR or TAG).
    The "How tou2026 Report Data in Alternate Units of Measure" does not seem to cover the point.
    "Quantity Conversion Guide for SAP Business Intelligence" refers to the "Conversion" tab.
    I suppose you have to add a conversion routine, which is 1:1 and sets the target unit defined in BEx.
    Has anyone tried this? Is there a more simple solution?
    OLAP-Quantity Conversion:
    http://help.sap.com/saphelp_nw70/helpdata/EN/27/b65c42b4e05542e10000000a1550b0/frameset.htm

    Hi,
    if your CKF will have always same unit and you have one KF in you inforpovider with this unit, you can try to do this trick
    create a new hidden CKF as new CKF = KF / KF (with this equale new CKF = 1 unit)
    change your old CKF as old CKF = old CKF * new CKF
    let me know if it works.

  • How to add warning message while using 'print' function in Adobe LiveCycle Designer

    I am trying to make pdf document for my company which requires adding a warning message while anyone use 'print' function from the page...
    Does anyone know how to add warning message on LiveCycle Designer
    Also my supervisor mentioned something using 'nag' if that rings any bell

    No you shoudl never go into the XML source unless uinstricted to do so.
    You can open the script editor (under the window menu). It will appear above the drawing area but below the toolbars. You can resize it if there is not enough room. When you click on an object in the form you can choose an event to script against in the Show dropdown. In your case you will want to choose the prePrint event. A line will show up that indicates the object that is associated with the script as well as the event and other information. Add your script below this line. Once that is done you are finished and your form is ready for testing.
    Paul

  • How to develop custom add-in for sharepoint designer 2010

    Hi ,
    Can anybody suggest me how to create a custom add-in for sharepoint designer 2010?
    Are there any templates through which i can create a managed add-in using C#? or developing COM add-in (VB6) is the only solution?
    Please suggest.
    Regards
    Sujasree

    Hi,  Sujasree
           Based on my knowledge, there have not been public samples and walkthroughs for SharePoint Designer 2010 add-in.
           MSDN provides some sample for Word and Excel: 
    Office Development Samples and Walkthroughs:
    http://msdn.microsoft.com/en-us/library/z63ctsh2.aspx
           Additionally, VS 2010 have not provide such templates yet.
           So would you please share your business requirement with us?
           SPD is a just client to manage and customize SharePoint site, its powerful but difficult to do extension.
           You could also consider builting your custom add-in elsewhere, e.g.: in a customized admin page or webpart, which is easy to achieve.
           Hope this can help!
    Best Regards,
    Aaron

  • How can I add logic control with timeout in OSB?

    In the proxy service, when I try to call business service, the business service may timeout, how can I add logic with this? Like, I can set the timeout to 20 seconds, if more than 20 seconds, then do something else. But I just want this service can set to 20 seconds, others may different. Is that possible? Thanks.

    There is a Read Timeout and Connection Timeout setting in the Business service configuration.
    You can change the default values and test.Inside the error handler you can choose to do something else after you 20 seconds.
    Test and let us know if it works.

  • How to add SAP BI or BEx Reports on Reports Work center link in WEB UI

    Hello All,
    I have question, How to add SAP BI Reports on Reports Work center link in WEB UI? I found an article on SDN but could not understand. Please provide all steps in detail.
    Thanks,
    BMW

    Hi BMW325ci (I hope you have the latest model )
    Here are the steps:
    1. have the BI team create a webversion of the report. (not required when calling a query directly
    2. create in SPRO --> CRM --> UI Framework --> UI Framework Definition --> Display SAP NetWeaver BI Reports in CRM the reports you want to display
         e.g. BI Report ID         Z_DYBE_GROSS_SALES_CUST_MAT
                Long description              Revenue per customer/materialgroup
                BI Object Type                  HT Template 3.x  (depending on your BI version)
                BI Object Key                 ZWCOPALM01_PPS_REVENUE_ARTG_V2
                BI System                      (when using the webtemplate, nothing needs to be filled)
    3. create in SPRO --> CRM --> UI Framework --> Technical Role Definition --> Define Navigation Bar Profile
        a. A logical link for each BI report.
           e.g. Logical Link ID ZDB-ACC-DE
                  Type    D BI report
                  Target ID       DISPLAY
                  Parameter       Z_DYBE_GROSS_SALES_CUST_MAT
                  Parameter Class CL_CRM_GEN_UI_BI_UTIL
                  Icon Name       GC_ICON_REPORTS
                  Title           Revenue per customer/mater.
                  Description     Revenue per customer/materialgroup
       b. Include in the relevant Report Work Center Link the logical links you have created in step 3.a
          e.g. Group ID        SLS-ACC-RE
                 LogLinkID ZDB-ACC-DE position 80
       c. Make sure that your work center link is assigned to the work center
          e.g. Work Center ID  SLS-REPORT
                 GroupID  SLS-ACC-RE position 10
       d. Make sure that your work center is assigned to your navigation bar profile
    at this moment the report is linked to a standard workcenter, which can be shown on the webui.
    4. In your business role, you need to of course make sure that the flags on the workcenter entries are set on show in menu and directly.
    This should give you the complete picture.
    KR,
    Micha

  • Designer 2010 - how to add a custom or calculated field ?

    Hello
    I have a list like this:
    [name][course][date][result]
    John Smith, Windows beginners, 01-01-2014, 10
    John Smith, Windows advanced, 02-01-2014, 7
    Jane Doe, Windows beginners, 01-01-2014, 5
    Wanted:
    A list that shows all the people that attended 2 courses and a sum of their results.
    Following the example above:
    John Smith, 17, (2 courses)
    How can you add a custom field in designer? I have been tinkering but can't find it. If I place the cursor in a bottom row of the list, and in the ribbon I choose Options/Formula, I can enter an Xpath expression. But after clicking OK, nothing happens, nothing
    appears.
    Is there a tutorial (for beginners) somewhere on how to add a custom field to a page?
    Thank you!
    D

    I think the easiest way to accomplish this is through using the jQuery SPServices library to call the list items into an array and group by name. Then you can count the number they have done and then also do your calculations.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • How to add .js link in custom list form through sharepoint designer 2013

    hi friends
    so far i was adding jquery code to script editor webpart in custom list form.
    but i need to know how to add .js link in custom list form through sharepoint designer 2013
    please help me.

    Hi,
    We can add the "JS Link Property" in the “WebPart” node in the custom list form page through SharePoint designer 2013.
    Here is an example for your reference:
    <JSLink xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm">~site/Style Library/js/custom.js</JSLink>
    Noticed that, we should not lose the 'xmlns="http://schemas.microsoft.com/WebPart/v2/ListForm' attribute.
    Best Regards
    Dennis Guo
    TechNet Community Support

  • How do I programatically add cq components sharing design dialog but having individual dialog

    How do I programatically add cq components sharing design dialog but having individual dialog ?
    By dragging and dropping the component in author mode does what I am intending to do but when i do a programtical include e.g.
    <cq:include path="mycomponent_0" resourceType="cx/components/mycomponent" />
    <cq:include path="mycomponent_1" resourceType="cx/components/mycomponent" />
    The design dialog values for these 2 components are seperated.
    Thanks alot

    So its not something you have to do programatically but its component design. Every time when you author any component (using "dialog") via drag and drop the component on page (creating instance at page level) or directly including component using code (template level) it associates information to individual page but when you author component using design_dialog it associates information at template level and share to all pages.
    To achieve common sharing at all pages (template level) you have to add design_dialog (similar to dialog you can design) node at your component and then you can author it via going to page design mode (from sidekick at the bottom bar).
    Please refer
    1. /libs/foundation/components/title     component which will give you idea about how you can design the component using design_dialog and it will also have code to how to fetch data information which set at design level (template level)
    2. http://dev.day.com/docs/en/cq/current/howto/components_develop.html to understand more about design dialog.
    Let me know if it doesn't help you.

Maybe you are looking for

  • My phone will not back up!! help please!

    Hi all!! so ive recently updated my iphone 4 to iOS5 after several frustrating attempts, constantly coming up with some error message. this was very surprising to me and i started searching through forums after forums to see whether this issue was on

  • Methods to reduce query execution time

    hi experts               can anybody sugest the steps /methods to reduce the time taken for query execution Thanks and regards Pradeep

  • While hiring applicant getting error massage

    Hi experts, Can any one help on my issue. While hiring applicant details in PB60, getting warring massage that is "This standard test dose not have the correct format for SAP script. Thanks & regards Swapna

  • Problem With Referenced Array Loading

    Hi. I'm working on the final lab for my java class at the moment, and I'm to create a program which reads a file containing transaction records, stores each record as an array element, and then prints various types of reports using the array of trans

  • SOLMAN_SETUP Basisconfiguration DPC-config over Push to Wiley

    Hi @all, I've some problems with SOLMAN_SETUP (7.1SPS11) with DPC-Configuration. This says there is no Introscope EM configured. Can anyone help me with that? In 3.1 there is EM missing (deleted): The Diagnostic-Agent for solutionmgr is missing (but