Hi,report like roles with groups display?

i am having roles /groups like following
String arrRoles = {"devloper","admin","manager","clerk","other"};
String arrGroups={"grp1","grp2","grp3","grp4","grp5","grp6"};
each groups having separate access
grp1 roles manager,developer
grp2 roles manager,clerk,other
grp3 roles clerk,admin
grp4 roles other
grp5 roles manager,develoepr,admin,clerk,other
grp6 roles clerk,other
finally after reading two array values and each group roles ,
i need to values in report like this
report
role grp1 grp2 grp3 grp4 grp5 grp6
devloper yes no no no yes no
admin no no yes no yes no
manager yes yes no no yes no
clerk no yes yes no yes yes
other no yes no yes yes yes
i need to display values if the group having role need to display
yes otherwise no.
can any one help me how to do and display
here roles and groups are not fixed values both are dynamicaly
created arry objects
thanks in addvance
sai

hi,
thanks for your example.
any way i solved this issue my self another way.
class Report3Test
     public static void main(String str[])
          String[] arrRoles = {"develop","admin","manager","clerk","other"};
          String[] arrGroups = {"grp1","grp2","grp3","grp4","grp5","grp6"};
          String arGrp1[] ={"manager","develop"};     
          String arGrp2[] ={"manager","clerk","other"};
          String arGrp3[] ={"clerk","admin"};
          String arGrp4[] ={"other"};
          String arGrp5[] ={"manager","develop","admin","clerk","other"};
          String arGrp6[] ={"clerk","other"};
          String DELIMINATOR = "\t";
          String strGroups = "";
          strGroups = "Roles"+DELIMINATOR;
          for(int i =0; i<arrGroups.length;i++)
               strGroups = strGroups+arrGroups[i]+DELIMINATOR;
          System.out.println(strGroups);
          for(int i =0; i<arrRoles.length;i++)
               String groupStatus1 = "No";
               String groupStatus2 = "No";
               String groupStatus3 = "No";
               String groupStatus4 = "No";
               String groupStatus5 = "No";
               String groupStatus6 = "No";
               for ( int k =0; k<arGrp1.length;k++)
                    if(arGrp1[k].equals(arrRoles))
                         groupStatus1 = "Yes";
               for ( int k =0; k<arGrp2.length;k++)
                    if(arGrp2[k].equals(arrRoles[i]))
                         groupStatus2 = "Yes";
               for ( int k =0; k<arGrp3.length;k++)
                    if(arGrp3[k].equals(arrRoles[i]))
                         groupStatus3 = "Yes";
               for ( int k =0; k<arGrp4.length;k++)
                    if(arGrp4[k].equals(arrRoles[i]))
                         groupStatus4 = "Yes";
               for ( int k =0; k<arGrp5.length;k++)
                    if(arGrp5[k].equals(arrRoles[i]))
                         groupStatus5 = "Yes";
               for ( int k =0; k<arGrp6.length;k++)
                    if(arGrp6[k].equals(arrRoles[i]))
                         groupStatus6 = "Yes";
               String roleParam = (String)arrRoles[i];
               System.out.println(roleParam+DELIMINATOR+groupStatus1+DELIMINATOR+groupStatus2+DELIMINATOR+groupStatus3+DELIMINATOR+groupStatus4+DELIMINATOR+groupStatus5+DELIMINATOR+groupStatus6);               
===================
sai

