Approach for generating a report while having Func Specs of the Report

Hi Experts,
Please tell me what should be the approach for generating a report when having Func Specs of the Report.
Thnx
Sid

Hi,
1st you need to know the business need and related data.
1st know that according to the business need is there any standard SAP report is there or not.
try to know the Data base table and related fields required according to the need.
know the relations of the data base tables to map the data.
Accordingly prepare Technical spec's or go a head for coding.
Thanks.
If this helps you reward with points.

Similar Messages

  • Generating a PDF and then Email it from the report server.....

    All,
    This is my first post on this forum and I have the following question.....
    Please note I am not a DB expert nor a reporting expert but I have done my fair share of reporting using Oracle DB with Oracle Reports or Hyperion.
    I have a report that will be posted to the report server that a user can go out and run at there convenience.
    As a side note we have recently migrated our Database from ORACLE 8i to 10G and the report was created using Oracle ReportBuilder 10.1.
    This report was also mimicked by a Oracle package and emailed out through I believe some PL SQL(?). This is a plain text report in the email.
    As I recently did some big changes to the Original report they want this email report to match as well.
    Well After looking at what they want in the email its basically the exact same thing as the version the user would see on the web. This seems like a waste of time for myself to edit this Package (For the email report - plaint text) and to have a oracle report available on the web server not to mention the DB dealing with the PLSQL..
    So I am asking is there a way to set up Oracle reports to mail a generated PDF or a HTML results file out from the reporting server at a specified time?
    If so how is this accomplished?
    I see that in the help file in Report Builder that you can set rwbuilder.conf file with the SMTP server but how do I set the email address and the time to run the report.
    Thanks for all the help,
    Chris

    Hello,
    Maybe I am not understanding something but we have a reporting server where they basically select the report in a drop down web control and they fill in the necessary parameters and then the report is ran.
    The web links refer to report builder and how to email from it. I am in a web environment that they select the report and its ran. Is this web form a standard product with Oracle for reporting?
    I have seen how to do accomplish my task from the command line. Is this another way of accomplishing this task?
    I think what I am also looking for is a confirmation that what I want to do is possible and that someone has accomplished this task before.
    Thanks,
    Chris

  • Do I have to close all background apps (i.e. apps which appear in multitasking) before turning off my iPad? Is it safe to shut it down while having these apps in the background?

    Do I have to close all background apps (i.e. apps which appear in multitasking) before turning off my iPad?
    Is it safe to shut it down while having these apps in the background?
    When you shut down operating systems like MS Windows or Mac OS, they automatically close your active applications before shutting down, is this true for iOS 7?

    stedman1
    lizdance40
    Thanks, I do appreciate your immediate response to my question.
    BUT your answers revealed an explicit controversy about background apps ... close them to save power and performance OR don't bother to close them as they are idle or inactive!
    This dispute is resolved by APPLE in the following link:
    http://support.apple.com/kb/ht5137
    My original question was: Is it necessary to kill background apps before shutting down my ipad to avoid any harm to the apps or the OS?

  • I have a Blackberry 8330 and a MacBook. For some reason I started having connectivity issues. The handheld will not sync with the computer via pocketmac. I have uninstalled, etc 15 times. Please help

    I have a Blackberry 8330 and a MacBook. For some reason I started having connectivity issues. The handheld will not sync with the computer via pocketmac. I have uninstalled, etc 15 times. Please help

    Hi Peter!
    I'm sorry to read that you are having issues with your Sync account.
    Your best bet is to follow the steps described in this blogposts and open a bug:
    https://philikon.wordpress.com/2011/06/13/how-to-file-a-good-sync-bug/
    After that, if you don't want to user Sync in your computer, you can stop it with this simple steps:
    * At the top of the Firefox window, click on the Firefox button (Tools menu in Windows XP) and then click Options.
    * Once the options window opens, click on the Sync tab.
    * At the bottom of the Sync tab click on '''Deactivate this Device''' link

  • Best approach for jtree with each node having data to be displayed in 2rows

    Hi,
    Need directions on approach for constructing a jtree.I am not sure whether this is possible in jtree.
    the format of tree will be as shown below
    +JTREE
    -JTREE
    - Name1 Age 1 Id1
    Address Details1(Should be a button)
    - Name2 Age 2 Id2
    Address Details2(Should be a button)
    Problem here is each child node has two rows.First row has three columns and second row has a button which takes user to new screen on click. Any directions on how to approach this problem will be helpful
    Thanks for your help
    Ravi

    Hi,
    Thanks for the suggestion. Will this approach work, if I have to display a button in the second row and content in the first row (Can these tworows together be given as a treenode)?
    Any sample example code will be useful.
    thanks and regards
    ravi

  • Malfunctio​n in generating word report out of an app (using the report generation toolkit)

    I placed in my program some features that generate a word report with some graphics and text using the report generation toolkit. When I'm in the developing system everything works. But the point is that I have to create an exe for a user and in testing this the report is not generated (and no error msg occurs). Does anyone handeled this problem already and could give me some hints? Thx.

    Hi muchalla,
    the report generation toolkit for MS office depends on the version of MS Office (not the OS). You must generate your application for the version of MS Office or use some dynamic technic.
    The different versions of the llbs you need are on the CD in a subfolder called compability.
    Here I have asked if some ideas to do this will work. Until now I haven't got the time to verify it by myself.
    You will find here more information about using the report toolkit with applications.
    Waldemar
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • SQL reporting - An internal error occurred on the report server. See the error log for more details. (rsInternalError)

    I have created an RDL file programatically. When I execute the code I get the error as mentioned below:
    Error: Sub report cannot be shown.
    An internal error occurred on the report server. See the error log for more details. (rsInternalError)
    When I copy and paste the code of RDL file into new RDL file and try to preview the output I get correct result.
    Note: The new RDL file does not give any error if the output is seen using preview tab but it gives the error only when executed from report viewer or from internet explorer.
    Any Suggestion/feedback is highly appreciated.
    Thank You.
    The code of the sample RDL is shown below:
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns="http://schemas.microsoft.com/sqlserver/reporting/2005/01/reportdefinition" xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner">
      <DataSources>
        <DataSource Name="DataSource1">
          <DataSourceReference>DataSource1</DataSourceReference>
          <rd:DataSourceID>fe4806ee-0358-4a87-b764-ac5de049545e</rd:DataSourceID>
        </DataSource>
      </DataSources>
      <BottomMargin>0.25in</BottomMargin>
      <RightMargin>0.25in</RightMargin>
      <PageWidth>11in</PageWidth>
      <ReportParameters>
        <ReportParameter Name="machine_id">
          <DataType>String</DataType>
          <Prompt>machine_id</Prompt>
        </ReportParameter>
        <ReportParameter Name="from_date">
          <DataType>String</DataType>
          <AllowBlank>true</AllowBlank>
          <Prompt>From Date</Prompt>
        </ReportParameter>
        <ReportParameter Name="to_date">
          <DataType>String</DataType>
          <AllowBlank>true</AllowBlank>
          <Prompt>To Date</Prompt>
        </ReportParameter>
      </ReportParameters>
      <rd:DrawGrid>true</rd:DrawGrid>
      <InteractiveWidth>8.5in</InteractiveWidth>
      <rd:SnapToGrid>true</rd:SnapToGrid>
      <Body>
        <ReportItems>
          <Table Name="table1">
            <DataSetName>Main_Report</DataSetName>
            <TableGroups>
              <TableGroup>
                <Header>
                  <TableRows>
                    <TableRow>
                      <TableCells>
                        <TableCell>
                          <ReportItems>
                            <Textbox Name="textbox2">
                              <rd:DefaultName>textbox2</rd:DefaultName>
                              <ZIndex>1</ZIndex>
                              <Style>
                                <TextAlign>Left</TextAlign>
                                <PaddingLeft>2pt</PaddingLeft>
                                <PaddingBottom>2pt</PaddingBottom>
                                <PaddingRight>2pt</PaddingRight>
                                <PaddingTop>2pt</PaddingTop>
                              </Style>
                              <CanGrow>true</CanGrow>
                              <Value>=Fields!syscode.Value</Value>
                            </Textbox>
                          </ReportItems>
                        </TableCell>
                      </TableCells>
                      <Height>0.25in</Height>
                    </TableRow>
                  </TableRows>
                  <RepeatOnNewPage>true</RepeatOnNewPage>
                </Header>
                <Grouping Name="table1_Group1">
                  <PageBreakAtEnd>true</PageBreakAtEnd>
                  <GroupExpressions>
                    <GroupExpression>=Fields!syscode.Value</GroupExpression>
                  </GroupExpressions>
                </Grouping>
              </TableGroup>
            </TableGroups>
            <Details>
              <TableRows>
                <TableRow>
                  <TableCells>
                    <TableCell>
                      <ReportItems>
                        <Subreport Name="subreport1">
                          <Parameters>
                            <Parameter Name="machine_id">
                              <Value>=Fields!machine_ip.Value</Value>
                            </Parameter>
                            <Parameter Name="syscode">
                              <Value>=Fields!syscode.Value</Value>
                            </Parameter>
                            <Parameter Name="from_date">
                              <Value>=Parameters!from_date.Value</Value>
                            </Parameter>
                            <Parameter Name="to_date">
                              <Value>=Parameters!to_date.Value</Value>
                            </Parameter>
                          </Parameters>
                          <ReportName>Holding_Summary_Multi_Period</ReportName>
                        </Subreport>
                      </ReportItems>
                    </TableCell>
                  </TableCells>
                  <Height>0.25in</Height>
                </TableRow>
              </TableRows>
            </Details>
            <TableColumns>
              <TableColumn>
                <Width>10.5in</Width>
              </TableColumn>
            </TableColumns>
            <Height>0.5in</Height>
          </Table>
        </ReportItems>
        <Height>0.75in</Height>
      </Body>
      <rd:ReportID>d0a1293a-e98c-4f75-9597-03426d2e7218</rd:ReportID>
      <LeftMargin>0.25in</LeftMargin>
      <DataSets>
        <DataSet Name="Main_Report">
          <Query>
            <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
            <CommandText>select account_syscode as syscode , 'display Name' as display_name , * from mars_customer_list
    where machine_ip = @machine_id</CommandText>
            <QueryParameters>
              <QueryParameter Name="@machine_id">
                <Value>=Parameters!machine_id.Value</Value>
              </QueryParameter>
            </QueryParameters>
            <DataSourceName>DataSource1</DataSourceName>
          </Query>
          <Fields>
            <Field Name="syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>syscode</DataField>
            </Field>
            <Field Name="display_name">
              <rd:TypeName>System.String</rd:TypeName>
              <DataField>display_name</DataField>
            </Field>
            <Field Name="customer_syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>customer_syscode</DataField>
            </Field>
            <Field Name="account_syscode">
              <rd:TypeName>System.Int64</rd:TypeName>
              <DataField>account_syscode</DataField>
            </Field>
            <Field Name="machine_ip">
              <rd:TypeName>System.String</rd:TypeName>
              <DataField>machine_ip</DataField>
            </Field>
          </Fields>
        </DataSet>
      </DataSets>
      <Code>Shared offset As Integer
    Public Function GetPN(reset As Boolean, pagenumber As Integer) As Integer
      If reset
        offset = pagenumber - 1
      End If
      Return pagenumber - offset
    End Function
    </Code>
      <Width>10.5in</Width>
      <InteractiveHeight>11in</InteractiveHeight>
      <Language>en-US</Language>
      <PageFooter>
        <ReportItems>
          <Image Name="image1">
            <Sizing>Fit</Sizing>
            <Left>8.875in</Left>
            <MIMEType />
            <Width>1.5in</Width>
            <Source>External</Source>
            <Style />
            <Value>bottom_right_logo.gif</Value>
          </Image>
        </ReportItems>
        <Height>0.5in</Height>
        <PrintOnLastPage>true</PrintOnLastPage>
        <PrintOnFirstPage>true</PrintOnFirstPage>
      </PageFooter>
      <TopMargin>0.5in</TopMargin>
      <PageHeight>8.5in</PageHeight>
    </Report>

    i created a SSRS report with shared datasets and uploaded rdl files and rsd files , while trying to map rdl file with data sets i am getting an error
    when i click on manage for .rdl file, its throwing error , as
    "An internal error occurred on the report server. See the error log for more details. (rsInternalError)
    Object reference not set to an instance of an object.
    please help me with this

  • While printing RDLC Report ,Report viewer also get printed with the report

    hi
    When i take the Printout of RDLC Report,Report viewer is also get printed which should not be done,
    How should i overcome while printing the RDLC record
    Thanks in advance,
    Radhika

    Hi there,
    Thanks for the reply.  Turns out that our IS department has deployed a patch called RS Client Print-ActiveX Crtl R02 which has caused this problem.  Not sure why it broke it yet or how to fix it so still investigating.
    This only happens for reports viewed within InfoView if they are in Crystal Reports format.  There are no hyper links in the report, it only affects reports with 2 or more pages.
    If we get a resolution I'll post it here or if anyone has any clues to why then please post.
    Cheers,
    Chris

  • For Peter Spier, Indesign crashing on launch, here's the report

    Hi Peter, Here's the report on the Indesign Crash. It crashes right at launch, starts to load and then shows the crash report. I have uninstalled and reinstalled it a couple of times. Reloaded Suitcase Fusion, and reloaded all my fonts. Run my cleaning software several times. Have been seaching the discussion board for solutions, and have tried all that I have found, still crashing on launch. I have two big jobs to start, and I'm very frustrated. Will upgrading to CS 6 resolve the problem. Seems to be from what I have read that OSX 10.7.5. and Indesign 5.5 are no longer compatible. Please help if you can.
    Thanks,
    Lauri
    Process:    
    Adobe InDesign CS5.5 [978]
    Path:       
    /Applications/Adobe InDesign CS5.5/Adobe InDesign CS5.5.app/Contents/MacOS/Adobe InDesign CS5.5
    Identifier: 
    com.adobe.InDesign
    Version:    
    7.5.0.142 (7500)
    Code Type:  
    X86 (Native)
    Parent Process:  launchd [179]
    Date/Time:  
    2014-01-25 13:01:05.294 -0800
    OS Version: 
    Mac OS X 10.7.5 (11G63)
    Report Version:  9
    Interval Since Last Report:     
    425694 sec
    Crashes Since Last Report:      
    23
    Per-App Interval Since Last Report:  698156 sec
    Per-App Crashes Since Last Report:   -202
    Anonymous UUID:                 
    E8A1A0A9-7511-4891-BD81-4E51DA8D8EEC
    Crashed Thread:  0  Dispatch queue: com.apple.main-thread
    Exception Type:  EXC_BREAKPOINT (SIGTRAP)
    Exception Codes: 0x0000000000000002, 0x0000000000000000
    Application Specific Information:
    *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
    *** Call stack at first throw:
    0   CoreFoundation                 
    0x91e1fa67 __raiseError + 231
    1   libobjc.A.dylib                
    0x9160c149 objc_exception_throw + 155
    2   CoreFoundation                 
    0x91d87289 +[NSException raise:format:arguments:] + 137
    3   CoreFoundation                 
    0x91d871f9 +[NSException raise:format:] + 57
    4   Foundation                     
    0x945f15d9 -[NSConcreteTask launchWithDictionary:] + 506
    5   Foundation                     
    0x9471eae5 +[NSTask launchedTaskWithLaunchPath:arguments:] + 255
    6   ExtensisFontManagementIDCS5.5  
    0x0e2a544c _Z19FindAndLaunchFMCorePSs + 1404
    7   ExtensisFontManagementIDCS5.5  
    0x0e2593a2 _ZN12EPFInterface19InitializeFrameworkEPK10__CFString + 866
    8   ExtensisFontManagementIDCS5.5  
    0x0e25b200 _ZN12EPFInterfaceC1EPK10__CFStringS2_S2_S2_ + 286
    9   ExtensisFontManagementIDCS5.5  
    0x0e25855e _ZN15SuitcaseGlobals21GetSharedEPFInterfaceEv + 192
    10  ExtensisFontManagementIDCS5.5  
    0x0e27eb05 _ZN27AppStartupShutdownResponder7StartupEv + 279
    11  AppFramework                   
    0x1100c180 GetPlugIn + 182592
    12  ObjectModelLib.dylib           
    0x01147516 ObjectModelLib.dylib + 165142
    13  ObjectModelLib.dylib           
    0x01157c1d _Z11ShuksanInitPFP14IStartupScreenvEP7IPlugIn + 23101
    14  ObjectModelLib.dylib           
    0x01153244 _Z11ShuksanInitPFP14IStartupScreenvEP7IPlugIn + 4196
    15  Adobe InDesign CS5.5           
    0x00002842 main + 82
    16  Adobe InDesign CS5.5           
    0x000027c6 start + 54
    objc[978]: garbage collection is OFF
    Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
    0   com.apple.CoreFoundation 
    0x91e1f957 ___TERMINATING_DUE_TO_UNCAUGHT_EXCEPTION___ + 7
    1   libobjc.A.dylib          
    0x9160c149 objc_exception_throw + 155
    2   com.apple.CoreFoundation 
    0x91d87289 +[NSException raise:format:arguments:] + 137
    3   com.apple.CoreFoundation 
    0x91d871f9 +[NSException raise:format:] + 57
    4   com.apple.Foundation     
    0x945f15d9 -[NSConcreteTask launchWithDictionary:] + 506
    5   com.apple.Foundation     
    0x9471eae5 +[NSTask launchedTaskWithLaunchPath:arguments:] + 255
    6   com.extensis.AutoActivationPlugin.ID7
    0x0e2a544c FindAndLaunchFMCore(std::string*) + 1404
    7   com.extensis.AutoActivationPlugin.ID7
    0x0e2593a2 EPFInterface::InitializeFramework(__CFString const*) + 866
    8   com.extensis.AutoActivationPlugin.ID7
    0x0e25b200 EPFInterface::EPFInterface(__CFString const*, __CFString const*, __CFString const*, __CFString const*) + 286
    9   com.extensis.AutoActivationPlugin.ID7
    0x0e25855e SuitcaseGlobals::GetSharedEPFInterface() + 192
    10  com.extensis.AutoActivationPlugin.ID7
    0x0e27eb05 AppStartupShutdownResponder::Startup() + 279
    11  com.adobe.InDesign.AppFramework
    0x1100c180 GetPlugIn + 182592
    12  ObjectModelLib.dylib     
    0x01147516 0x111f000 + 165142
    13  ObjectModelLib.dylib     
    0x01157c1d ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 23101
    14  ObjectModelLib.dylib     
    0x01153244 ShuksanInit(IStartupScreen* (*)(), IPlugIn*) + 4196
    15  com.adobe.InDesign       
    0x00002842 main + 82
    16  com.adobe.InDesign       
    0x000027c6 start + 54
    Message was edited by: Peter Spier

    Hi Peter,
      Please excuse my diminished mental capacity... I have the flu, uuuugh. I pasted the report into pastebin.com but could not figure out how to get a link to you. Anyway, just wanted to let you know, I downloaded the patch for InDesign that you recommended, it continued to crash, so I purchased the upgrade for Suitcase, went from ver 3 to ver 5. And now InDesign is launching with no problems... Hopefully that will continue.
      Just wanted to tell you THANK YOU for your advice and wisdom... it seems this stuff always goes wacky when you have a big job,
    Anyway Thanks Again,
    Lauri
    Green Dragon Graphics

  • Running Reports from Client Machines in which the reports are residing on t

    Hi Folks,
    I'm using Developer 6i with Oracle 9i. I can run forms from the clients so that the FMX file is residing on a shared drive on the server, but when I try to run reports which also reside on the shared drive of server, I get error that unable to find the report. Do I need to install report server on the client machine/server or am I missing some basic step here?
    TIA
    Hassan

    Hi,
    There's a whitepaper on the topic of Forms/Reports integration for the web called "Oracle9iAS Forms Services and Reports Services Integration". This should give you the information you are seeking.
    regards,
    Stewart

  • How to schedule the webi report based on data changes in the report data

    Hello,
    I want  to schedule a webi report based on data change in a column in the report.
    The scenario is something like below:
    1. If a data of a particular column changes from 2 to 3 than I would like to schedule this report and sent it to users mail box.
    I know how to apply alerts or schedule a report or data tracking for capturing changes in the report but I dont know how to schedule the report only for data changes.
    Anybody done this before.
    Thanks
    Gaurav

    Hi,
    May be these links can help you:
    http://devnet.magicsoftware.com/en/library?book=en/iBOLT/&page=SAP_R_3_Master_Data_Distribution_Defining_Change_Pointers.htm
    SEM-BCS: Load from data stream schedule
    Attribute Change Run

  • "Edit Report" option getting disabled on saving the report in BPC 10.0

    I have created input schedules using "Edit Report" functionality in BPC 10.0 NW, added a few buttons and corresponding VB code and tested the input schedule by sending data and running data manager package. Everything is working fine. After that I saved the input schedule and closed the Excel. On reopening the excel Add-in and the input schdule, the "Edit report" option becomes disabled and refresh and other functionalities available for the report get disabled. I have faced this issue a couple of times. Has anybody else faced this issue? Can someone let me know the resolution to this problem?

    Hi Shruti,
    This is probably happening because the report/input schedules is not getting connected. Please check the connections once.
    Also if you had named the report in "Edit Report" earlier, say for example "Sales Report", once the report is open you should be able to see this name on the EPM context pane, right side under Current Report: Connected to "Your Model" and below that in the drop down the default selection should be "Sales Report". This means that the report is connected and the Edit Report option is active.
    Hope this helps.
    Regards,
    Bhairavi

  • Report hanging (when try to modify the report)

    Post Author: aneel
    CA Forum: WebIntelligence Reporting
    Hi All,
    This becomes a longlosting issue for me Please anyone look into this.
    I have created one report with 6 global and 3 local filters, 12 local variables.
    When I try to modify the webi report it strucks up and keeps on running continuously with out giving any kind of result.
    Please reply anyone !!!!!!!!!

    Post Author: jsanzone
    CA Forum: WebIntelligence Reporting
    Vinl,
    The WebI (and BOE XI server) is not completely tuned out of the box to support multiple data providers and large data sets.  There are tuning parameters that must be set (and which will cause more memory usage, etc, etc) and must be monitored to expand performance in order to resolve unwanted timeouts.  If you are not the administrator, then you'll have to work with him or her (and possibly open a trouble ticket with tech support for more help, if needed).
    The timeout aspect is frustrating.  We have three servers, development, testing, and production.  The development system is totally off-line and not under any security-lockdown influences.  Testing is our pre-stage and was built by our BI team.  And production is in the server farm built by the Sysadmins.  Of the three servers, only the production server suffers from a two-minute WebI timeout (and Infoview timeouts where the report just spins all day without a response, but in WebI at least we get an ugly "error notice" when the two-minute timeout occurs).  We think that some kind of lockdown was performed on our production server that causes the two-minute timeout for an executing report to occur.  On the one hand it keeps us sharp in not building reports that will make the user wait a long time, and to encourage them to schedule a report through scheduler when it will take longer than two minutes to execute.  On the other hand it can be troublesome to maintain a report that takes so long to run in terms of modifications and corrections.  At times I've had to go into the datawarehouse and rename a production table to something else, then create a mini-version of that production table in order to run the report and modify it (all done in the off-hours of course), and then when done modifying the report, delete the mini-version of the production table and rename the off-named production table back to its original name in order to press on.  The things we gotta do to press on with life....  Good luck, and hang in there Vinl.

  • List of reports and groups who can access the reporta

    Please i need some help
    I need to get list of   bo reports and groups who can access these reports.
    I got list of groups but i need the list of reports and groups who have access to those reports.
    Is there any query which i can write in query builder to get that information.
    please help me with query

    No need for DB access. This might work for you.
    //assumes you have a session objectpublicvoidGetCommunityACLs(intcommunityId){    Console.WriteLine("Retrieving users for community "+communityId.ToString());    IPTObjectManagercommunityManager=session.GetCommunities();    IPTCommunitycommunity=(IPTCommunity) communityManager.Open(communityId, false);    IPTServerContextserverContext=(IPTServerContext) community.GetInterfaces("IPTServerContext");    //since IPTServerContext is obtained from a community,    //the IPTServerContext.GetACL() method will return a list of all objects that have acls defined on it.    IPTAccessListaclList=serverContext.GetACL();    for(inti=0; i<aclList.GetCount(); i++)    {        IPTAccessListEntryacl=aclList.GetItem(i);        stringmemberType;        if(acl.GetClassID() ==PT_CLASSIDS.PT_USER_ID)            memberType="User";        elseif(acl.GetClassID() ==PT_CLASSIDS.PT_USERGROUP_ID)            memberType="Group";        else            memberType="";        Console.WriteLine("{0}: {5,-6}{1,-3} Access Level={3,-2} r/o={4,-6} {2}", i, acl.GetObjectID(), acl.GetName(), acl.GetAccessLevel(), acl.GetReadOnly(), memberType ); }}
    Ruslan.

  • Is this good approach for generating Primary Keys ?

    Hi,
    All our EJBs are state less Session Beans.
    We have created a state less Session(name SequenceEJB) for getting Primary Key.
    Thre is a method,
    int getSequenceNumber(String tableName,String fieldName) in SequenceEJB. And the following query is used in the above said method.
    SELECT MAX("+fieldName+") ID FROM "+tableName
    Each EJB will lookup SequenceEJB, and call the above said method for getting sequence number.
    Is this approach sclable ?
    Can we proceed by this approach ?
    Thanks in advance
    Srinivas

    As long as you are in EJB, synchronization won't help you because it is not permitted by the EJB spec.
    If you can go with JDBC 3.0 / Java 1.4, the statement interface supportes generated keys. See http://java.sun.com/j2se/1.4/docs/api/java/sql/Statement.html.
    If you cannot go with JDBC 3.0 / Java 1.4, you can implement the key-generation db-specific (e.g. using oracle sequences for oracle tables, and whatever exists for DB2, SQL Server etc.) That of course requires special support for all databases, but at least you can run your app with different databases.
    Or you can try to do it the following way, using a separate table for the keys.
    ResultSet rs = statement.executeQuery("select id from mySequences");
    oldId = rs.getInt(1);
    newId = oldId + 1
    int updatedRows = statement.executeQuery("update mySequences set id = newId where id = oldId");
    if(updatedRows == 1) {
      // succesful
    } else {
      // not sucessful, somebody else has already retrieve this id; do something like Thread.sleep() and retry
    }This way, the database does the actual synchronization between the processes (each process sees the same data in the tables), and you implement the retry logic.

