Using a local catalog outside of JDeveloper?

Is it possible to establish a local catalog connection from outside of JDeveloper; that is as part of a deployed application?
I have tried including the catalog XML files in my JAR file and specifying the relative path to the files in the BI configuration file (i.e., PersistenceType="FILE" RootFolder="bidefs/BIDesigner/"). However, it seems that whatever combination of file location and configuration setting that I try I receive a catalog root cannot be found error.
Does anyone know if this is possible, and if so can you point me to an example?
(Note: I realize that in an actual production application that it is much better to use the database catalog, however, currently I’m simply working on a proof of concept and may not be able to create the catalog schema on my target database instance.)
Best Regards,
Matt
BI Beans Diagnostics(v1.0.2.0) 2/23/05
===============================================================================
JDEV_ORACLE_HOME .......................... = C:\oracle\ora92Dev
JAVA_HOME ................................. = C:\bea\jdk141_05
JDeveloper version ........................ = 9.0.4.0.1407
BI Beans release description .............. = BI Beans 9.0.4 Production Release
BI Beans component number ................. = 9.0.4.22.0
BI Beans internal version ................. = 2.7.5.31
Connect to database ....................... = Successful
JDBC driver version ....................... = 9.2.0.4.0
JDBC JAR file location .................... = C:\oracle\ora92Dev\jdev\lib\patche
s
Database version .......................... = 9.2.0.4.0
OLAP Catalog version ...................... = 9.2.0.4.1
OLAP AW Engine version .................... = 9.2.0.4.1
OLAP API Server version ................... = 9.2.0.4.1
BI Beans Catalog version .................. = 2.7.5.31
OLAP API JAR file version ................. = 9.2
OLAP API JAR file location ................ = C:\oracle\ora92Dev\jdev\lib\ext
Load OLAP API metadata .................... = Successful
Number of metadata folders ................ = 3
Number of metadata measures ............... = 0
Number of metadata dimensions ............. = 0
Metadata output location .................. = C:\oracle\ora92Dev\bibeans\bi_chec
kconfig\bi_metadata.txt

If you download the latest BI Beans 10g samples from the BI Beans section on OTN there is a sample called Analyzer. This sample uses a local filestore to save and retrieve all reports, calcs, saved selections etc created by the user during a session.
Hope this helps
Business Intelligence Beans Product Management Team
Oracle Corporation

