Urgent help  - to copy rules document

Hello All,
we have developed our own program to copy certain rules to new rules with few changes in the operations for the new rules. This is all working fine.
Now we would like to copy the documenation also from old rules to a new rules, how do I go about it.
Is thier any FM/table which we can use to copy the document from a rule to a new rules we have created, it should work similar to copy function in PE02 but we have handle this in ABAP as we already have new rules in place.
Kindly inform me
Regards,
Mangalagi S V

Hello All,
I have used FM - HRDSYS_DOCU_COPY
Regards,
Mangalagi S V

Similar Messages

  • Urgent help in copying STANDARD Texts of various lang from 1 client to anot

    Hi,
    I have a require ment in which i have to copy all standard texts in chinese,thai language from one client to another.
    Can any one please help me with this .
    I don't have any idea on proceeding .

    Hi,
    Use the Following Program
    goto se38>RSTXSCRP>EXECUTE.
    CHOOSE THE RADIOBUTTON Standard Text .
    In the Object name type ur Textname(chinese one ).
    choose the Mode as Export.
    GIVE the Language as chinese Code.
    EXECUTE.
    Save to ur desktop.
    Now logon to other client.
    goto se38>RSTXSCRP>EXECUTE.
    CHOOSE THE RADIOBUTTON Standard Text .
    In the Object name type ur Textname(chinese one ).
    choose the Mode as IMPORT.
    GIVE the Language as Chinese Code.
    EXECUTE.
    Give the File name.
    The text will get Imported.
    Regards,
    Morris Bond.
    Reward Points if Helpful.

  • Urgent help -can not access Documents (windows 7)

    After some one renamed one profile and my documents (roaming profile and my documents redirected to network path too through group policy).  Now , I can not open Documents.  I got this message: "can't open this item  It might have been
    moved, renamed, or deleted.  Do you want to remove this item?"
    Thank you.

    After some one renamed one profile and my documents (roaming profile and my documents redirected to network path too through group policy).  Now , I can not open Documents.
    Since you have a roaming profile, you must be connected to a Windows server. If so then you should discuss this problem with your network administrator.

  • I moved from an old macbook to a new one.  I copied all my files onto a hard drive.  On trying to setup my mail, i went into documents, microsoft user identities, office 2011 and it shows the database but wont let me select it.  Urgent help pls

    I moved from an old macbook to a new one.  I have installed Office for Mac 2011. I copied all my files from my old notebook onto a hard drive.  On trying to setup my mail, i went into my hard drive and accessed microsoft user identities, office 2011 and it shows the database but wont let me select it.  Its almost as if the file is there but not accessable.  I desperately need to access my old mail.  How do I do this?  I am fairly confident that I copied all files off my old notebook.  Is there a way for me to search for the Database file?  Maybe I copied it to a different location?  Urgent help please.

    Hello mafrerichs and welcome to Apple Support Communities,
    Simplest way is to use Target Disk mode:
    How to use and troubleshoot FireWire target disk mode - Apple Support
    and hook to another Mac and use CCC or SuperDuper and clone your HD to another drive.
    You could also pull the drive out of your MBP and use an external USB case or SATA - USB dongle to hook it to another Mac.
    "MacBook Pro (15-inch Late 2011),... have a 15" 2012 Macbook pro with 2gb of ram, i7 processor"
    That's a little confusing?

  • HELP!  I saved a document.  Copied the document.  Went to delete some extra characters.  Accidentally deleted the entire document.  Now I can't find my document.  When I open the saved document, the page is blank.  Does Pages save copied text anywhere?

    I saved a document.  Copied the document.  Went to delete some extra characters and accidentally deleted the text of the entire document.  I did not save a blank page.  I cannot recover the lost text.  Please Help.  I'm NEW to Pages. 

    Hi Jan,
    Copied text (or other copied material) is on the Clipboard, but only until you copy something else or log out of your account. If you act before doing another copy, you can paste the copied material back into the document. If you don't act right away, you may still have a path back.
    One of the most useful keystroke combinations on the Mac is the "Oops! key," as a friend of mine once named it. That's command-Z, also known as "Undo". In some applications it will let you undo only a single step, but in others, including Pages, you can do repeated undos, so it's not quite so essential that you act immediately on making an error. Undo, done via the Oops! key, or via the Edit menu takes you back one change at a time. You can't skip any steps, so to get back to the state before the accidental deletion, you'll have to undo any work you've done since then. The memory of what to Undo disappears when you close the document or quit the application.
    At that point you're at the mercy of your backup plan. If you've had Time Machine running, you'll be able to enter Time Machine and go back to an earlier, saved version of the file.
    All these are in addition to the steps Ian suggested above.
    Regards,
    Barry
    PS: Best piece of advice I can give a new Pages user (beyond Backup early and often) is to download and read through the first few chapters of the Pages '09 User Guide, available through the Help menu in Pages '09. Mostly pretty easy reading, and will get you through the basics without much trouble.
    B

  • URGENT HELP REQUIERED! Digital published Document / Viewer on iPad always crashes

    Hey there, i need urgent help, our company is heading towards the most important exhibition. We will be using iPads and digital published magazines on the Adobe Viewer to present our company. But after creating the document and having it checked on the Preview Viewer on the Mac where everything worked fine, i have the issue that it always crashes now when viewed on the iPad.
    We have an article, with many pages where we present our references, each page contains a slideshow with about 5 pictures, all the pictures are jpgs, about 400 kb. There is a small vector Illustrator file (eps) placed on the pages as well, which i used on other articles as well, no problem there. When going through this article it always chrashes, i´ve tried a couple of things allready, reduzed file size, dropped pages etc. The whole document is about 400 MB.
    Please help!!!! I need a quick solution, as i only have a couple of days left for finishing the document for our Exhibition.
    Kind regards, Dave Leverenz

    Things that crash DPS folios...
    - very very large articles (safest to keep each article under 30MB if you can)
    - consecutive large articles (the app tries to load the next article into memory to enhance page-turning performance, so several huge articles in a row risks causing iPad memory difficulties)
    - dense text combined with transparency or drop shadows in a PDF folio (doesn't like rapid page-turning)
    - two or more consecutive pages containing web overlays that display animation or special tricks using JavaScript (this nightmare began when Apple introduced iOS6)
    - corruption that has crept into an InDesign document after it has been re-edited and resaved 100s of times (only solution is to redraw the document from scratch)
    - folios that have been updated repeatedly after each edit (try archiving and downloading the folio afresh)
    - corruption that has crept into Content Viewer's cache on the iPad (try deleting the app, rebooting your iPad and re-installing the app)
    I suspect your problem lies in the size and complexity of your "article with many pages". Try breaking up the article into two or three articles, and see if that makes any difference. You can always hide parts 2 and 3 from the Table of Contents, remember.

  • I need to sort and organize all my email addresses in apple mail? - where are they and how can I organize and copy them ? urgent help needed please

    really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?

    really need urgent help - where do I find the entire list of all my email addresses? and how do I sort and organize them into folders ?

  • An error has occurred in the system DV1CLNT400 while copying the document

    Hi All,
    While creating complaint confirmation i am getting below mentioned Errors in ECC.
    Can any body provide configuration settings.
    An error has occurred in the system DV1CLNT400 while copying the document
    Message no. CRM_ORDER_MISC 020
    Diagnosis
    Errors have occurred while transferring the document into another system. Refer to the enclosed log to view the error messages.
    Transmission log
    No operating concern has been assigned to controlling area 1001 (Notification E KE 300)
    Error occurred during determination of profitability segment (Notification W IAOM 025)
    Error occurred during creation of settlement rule (Notification I IAOM 046)
    Regards,
    Teja

    Hi,
    From the nature of Error messages, it looks like these are related Customization settings. As you mentioned your SAP CRM system is connected to SAP ERP system, so Controlling documents and other account postings are happening there.
    So, the best approach will be to get in touch with your functional consultant who will be the best person to guide you with the scenario and the respective process setup. You can also have a look at SAP HELP about the integration of the CRM and ERP systems along with the data exchange.
    Hope this will help.
    Thanks,
    Samantak.

  • Incorporating transaction types from F-43 to FB60...urgent help !!

    Hey guys...i need urgent help...my client is upgrading from ECC.5 to ECC.6 and in process they will no longer be using F-43 . Now they want me to incorporate all the transaction types from F-43 to FB60. Can someone explain the process. Thanks in advance.

    Dear Stiffler,
    The Payment Method field (ZLSCH) is not controlled via field status.
    This field cannot be set to required in the standard functionality in
    FB60.
    It means that for Vendor document entry for "payment method",
    you can only achieve it by creating a validation rule at call-up
    point 2.
    Or You can insert it into a Payment Term by OBB8 and insert the Payment Term into Your vendor/customer master data.
    I hope this helps.
    Mauri

  • Urgent help needed! How do I use Time Machine to restore my System disc?

    I need urgent help. First I discovered that my Library folder was empty. When I tried to restore the library to an earlier version via Timemachine it would not let me because it said the system was in use. Trying to start-up from another system on another internal drive and using various disc repairs resulted in the whole volume to disappear.
    Question is how do I get the earlier system from my Timemachine backup drive? I have another Mac where I can attach the TIme machine HD to. Can I restore it from there and then copy the files over to my corrupted disc? All my programs are on there as well, which would take me days to re-install and then there are the other bits, emails, photos etc. Can anyone help?

    lightandmagic wrote:
    Thanks for your sympathy Pondini and the encouragement. You just reminded me that I will lose a whole working day restoring !!! Do you happen to know where the emails are kept on the system and the address book? I better nick those as well as my other life sustaining bits before its too late. I don't trust anything any more.
    I don't know what you mean by "nick those." Time Machine will put everything back the way it was at the time of the backup (unless you'd excluded things).
    Do you mean you want to restore things from the period after the backup you selected?
    For Address Book or Apple Mail, start the application, then +Enter Time Machine,+ navigate to your latest backup, and you'll have a prompt to restore. For Mail, you can restore an entire mailbox. When you exit from TM, you'll see a new folder in your Mail sidebar with the restored items, so you can sift through them and move, delete, or leave them as you wish.
    Other items, you'll have to locate and restore via the Finder > Time Machine.

  • Urgent Help required! - Storing the XML as String instead as a file

    Hi,
    I need urgent help on this.
    I have an XML file. I have used org.w3c.dom to build dom and manipulate the XML file.
    I have updated the values for some of the nodes and I have deleted some of the unwanted nodes.
    I am able to save the output of the DOM as another XML file using
    either transform class or XMLSerializer with OutputFormatter class.
    But my requirement is to save the output of the DOM into a String instead of a file.
    When I save it in String, I need to have the following XML decalration and DOCTYPE declration also with it.
    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE Test SYSTEM "Test.dtd">
    Can anyone pls help me in this??
    Thanks in Advance. Expecting some inpputs pls....!
    Regards,
    Gayathri.

    hi,
    i think this is what u want
        public static String getXmlString(Document d) {
          StringWriter strResponse = null;
          try {
             OutputFormat format  = new OutputFormat(d);
             strResponse = new StringWriter();
             XMLSerializer serial = new XMLSerializer( strResponse, format );
             serial.asDOMSerializer();
             serial.serialize(d.getDocumentElement());
          catch (Exception e) {
            System.out.println(e.toString());
          return strResponse.toString();
    }HTH
    vasanth-ct

  • Urgent Help :Product installation failed .Error Code 200 and Erroe code 601

    Installation failed after completing 69% ...Just after activiaing DB process...
    I need an urgent help
    (Nov 9, 2008 11:38:58 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Nov 9, 2008 11:38:58 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllInstallationSteps(StepWrapperInstallFiles.java:177)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.install(StepWrapperInstallFiles.java:268)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Nov 9, 2008 11:39:00 AM), Install, com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct, err, An error occurred and product uninstallation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Nov 9, 2008 11:39:00 AM), Install, com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles, err, ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
    STACK_TRACE: 15
    ProductException: (error code = 200; message="Java error"; exception = [java.lang.Exception])
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.execute(StepWrapperInstallFiles.java:254)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllSteps(StepWrapperInstallFiles.java:224)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.executeAllUninstallationSteps(StepWrapperInstallFiles.java:192)
         at com.sap.installshield.sdcstepswrapper.StepWrapperInstallFiles.uninstall(StepWrapperInstallFiles.java:313)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.uninstallProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.processActionsFailed(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Nov 9, 2008 11:39:00 AM), Install, com.installshield.wizard.platform.win32.Win32PPKRegistryServiceImpl, err, java.lang.NullPointerException
    STACK_TRACE: 20
    java.lang.NullPointerException
         at com.installshield.product.service.registry.VPDDef.pack(Unknown Source)
         at com.installshield.product.service.registry.VPDDef.getId(Unknown Source)
         at com.installshield.product.service.registry.VPDDef.saveParents(Unknown Source)
         at com.installshield.product.service.registry.VPDDef.saveParents(Unknown Source)
         at com.installshield.product.service.registry.VPDDef.saveSoftwareObjectCache(Unknown Source)
         at com.installshield.product.service.registry.PureJavaRegistryServiceImpl.writeVPD(Unknown Source)
         at com.installshield.product.service.registry.PureJavaRegistryServiceImpl.finalizeRegistry(Unknown Source)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.installshield.wizard.service.LocalImplementorProxy.invoke(Unknown Source)
         at com.installshield.wizard.service.AbstractService.invokeImpl(Unknown Source)
         at com.installshield.product.service.registry.GenericRegistryService.finalizeRegistry(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.finalizeRegistry(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Nov 9, 2008 12:09:23 PM), Install, com.installshield.product.actions.CopyFile, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Nov 9, 2008 12:09:23 PM), Install, com.installshield.product.actions.CopyFile, err, ProductException: (error code = 601; message="err"; additional data = [Can not copy C:\SAP\NSP\_installTemp\j2ee\INSTALLER\BIN\steps.jar since C:\SAP\NSP\home\steps.jar already exists])
    STACK_TRACE: 12
    ProductException: (error code = 601; message="err"; additional data = [Can not copy C:\SAP\NSP\_installTemp\j2ee\INSTALLER\BIN\steps.jar since C:\SAP\NSP\home\steps.jar already exists])
         at com.installshield.product.actions.CopyFile.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    (Nov 9, 2008 2:47:09 PM), Install, com.installshield.product.actions.CopyFile, err, An error occurred and product installation failed.  Look at the log file C:\SAP\NSP\log.txt for details.
    (Nov 9, 2008 2:47:09 PM), Install, com.installshield.product.actions.CopyFile, err, ProductException: (error code = 601; message="err"; additional data = [Can not copy C:\SAP\NSP\_installTemp\j2ee\INSTALLER\BIN\steps.jar since C:\SAP\NSP\home\steps.jar already exists])
    STACK_TRACE: 12
    ProductException: (error code = 601; message="err"; additional data = [Can not copy C:\SAP\NSP\_installTemp\j2ee\INSTALLER\BIN\steps.jar since C:\SAP\NSP\home\steps.jar already exists])
         at com.installshield.product.actions.CopyFile.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
         at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
         at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
         at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Edited by: Rajeev Ranjan on Nov 9, 2008 3:33 PM
    <LOCKED BY MODERATOR - URGENT, PLEASE HELP OR SIMILAR ARE FORBIDDEN>
    Edited by: Alvaro Tejada Galindo on Nov 10, 2008 9:53 AM

    AMreso wrote:
    Check this - http://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-upda tes-ccm.html
    Sorry AMreso, I've already tried this and it didn't work for me:
    After reviewing the FAQ:
    https://helpx.adobe.com/creative-suite/kb/error-u44m1p7-installing-upd ates-ccm.html
    I uninstalled Photoshop CC and re-installed it, after doing so the installation started the patch but failed it..

  • When defining copy rules, only one source field allowed

    Our users have requested the facility to allow them to copy pricing condition records when in in VK12 transaction. But when configuring the copy rules, we have come across the following problem:
    When configuring copying rules for copying pricing condition records,
    there is no possibility to use more than one source/target fields.
    In our example, the condition table created for a certain pricing
    access sequence contains keys such as Sales Organization, Sold-to Party
    "and" Product Hierarchies level 1 to level 9 (e.g. PH1 - PH9) .
    In the condition table definition, fields PH1 to PH9, although key
    fields, are also defined as footer fields. This means that per sales
    organization and sold-to party, we can create more than one condition
    record based on different combinations of PH1 to PH9.
    However when setting up copy rules for conditions in SPRO (SD -
    Pricing Control - Copy Control for Conditions) to allow our users to copy the condition records, for a given Source /
    Target table, the standard selection screen only allows us to define one Source / Target field.
    In our case, this is not helpful. The configurator should be allowed
    to select more than one source field (i.e. PH1 and PH2 and ..... PH9). At this moment,
    we can only select as source field PH1 or PH2 or PH3., etc..
    Steps for the Reconstruction:
    - Run Spro.
    - Select SD --> Pricing --> Pricing control --> Copy control for conditions -- > Copying rule for conditions
    - Select 'New Entries'. Selection screen is displayed. The issue is that in this selection screen, the configurator is allowed to select only one source field. He should be allowed to select multiple fields.
    Can you help us with this problem please?
    Your help is much appreciated!
    Edited by: C. Hassink on Feb 2, 2008 3:50 PM
    Edited by: C. Hassink on Feb 2, 2008 3:52 PM
    Edited by: C. Hassink on Feb 2, 2008 3:53 PM
    Edited by: C. Hassink on Feb 2, 2008 3:55 PM
    Edited by: C. Hassink on Feb 2, 2008 3:56 PM

    Hi Ralph,
    I don't like that methode. Importing the same transport 15 times, each time changing the source-system mapping and making sure, that source-system gets the changes seems to be a huge source of errors, which will be hard to find.
    What do you think of the following idea to solve the issue a totally different way:
    All transfer-rules directly connected to the source-systems are stripped of all Coding, so there is a plain 1 by 1 transformation including 0logsys.
    The InfoSources attached all lead to one ODS-Object, which has the only purpose to collect the data from the source-system without any transformation. So some fields a filled by a system and other fields maybe not.
    The coding specific for source-systems is moved to transfer- / update-rules from that ODS-Object to the original ODS-Objects / Cubes and the "collecting" ODS-Object is emptied after every loading process.
    This will result in a single point of change. It will be quite a huge program (maybe in startroutine) but it's the one and only point, where changes and corrections have to be made.
    Regards
    Robert

  • Urgent help need on swing problem

    Dear friends,
    I met a problem and need urgent help from guru here, I am Swing newbie,
    I have following code and hope to draw lines between any two components at RUN-TIME, not at design time
    Please throw some skeleton code, Thanks so much!!
    code:
    package com.swing.test;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.geom.*;
    import javax.swing.*;
    import javax.swing.event.*;
    public class LongguConnectLineCommponent
        public static void main(String[] args)
            JFrame f = new JFrame("Connecting Lines");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.getContentPane().add(new ConnectionPanel());
            f.setSize(400,300);
            f.setLocation(200,200);
            f.setVisible(true);
    class ConnectionPanel extends JPanel
        JLabel label1, label2, label3, label4;
        JLabel[] labels;
        JLabel selectedLabel;
        int cx, cy;
        public ConnectionPanel()
            setLayout(null);
            addLabels();
            label1.setBounds( 25,  50, 125, 25);
            label2.setBounds(225,  50, 125, 25);
            label3.setBounds( 25, 175, 125, 25);
            label4.setBounds(225, 175, 125, 25);
            determineCenterOfComponents();
            ComponentMover mover = new ComponentMover();
            addMouseListener(mover);
            addMouseMotionListener(mover);
        public void paintComponent(Graphics g)
            super.paintComponent(g);
            Graphics2D g2 = (Graphics2D)g;
            g2.setRenderingHint(RenderingHints.KEY_ANTIALIASING,
                                RenderingHints.VALUE_ANTIALIAS_ON);
            Point[] p;
            for(int i = 0; i < labels.length; i++)
                for(int j = i + 1; j < labels.length; j++)
                    p = getEndPoints(labels, labels[j]);
    //g2.draw(new Line2D.Double(p[0], p[1]));
    private Point[] getEndPoints(Component c1, Component c2)
    Point
    p1 = new Point(),
    p2 = new Point();
    Rectangle
    r1 = c1.getBounds(),
    r2 = c2.getBounds();
    int direction = r1.outcode(r2.x, r2.y);
    switch(direction) // r2 located < direction > of r1
    case (Rectangle.OUT_LEFT): // West
    p1.x = r1.x;
    p1.y = r1.y;
    p2.x = r2.x + r2.width;
    p2.y = r2.y;
    if(r1.y > cy)
    p1.y = r1.y + r1.height;
    p2.y = r2.y + r2.height;
    break;
    case (Rectangle.OUT_TOP): // North
    p1.x = r1.x;
    p1.y = r1.y;
    p2.x = r2.x;
    p2.y = r2.y + r2.height;
    if(r1.x > cx && r2.x > cx)
    p1.x = r1.x + r1.width;
    p2.x = r2.x + r2.width;
    break;
    case (Rectangle.OUT_LEFT + Rectangle.OUT_TOP): // NW
    p1.x = r1.x;
    p1.y = r1.y;
    p2.x = r2.x + r2.width;
    p2.y = r2.y;
    if(r1.y > r2.y + r2.height)
    p2.y = r2.y + r2.height;
    break;
    case (Rectangle.OUT_RIGHT): // East
    p1.x = r1.x + r1.width;
    p1.y = r1.y;
    p2.x = r2.x;
    p2.y = r2.y;
    if(r1.y > cy)
    p1.y = r1.y + r1.height;
    p2.y = r2.y + r2.height;
    break;
    case (Rectangle.OUT_TOP + Rectangle.OUT_RIGHT): // NE
    p1.x = r1.x + r1.width;
    p1.y = r1.y;
    p2.x = r2.x;
    p2.y = r2.y;
    if(r1.y > cy)
    p1.y = r1.y + r1.height;
    p2.y = r2.y + r2.height;
    if(r1.y > r2.y + r2.height)
    p1.y = r1.y;
    else
    if(r1.y > r2.y + r2.height)
    p2.y = r2.y + r2.height;
    break;
    case (Rectangle.OUT_BOTTOM): // South
    p1.x = r1.x;
    p1.y = r1.y + r1.height;
    p2.x = r2.x;
    p2.y = r2.y;
    if(r1.x > cx && r2.x > cx)
    p1.x = r1.x + r1.width;
    p2.x = r2.x + r2.width;
    break;
    case (Rectangle.OUT_RIGHT + Rectangle.OUT_BOTTOM): // SE
    p1.x = r1.x + r1.width;
    p1.y = r1.y + r1.height;
    p2.x = r2.x;
    p2.y = r2.y;
    break;
    case (Rectangle.OUT_BOTTOM + Rectangle.OUT_LEFT): // SW
    p1.x = r1.x;
    p1.y = r1.y + r1.height;
    p2.x = r2.x;
    p2.y = r2.y;
    if(r1.x > r2.x + r2.width)
    p2.x = r2.x + r2.width;
    if(r1.x > cx && r2.x > cx)
    p1.x = r1.x + r1.width;
    p2.x = r2.x + r2.width;
    return new Point[] {p1, p2};
    private void determineCenterOfComponents()
    int
    xMin = Integer.MAX_VALUE,
    yMin = Integer.MAX_VALUE,
    xMax = 0,
    yMax = 0;
    for(int i = 0; i < labels.length; i++)
    Rectangle r = labels[i].getBounds();
    if(r.x < xMin)
    xMin = r.x;
    if(r.y < yMin)
    yMin = r.y;
    if(r.x + r.width > xMax)
    xMax = r.x + r.width;
    if(r.y + r.height > yMax)
    yMax = r.y + r.height;
    cx = xMin + (xMax - xMin)/2;
    cy = yMin + (yMax - yMin)/2;
    private class ComponentMover extends MouseInputAdapter
    Point offsetP = new Point();
    boolean dragging;
    public void mousePressed(MouseEvent e)
    Point p = e.getPoint();
    for(int i = 0; i < labels.length; i++)
    Rectangle r = labels[i].getBounds();
    if(r.contains(p))
    selectedLabel = labels[i];
    offsetP.x = p.x - r.x;
    offsetP.y = p.y - r.y;
    dragging = true;
    break;
    public void mouseReleased(MouseEvent e)
    dragging = false;
    public void mouseDragged(MouseEvent e)
    if(dragging)
    Rectangle r = selectedLabel.getBounds();
    r.x = e.getX() - offsetP.x;
    r.y = e.getY() - offsetP.y;
    selectedLabel.setBounds(r.x, r.y, r.width, r.height);
    determineCenterOfComponents();
    repaint();
    private void addLabels()
    label1 = new JLabel("Label 1");
    label2 = new JLabel("Label 2");
    label3 = new JLabel("Label 3");
    label4 = new JLabel("Label 4");
    labels = new JLabel[] {
    label1, label2, label3, label4
    for(int i = 0; i < labels.length; i++)
    labels[i].setHorizontalAlignment(SwingConstants.CENTER);
    labels[i].setBorder(BorderFactory.createEtchedBorder());
    add(labels[i]);

    If you need some help, be respectful of the forum rules and people will help. By using "urgent" in the title and bumping your message every 2 hours you're just asking to be ignored (which is what you ended up with).

  • Urgent help to save a waveform as jpeg to a specifi folder on my pc

    Hello
    I'm practically very new to labview and maybe even to the forum that I might be posting this question in the wrong place (sorry about that).
    I need urgent help on the following issue (prob. a very easey one)
    here is a picture copy of one portion of my vi:
    I'm able to save the data in text format, no problem there. it saves the dat file into C/NLdat folder. this is ok.
    I also want to save the waveform chart into same folder NLdat. I did the right click on "waveform > create invoke node> get image" but doing this is not saving my jpeg anywhere. could you please show me step by step how to save it (what type of things I need to use specifically, as I feel like a idiot now)
    Thank you so much!
    Attachments:
    gk jpeg.jpg ‏42 KB

    You also need to make sure that getting the image happens after the xy-graph has been updated. Currently both things happen in parallel and there is no guarantee what happens first. there is a 50% chance that the image contains stale data.
    LabVIEW Champion . Do more with less code and in less time .

Maybe you are looking for

  • How can I unlock comments in a review?

    I saw this question in another discussion, http://forums.adobe.com/thread/648763, but it didn't have any answers and it's over a year old. I have started a PDF review with my editor. He has made comments but I am unable to copy his text because they

  • Final Cut Pro Losing Render Files

    Hello, I'm working on a half hour piece in FCP in a 23.98 ProRes 1080p timeline and I'm having a problem with my render bars popping up when they shouldn't be. It seems like it almost random but suddenly all or part of the timeline will require a ren

  • Old Apple 20" monitor, new MacMini 2010, connectable?

    I have an older 20" Apple Cinema Display. The clear plastic one with the ADC cable. I bought the Apple DVI to ADC adapter brick so I could use it on my older MacMini. The new MacMini comes with the HDMI-to-DVI adapter in the box. Will this adapter wo

  • Sync my MacBook and imac

    Hi, I've got a imac G5 and a new Macbook. I was told that I could sync both machines so that itunes, iPhoto etc would hold the same information on both computers if I synchronized them regularly. I can't figure out how to do that. Also and probably m

  • Analysis Engine is Not Running

    Hi Guys! I´m looking for your help about an issue with an Cisco IPS (B-BEAU) that is showing the Analysis Engine=NotRunning These are the SO and Version of my IPS: Version: 7.0(6)E4 OS Version: 2.4.30-IDS-smp-bigphys If I execute the show events comm