Maybe you are looking for

  • How do I connect to internet with Alltel Huawei (WAN) modem?

    I'm trying to connect my brand new MacBook OS 10.5.2 to the internet through an Alltel cellular wireless modem. Model: Huawei EC228. I have activated the modem successfully through the supplied "Quicklink Mobile" software and I have signal bars, but

  • Replacement iPod with identical problem.

    I just paid good money for one of the new 80GB iPod's. As soon as iTunes had successfully loaded my 40GB+ collection onto it and indicated that it was safe to disconnect, the iPod started boot cycling, and couldn't be got out of it. I got a replaceme

  • Akonadi Crashing when starting Konversation or other dependant apps...

    When I start Konversation I see a progress bar saying "Starting Akonadi server" for about 20 seconds until it finally crashes and Konversation starts. I have the same progress bar if I goto System Setting -> Personal Information. Here is what is disp

  • List of companies Implemented SAP

    Hi I am looking for the list of companies implemented SAP or ERP in the UK or Europe, or USA. Can anybody help please? I need this list for my project. I am using questionnaire and interview to validate my research. But I found it hard to find the li

  • How to change aspect ratio AFTER creating a project

    I created a project in FCPX and somehow it's got Black bars on the left and right (i think i created a 16:9 project and put 4:3 clips in). I can't enlarge the clips as they contain text that would be cropped out, so i need to turn my 16:9 project int