Similar Messages

  • If I travel outside the US with an unlocked iphone and use a local SIM will I still receive iMessages sent to my US number when wifi is activated?

    If I travel outside the US with an unlocked iphone and use a local SIM will I still receive iMessages sent to my US number when wifi is activated?

    Ok, one of my problems is that when I arrive it will take me a few weeks to get a social security number and only t-mobile will give me a sim without a ssn - but edge for a few weeks will be better than no iPhone.
    Unless someone out there can suggest an alternative?

  • Managing toplink-related code outside of JDeveloper

    I was looking through the TopLink docs and don't see any discussion about how to structure and manage TopLink related artifacts (both generated and hand-written) outside of JDeveloper. We'd like to check things in to a CM tool (after an initial generation) and then build using standard tools like 'ant'.
    Is there any doc link that describes how best to approach this?

    Don't actually know what JDeveloper generates, but it's no prob with the external workbench. We have a separate CVS module for the project files from the workbench (all XML), and we also check in the exported mapping.xml and sessions.xml into our java source module. I would be surprised if JDeveloper didn't export something similar.

  • Is the catalog from Lightroom 5 compatible with Lightroom 6? Also, can Lightroom CC 2015 and Lightroom 6 use the same catalog?

    I am a current Lightroom 5.7 user - I have purchased and installed Lightroom 6, but have not launched the program yet - will LR 6 make changes to my LR 5 catalog, such that it cannot be used in LR5?
    Also, can LR6 and LR CC 2015 share the same catalog?

    Lightroom 6 will require an updated database are catalog format. When you first start Lightroom 6 after you have installed it, it will prompt you to upgrade your catalog. This will create a new copy of your catalog in the new format, leaving your Lightroom 5 catalog intact and usable if you still have Lightroom 5 installed. Lightroom 6 and Lightroom CC can use the same catalog. But they cannot share the same catalog because that catalog must be installed locally on both computers. The Lightroom catalog cannot be placed on a network drive.

  • Possible to create presentation objects outside of JDeveloper?

    Is it possible to create BI presentation objects (graphs, tables, crosstabs) outside of JDeveloper? I have been searching OTN forums, BI Beans javadoc and the OLAP API guide and have not found whether this is possible. I have seen where you can programatically create BI OLAP objects like queries and calculations, but not if/how you can create presentation objects.
    Regards,
    Steve Locke

    Got it! I was able to extend the "New Presentation" sample to allow users to save their newly-created presentations back to the BI catalog. Here's how:
    1) add a menu item for "Save"; add a listener for it
    m_mnuSave = new JMenuItem("Save...");
    m_mnuSave.setMnemonic('S');
    fileMenu.add(m_mnuSave, 4);
    m_mnuSave.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
    mnuSave_ActionPerformed(e);
    2) in mnuNew_ActionPerformed, add code to save the presentation to a module-level variable
    Dataview dv = npw.getDataview();
    m_objPresentation = npw.getDataview(); // new code
    3) write the Save action handler
    void mnuSave_ActionPerformed(ActionEvent e) {
    String sName = "";
    int result = 0;
    if (m_objPresentation == null)
    JOptionPane.showMessageDialog(null, "No presentation to be saved");
    return;
    /* Create InitialPersistenceManager */
    InitialPersistenceManager pmRoot = (InitialPersistenceManager)getPersistenceManager();
    /* Create PersistenceObjectChooser */
    PersistenceObjectChooser dialog = new PersistenceObjectChooser(pmRoot);
    JFrame frame = new JFrame();
    result = dialog.showSaveDialog(frame);
    if (result == PersistenceObjectChooser.OK_OPTION)
    PersistenceManager pmCurrent = (PersistenceManager)dialog.getCurrentDirectory();
    sName = dialog.getSelectedObjectName();
    if (sName != null)
    try
    //if name is not bound, then rebind will bind it
    pmCurrent.rebind(sName, m_objPresentation);
    catch (Exception ex) {
    showExceptionDialog(this, ex);
    } // if sName != null
    }// if result == OK_OPTION  

  • Is there a way to give a local user permission to add a local user using the local group policy editor?

    I need to find a way to have the local administrator of a Windows Server 2012 system grant a local user (non-administrator) the ability to add a user for the machine using the local group policy editor. The machine is not part of any Active Directory environment,
    this is strictly on the one machine.  In my situation it is not an option to just make the user an administrator. The idea is to give someone the right to add a user and have no other such administrative rights. I need to accomplish this using the
    Local Group Policy editor or the Group Policy Management Console if it is possible to do this outside of an active directory environment. This is not an assignment to learn how to use these tools and I am not even sure if it would even be possible though I
    need to either find a way or find proof that it is not possible using these applications.

    Hi,
    Sorry for the delay reply.
    So did you want to non-admin user have the ability to add another user?
    As far as i know, we cannot add the user if we have no local admin permission, we will receive the error"Access denied".
    Regards.
    Vivian Wang

  • I have 3g 64mb wi-fi and i am out of country, how can use there local phone company? They don't have a Verizon.

    I have 3g 64mb wi-fi and i am out of country, how can i use there local phone company? They don't have a Verizon.I am deeply apologaze for my English but i really need a help from you.Thanks a lot!
    Message was edited by: gulnarafromtroutdale

    verizon is cdma rather then gsm which is the mostly used phone network outside usa
    so depending on where out of he country mean you may not be able to recieve service at all
    I would check up on the country you're going to's phone companys they would have a guide
    if they support cdma and ipads

  • Using EJB Local Interface problem

    Hi to all
    I have got a problem in using Local EJB Interface in Weblogic , please attention to my description
    I use JDeveloper as IDE
    At first I create an Application in JDeveloper that has two projects that their names are Model and ViewContorller that first one contains my EJB and another contains my JSP page respectively
    The EJB code is :
    @Stateless(name="AliEJB001Bean")
    @Remote
    @Local
    public class AliEJB001Bean implements AliEJB001, AliEJB001Local {
    public AliEJB001Bean() {
    public String Hi(){
    return "Hi000";
    And its Local Interface code is :
    @Local
    public interface AliEJB001Local {
    String Hi();
    I deploy Model project to an EJB Jar file that its name is AliEE1ejb1.jar
    and I deploy the ViewContorller project to a WAR file that its name is AliEE1WebApp.war
    Now I add this tags to web.xml
    <ejb-local-ref>
    <ejb-ref-name>ali/testejb</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>model.AliEJB001Local</local>
    </ejb-local-ref>
    Then I deploy the Application to an EAR file by name AliEE1
    After those I run my JSP page witch calls the EJB in JDeveloper (through Local EJB Interface) , JDeveloper deploy my Application to the ItegratedWeblogicServer
    Ultimately the JSP can calls the EJB through Local Interface and use the Hi method and shows me the result but JDeveloper while compiles the application give me these Warnings :
    Warning: <May 15, 2011 9:02:52 AM PDT> <Error> <J2EE> <BEA-160187> <weblogic.appc failed to compile your application. Recompile with the -verbose option for more details. Please see the error message(s) below.>
    Warning: There are 1 nested errors:
    Warning: weblogic.servlet.internal.dd.compliance.ComplianceException: Element "<ejb-local-ref>" with ejb-ref-name "ali/testejb" must either specify a valid ejb-link element or have a corresponding ejb-reference-descriptor element in weblogic.xml with a valid jndi-name.
    Warning:      at weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDescriptorError(BaseComplianceChecker.java:74)
    Warning:      at weblogic.servlet.internal.dd.compliance.BaseComplianceChecker.addDescriptorError(BaseComplianceChecker.java:80)
    Warning:      at weblogic.servlet.internal.dd.compliance.EJBRefsComplianceChecker.validate(EJBRefsComplianceChecker.java:97)
    Warning:      at weblogic.servlet.internal.dd.compliance.EJBRefsComplianceChecker.checkEJBLocalRef(EJBRefsComplianceChecker.java:47)
    Warning:      at weblogic.servlet.internal.dd.compliance.EJBRefsComplianceChecker.check(EJBRefsComplianceChecker.java:39)
    Warning:      at weblogic.servlet.internal.dd.compliance.ComplianceUtils.checkCompliance(ComplianceUtils.java:48)
    Warning:      at weblogic.servlet.jsp.JspcInvoker.checkCompliance(JspcInvoker.java:145)
    Warning:      at weblogic.servlet.jsp.JspcInvoker.compile(JspcInvoker.java:198)
    Warning:      at weblogic.application.compiler.AppcUtils.compileWAR(AppcUtils.java:376)
    Warning:      at weblogic.application.compiler.WARModule.compile(WARModule.java:245)
    Warning:      at weblogic.application.compiler.flow.SingleModuleCompileFlow.proecessModule(SingleModuleCompileFlow.java:18)
    Warning:      at weblogic.application.compiler.flow.SingleModuleFlow.compile(SingleModuleFlow.java:36)
    Warning:      at weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
    Warning:      at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
    Warning:      at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36)
    Warning:      at weblogic.application.compiler.FlowDriver.run(FlowDriver.java:26)
    Warning:      at weblogic.application.compiler.WARCompiler.compile(WARCompiler.java:29)
    Warning:      at weblogic.application.compiler.flow.AppCompilerFlow.compileInput(AppCompilerFlow.java:112)
    Warning:      at weblogic.application.compiler.flow.AppCompilerFlow.compile(AppCompilerFlow.java:37)
    Warning:      at weblogic.application.compiler.Appc.runBody(Appc.java:198)
    Warning:      at weblogic.utils.compiler.Tool.run(Tool.java:158)
    Warning:      at weblogic.utils.compiler.Tool.run(Tool.java:115)
    Warning:      at weblogic.application.compiler.Appc.main(Appc.java:257)
    Warning:      at weblogic.appc.main(appc.java:14)
    According to the warning messages I wanna add <ejb-link> tag to the web.xml for resolving warnings I add the <ejb-link> like this:
    <ejb-local-ref>
    <ejb-ref-name>ali/testejb</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>model.AliEJB001Local</local>
    <ejb-link>AliEE1ejb1.jar#AliEJB001Bean </ejb-link>
    </ejb-local-ref>
    But when JDeveloper want deploy my application again it shows me this Error
    [09:29:59 AM] Redeploying Application...
    <May 15, 2011 9:29:59 AM PDT> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1305476999381' for task '7'. Error is: 'weblogic.application.ModuleException: Could not setup environment'
    weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1499)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:442)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'AliEE1ejb1.jar#AliEJB001Bean' declared in the ejb-ref or ejb-local-ref 'ali/testejb' in the application module 'ViewControllerWebApp.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
         at weblogic.deployment.BaseEnvironmentBuilder.addEJBLinkRef(BaseEnvironmentBuilder.java:464)
         at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:485)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3117)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
         Truncated. see log file for complete stacktrace
    >
    <May 15, 2011 9:29:59 AM PDT> <Error> <Deployer> <BEA-149202> <Encountered an exception while attempting to commit the 9 task for the application 'AliEE1'.>
    <May 15, 2011 9:29:59 AM PDT> <Warning> <Deployer> <BEA-149004> <Failures were detected while initiating deploy task for application 'AliEE1'.>
    <May 15, 2011 9:29:59 AM PDT> <Warning> <Deployer> <BEA-149078> <Stack trace for message 149004
    weblogic.application.ModuleException: Could not setup environment
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1499)
         at weblogic.servlet.internal.WebAppModule.activate(WebAppModule.java:442)
         at weblogic.application.internal.flow.ModuleStateDriver$2.next(ModuleStateDriver.java:375)
         at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:41)
         at weblogic.application.internal.flow.ModuleStateDriver.activate(ModuleStateDriver.java:95)
         Truncated. see log file for complete stacktrace
    Caused By: weblogic.deployment.EnvironmentException: [J2EE:160101]Error: The ejb-link 'AliEE1ejb1.jar#AliEJB001Bean' declared in the ejb-ref or ejb-local-ref 'ali/testejb' in the application module 'ViewControllerWebApp.war' could not be resolved. The target EJB for the ejb-ref could not be found. Please ensure the link is correct.
         at weblogic.deployment.BaseEnvironmentBuilder.addEJBLinkRef(BaseEnvironmentBuilder.java:464)
         at weblogic.deployment.EnvironmentBuilder.addEJBReferences(EnvironmentBuilder.java:485)
         at weblogic.servlet.internal.CompEnv.activate(CompEnv.java:157)
         at weblogic.servlet.internal.WebAppServletContext.activate(WebAppServletContext.java:3117)
         at weblogic.servlet.internal.WebAppModule.activateContexts(WebAppModule.java:1497)
         Truncated. see log file for complete stacktrace
    >
    [09:30:00 AM] #### Deployment incomplete. ####
    [09:30:00 AM] Remote deployment failed
    Do you know how I can solve this issue ?
    thanks

    Thank you so much
    I find out the solution
    I have to define my EJB in ejb-jar.xml like this
    <enterprise-beans>
         <session>
         <ejb-name>ReplicableSFSB2</ejb-name>
         <business-local>model2.AliEJB001Local</business-local>
         <business-remote>model2.AliEJB001</business-remote>
         <ejb-class>model2.AliEJB001Bean</ejb-class>
         <session-type>Stateless</session-type>
         </session>
    </enterprise-beans>
    And then I use the EJB name witch I defined in <ejb-name> tag in <ejb-link> tag of web.xml
    like this
    <ejb-local-ref>
    <ejb-ref-name>ali/testejb2</ejb-ref-name>
    <ejb-ref-type>Session</ejb-ref-type>
    <local>model2.AliEJB001Local</local>
    <ejb-link>Model2EJB.jar#ReplicableSFSB2</ejb-link>
    </ejb-local-ref>

  • Extremely slow download (8 kbps) and using "show local-host" to troubleshoot

    I have a USB device that gets firmware updates from the manufacture, the download of the firmware is very fast at other sites and at home except 1 site.  I found the following difference on the 2 ASAs (one where the download is fast the other where the download is very slow and cannot be completed) using "sh local-host" command. I think the ESP connection is the problem but I am not sure why its there - and I can see the byte count increment very slowly.  What would cause this connection to use ESP?
    At the sites where the download is fast
    DMZFW#  sh local-host 10.51.40.18 connection
    local host: <10.51.40.18>,
        TCP flow count/limit = 1/unlimited
        TCP embryonic count to host = 0
        TCP intercept watermark = unlimited
        UDP flow count/limit = 0/unlimited
      Conn:
        TCP Outside 70.42.140.65:80 inside 10.51.40.18:54632, idle 0:00:00, bytes 19480442, flags UIO
    ... ... (repeat the above command)
      Conn:
        TCP Outside 70.42.140.65:80 inside 10.51.40.18:54632, idle 0:00:00, bytes 24182974, flags UIO
    At the site where the download is extremely slow (like 8 kbps)
    DMZFW# sh local-host 10.1.40.74 connection
    local host: <10.1.40.74>,
        TCP flow count/limit = 1/unlimited
        TCP embryonic count to host = 0
        TCP intercept watermark = unlimited
        UDP flow count/limit = 0/unlimited
      Xlate:
        PAT Global X.X.X.X(30020) Local 10.1.40.74(50582) 
      Conn:
        ESP outside 70.42.140.65 inside 10.1.40.74, idle 0:02:48, bytes 0
        TCP outside 70.42.140.65:80 inside 10.1.40.74:50582, idle 0:00:00, bytes 2308822, flags UIO
    ... ... (repeat the above command)
      Conn:
        ESP outside 70.42.140.65 inside 10.1.40.74, idle 0:02:51, bytes 0
        TCP outside 70.42.140.65:80 inside 10.1.40.74:50582, idle 0:00:00, bytes 2318474, flags UIO

    I managed to run the test again a few minutes ago, was a bit quicker this time
    Test1 comprises of two tests 1.
    Best Effort Test: -provides background information.
    Download Speed 7 Kbps 0 Kbps 2000 Kbps
    Max Achievable Speed Download speedachieved during the test was - 7 Kbps For your connection, the acceptable range of speeds is 800-2000 Kbps.
    Additional Information: Your DSL Connection Rate :2167 Kbps(DOWN-STREAM), 955 Kbps(UP-STREAM) IP Profile for your line is - 1911 Kbps
    2. Upstream Test: -provides background information. Upload Speed 588 Kbps 0 Kbps 955 Kbps Max Achievable Speed >Upload speed achieved during the test was - 588 Kbps Additional Information: Upstream Rate IP profile on your line is - 955 Kbps This test was not conclusive and further testing is required.This might be useful for your ISP to investigate the fault.

  • Would lIke to know how to add an Logo to a Local Catalog in iProcurement

    Here is My Requirements:
    I have created a Local Catalog in iProcurement. By going to eContent Manager...one has the ablility to create a logo and attach it to the local catalog.
    I did attach a logo from a url address. And I am able to see logo but the logo is to big.
    So I have resized the logo and saved it to my desktop. But when I save the logo address. It does not appear.
    If anyone has gone thru this process...please what steps I am missing.
    Thanks.

    Hi Bichillo,
    I posted an example here.
    http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=137&HOID=50650000000500000014570100&HTHREAD=000087828&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
    It demonstrates how to do what you are asking.
    I do not mind you laughing at the code.
    Have fun!
    Ben

  • Wacom Tablet Pen Pressure stops working in Photoshop after using Lightroom Local Adjustment Brush

    Hi all,
    I am experiencing a problem with my Intuos Pro Medium (driver 6.3.9w3 on Windows 8.1)
    I am using Lighroom 5.6 and Photoshop CC 2014.
    I an get the pen pressure to work in Photoshop without any problem. However, if I go into Lightroom and use the Local Adjustment Brush and then transfer the photo into Photoshop (Right Click Edit In => Edit in Adobe Photoshop 2014 CC) then the pen pressure stops working in Photoshop.
    Really frustrating... The only workaround is to close both Photoshop and Lightroom, then reopen Photoshop, then usually the Pen pressure feature starts working again.
    Has anyone experienced this before or has any idea how to fix this?
    Thanks,
    Guillaume

    Your tablet driver isn't reporting pressure correctly.
    The knockoff tablet drivers usually need to be revised for each new version of Photoshop (and we have no idea why).
    Contact your tablet maker to see if they have updated drivers to fix their bugs.

  • ALV report using the field catalog

    which is the quickest way to generate an ALV report using the field catalog merge.  without needing to build the field catalog manually .
    is it easier to create a structure and passe it in the field catalog merge .  if yes can i have an example plzzzz

    hI
    Supports the creation of the field catalog for the ALV function modules
    based either on a structure or table defined in the ABAP Data
    Dictionary, or a program-internal table.
    The program-internal table must either be in a TOP Include or its
    Include must be specified explicitly in the interface.
    The variant based on a program-internal table should only be used for
    rapid prototyping since the following restrictions apply:
    o Performance is affected since the code of the table definition must
    always be read and interpreted at runtime.
    o Dictionary references are only considered if the keywords LIKE or
    INCLUDE STRUCTURE (not TYPE) are used.
    If the field catalog contains more than 90 fields, the first 90 fields
    are output in the list by default whereas the remaining fields are only
    available in the field selection.
    If the field catalog is passed with values, they are merged with the
    'automatically' found information.
    Below is an example ABAP program which will populate a simple internal table(it_ekpo) with data and
    display it using the basic ALV grid functionality(including column total). The example details the main
    sections of coding required to implement the ALV grid functionality:
                             Data declaration
                             Data retrieval
                             Build fieldcatalog
                             Build layout setup
    *& Report  ZDEMO_ALVGRID                                               *
    *& Example of a simple ALV Grid Report                                 *
    *& The basic requirement for this demo is to display a number of       *
    *& fields from the EKKO table.                                         *
    REPORT  zdemo_alvgrid                 .
    TABLES:     ekko.
    type-pools: slis.                                 "ALV Declarations
    *Data Declaration
    TYPES: BEGIN OF t_ekko,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      statu TYPE ekpo-statu,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
      menge TYPE ekpo-menge,
      meins TYPE ekpo-meins,
      netpr TYPE ekpo-netpr,
      peinh TYPE ekpo-peinh,
    END OF t_ekko.
    DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
          wa_ekko TYPE t_ekko.
    *ALV data declarations
    data: fieldcatalog type slis_t_fieldcat_alv with header line,
          gd_tab_group type slis_t_sp_group_alv,
          gd_layout    type slis_layout_alv,
          gd_repid     like sy-repid.
    *Start-of-selection.
    START-OF-SELECTION.
    perform data_retrieval.
    perform build_fieldcatalog.
    perform build_layout.
    perform display_alv_report.
    *&      Form  BUILD_FIELDCATALOG
    *       Build Fieldcatalog for ALV Report
    form build_fieldcatalog.
    * There are a number of ways to create a fieldcat.
    * For the purpose of this example i will build the fieldcatalog manualy
    * by populating the internal table fields individually and then
    * appending the rows. This method can be the most time consuming but can
    * also allow you  more control of the final product.
    * Beware though, you need to ensure that all fields required are
    * populated. When using some of functionality available via ALV, such as
    * total. You may need to provide more information than if you were
    * simply displaying the result
    *               I.e. Field type may be required in-order for
    *                    the 'TOTAL' function to work.
      fieldcatalog-fieldname   = 'EBELN'.
      fieldcatalog-seltext_m   = 'Purchase Order'.
      fieldcatalog-col_pos     = 0.
      fieldcatalog-outputlen   = 10.
      fieldcatalog-emphasize   = 'X'.
      fieldcatalog-key         = 'X'.
    *  fieldcatalog-do_sum      = 'X'.
    *  fieldcatalog-no_zero     = 'X'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'EBELP'.
      fieldcatalog-seltext_m   = 'PO Item'.
      fieldcatalog-col_pos     = 1.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'STATU'.
      fieldcatalog-seltext_m   = 'Status'.
      fieldcatalog-col_pos     = 2.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'AEDAT'.
      fieldcatalog-seltext_m   = 'Item change date'.
      fieldcatalog-col_pos     = 3.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MATNR'.
      fieldcatalog-seltext_m   = 'Material Number'.
      fieldcatalog-col_pos     = 4.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MENGE'.
      fieldcatalog-seltext_m   = 'PO quantity'.
      fieldcatalog-col_pos     = 5.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'MEINS'.
      fieldcatalog-seltext_m   = 'Order Unit'.
      fieldcatalog-col_pos     = 6.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'NETPR'.
      fieldcatalog-seltext_m   = 'Net Price'.
      fieldcatalog-col_pos     = 7.
      fieldcatalog-outputlen   = 15.
      fieldcatalog-do_sum      = 'X'.        "Display column total
      fieldcatalog-datatype     = 'CURR'.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
      fieldcatalog-fieldname   = 'PEINH'.
      fieldcatalog-seltext_m   = 'Price Unit'.
      fieldcatalog-col_pos     = 8.
      append fieldcatalog to fieldcatalog.
      clear  fieldcatalog.
    endform.                    " BUILD_FIELDCATALOG
    *&      Form  BUILD_LAYOUT
    *       Build layout for ALV grid report
    form build_layout.
      gd_layout-no_input          = 'X'.
      gd_layout-colwidth_optimize = 'X'.
      gd_layout-totals_text       = 'Totals'(201).
    *  gd_layout-totals_only        = 'X'.
    *  gd_layout-f2code            = 'DISP'.  "Sets fcode for when double
    *                                         "click(press f2)
    *  gd_layout-zebra             = 'X'.
    *  gd_layout-group_change_edit = 'X'.
    *  gd_layout-header_text       = 'helllllo'.
    endform.                    " BUILD_LAYOUT
    *&      Form  DISPLAY_ALV_REPORT
    *       Display report using ALV grid
    form display_alv_report.
      gd_repid = sy-repid.
      call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
    *            i_callback_top_of_page   = 'TOP-OF-PAGE'  "see FORM
    *            i_callback_user_command = 'USER_COMMAND'
    *            i_grid_title           = outtext
                is_layout               = gd_layout
                it_fieldcat             = fieldcatalog[]
    *            it_special_groups       = gd_tabgroup
    *            IT_EVENTS                = GT_XEVENTS
                i_save                  = 'X'
    *            is_variant              = z_template
           tables
                t_outtab                = it_ekko
           exceptions
                program_error           = 1
                others                  = 2.
      if sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      endif.
    endform.                    " DISPLAY_ALV_REPORT
    *&      Form  DATA_RETRIEVAL
    *       Retrieve data form EKPO table and populate itab it_ekko
    form data_retrieval.
    select ebeln ebelp statu aedat matnr menge meins netpr peinh
    up to 10 rows
      from ekpo
      into table it_ekko.
    endform.                    " DATA_RETRIEVAL

  • HT2589 in our country we dont have iTune Store if i create iTunes accounts in another country can i use my local bank credit card??

    In our country we dont have iTune Store if i create iTunes accounts in another country (example UK) can i use my local bank credit card??

    No, you need to be in a country and have a valid billing address in that country to be able to use a country's store. If there isn't an iTunes store in your country then unfortunately you won't be able to buy any content from iTunes.

  • How do I use a LR5 catalog in LR4?

    I own lightroom 4 on one computer. I installed a lightroom 5 trial version on another computer for a trip I went on. I used lightroom 5 on the trip, keeping my catalog and all my pictures on an external hardrive. Now that my trial vertion for lightroom 5 is about up I need to use it's catalog in lightroom 4. How do I do it???

    Short answer is: you can't. Catalogs are not backwards compatible, never have been with Lightroom.
    Assuming you have processed those images in LR5 (if you haven't, just import them again into LR4), the best you can do is to select all images in the LR5 catalog and do Ctrl-S. This will write most of the metadata associated with those images back to the files (or to XMP sidecar files if using proprietary Raw format), though not all of it. Then you import the images into LR4 and hope for the best.....things like Keywords, Titles, Captions, GPS data should be preserved, but develop edits will be more of a lottery. Because the undelying Process Version is the same, some of the edits should be preserved, but anything done in LR5 using the new tools will be lost as LR4 will not understand them.

  • Getting error while accessing a webpage by using link local address of ipv6

    Hello,
    I want to access my login.jsp by using ipv6 address.
    when i am accessing my web page by using loop back or localhost6(like the following) it is working.
    http://[::1]:8080/test/login.jsp //for loopback
    http://localhost6:8080/test/login.jsp
    But when i am accessing my webpage by using link local address as following i am not getting my web page.
    http://[fe80::201:6cff:fe0f:d7ae%eth0]:8080/test
    or
    http://[fe80::201:6cff:fe0f:d7ae]:8080/test
    For the above case is there any solutions????

    Whatever i have mentioned these are correct. My ipv6 address is also correct.From browser only i am accessing.>
    Not a Java issue, then. Your problem I'm afraid.
    But how do you know they're correct? Given that one of them isn't working, I'd triple check it if I were you.

Maybe you are looking for