If statment based on details of Group

Post Author: bwells2
CA Forum: Formula
I'm trying to create a If then statment and have the Value displayed on the group line. for example
Group  
Detail     
I want to look of the group and find islike SCR then "Yes" else then "No"
Thanks!

Post Author: synapsevampire
CA Forum: Formula
I guess what you're saying is that you want to display Yes or No in the group footer if a condition is met within the details section for field 2.
In the group header Place a formula of:
// Reset the variablewhileprintingrecords;Stringvar YNOutput:="No";
Then in the details place this formula:
//Set the variable if SCR existswhileprintingrecords;Stringvar YNOutput;if instr({table.field},"SCR") > 0 thenYNOutput := "Yes"
Then display in the group footer using this formula:
//Display the vairablewhileprintingrecords;Stringvar YNOutput
-k

Similar Messages

  • 2 Repeating Frames based on the same group

    I have this report which contains 3 groups, I have the requirement to break the 2nd group so that I create a 'footer' based on the 2nd group.
    I have created 2 repeating frames (one which holds the account number, payment terms, currency) and the 2nd repeating frame based on the same group which contains the bank details
    My report looks like this:
    (1st Group)
    Customer xxxxx
    Address xxxxx
    (2nd Group)
    Account No xxxxx
    Payment Terms xxxxx
    Currency xxx
    (3rd Group -repeating)
    Trans id xxx
    amount xxx
    (2nd Group)
    Bank Details xxxxxxxxxx <--will only have one per account
    I had originally designed the report using 2 identical frame structure.
    e.g.
    Main
    Repeating Group Customer
    Repeating Group Account
    Repeating Group Transactions
    Footer
    Repeating Group Customer
    Repeating Group Account
    This format worked when the Main group did not go over a page. The 2 Account Groups were coordinated.
    When the Main group extended to more than one page, the 2 Account Groups did not match.
    The jest of what I am trying to do is a footer of the bank details be printed at the bottom of the page always.
    Any suggestions would be greatly appreciated!!!

    I didn't realise that this was such a difficult problem to solve. The requirements are quite simple (I thought)
    1) Query
    3) Groups
    a) Company
    b) Accounts
    c) Transactions
    My report needs to look like this:
    {page 1}
    COMPANY XXXXX
    ACCOUNT: 123
    Invoice ID Amount
    aaaaaaaaaa 111.11
    bbbbbbbb 111.11
    Sub Total 222.22
    --> To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 123: xxxx bold
    {page 2}
    COMPANY XXXXX
    ACCOUNT: 456
    Invoice ID Amount
    aaa 10
    bbb 20
    ccc 30
    ddd 40
    ....<as many records that will force a second page
    --> but..this still needs to print!!!To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 456: xxxx bold
    {page 3}
    zzz 100
    Sub Total 1000
    --> To be printed at a predefined space on the physical page on each page. bold Bank Details for Account 456: xxxx bold
    Say the next records in the query are for
    COMPANY XXXXX, ACCOUNT 789 with one detail record.
    COMPANY XXXXX, ACCOUNT 321 with multiple details records which will force a second page.
    What is happening at the moment is that the 2 repeating frames based on the Account Group,
    the first 2 pages will print out correctly, however, because the 2nd account goes over 2 pages and how I have this set the structure of the report (see above post), the bottom Account Group thinks that the account number is now 789 when in fact the top account group is still on 456
    I really hope that this is clearer.
    I am working on Reports 10g on a 10g database
    I have tried to create a ref cursor & separate the query to bring back bank details. but with no luck.
    A person had suggested that I create a separate frame and hold the bank details, which is fine. but as I previously stated, those bank details need to print on every page at a specific area on the physical page.
    If this might be of use:
    Repeating Frame Group Customer, Vertical & Horizontal elasticity Fixed
    Repeating Frame Group Account, Vertical Elasticity: Variable & Horizontal - Fixed
    Repeating Frame Group Transations, Vertical Elasticity: Expand & Horizontal - Fixed

  • Report based on a reord group - PROBLEM

    Using Reports Server / Forms/Reports 6i
    I am trying to run a report based on a record group on the web. It fails giving the error 'Cannot run report.'
    The report is called from a form and the record group is passed as a data parameter. It works fine in Client/Server.
    I have tried to remove the data parameter and run the report without it but, despite working in the Client/Server environment, it still fails on the Web.
    Does anyone have any suggestions?

    I have found the answer to my problem in the forms forum!
    Apparently, this type of report won't work on the web and I have to use temporary tables!

  • Delivery split for STO based on Material Loading Group

    Hello, I want to split the Delivery created from STO based on material loading group. I checked SAP Note:166397 and it requires copying routine. But this solution is not accepted and looking for other solutions. Please help with any user-exit or badi which can solve the purpose. Delivery needs to be created from VL10B transaction.
    Edited by: ananthula sumanth on Aug 6, 2010 9:12 AM

    The copy routine is designed for this purpose - it's not clear why the client does not allow the use of it. In my opinion you should find the root casue of their resistance and offer an acceptable solution (if it is possible).
    If you want to solve it in another way I guess you should go into a big development and develop your own copy routine functionality which could mean much more work (for you) and money (of your client) - instread of modifying a copy routine (maybe within few minutes).

  • Creating a performance report based upon a custom group

    I am trying to create a simple performance report based on a SCOM group that I created, however when I run the report the relevant data cannot be found.  When I look at the group membership I see a list of Windows servers.  I then go into a generic
    performance report, add a single chart, and line series, and select "Add group" and then search and select the SCOM group I created.  I then add % processor time for 2008 systems as my rule.  However when the report is run, no relevant
    data is found. Performance reports run fine when  selecting "Add group" and selecting the members of the group themselves.
    My suspicion is that it is trying to run the performance report based on the group object and not the members of the group. Is there anyway that I can accomplish this?  Perhaps via XML?
    Keith

    Hi,
    For your reference:
    Creating Useful Custom Reports in OpsMgr: How to create a custom performance counter report for a group of servers
    http://www.systemcentercentral.com/creating-useful-custom-reports-in-opsmgr-how-to-create-a-custom-performance-counter-report-for-a-group-of-servers/
    SCOM reports on performance counters for large groups of servers
    http://www.bictt.com/blogs/bictt.php/2010/11/28/scom-reports-on-performance-counters-for-large-groups-of-servers
    Regards,
    Yan Li
    Regards, Yan Li

  • Assign price list based on value in Group field

    Hi,
    Is there a simple way to make the default price list for a customer based on the customer group value when creating/update a BP master data?
    i.e..When I create a new Business Partner, I choose group = wholesaler. I want the price list (under payment terms tab) to default automatically to the 'wholesaler' price list.
    Purpose of this is so that the new business partner gets the correct pricing as per what i have set up under price lists/volume discounts etc...
    thanks

    Dear Maeve Cahillane,
    As per your expanation you want to assing the Price list to payment terms.
    if you 10 customer groups and you want to assing the your payment terms to 4 of them so you cant do this for that you need to creat 4 payment terms base on customer group.
    The best and simple way you creat the your price list base on customer group, for that you may be use factor fuction.
    by way of FMS you can refresh Customer Master> payment terms Tab > Price List.
    my it help you.
    Regards
    MANGESH PAGDAHRE.

  • Sale Item Price Based On BP Customer Group

    Hi,
    We have SAP B1 2007A.
    We have different customer groups like : Member, Non Member, Distributors.
    I want to have a different price list for each Customer based on the customer group they belong to.
    In other words, the same ITEM has a different price based on the customer group.
    Any way to do that?
    Mike

    Mike,
    This is what you can do -
    1. Create a "BASIC PRICE LIST" for the item first.
    2. For each customer (since the relation of Price lists has to be defined at this level not customer group), you can create a new price list but link it to the "BASIC PRICE LIST" you created in step 1.
    So for ex - if CUSTOMER GRP A has to be sold at a discount of 10%, then in your customer price list definition, enter factor as 0.9 and link it to the "BASIC PRICE LIST".
    Since one customer can be defined only within one group at a time, you can have the same effect of having the price list defined on customer groups. Only that, if your group pricing changes, you will have to either modify the price list, or create a new price list and link it all your customers (of a particular group) once again.
    Hope this helps.
    Cheers

  • Make field in Material master mandatory based on the material group

    Hello all,
    I need to make the field "post to inspection flag" mandatory based on the material group while creating the Material master.
    I found options for making the field mandatory based on Material type,Industry sector and plant NOT based on the material group.
    Could anyone please provide suggestions on setting up the field as mandatory based on material group while creating material master
    Thanks,
    Sre

    Hi Sre,
    You can make Material Group field as Mandatory while Creating Material Master.
    SPRO>Log General>Material Master>Field Selection>Maintain Field Selection for Data Screens
    Select Screen # 48
    In the Field selection (Field Ref.) of (MARA - MAKTL) screen , Change the settings from Optional to Required Entry for T Codes MM01, MM02 or you can select the Material Type ;
    Please note this  by choosing this selection the fields of Profit Center and  Division will also become Mandatory.
    Hope this helps,
    Best regards
    Amit Bakshi

  • Hide sections in dashboard based on user's group

    Hello everyone
    May I know whether certain sections of the dashboard can be hidden using guided navigation based on user's group? Any links in this regard.. I appreciate.
    Thanks in Advance

    Hi,
    guided navigation is the way to go. Now you need to think about the request which triggers guided navigation.
    Now, You can't use dual in a normal request in OBIEE. So you need to use an existing column from a subject area:
    1) Add for example column "Calendar Year" from your time dimension to your request.
    2) Add the same column again to your request.
    3) Click on the fx column of the second column, to change the formula.
    4) Change the formula to: LOCATE('GroupName', VALUEOF(NQ_SESSION.GROUP))
    The value of this column will be 0 when the user is not a member of GroupName and >0 when it is member of GroupName.
    5) Add a filter on this column: LOCATE('GroupName', VALUEOF(NQ_SESSION.GROUP)) equals 0.
    Check the results:
    When user X is member of GroupName, the request will result no rows. When user X is no member of GroupName, it won't.
    One note: when you use "A" as a groupname, you will get problems with this, because "A" is also in "Administrators".

  • Collections based on Software Update Group compliance

    Hi!
    Is it possible to create a collection based on software update group compliance? This is for software update groups which are
    not deployed, they are just monitor groups (for example, groups for yearly or quarterly software update compliance).
    I would like to create a collection that lists all devices which are non-compliant in software update groups with names like "%Client Updates" - is this possible?
    The reason for this is so I can impose some stricter Compliance Settings (among some other stuff) on devices that are not compliant.
    I looked around a bit, but I could not find anything that I can use. Even Google couldn't solve my question :/

    you can try something like this:
    This collection is basically sub selected query get list of computers that do not have specific assignment enabled.
    select *  from  SMS_R_System where SMS_R_System.ResourceId not in (SELECT distinct SMS_UpdateComplianceStatus.MachineID  FROM SMS_UpdateComplianceStatus JOIN SMS_UpdateDeploymentSummary ON SMS_UpdateComplianceStatus.CI_ID = SMS_UpdateDeploymentSummary.CI_ID
    WHERE SMS_UpdateDeploymentSummary.AssignmentName like "%Client Updates%")
    Eswar Koneti | Configmgr blog:
    www.eskonr.com | Linkedin: Eswar Koneti
    | Twitter: Eskonr

  • How to hide iviews based on the user groups?

    Hi,
    I have a custom role with workset, page and iviews.
    The page has 5 iviews.
    User group1 can see 5 iviews in the page.
    Now user group2 wants see only 3 iviews in the page (same role).
    Without creating another role for user group2, How can I hide the iviews based on the user group?
    Is this possible?
    Thanks
    Sundar

    Hi Sundar,
    I guess to achieve this, you have to set the permissions at iView level.
    For this, go to System Admin -> Permissions -> Portal Permissions. Now navigate to your iView using the folder structure, do right-click on the iView and click on Open Permissions.
    Search for the particular group and add that and assign the privileges accordingly. You can remove Everyone group from the iView .
    Hope this will solve your problem.
    Regards,
    Saurabh Mathur

  • Assigning Number (Internal)based on the Employee Groups

    Hi Experts,
    Can i Assign Number (Internal) automatically based upon their employee Groups
    Ex- Employee Group A (100000 - 200000)
          Employee Group B (200001 - 300000)
          Employee Group C (500001 - 700000)
          Employee Group D (700001 - 900000)
    whenever i select the employee Group in the 0000 infotype system has to internally assign the number falls under that employee group.
    Thanks in advance
    Regards,
    Dolly

    Go to SPRO->PM->PA->Basic Settings->Maintain number range intervals for personnel numbers. In this define the Number ranges  as below
    Ex- Employee Group A (100000 - 200000)
    Employee Group B (200001 - 300000)
    Employee Group C (500001 - 700000)
    Employee Group D (700001 - 900000)
    and then use the feature NUMKR to determine the personnel number range interval according to the employee subgroup.
    Hope this will solve your problem.
    Thanks,
    Amar

  • Join between Header & Detail tables based on age and group

    To find the age & group  amount in detail table based on  age & group_id in header ?
    Example: Let's take the seq_id =1 from header,it has age= 60 & group_id=23 (23 Months).
    In the detail table xx_detail,the age column represents the age of the person (0-65 represents the age in between 0 to 65 and so on).
    If the age is null,then that row indicates the group (0-12 represents the group in between 0 to 12 months ).If the age is not null,then the group1,group2,group3 have the amounts data.
    So Now i have to get the amount as 240(as my header seq_id=1,age=60,group_id=23 as it falls under 0-65 age & 13-59 group ).So i need a sql query to find the correct amount in detail based on header record. We have to pass the parameters age & group_id and get the amount from detail tables.Can anyone provide inputs how to achive this in the simplest way.
    SQL> select * from v$version  
      2  /  
    BANNER  
    Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production  
    PL/SQL Release 11.2.0.3.0 - Production  
    CORE    11.2.0.3.0      Production  
    TNS for Linux: Version 11.2.0.3.0 - Production  
    NLSRTL Version 11.2.0.3.0 - Production  
    SQL> desc xx_header;  
    Name                                      Null?    Type  
    SEQ_ID                                             VARCHAR2(6)  
    AGE                                                NUMBER  
    START_DATE                                         DATE 
    GROUP_ID                                           NUMBER  
    SQL> select * from xx_header;  
    SEQ_ID        AGE START_DATE   GROUP_ID  
    1               60      01-JAN-12            23  
    2               89      01-JAN-12            23  
    3               95      01-JAN-12            23  
    SQL> desc xx_detail;  
    Name                                       Null?    Type  
    SEQ_ID                                              VARCHAR2(10)  
    AGE                                                   VARCHAR2(10)  
    GROUP1                                             VARCHAR2(10)  
    GROUP2                                             VARCHAR2(10)  
    GROUP3                                             VARCHAR2(10)  
    SQL> select * from xx_detail;  
    SEQ_ID     AGE        GROUP1     GROUP2     GROUP3  
    1                                0-12              13-59       60-126  
    1           0-65               120                 240         300  
    1          66-135             100                 80          400

    Hi,
    Is this the same question that you asked 3 days ago
    https://forums.oracle.com/thread/2606197
    Whether it is or not, post the information requested in that message, which is also listed in the Forum FAQ:
    https://forums.oracle.com/message/9362002
    If it is the same question, don't post a new thread.  Mark this thread as "Answered" right away, and continue in the original thread.

  • Pass variable and set default value based on user's group

    Hello
    I'm using SharePoint 2010 and SQL 2012. I need to send a variable to the page and based on its value, set default value for a drop down list and send it to other web part to filter the data. Is it possible for certain users to send that value as a default
    and limit user to see only this value in the text field or drop down list; for others - to allow to see the drop down list, but also set the default value for that list?
    The main page was designed in SharePoint designer, using web parts (aspx page). I had setup a connection to Active Directory and already have the code to get user's groups and based on their group, I have that variable pulled into the web page for further
    use. But I don't know how to pass that value as a default value to the web part (currently using SharePoint Filter web part). When I tried to set a default value for the web part - it automatically puts the quotation marks around the name of the variable
    and shows it as a text instead of showing the value of the field.
    Thank you!
    P.s. I have limited knowledge of SharePoint and need guidance (links, examples, recommendations)!
    Alla Sanders

    Thank you for your response. I'll try to give you more details. On PageA I check user's groups and based on the group, assign the value and pass it to the next page (no input from the user, all done behind the scene and user is redirected to PageB).
    On the next page I read that value and would like to send it to the SharePoint List Filter Web as a default value, as well as send it to another web part that displays the list from SQL, filtered using that default value. Ideally, if the user is from Group
    A, I'd like for them to have only one value in that drop down list; if user is from Group B - give him drop down list with 40 items to choose from. Below there is a part of the code and variable fnum has the value from PageA (if I print the value on the screen
    - I do see that it has correct value, so the code that gets groups from Active directory works correctly). If I assign fnum as a default value of the list, it shows "fnum" instead of the value of variable fnum. I connect to SQL database, using external
    content - so the other list that I'm filtering based on the value in that drop down list - is XSLT Data View Web part. I also have 2 more filters on that page, that user will have full access to and based on their input, it is also sent to the XSLT web part
    to filter out more data. Since one of the filters is the date and I am filtering data starting from the date that user chooses - XSLT is the only web part that I was able to make it work with.
    I looked at the link you provided (thank you). It is using Content Query Web part. Will it work with external content, as well as accepting multiple filtering, including custom starting date? I appreciate your help!
    <%
    string fnum = Request.QueryString["field1"];
    %><table cellpadding="4" cellspacing="0" border="0" style="height: 1000px">
    <tr>
    <td id="_invisibleIfEmpty" name="_invisibleIfEmpty" colspan="2" valign="top" style="height: 101px">
    <WebPartPages:WebPartZone runat="server" Title="loc:Header" ID="Header" FrameType="TitleBarOnly"><ZoneTemplate>
    <WpNs0:SpListFilterWebPart runat="server" FilterMainControlWidthPixels="0" RequireSelection="False" ExportMode="All" PartImageLarge="/_layouts/images/wp_Filter.gif" AllowHide="False" ShowEmptyValue="True" MissingAssembly="Cannot import this Web Part." AllowClose="False" ID="g_1ccc4bca_3ba1_480b_b726_adfdb1e9e02d" IsIncludedFilter="" DetailLink="" AllowRemove="False" HelpMode="Modeless" AllowEdit="True" ValueFieldGuid="fa564e0f-0c70-4ab9-b863-0177e6ddd247" IsIncluded="True" Description="Filter the contents of web parts by using a list of values from a Office SharePoint Server list." FrameState="Normal" Dir="Default" AllowZoneChange="True" AllowMinimize="False" DefaultValue="fnum" Title="Facilities List Filter" PartOrder="2" ViewGuid="2da5d8db-6b55-4403-80a8-111e42049f8b" FrameType="None" CatalogIconImageUrl="/_layouts/images/wp_Filter.gif" FilterName="Facilities List Filter" HelpLink="" PartImageSmall="/_layouts/images/wp_Filter.gif" AllowConnect="True" DescriptionFieldGuid="2d97730a-cd0d-4cb9-8b55-424951201081" ConnectionID="00000000-0000-0000-0000-000000000000" ExportControlledProperties="True" TitleIconImageUrl="/_layouts/images/wp_Filter.gif" ChromeType="None" SuppressWebPartChrome="False" IsVisible="True" ListUrl="/Lists/FacilitiesList" AllowMultipleSelections="False" ZoneID="Header" __MarkupType="vsattributemarkup" __WebPartId="{768E2035-0461-4A09-8DDD-CA7020C2B23D}" WebPart="true" Height="" Width="615px"></WpNs0:SpListFilterWebPart>
    Alla Sanders

  • Graphs based on detail records

    Post Author: roncon
    CA Forum: Charts and Graphs
    I am using CR XI R2.  I have a report that I need to create Horizontal Percent Bar Charts.  My data comes from 27 statements that have 4 answers each.  I need to create a chart for each statment showing the percentages of each answer in the chart.
    I can create a report based on one statement with the correct chart in the Report Header section.  The query is pulling that one question though.  What I need is to have a chart for each question in the same report but I understand I can't insert a chart in the details section.
    How do I go about doing this?
    Any help would be greatly appreciated.
    Ron

    Post Author: archjw
    CA Forum: Charts and Graphs
    I'm having the same problem.I thought that by moving the graphs into a sub report, then placing that sub report into the Details section, it would repeat.  This has worked for me before with Cross-Tabs, but it didn't with the graphs.

Maybe you are looking for