Jdesktop pane is not working as desired

I took code from sun tutorial and added few lines of code, I using Jdesktop and internal frame here. my requirement is that i need to add one panel on Jdesktop pane. however when i tried to add panel, entire code behaved tht is not desired. internal frame not minimized/maximized. please let me know your thoughts and suggestions.
my changes with "My extra code" comment
import javax.swing.JInternalFrame;
public class MyInternalFrame extends JInternalFrame {
    static int openFrameCount = 0;
    static final int xOffset = 30, yOffset = 30;
    public MyInternalFrame() {
        super("Document #" + (++openFrameCount),
              true, //resizable
              true, //closable
              true, //maximizable
              true);//iconifiable
        setSize(300,300);
        //Set the window's location.
        setLocation(xOffset*openFrameCount, yOffset*openFrameCount);
import javax.swing.JDesktopPane;
import javax.swing.JLabel;
import javax.swing.JMenu;
import javax.swing.JMenuItem;
import javax.swing.JMenuBar;
import javax.swing.JFrame;
import javax.swing.JPanel;
import javax.swing.KeyStroke;
import java.awt.event.*;
import java.awt.*;
public class InternalFrameDemo extends JFrame
                               implements ActionListener {
    JDesktopPane desktop;
    public InternalFrameDemo() {
        super("InternalFrameDemo");
        int inset = 50;
        Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
        setBounds(inset, inset,
                  screenSize.width  - inset*2,
                  screenSize.height - inset*2);
        desktop = new JDesktopPane(); //a specialized layered pane
        // My extra code
        desktop.setLayout(new BorderLayout());
        JPanel panel = new JPanel(new BorderLayout());
        panel.add(new JLabel("Dummy Label"),BorderLayout.CENTER);
        desktop.add(panel, BorderLayout.CENTER);
        // my extra code ended here
        createFrame(); //create first "window"
        setContentPane(desktop);
        setJMenuBar(createMenuBar());
        desktop.setDragMode(JDesktopPane.OUTLINE_DRAG_MODE);
    protected JMenuBar createMenuBar() {
        JMenuBar menuBar = new JMenuBar();
        JMenu menu = new JMenu("Document");
        menu.setMnemonic(KeyEvent.VK_D);
        menuBar.add(menu);
        JMenuItem menuItem = new JMenuItem("New");
        menuItem.setMnemonic(KeyEvent.VK_N);
        menuItem.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_N, ActionEvent.ALT_MASK));
        menuItem.setActionCommand("new");
        menuItem.addActionListener(this);
        menu.add(menuItem);
        menuItem = new JMenuItem("Quit");
        menuItem.setMnemonic(KeyEvent.VK_Q);
        menuItem.setAccelerator(KeyStroke.getKeyStroke(
                KeyEvent.VK_Q, ActionEvent.ALT_MASK));
        menuItem.setActionCommand("quit");
        menuItem.addActionListener(this);
        menu.add(menuItem);
        return menuBar;
    public void actionPerformed(ActionEvent e) {
        if ("new".equals(e.getActionCommand())) { //new
            createFrame();
        } else { //quit
            quit();
    //Create a new internal frame.
    protected void createFrame() {
        MyInternalFrame frame = new MyInternalFrame();
        frame.setVisible(true); //necessary as of 1.3
        desktop.add(frame);
        try {
            frame.setSelected(true);
        } catch (java.beans.PropertyVetoException e) {}
    protected void quit() {
        System.exit(0);
    private static void createAndShowGUI() {
        JFrame.setDefaultLookAndFeelDecorated(true);
        InternalFrameDemo frame = new InternalFrameDemo();
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.setVisible(true);
    public static void main(String[] args) {
        javax.swing.SwingUtilities.invokeLater(new Runnable() {
            public void run() {
                createAndShowGUI();
}Thanks,

Please read the relevant parts of the APi for JDesktopPane, DesktopManager and JLayeredPane to understand the code.import java.awt.event.ComponentAdapter;
import java.awt.event.ComponentEvent;
import javax.swing.*;
public class PanelAtBottom {
  public static void main(String[] args) {
    SwingUtilities.invokeLater(new Runnable() {
      @Override
      public void run() {
        new PanelAtBottom().makeUI();
  public void makeUI() {
    final JDesktopPane desktopPane = new JDesktopPane();
    for (int i = 0; i < 5; i++) {
      JInternalFrame internalFrame = new JInternalFrame("Frame " + i);
      internalFrame.setIconifiable(true);
      internalFrame.setBounds(i * 10, i * 10, 200, 200);
      internalFrame.setVisible(true);
      desktopPane.add(internalFrame);
    final JPanel panel = new JPanel();
    panel.add(new JLabel("Label"));
    panel.add(new JButton("Button"));
    desktopPane.add(panel, JLayeredPane.DEFAULT_LAYER, -1);
    desktopPane.addComponentListener(new ComponentAdapter() {
      @Override
      public void componentResized(ComponentEvent e) {
        panel.setSize(desktopPane.getSize());
    desktopPane.setDesktopManager(new DefaultDesktopManager() {
      @Override
      public void iconifyFrame(JInternalFrame f) {
        super.iconifyFrame(f);
        desktopPane.moveToBack(panel);
    JFrame frame = new JFrame();
    frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
    frame.setContentPane(desktopPane);
    frame.setSize(600, 300);
    frame.setLocationRelativeTo(null);
    frame.setVisible(true);
}db

Similar Messages

  • Exchange 2010 - Archiving not working in desired situation

    Hi guys!
    Recently we had enabled online archiving on Exchange, the problem is that one thing is not working as we have wanted.
    We wanted that user picks up manually thru Outlook 2013 client which folder he does not wishes to be moved to archive, but this is not working with our current settings.
    These are the settings on server side
    bostjanc

    ah sorry, its retentionaction not retentiontag so here is the correct parameter
    Get-RetentionPolicyTag "Don't Move this*" | Set-RetentionPolicyTag -RetentionAction
    "MoveToArchive"
    Blog |
    Get Your Exchange Powershell Tip of the Day from here

  • Pan & Zoom Not Working in PP4

    Using PP CS4 with 8 years experience with Premiere, am having trouble with this effect. Effect Controls > Motion > Position & Scale controls are all there but the resizing for keyframes is not having any visible effect in either Source or Program monitors. The clip remains exactly as it was imported at full, uncropped view. Please help. Thx

    Just for clarification, are you using the Pan & Zoom for a SlideShow in Encore, or are you using the Fixed Effects>Motion>Scale & Motion>Position in PrPro?
    If the latter, then I would post to the PrPro CS4 and Earlier Forum.
    In the meantime, and in case you ARE encountering this issue in PrPro, let's go over the steps to do Pans & Zooms in the Effects Control Panel.
    First, in your Timeline, Select your Still Image (or Video Clip).
    If not in focus, get Effects Control Panel open and in front in its Pane.
    Place the CTI (Current Time Indicator) /Playhead at the first Frame of that Still/Clip.
    Look at the Fixed Effects list in Effects Control Panel, and for Motion, twirl that Open, to reveal both Scale and Position. Twirl those Open, to reveal their sliders.
    For a Zoom, click the little Stopwatch icon next to it, to toggle Keyframe animation ON, and place a Keyframe on that First Frame.
    At this point, that Keyframe will have a value of 100%, or original size. If one needs to adjust that, say for a Zoom Out to full Scale, but needs to start Zoomed In, set it to where you wish to start.
    Move to the time (on the Timeline, or on the mini-timeline in Effects Control Panel - the CTS's are linked), where you want the Zoom Out to end, and click the New Keyframe button, the filled circle in the ◄●► icon. A new Keyframe is added at that spot. Now, adjust the Scale to what is desired there.
    One can adjust the Interpolation between those Keyframes, if desired, but that is something that one will be better off, if they read the full section on Keyframe Interpolation in the Help Files.
    If one wishes to add a Pan, then the same process is repeated, but for the Fixed Effect>Motion>Position.
    Good luck, and hope that helps,
    Hunt

  • Printers and Scanners preference pane does not work after Mavericks upgrade

    I upgraded to Mavericks on my late 2011 MacBook Pro, and my printers and scanners preference pane stopped working. Sometimes it comes back as an error and wont open, other times it opens but the list of printers is obscured and not really showing, and it does not react normally. I tried reinstalling from System Restore with the onlie version, but that just took 6 hours but did not really help. I am going a little crazy as I cant get my Canon MX330 scanner installed and recognized. Does anyone have any ideas for me please??

    I'm assuming that you're referring to the Printers & Scanners in System Preferences (not a preference pane, which is a different animal).
    While I haven't experienced your issue, one thing that users find helpful is to go to System Preferences/Printers & Scanners/, and delete the printers listed by tapping on - (minus). Then, reenter the information when it's required later.

  • Panning image not works properly

    Hello all,
    I am developing a movie which panning an image. Following code works fine but it leaves blank area when i run it (when i switch to full screen at browser).
    function panThisImage(target:MovieClip, speed:Number,speed1:Number, dir:int) {
    var mousePercent:Number = mouseX / stage.stageWidth;
    var mousePercent1:Number = mouseY / stage.stageHeight;
    stage.addEventListener(MouseEvent.MOUSE_MOVE, panImage);
    target.cacheAsBitmap = true;
    function panImage(E:MouseEvent):void {
    var mSpeed:Number;
    var mSpeed1:Number;
    mousePercent = mouseX / stage.stageWidth;
    mousePercent1 = mouseY / stage.stageHeight;
    if (dir == 1) {
    mSpeed =1-mousePercent;
    } else {
    mSpeed =mousePercent;
    if (dir==1) {
    mSpeed1 =1-mousePercent1;
    } else {
    mSpeed1=mousePercent1;
    target.destX = Math.round(-((target.width-stage.stageWidth) * mSpeed));
    target.destY = Math.round(-((target.height-stage.stageHeight) * mSpeed1));
    if (target.hasEventListener(Event.ENTER_FRAME)) {
    target.removeEventListener(Event.ENTER_FRAME, del);
    target.addEventListener(Event.ENTER_FRAME, del);
    function del(E:Event):void {
    if (Math.abs(target.x-target.destX) <= 1) {
    target.x = Math.round(target.destX);
    target.removeEventListener(Event.ENTER_FRAME, arguments.callee);
    } else {
    target.x += (target.destX-target.x) * (speed / 100);
    if (Math.abs(target.y-target.destY) <= 1) {
    target.y = Math.round(target.destY);
    target.removeEventListener(Event.ENTER_FRAME, arguments.callee);
    } else {
    target.y += (target.destY-target.y) * (speed1 / 100);
    panThisImage(imgLoader,1,1,2);

    i mean, it will start from (0,0) coordinates and will not show any blank area. (but i do not want strecth mode)

  • Preview pane is not working in Jdeveloper

    Hi Experts , I need your help in resolving my issue. i am developing adf mobile application and during this development when i click on the 'preview' button nothing is displayed on the preview pane.
    I don't see any error message as well.
    I am able to deploy the application to the android emulator and its working fine there.
    Jdev details :
    Build JDEVADF_11.1.2.4.0_GENERIC_130421.1600.6436.1
    Java(TM) Platform : 1.6.0_24

    Now that I've looked at the linked article...
    That was showing you how to use a very early version of ADF Faces (a pre-release, in fact) with a very old version of JDeveloper. That document is nearly 9 years old.
    Starting with JDeveloper 10.1.3, ADF Faces is "built-in"
    And since JDeveloper 10.1.3.x, we have had both the JDeveloper 11.1.1.x and 11.1.2.x series released.
    Why are you still using 10.1.2.x?

  • Customer Exit - APOSC002 in APO not working as desired

    Hi Experts,
    Customer Exit - APOSC002 (function module EXIT_/SAPAPO/SAPLVCRM_002)
    Development logic is set in such a way that for a specific route (Maintained in transaction ZSC01), the departure calendar and Duration calendar is being filled to the fields CT_DURAS- TSTRID_DEP and CT_DURAS- TSTRID respectively.
    However the departure calendar is not taken into account when the departure date is calculated in the APO availability check.
    I have checked the exit and the values are filling correctly. But still the issue remains.
    If any of you has worked in this exit before, let me know how to resolve this?
    Thanks,
    Dinesh.

    Hi there,
    As far as I Know, yes they exist. The only difference here, is that you build a query with a selection screen, and  you execute the query with some selection parameters, and therefore all customer exit variables, offsets, etc, will be read and changed at the runtime execution of the query, and you can rearrange your query visualization drilling down free char., making filters, etc. and storing that visualization in a view.
    If you save your view and execute it afterwards, you'll get the same selection parameters to input, the same offsets, etc, that you have with the query, but with a visualization stored by you.
    So that should have been working.
    Diogo.

  • Remote Desktop Services Printer Redirection with easy print not working as Desired

    Hi,
     I have a Terminal Server Farm with a number of Windows Server 2008 R2 Remote Desktop Session Host Servers in the Environment. There is also a RD Gateway server which is used to connect to the RD Session host servers in the environment. We
    had configure the policy "Use Terminal Services easy Print Driver First" for all the RD Session Host servers. Everything was working well untill a couple of users Complaint about slow printing on Easy Print. While trying to troubleshoot the issue we came
    to know that when we by-pass the RD Gatewat and make a Direct connection to the RD Session Host Servers we are able to Print Really fast using Easy Print. Only When we use the RD gateway server we get the problem with the Printing.
     As we could not get through this problem and we are not in a condition to by-pass RD Gateway for connections we decided to put the TS Easy print Driver as a Second option. We went ahead and identified the 3 printers for which printing was slow. we
    Installed the Drivers for the same printers on all the Terminal Server and Disabled the policy "Use Termianl Server Easy print Driver First". After this we were able to print fast on the 3 printers having Slow printing issues. All the other Printers were using
    Easy print.
    After a day we realised that there were more than 20 drivers for Different printers installed in the Print Server Properties. We started getting viered problems with the Printing on all the Terminal servers like, Print Spooler Service Crashing, Hanging,
    Users not able to redirect printers at all. To avoid this we Removed the Driver Packages but they came back the very next day.
     I am not sure what could be causing this kind of behavior. I would really appriciate if someone can help he with these two problems
    1) Easy print Working Slow only when using RD Gateway Server
    2) Printer Drivers Getting installed on Terminal Servers when Easy Print Policy is disabled.

    1) Easy print Working Slow only when using RD Gateway Server
    > Difficult to track down especially through forum. Looking for some known issues/hotfixes
    954743 FIX: After you apply hotfix 954744, printing performance may be significantly slower when you print documents by using Terminal Services Easy Print
    http://support.microsoft.com/?id=954743  
    The Remote Desktop Easy Print (RD Easy Print or TS Easy Print) uses the XPS print driver that ships with .NET Framework.
    2) Printer Drivers Getting installed on Terminal Servers when Easy Print Policy is disabled.
    > If Easy print is not the first driver then it installs the driver if they are InBox drivers
    > If these are non-inbox drivers - This is because administrators are RDPing to the server from another PC with several printer/drivers installed.
    When they RDP with printer redirection enabled, the drivers get automatically installed.
    To avoid this, either turn off printer redirection at server level from RDP-TCP properties - might not be feasible if users need redirected printers
    Else make sure that when admins RDP, printer redirection is turned off so that drivers are not automatically installed
    This was a major issue in 2k3, i havent tested it in 2k8 though
    This behavior is related to the change you made in Easy print driver behavior
    Sumesh P - Microsoft Online Community Support

  • Dependencies (Install Bundle) not working as desirable

    We have several icons in the NAL which all as dependency bundle have "Firefox install".
    I already placed the bundle install under the launch-tab of the parent bundle, and put a "registry key exist" requirement-setting, which checks if the uninstall key of Firefox is present, and is set to "no", to not run the install every time the parent icon is being clicked.
    However, if I remove the registry key manually, and click the icon where the install bundle is assigned, the install bundle is not being installed.
    I'd like to have just one Firefox install-bundle, so I only have to update the one bundle, and I don't have to update several bundles.
    We (still do) use Zenworks 7, and here we do use this feature, and it works flawlessly.
    Is there a way to do this without too much of a hassle?

    Originally Posted by thsundel
    Ah okay...
    So you have:
    One "Firefox Install Bundle", with some actions under "Launch" tab that installs firefox?
    Then you have a second Bundle with a "Install bundle" action under the "Launch" tab, this bundle is assigned to your workstation/users?
    Where have you set the requirement registry check, on the second bundle that is presented to your workstations/users or on any specific action inside those 2 bundles?
    Thomas
    Yes, the initial post was not fully correctly stated.
    I indeed have a "Firefox Install Bundle" with some actions under the launch-tab, but also one action under install which deletes the registry key belonging to Firefox Uninstall.
    If the user chooses to verify the (second/)parent icon, the registry key will be deleted, and Firefox will be re-installed, because of the requirement-setting on the Firefox setup action.
    I am one happy camper now!

  • Windows Explorer Preview pane does not work with .docx files

    This question follows on from previously unresolved questions posted on this forum (see http://social.technet.microsoft.com/Forums/en-US/aec7b30a-0709-4d54-b5c7-570dc5b115df/preview-pane-and-windows-explorer?forum=officeitproprevious) and another forum I
    have visited.
    The problem:
    In windows explorer scrolling down (using mouse or arrow keys) in the library pane from one file to the next stops at a word document with more than 2 pages. Instead of continuing to scroll through the file list in the library pane it switches to scrolling
    through the pages of the document in the preview pane. This is a major pain because it impedes being able to move quickly through the files within a folder.
    The logical way this should work is to always scroll within the library pane unless you click in the preview pane to scroll through the document preview. This isn't how it is working.
    I am using Windows 7 with Microsoft Office 2010.
    Can someone please provide give me a solution.
    http://social.technet.microsoft.com/Forums/en-US/aec7b30a-0709-4d54-b5c7-570dc5b115df/preview-pane-and-windows-explorer?forum=officeitproprevious

    Hi,
    I did a test on my machine, couldn't reproduce this issue.
    There doesn't seem to be any settings on Office to change that; anyway, please try repairing Office in Control Panel to try again.
    Since it may be an issue more related to Windows Client, I suggest you post this question in Windows Client forum:
    http://social.technet.microsoft.com/Forums/windows/en-us/home?category=w7itpro
    Regards,
    Melon Chen
    TechNet Community Support

  • Oracle Lite 10.3.0.3 MEMBER privilege does not work as desired

    Hi All,
    I need to have my client application with multi user functionality. I got to know that it can be done by having users with MEMBER privilege attached to users with USER privilege.
    The application is running fine when i login as USER but giving the following error when login as MEMBER.
    I have given necessary grants and created synonyms for the database objects in SYSTEM schema to MEMBER schema.
    I think this error may be specific to connection. Whether the member is not able to access the application files? Can anyone help me with regard to this. I have been struggling for past two weeks:( Anyone has done it earlier.. I have seen a similar post 1)lite create user and app subscription 2)selective sych from server regarding MEMBER privilege.
    If vasileios or rekounas     could help me regading this? It will be really helpful friends..(Error message attached in next post)
    Thanks in Advance
    Niranjana

    -------------------Error displayed in the page when a member accesses the application----------------
    500 Internal Server Error JBO-30003: The application pool (xxpb.oracle.apps.eam.mobile.inspection.model.XXPBMobileMainAMLocal) failed TO checkout an application module due TO the following
    EXCEPTION
    :oracle.jbo.JboException: JBO-29000: Unexpected
    EXCEPTION
    caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected
    EXCEPTION
    caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected
    EXCEPTION
    caught: java.lang.NullPointerException, msg =NULL at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at
    oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at
    oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.lite.web.CheckSessionFilter.doFilter(UNKNOWN Source) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ]
    .server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230) at
    oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected
    EXCEPTION
    caught: oracle.jbo.JboException, msg=JBO-29000: Unexpected
    EXCEPTION
    caught: java.lang.NullPointerException, msg=NULL at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:336) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:478) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(
    ApplicationPoolMessageHandler.java:367) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7769) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543) at
    oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at
    oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at
    oracle.lite.web.CheckSessionFilter.doFilter(UNKNOWN Source) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(
    HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230) at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##oracle.jbo.JboException: JBO-29000: Unexpected
    EXCEPTION
    caught: java.lang.NullPointerException, msg=NULL at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:545) at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(ApplicationPoolMessageHandler.java:478) at
    oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:367) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7769) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419) at
    oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(DCIteratorBindingDef.java:277) at
    oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ]
    .server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.lite.web.CheckSessionFilter.doFilter(UNKNOWN Source) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at com.evermind[Oracle
    Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230) at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)## Detail 0 ##java.lang.NullPointerException at oracle.lite.web.WTGJdbcDriver.connect(UNKNOWN Source) at java.sql.DriverManager.getConnection(DriverManager.java:525) at java.sql.DriverManager.getConnection(DriverManager.java:193) at oracle.jbo.server.ConnectionPool.createConnection(
    ConnectionPool.java:174) at oracle.jbo.server.ConnectionPool.instantiateResource(ConnectionPool.java:135) at oracle.jbo.pool.ResourcePool.createResource(ResourcePool.java:536) at oracle.jbo.pool.ResourcePool.useResource(ResourcePool.java:326) at oracle.jbo.server.ConnectionPool.getConnectionInternal(ConnectionPool.java:87) at oracle.jbo.server.ConnectionPool.getConnection(ConnectionPool.java:66) at oracle.jbo.server.ConnectionPoolManagerImpl.getConnection(ConnectionPoolManagerImpl.java:56) at oracle.jbo.server.DBTransactionImpl.establishNewConnection(DBTransactionImpl.java:911) at oracle.jbo.server.DBTransactionImpl.initTransaction(DBTransactionImpl.java:1156) at oracle.jbo.server.DBTransactionImpl.initTxn(DBTransactionImpl.java:5891) at oracle.jbo.server.DBTransactionImpl2.connect(DBTransactionImpl2.java:120) at oracle.jbo.common.ampool.DefaultConnectionStrategy.connect(DefaultConnectionStrategy.java:194) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolConnect(
    ApplicationPoolMessageHandler.java:478) at oracle.jbo.server.ApplicationPoolMessageHandler.doPoolMessage(ApplicationPoolMessageHandler.java:367) at oracle.jbo.server.ApplicationModuleImpl.doPoolMessage(ApplicationModuleImpl.java:7769) at oracle.jbo.common.ampool.ApplicationPoolImpl.sendPoolMessage(ApplicationPoolImpl.java:4074) at oracle.jbo.common.ampool.ApplicationPoolImpl.prepareApplicationModule(ApplicationPoolImpl.java:2161) at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:1961) at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453) at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424) at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(
    SessionCookieImpl.java:419) at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543) at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404) at oracle.adf.model.binding.DCDataControlReference.getDataControl(DCDataControlReference.java:99) at oracle.adf.model.BindingContext.get(BindingContext.java:457) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:280) at oracle.adf.model.binding.DCUtil.findSpelObject(DCUtil.java:248) at oracle.adf.model.binding.DCUtil.findContextObject(DCUtil.java:383) at oracle.adf.model.binding.DCIteratorBinding.<init>(DCIteratorBinding.java:127) at oracle.jbo.uicli.binding.JUIteratorBinding.<init>(JUIteratorBinding.java:60) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:87) at oracle.jbo.uicli.binding.JUIteratorDef.createIterBinding(JUIteratorDef.java:51) at oracle.adf.model.binding.DCIteratorBindingDef.createExecutableBinding(
    DCIteratorBindingDef.java:277) at oracle.adf.model.binding.DCBindingContainerDef.createExecutables(DCBindingContainerDef.java:296) at oracle.adf.model.binding.DCBindingContainerDef.createBindingContainer(DCBindingContainerDef.java:425) at oracle.adf.model.binding.DCBindingContainerReference.createBindingContainer(DCBindingContainerReference.java:54) at oracle.adf.model.binding.DCBindingContainerReference.getBindingContainer(DCBindingContainerReference.java:44) at oracle.adf.model.BindingContext.get(BindingContext.java:483) at oracle.adf.model.BindingContext.findBindingContainer(BindingContext.java:313) at oracle.adf.model.BindingContext.findBindingContainerByPath(BindingContext.java:633) at oracle.adf.model.BindingRequestHandler.isPageViewable(BindingRequestHandler.java:265) at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:169) at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161) at com.evermind[Oracle Containers FOR J2EE
      10g (10.1.3.0.0) ].server.http.EvermindFilterChain.doFilter(EvermindFilterChain.java:17) at oracle.lite.web.CheckSessionFilter.doFilter(UNKNOWN Source) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:627) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:376) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:870) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:451) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:218) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:119) at
    com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:112) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:230) at oracle.oc4j.network.ServerSocketAcceptHandler.access$800(ServerSocketAcceptHandler.java:33) at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:831) at com.evermind[Oracle Containers FOR J2EE 10g (10.1.3.0.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:595)

  • Auto indent is not working in Dreamweaver

    Hi,
    I'm using Dreamweaver CS5 on Windows 7 and the auto indent in the Code pane is not working. All settings are at default after installation. The Indent option in Code Format in the Preferences is checked and set to 2 Spaces. Auto Indent is also checked in View > Code View Option.
    Steps to reproduce the problem:
    File > New with Blank Page, Page Type > HTML, Layout > None or any.
    The default code is not indented, pressing Enter to create a new line in the code, and typing any tag, for example <p> in a new line after <body> doesn't have any auto indent and all new lines are left aligned.
    Do you have auto indent? If yes, what is different from what I described?
    Your feedback is greatly appreciated.

    Thanks Nancy, but this didn't make any difference.
    Just to be clear, I'm new to Dreamweaver and my expectation is if I have for example:
    <body>
    then press the Enter key and type
    <p>
    after completing the <p> I expect Dreamweaver to recognize it as a tag that logically should be indented and add the indent automatically, making it like this:
    <body>
        <p>
    Is my expectation wrong?. This is how auto indent works in other programing environments like Microsoft Visual Studio when coding in C++.
    If I make the indent manually before typing <p> , for example adding a few spaces then the next line is on the same level keeping the indent. Is this what Dreamweaver considers as auto indent? May be I had higher expectations but then what is this 2 Spaces or Tabs in the Preferences?

  • Bdc for reverse settlement using VA88 okcode 'stor ' not working

    Hi ,
      I have done recording of the VA88 transaction to write a program for reverse settlement of some sales orders for particular controlling area and Co business transaction.i am using call transaction method,the issue i am facing is when i execute , reversing is not happening , when i checked with mode A in call transaction i can see the values are populated in the VA88 screen and the bdc_okcode '=STOR' which is meant for reverse  is coming , but when i click it nothing is happening.
    any idea what is wrong here. is it because the okcode is not working as desired?..what will be a solution.
    thanks & regards.
    Ras.

    I think the problem in recording..can you please do the recording again and cross check your BDCDATA internal table with the recorded one
    Nabheet

  • Access to time char with TMVL in FOX is not working with offset other than0

    Hi,
    In the FOX Planning function, TMVL is not working as desired if we give any other offset other than 0.
    Could you pls guide.
    Sample Code *************
    DATA PFROM TYPE ZPERSTRT.
    DATA PTO TYPE ZPEREND.
    PFROM = OBJV().
    PTO = OBJV().
    MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM.
    MESSAGE I000(ZSEM) WITH 'PTO1' PTO.
    PTO = TMVL(PFROM, 3).
    MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM.
    MESSAGE I000(ZSEM) WITH 'PTO2' PTO.
    Sample Code *************
    Output *************
    S:ZSEM:000 PFROM1 2007001
    S:ZSEM:000 PTO1 2007012
    Error in function TMVL for value 0000000 and offset 3
    S:ZSEM:000 PFROM2 2007001
    S:ZSEM:000 PTO2 0000000
    Output *************
    Does Fiscal Year Variant plays any role here. If so how do we control this increment or decrement of the Fiscal Year Period.
    Regards,
    Durga
    Message was edited by:
            Durga BW

    Durga,
    If ZPERSTRT and ZPEREND reference 0FISCPER, it should be fine for use with TMVL.  If you have Z time characteristics defined as NUMC (7) for example, there will be some issues.
    I think the FOX is running into issues since they are using 2 different data objects even though both are referencing 0FISCPER.
    Takes me too long to log into the system to verify so not sure if this would work but give these a try.
    Option A)
    DATA PFROM    TYPE ZPERSTRT.
    DATA PFROMAD3 TYPE ZPEREND.
    DATA PTO      TYPE ZPEREND.
    PFROM = OBJV().
    PTO = OBJV().
    MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM 'PTO1' PTO.
    PFROMAD3 = PFROM.
    PFROMAD3 = TMVL(PFROMAD3, 3).
    MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM 'PTO2' PTO.
    Option B)
    DATA PFROM    TYPE ZPERSTRT.
    DATA PTO      TYPE ZPEREND.
    FOREACH PFROM.
    MESSAGE I000(ZSEM) WITH 'PFROM1' PFROM.
    PTO = PFROM.
    PTO = TMVL(PTO, 3).
    MESSAGE I000(ZSEM) WITH 'PFROM2' PFROM 'PTO' PTO.
    ENDFOR.
    hope this helps,
    Mary

  • PowerPoint add-in is not working when installed for All Users using msi installer.

    Hi All,
    I have created PowerPoint add-in using c#-vsto. I have created msi installer to install this add-in with following two options:
    1. Just me
    2. Everyone
    However, add-in is not working properly (Events and custom task panes are not working). 
    I have created registry key as below
    1. for "Everyone" : HKLM\Software\Microsoft\Office\Powerpoint\Addins\MyAdd-in
    2. for Just me : HKPU\Software\Microsoft\Office\Powerpoint\Addins\MyAdd-in
    But when I set InstallAllUsersVisible property to False (When add-in is installed only for current user ), then add-in works fine for current user.
    Please let me know if anything is missing!!!
    Thanks

    Hi,
    This is the forum to discuss questions and feedback for Microsoft Office, the issue is more related to develop the add-in, you'd better post your question to the MSDN forum for VSTO
    http://social.msdn.microsoft.com/Forums/en-US/home?forum=vsto&filter=alltypes&sort=lastpostdesc
    The reason why we recommend posting appropriately is you will get the most qualified pool of respondents, and other partners who read the forums regularly can either share their knowledge or learn from your interaction with us. Thank you for your understanding.
    George Zhao
    TechNet Community Support

Maybe you are looking for

  • Scenario File-XI-RFC-File

    hi, I have send a file to a RFC  using XI.The RFC.response is being received by XI correctly in XI Monitor. Now,I need to send this RFC.response to Flat file. For this,What i need to do? The only way is using BPM? ¿all the interfaces should be async?

  • Error Message In App Store?(Please Help)

    So I just bought a brand new 2012 Macbook Pro retina display which by the way I love, but every time I go to the app store it keeps saying I have 2 updates but then when I go to update them it keeps giving me these error messages and wont let me upda

  • I want to know N8's preloaded content.

    I've bought a new N8 from someone who got it with him from France, the box was open but he told me that this was just because he had to check the purple screen and that he hasn't used the phone before, now I'm a bit skeptic because I couldn't find an

  • Receiver File - FCC

    Folks, The understanding is that you need to have a flat XML without hierarchies at the receiver File adapter for a successful FCC. <root>...    <nameA>          <value1>value</value1>          <value2>value</value2>          <value3>value</value3>  

  • If I restore my iPhone, will it delete the content of my photo stream?

    If I restore my iPhone, will it delete the content of my photo stream?