Similar Messages

  • RA&R 5.3 - Roles with Violations displays figures as negative

    Good day All.
    RA&R > Informer tab > Role Analysis - The Roles with Violations figure is negative
    Roles with Violations* -1,606 -40%
    Moreover the Role with no Violations figures look skew. The % figure is greater that 100%
    Roles *with no Violations 5,596 140%
    Has anybody had this issue and resolved it?
    I have scheduled the batch jobs (full synch) with the hope that this will resolve the issue.
    Thank you.

    Hi Lads
    I have the same issue ,we have upgraded from 5.2 to 5.3 AC and we are on SP4
    and also I have noticed another thing  when i run risk analysis the levele of the risk isnt put out .
    instead it says
    "Exception!!. No relavent language message available in database for :0291"
    I have already uploaded the error message txt file .
    SAP has give me the script and results etc .they say they are investigating the issue.
    Regards
    Pieter

  • Report Painter - Problem with Currency Display

    Hi Gurus,
    I created a Report Painter (Tx: GRR1, Library: 9P1) using Basic key figure SWKG (Currency: USD)
    When I executed the report using a user XXX, this shows amounts in correct currency: USD. However, when I executed the report using a user YYY, this shows amounts in incorrect currency.
    I reviewed SUIM transaction and compared both users and no have difference.  Next I reviewed SU01 transaction and in Parameters there were some differences, y added parameter one bye one from XXX to YYY user, I executed the report again but the error persist.
    Is there other user configuration that I can see?
    Thanks in advance.
    José Luis

    Hi Sachin,
    I reviewed RPA0 transaction and both users are the same properties.
    I just created a new user ZZZ with copy of YYY, executed the report painter and it shows the amounts in correct currency, this is strange.
    Thanks for your help.
    José Luis

  • How to build a Matrix with Group Left Report

    I want to build a Matrix with Group Left Report,not Matrix with Group Above Report,i am still finding the solution, any help is useful.
    thanks
    <[email protected]>

    Hi,
    The problem in your output is not clear. The report output should appear like:
    Order Mode.....Sales_Rep_ID > 10..11..12..
    Online.........Order Status
    ...............A..............x....x...x
    ...............B..............x....x...x
    ...............C..............x....x...x
    Order Mode.....Sales_Rep_ID > 10..11..12..
    Retail.........Order Status
    ...............A..............x....x...x
    ...............B..............x....x...x
    ...............C..............x....x...x
    Here "Order Mode" is the group field (it repeats for every group). Could you pl specify what output you are getting?
    If the problem is that you don't want the Title (like "Order Mode" in the above example) to print in every group, just place it outside the group repeating frame. It will print only once.
    Navneet.

  • Generate XML report then display like HTML with specified formate

    Hello,friends
    I want to generate XML report then use XSL to parse it,report will display like HTML with specified formate like attachment,any ideas?
    Thank you
    Alb

    Hi Ray,
    I don't why I can not upload any format picture,so I listed the display as below:
    Test Result                                                                                                  Company Logo
    SN                   1111                                                                                     User                          Operator
    Status              Fail                                                                                       Factory                     SE
    Product            xxx                                                                                       Tester                        xxx
    Start time         xxx                                                                                        Line                          xxx 
    Test time          xxx
    NAME                               STATUS           VALUE                          LOW               HIGH                   RULE
    1.0 Pass/Fail     Test           Passed             True                             True                                             EQ 
    2.0 Less than    Test            Failed               15                                10                                                LT
    3.0 String Value Test           Passed          A string from the limit file   A string
                                                           End of Report
    Could you give me some suggestions?
    Thanks a lot
    Alb

  • Grand total (Report footer) issue in a Report with Group selection.

    Hi,
    The case is simple, i have to summrise the NetValue field of a  report at the Group level and at the Report level(Grand Total).
    I also use a Group selection filter (I have grouped my records by MaterialDesc) to keep the desired groups.
    As you already guessed, my group totals are fine but the grand totals(report footer) contain both filtered and non filtered group records. Is there any way to avoid this problem and get a Grand Total from the filtered group records?
    Thank you.

    You can not use standard summaries with Group Suppression you must use either Running Totals or variables.
    In Running Total  evaluate click theformual button and eneter reverse condition to your group suppression.
    If you can not do that then you must use a Var
    In group footer where total is currently correct place a formula like this and suppress it
    @eval
    whileprintingrecords;
    global numbervar RepTot;
    If ..whatever your suppression condition is not true... then reptot:= reptot + sum( valuefield, groupfield);
    In report footer
    @display
    whileprintingrecords;
    global numbervar RepTot;
    Ian

  • Reports 6i Requirement -- Complext Matrix with grouping. Urgent help needed

    Hi All
    I have a report requirement. The problem is like this.
    There is an organization under which there are several schools.
    each school has different classes.
    Each class has several no of students.
    We have to display marks of all the students in each class of the organization (note. all classes, schools)
    ============================================================================================
    Organization
    School1
    Class1 subject 1 subject2 subject3 Totals
    stud1 30 50 70 150
    stud2 40 70 90 200
    total for class 70 120 160 350
    Class2
    stud11 50 60 80 190
    stud12 70 80 90 240
    total for class 120 140 170 430
    total for school1 190 260 330 780
    like wise for another school
    Total for
    organization 190 260 330 780
    =============================================================================================
    I have tried using the matrix report with groups. But i was able to create a matrix and find the totals upto the class level which is quite simple.
    I was not able to find the totals subjectwise for the school and orgnization levels.
    Can you suggest me any solution for this?
    Please ignore some formatting. It is the best I could fit in this compose text.
    but you should get the idea.
    Is there any other way to display other than using the matrix?
    I am using Oracle REPORTS 6i on Windows 2000. the database is ORacle 9i.
    Thanks
    Naveen

    Much of it depends on the structure of the data/query. If the subject per student are stored or prepared so they appear as separte columns in a query then there would be no need to use matrix. Are you getting what I am saying?

  • As a stockholder, I would like see the development of iTV with Retina display and integrating Siri control, internet access, and iTunes apps. This new product would be a large screen, thin wall mounted television, much like a oversided iPad.

    As a stockholder, I would like see the development of iTV with Retina display and integrating Siri control, internet access, and iTunes apps. This new product would be a large screen, thin wall mounted television, much like a oversided iPad.
    Do you think this product is possible?

    In general theory, one now has the Edit button for their posts, until someone/anyone Replies to it. I've had Edit available for weeks, as opposed to the old forum's ~ 30 mins.
    That, however, is in theory. I've posted, and immediately seen something that needed editing, only to find NO Replies, yet the Edit button is no longer available, only seconds later. Still, in that same thread, I'd have the Edit button from older posts, to which there had also been no Replies even after several days/weeks. Found one that had to be over a month old, and Edit was still there.
    Do not know the why/how of this behavior. At first, I thought that maybe there WAS a Reply, that "ate" my Edit button, but had not Refreshed on my screen. Refresh still showed no Replies, just no Edit either. In those cases, I just Reply and mention the [Edit].
    Also, it seems that the buttons get very scrambled at times, and Refresh does not always clear that up. I end up clicking where I "think" the right button should be and hope for the best. Seems that when the buttons do bunch up they can appear at random around the page, often three atop one another, and maybe one way the heck out in left-field.
    While I'm on a role, it would be nice to be able to switch between Flattened and Threaded Views on the fly. Each has a use, and having to go to Options and then come back down to the thread is a very slow process. Jive is probably incapable of this, but I can dream.
    Hunt

  • PDF's I'm creating with Group 4 data report Insufficient Data for Image

    I am maintaining a software application, which creates PDF files from JPEG and TIFF (with Group 4 compression) image files, which typically come from scanners.  It has performed well for many years, but as of the release of Adobe Reader X, we are seeing "Insufficient Data for Image" on some images.
    I've read reports of this message on these forums, and I've tried shrinking the image, adjusting zoom, and upgrading to Adobe Reader XI -- none of these have worked.
    Our software creates these PDF files by wrapping the raw image data in an XObject, which looks like this:
    24 0 obj
    << /Type /XObject
    /Subtype /Image
    /Name /Im1
    /Filter /CCITTFaxDecode
    /Width 1704
    /Height 2200
    /BitsPerComponent 1
    /ColorSpace /DeviceGray
    /DecodeParms <</K -1 /Columns 1704 /Rows 2200 >>
    /Length 25 0 R >>
    stream
    <<BINARY DATA>>
    endstream
    endobj
    25 0 obj
    31512
    endobj
    Wherein, the <<BINARY DATA>> are 31,512 bytes of raw image data -- the same data which would appear in a Group 4 compressed TIFF file. 
    Indeed, when we do create a Group 4 TIFF file with the same binary data, it opens successfully in all common viewers.
    Any assistance, such as the precise meaning of this error message, could be helpful.

    Just a note that the bug appears to relate to JPXDecode, so far as all previous reports seem to suggest (no inside information). JPXDecode supports multiple image resolutions in the same image, so messing with zoom sometimes helps. If you can post a complete file somewhere it might interest someone who could analyse it.
    The message simply means that decompressing the filters does not yield enough bytes. This may either reflect that there really isn't enough data, or it could indicate any kind of data error (which causes the filter to silently return EOF).

  • Borders in Matrix with Group Report  Missing in Web view

    Please help.
    I have a matrix with group report. When it is viewed in Report Builder live preview is fine, but when I preview in web I got two problem
    Problem 1 - preview as HTML
    No borders? all my cell borders, frame borders gone missing.
    Problem 2 - preview as HTML CSS
    The borders are there, but some data in the matrix report displayed wrongly.
    For example, the data is "01 APR 2000 1800 - 20 APR 2000 2000", what is showing in the web view is actually
    "01"
    "APR"
    2000
    1800
    i.e., is broken down into few lines.
    Can anyone please help. Btw I am using Oracle Report 6i.
    Thanks.
    Joshua

    For Simple HTML output, you can only get horizontal lines out of Reports. You will lose all vertical lines as well as other graphical objects (eg: polygons, polylines, etc.) This is because these objects are not supported natively within HTML.
    However, for HTMLCSS, you should be able to get a lot closer since rectangles are supported. Though again; polygons, polylines, etc. are not supported.
    Not sure what is happening to your text, possibly an issue with browser settings or you may need to reduce the font size in Reports to get what you want.
    As has already been suggested, for better WYSIWYG output for the web from Reports, PDF is the way to go.

  • Display report in horizontal after grouping

    Dear experts,
    I have done a REPORT 1 such as below, but i would like to display as REPORT 2. Is it possible to do it?
    If yes, How to do? Using what tools in crystal report?
    REPORT 1:
    Export (Group)
    Date            DocNo.         Amount                 
    23.3.10       100001           348.00
    23.3.10       100002         3271.00
    Local (Group)
    23.3.10       100003          356.00
    23.3.10       100004         3290.00
    REPORT 2:
    Export (Group)                                       Local (Group)
    Date            DocNo.         Amount           Date             DocNo.         Amount
    23.3.10       100001           348.00           23.3.10       100003          356.00
    23.3.10       100002         3271.00           23.3.10       100004         3290.00
    Your reply is higly appreciated.
    Thanks.
    Regards,
    Danny

    Hi Carl,
    I also get the result as followed your solution. But i facing a problem, i can't get the both total  local and Export display in nicely, it is due to the unbalance for local sales and export sales. e.g.
    Local                                    Export
    Date      Inv#      Amount     Date      Inv#      Amount
    12.3.10   002     345.00       12.3.10   001     345.00
    13.3.10   003    1345.00      12.3.10   001     345.00
    14.3.10   004    1345.00      _____________________
    15.3.10   007    1345.00                                690.00 <- IS IT POSSIBLE MOVE TO SECOND PAGE EVEN THE DATA IS NO FULL?
    16.3.10   008     1345.00                                                To display is nice report.
    17.3.10   010     345.00
    18.3.10   001     345.00
    19.3.10   001     345.00
    23.3.10   001     345.00
    24.3.10   001     345.00
    25.3.10   001     345.00
    25.3.10   001     345.00
    Total                   8140.00 <- THIS WILL MOVE TO SECOND PAGE IF FIRST PAGE IS FULL, IT IS OK.
    The report which i want to display.
    Local                                    Export
    Date      Inv#      Amount     Date      Inv#      Amount
    12.3.10   002     345.00       12.3.10   001     345.00
    13.3.10   003    1345.00      12.3.10   001     345.00
    14.3.10   004    1345.00   
    15.3.10   007    1345.00                         
    17.3.10   010     345.00
    18.3.10   001     345.00
    19.3.10   001     345.00
    23.3.10   001     345.00
    24.3.10   001     345.00
    25.3.10   001     345.00
    25.3.10   001     345.00
    Total                   8140.00     Total                   690.00
    Thanks.
    Regards,
    Danny

  • Crystal Report Export to PDF with Group Tree Bookmarks

    Dear Forum
    I have created a Crystal Report aspx page with an export function of the report to pdf. So far all has been successful, except form one little annoying this. The report does export to a pdf file and it does create bookmarks based on the group tree, BUT when opening the pdf file the bookmarks hiest point which should be the file name is the really long temp file name with .rpt as an extension. I have looked every where to try to get it to write the filename to the bookmark hierarchy without success.
    I come you you all for any form of help to solve this issue.
    My code is below
    CrystalDecisions.Shared.ExportOptions export_options = new ExportOptions();
                export_options.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat;
                string ext = ".pdf";
                string reportName = "Filename";
                CrystalDecisions.Shared.PdfFormatOptions pdfOptions = new PdfFormatOptions();
                pdfOptions.CreateBookmarksFromGroupTree = true;
                export_options.ExportFormatOptions = pdfOptions;
                report.ExportToHttpResponse(export_options, Response, true, reportName);
                Response.Clear();
                Response.Buffer= true;
                Response.End();
    Below is an image of the output
    Any and all help is greatly appreciated

    Using the search box in the top right corner and entering the search string 'bookmark pdf crystal', the very 1st KBA is:
    1331152 - Report exported to PDF format with bookmarks displays the bookmarks as report name plus a GUID
    Please see if this resolves the issue for you.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Replacing Standard-Groups like SAP_J2EE_ADMIN with customized groups

    Hello everybody!
    I'd like to give a group of users access to our XI-Java-stack with permissions that are a bit more differenciated than the standard SAP-groups. For example, I want users to be able to view all messages, but not all of their payloads (we use different namespaces for different departments, so this might be an approach to differentiate).
    I have a bit of experience with the UME of Enterprise Portal and I've been able to assign Permissions (i.e. Roles) to users using the groups based on mapped ABAP-Roles. In XI I couldn't find any possibility to do something like this up to now. In the XI-User-Administrator I can view Roles and Groups, but all I get is a note that they are write-protected and can't be edited. I also haven't found a possibility to assign UME-Actions to my ABAP-mapped groups.
    Who can help me? Thanks in advance!

    Looks like there is no possible solution for this. I asked the teacher at my ADM200 course about this and he also didn't know anything

  • Create a dashboard with moving display like stocks prices

    hi all!
    I was thinking if we can create a dashboard/ report with moving displays like stock prices, just like in TV we see the data moving showing the prices.
    I highly appreciate for any reply.
    Thanks,
    Ravi

    Hi,
    where is my points... Mark helpful or correct for answers... so the user know whats right and i will get points...
    Regards
    Naresh
    Edited by: Naresh Meda on Dec 30, 2008 10:50 PM

  • WEB UI account creation with role and grouping

    Hi All,
    I can create account in SalesPro->Account Management-> Account - New
    I don't have an option of selecting BP Role or Grouping for number range...
    Should i be using any other WEBUI Role in order to create Account with an option of BP Role and Grouping
    Thanks
    Amish

    Hello there,
    The BP Role which will be used and even the number ranges are generally not used for Web UI usage. Instead we provide different configurations of the same Account Creation view based on the Component Usage and three different keys.
    The functionality you are looking for can be achieved by creating different configurations.
    To create different configurations of the same view in Web UI please search on the below link :
    [http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUIFramework|http://wiki.sdn.sap.com/wiki/display/CRM/CRMWebClientUIFramework]
    Please reply if this helps.
    Best regards,
    Vinamra.

Maybe you are looking for

  • How do i remove tabs on top in v 33.1

    i just did a restore firefox action because i had a firefox message stating that could speed up my browser. After doing this, it has defaulted to putting my tabs on top. i really don't like tabs on top and want to change that setting. i read in one f

  • Scanner  to iMac?

    I just bought a Mac and wonder how to connect it to my scanner. It's a HEWLETT PACKARD ScanJet 3300C. In the Mac I see you can install/connect Printer and Fax, but what about a scanner? Someone told me to just plug in the cord. I have, but how do I d

  • JTree clearSelection

    When JTree loses its focus, I want to changed the selected path to another color. The problem is, that it's not enough to just change the selected color. You have to clear the selection and than set the new colors, so the JTree doesn't containt infor

  • Can't install Adobe registry patch for DW/Vista conflict

    Running Vista Business, Dreamweaver 8.02 installed. After losing the use of Vista help function, I downloaded the registry fix from Adobe's KB article ( http://kb.adobe.com/selfservice/viewContent.do?externalId=kb400789&sliceId=1). When I double clic

  • Test snow for bad wireless card?

    I have been having problems with my snow's ability to send a wireless signal. I have had it working for a long time and then it just quit. The LAN is working just fine, but my powerbook and airport express are no longer getting a signal. I have tried