Copying position value from one layer to another

Hy!
This is Pierluig, from Italy.
I'm a noob in after effect scripting language, but not so new to programming
Anyway, this is the question:
I have a composition with one layer on it. let's say firstlayer.
The layer has two effects on it: topeffect and bottomeffect.
Bottomeffect is an effect called (Transform).
In my script, I want another layer (let's say secondlayer) to set his position from the position of the bottomeffects of the firstlayer.
Problem is, the property "Position" of the secondeffect of the toplayer is calculated trough an expression.
This expressions use a function, and this function is not recognized by the script language
I've tried something like:
  var myArr = ["0","0"];
  myArr = firstlayer.property("Effects").property("(Transform)").property("Position");
  secondo.Position.setValue(time,myArr);
And I got the error: Undefined, is not an object.
I've tried lots, tons of variation, and i've got lots, tons of variation in the error message , but always an error.
So the question is: how can i get my goal?
And my goal is to say, trough a script, after effect to set a property to a layer copying that property from another layer, assuming the layer from wich i copy the property get the property values trough an expression.
Hope I've been clear
Any help will be reallyappreciated, and I'll remember the helpers in my pray
Pierlu

Hi Pierlu,
You can use the valueAtTime() method to retrieve a value pre- or post-expression. Here's some sample code:
var firstLayer = comp.layer("firstlayer");
var secondLayer = comp.layer("secondlayer");
var firstLayerPosition = firstLayer.property("Effects").property("Transform").property("Position").valueAtTime(0, false);
secondLayer.position.setValue(firstLayerPosition);
Hope this helps.
Jeff

Similar Messages

  • Pass value from one layer to another.

    Hey,
    Is it possible to pass a value from one layer to another.
    I have a text that I'll get from layer 1 and I want to pass the value to a TextArea in layer 3.
    Is it possible, anyone?
    Thanks.

    I cannot be sure what you are calling a layer is what I know to be a layer--normally one does not go to layers, one goes to different frames.  If you look at the timeline, it consists of frames and possibly multiple layers.  Every layer has the same number of frames, and content in frame 1 of one layer is accessible by content in frame 1 of any other layer.  So if you have a textfield in layer 1, frame 1, and you have a textarea in frame 1, layer 2, you can use code to have the text in one of those assigned to the other.
    If you show a picture of what you are trying to describe it may help.

  • (v 5.5) I can no longer copy and paste from one layer to another.

    I can no longer copy and paste from one layer to another in Illustrator (5.5). This started happening a few days ago. Restarting Illustrator and also my computer (Mac) didn't help. Any ideas?

    To clarify: If I select an object in layer 1 using command/c or command/x then select layer 2 and press command/v the object gets pasted back into layer 1 instead of layer 2. I've tried everything I can think of and can't correct the problem.
    Now the only way I can get an object from one layer to another is to drag it into another layer in the layers window.

  • To copy texbox value from one dataset to another in SSRS 2005

    Hi All,
    I have two Datasets
    The difference between this 2 dataset is
    DataSet1 gives data from filter Date1 and Date2 where Data1 and Date2 are the user entered dates
    Dataset2 gives data from filter Date1 and TodayDate wher Date1 is user entered date and TodayDate is Now()(Todays Date)
    I need to copy the textboxvalue from DataSet2 to Dataset1 
    I tried using below expression in DataSet1
    'ReportItems!textbox173.Value'
    But gave the below error 
    Any help much appreciated
    Thanks
    Pradnya07

    Hi Simran08,
    According to your description that you have two DataSets and three filters in the report:Date1,Date2,TodatDate, you trying to use the expression in the DataSet1’s table to get one TextBox’s value from DataSet2 which caused some error, right?
    I have tested on my local environment and can reproduce the issue. The error caused by the expression “ReportItems!textbox173.Value“ you are using is not an supported function when getting dynamic values from another DataSet. Exactly, we already have the
    Lookup function as Visakh16 mentioned to do this copy, but this function supported in the SSRS 2008 R2 and the later version.
    So, I recommend that you to consider two methods below:
    If the two Datasets’s table have the same fields and you can join these two tables and create only one dataset.
    If you don’t want to follow step1, you can upgrade to the new version 2008  R2 or later version, then use the Lookup function to get the value from DataSet2.
    SQL Server 2008  R2 and later version, you can use a lookup function to get values from another dataset. You can find out more here:
    http://msdn.microsoft.com/en-us/library/ms170438.aspx
    If your problem still exists, please feel free to ask.
    Regards
    Vicky Liu

  • Copy the value from one item into another

    Hi,
    I have a page with 2 items on it: Field1 and Field2. When the user enters a value in Field1 and tabs out, I want to copy the value to Field2.
    I have changed the setField1 method in the VORowImpl to call setField2 passing in the same value.
    In the JHeadstart definition file I have set the Depends On Item property of Field2 to be Field1.
    When I run the page and put a value in Field1 the page autosubmits as expected and the setField1 method runs. Unfortunately, the value does not appear in Field2.
    Any ideas?
    Thanks,
    Gavin

    Hi Steven,
    Checking the box does indeed get the value from Field1 into Field2.
    What I want to do, though, is to populate Field2 from Field1 only if Field2 is empty. Unfortunately, Field2 is now cleared before the setter of Field1 executes and so it always overwrites Field2.
    Any ideas?
    Thanks,
    Gavin

  • Copy all values from one page to another

    Dear all
    i have creation page user enter all the records and save if the details are not in customer master
    then user click add customer it will call to master customer page and as well as i want to copy all these fields to customer master when ever he click on add customer
    how it is possible..
    Regards
    Sreekanth

    Hi,
    before navigating to the Master customer Page...
    take all the values in hashmap
    hm.put("value1",value);
    hm.put("value2",value2);
    Pass the hashmap in pageContext.setForwardURL();
    then on Master customer Page
    grab the values in string variables using pageContext.getParameter
    and set it on fields using
    setText();
    Thanks,
    Gaurav

  • How to copy a value from one Frame to another Frame.

    Hi,
    I am new to Swing and AWT prgramming .
    I have created a menu called " Test window " and it contains toplevel menu item "File" and File Menu contains subitems "Product Evaluation", "ProcessEvaluation", "ResourceEvalation", "TotalEvaluation" and "Exit".
    When i click File->Product Evaluation it displays a new Frame named frame1 , similarly if i click ProcessEvaluation , ResourceEvalation , TotalEvalation it displays frame 2 , frame 3 and frame 4 Respectively,
    frame 1 , frame 2, frame 3 contains four textfields with names t1,t2,t3 and t4.(NOTE: I have given same names for textfields in all three frames so that in future i want to extend my GUI).
    frame 4 contains 4 textfields with names t5,t6,t7,t8 and 4 buttons (b1,b2,b3,b4).
    After i compile my program i will select ProductEvaluation and enter some values in textfield of frame 1 and minimise it. Similary i will open ProcessEvaluation and TotalEvaluation and enter values in textfields of frame2 and frame3 and minimise them.
    My queston is now if i select TotalEvaluation and press Button1 in frame 4 it should display in textfield t5 the value extracted from t1 in frame1 added to the value extracted from t1 in frame 2 added to the value extracted from t1 in frame 3.
    ie after pressing Button 1 textfield t5 should conatin value of t1 in frame1+ value of t1 in frame2 + value of t1 in frame3.
    I am sending the code.
    Can you please help me.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.awt.Component;
    // Make a main window with a top-level menu: File
    public class MainWindow extends Frame {
        public MainWindow() {
            super("Test Window");
            setSize(500, 500);
            // make a top level File menu
            FileMenu fileMenu = new FileMenu(this);
            // make a menu bar for this frame
            // and add top level menus File and Menu
            MenuBar mb = new MenuBar();
            mb.add(fileMenu);
            setMenuBar(mb);
            addWindowListener(new WindowAdapter() {
                public void windowClosing(WindowEvent e) {
                    exit();
        public void exit() {
            setVisible(false); // hide the Frame
            dispose(); // tell windowing system to free resources
            System.exit(0); // exit
        public static void main(String args[]) {
            w = new MainWindow();
            w.setVisible(true);
        private static MainWindow w ;
        protected TextField t1, t2, t3, t4,t5,t6,t7,t8;
        // Encapsulate the look and behavior of the File menu
        class FileMenu extends Menu implements ActionListener {
            private MainWindow mw; // who owns us?
            private MenuItem itmPE   = new MenuItem("ProductEvaluation");
            private MenuItem itmPRE   = new MenuItem("ProcessEvaluation");
            private MenuItem itmRE   = new MenuItem("ResourceEvaluation");
            private MenuItem itmTE   = new MenuItem("TotalEvaluation");
            private MenuItem itmExit = new MenuItem("Exit");
            public FileMenu(MainWindow main) {
                super("File");
                this.mw = main;
                this.itmPE.addActionListener(this);
                this.itmPRE.addActionListener(this);
                this.itmRE.addActionListener(this);
                this.itmTE.addActionListener(this);
                this.itmExit.addActionListener(this);
                this.add(this.itmPE);
                this.add(this.itmPRE);
                this.add(this.itmRE);
                this.add(this.itmTE);
                this.add(this.itmExit);
            // respond to the Exit menu choice
            public void actionPerformed(ActionEvent e) {
                if (e.getSource() == this.itmPE) {
                   final Frame frame1 = new Frame("Frame1");
                    frame1.setSize(700,700);
                    frame1.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame1.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame1.add(t2);
                    t3 = new TextField("");
                    t3.setBounds(430, 230, 50, 24);
                    frame1.add(t3);
                    t4 = new TextField("");
                    t4.setBounds(530, 230, 50, 24);
                    frame1.add(t4);
                    frame1.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame1.dispose();
                    frame1.setVisible(true);
                else
                if (e.getSource() == this.itmPRE) {
                  final  Frame frame2 = new Frame("Frame2");
                    frame2.setSize(700,700);
                    frame2.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame2.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame2.add(t2);
                    t3 = new TextField("");
                    t3.setBounds(430, 230, 50, 24);
                    frame2.add(t3);
                    t4 = new TextField("");
                    t4.setBounds(530, 230, 50, 24);
                    frame2.add(t4);
                    frame2.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame2.dispose();
                    frame2.setVisible(true);
               else
               if (e.getSource() == this.itmRE) {
                 final   Frame frame3 = new Frame("Frame3");
                    frame3.setSize(700,700);
                    frame3.setLayout(null);
                    t1 = new TextField("");
                    t1.setBounds(230, 230, 50, 24);
                    frame3.add(t1);
                    t2 = new TextField("");
                    t2.setBounds(330, 230, 50, 24);
                    frame3.add(t2);
                    t3 = new TextField("");
                    t3.setBounds(430, 230, 50, 24);
                    frame3.add(t3);
                    t4 = new TextField("");
                    t4.setBounds(530, 230, 50, 24);
                    frame3.add(t4);
                    frame3.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame3.dispose();
                    frame3.setVisible(true);
                else
                if (e.getSource() == this.itmTE) {
                  final  Frame frame4 = new Frame("Frame4");
                    frame4.setSize(700,700);
                    frame4.setLayout(null);
                    t5 = new TextField("");
                    t5.setBounds(170, 230, 50, 24);
                    frame4.add(t5);
                    t6 = new TextField("");
                    t6.setBounds(270, 230, 50, 24);
                    frame4.add(t6);
                    t7 = new TextField("");
                    t7.setBounds(370, 230, 50, 24);
                    frame4.add(t7);
                    t8 = new TextField("");
                    t8.setBounds(470, 230, 50, 24);
                    frame4.add(t8);
                    ActionListener action = new MyActionListener(frame4, t5, t6, t7, t8);
                    Button b1  = new Button("Button1");
                    b1.setBounds(170, 400, 120, 24);
                    b1.addActionListener(action);
                    frame4.add(b1);
                    Button b2  = new Button("Button2");
                    b2.setBounds(300, 400, 120, 24);
                    b2.addActionListener(action);
                    frame4.add(b2);
                    Button b3  = new Button("Button3");
                    b3.setBounds(420, 400, 120, 24);
                    b3.addActionListener(action);
                    frame4.add(b3);
                    Button b4  = new Button("Button4");
                    b4.setBounds(550, 400, 120, 24);
                    b4.addActionListener(action);
                    frame4.add(b4);
                    frame4.addWindowListener(new WindowAdapter() {
                        public void windowClosing(WindowEvent e) {
                            frame4.dispose();
                    frame4.setVisible(true);
                else {
                    mw.exit();
          class MyActionListener implements ActionListener {
                private Frame frame4;
                private TextField t5;
                private TextField t6;
                private TextField t7;
                private TextField t8;
                public MyActionListener(Frame frame4,TextField tf5, TextField tf6, TextField tf7, TextField tf8)
                    this.frame4 = frame4;
                    this.t5 = tf5;
                    this.t6 = tf6;
                    this.t7 = tf7;
                    this.t8 = tf8;
                public void actionPerformed(ActionEvent e) {
                    String s = e.getActionCommand();
                    if (s.equals("Button1")) {
             // I think code for the Button1 action can be written here  
        

    hi,
    u have ot submit the values using
    b1 for f1,
    b1 for f2 and
    b1 forf3
    after u can access the values in to f4 other wise u con't
    what u have to do use method in each frame like
    setValueforframe1() { } and 2 and 3
    and u can call this method in frame 4 and u can get the values

  • How do I copy text from one layer to  another?

    I have Googled this but not a single answer seems to work.
    I am using Photoshop CS4 on OS X 10.6.7.
    OK, so  I  have a layer that  has some text in it.  I would like to  be able to  simply copy that  text  from one layer  to  another, but this seems to  be impossible as the Edit Paste menu item is grayed out after I have copied it in to the clipboard.  I can paste it into  the SAME layer, but not into another layer.
    This is how I am trying to  do  this.
    In the layer  with the text, click on the "T" icon to  the left.
    Click on the text, in the layer that I  want to  copy. 
    I select the text (either  by  clicking and dragging or pressing Command-A).
    Next I press Command-C.
    Then I  click on the layer In the Layer Panel) where I want to  paste the text.
    Pressing Command-V is impossible because the Edit-Paste menu option is grayed out!!!!
    WHY??????
    Perhaps more importantly, HOW do I copy text  from one layer to  another?

    First thing you can simply right click on the Text Layer and choose Duplicate Layer.  But that will create a new Text Lay
    er identical to the one you have.
    To answer your question in your case....  Create the Text Layer.   Make a New Layer.  Or have the layer you want to paste into visible.
    Highlight the text layer in the Layer Palette and Ctrl+Click (Win) Cmd+Click(Mac) so that you see marching ants walking around your text.
    Edit>Copy.
    Then highlight your Layer you want to paste into and hit Edit>Paste or Cmd+V / Ctrl+V.

  • Pass value from one VO to another VO.

    I want to create an item on the page but the value is in a different VO in the same root AM. How would I do this other than extending VO(1).
    Both the VO's are on the same page.
    Can you please let me know.
    Thanks
    Rama
    Edited by: user4280075 on Apr 3, 2012 1:41 PM

    Hi,
    Not sure what is your requirement. But if it is just you want to create a new ITEM on a page and the VO's are already present then what is the issue. You can set the vo attribute of any of the VO's available.
    But if your requirement is to copy a value from one VO to another then you can iterate the VO and get the required value and set it to the desired VO row.
    Thanks,
    Mukesh Uchaniya

  • Copying value from one cursor to another

    Hi,
    I have a problem while copying values from one cursor to another cursor.
    The code looks like below.
    PROCEDURE XYZ
                TransactionResultSet OUT NOCOPY types.ref_cursor,
    IS
                temp_cursor types.ref_cursor;
                wip_rec types.ref_cursor;
    BEGIN
    DECLARE
                    CURSOR temp_cursor IS
                SELECT ...........
    END;
    BEGIN     
        FOR wip_rec IN temp_cursor
        LOOP
        update tinsagr set something
        where {the condition}
            IF SQL%ROWCOUNT = 0 THEN
      dbms_output.put_line('this is test ');
            Fetch wip_rec into TransactionResultSet;
         END IF;
       END LOOP;so basically i want to iterate the "temp_cursor" and depending on the values i get it from here i shall update a table. Actually i want to exclude few records from "temp_cursor" and add it/copy rest of the records to "TransactionResultSet"
    That means say initially " temp_cursor" has 100 records and i updated 5 records in a table and same number of records should be excluded and rest should be added to the output cursor TransactionResultSet.
    How do i achieve it?
    while saving i am getting
    (1): PLS-00456: item 'WIP_REC' is not a cursor.
    Do any one has any idea what to do in such scenario?

    There are options like....
    SQL> CREATE OR REPLACE TYPE emp_obj AS OBJECT (ename VARCHAR2(50), dept NUMBER);
      2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emp_tbl IS TABLE OF emp_obj;
      2  /
    Type created.
    SQL> set serverou on
    SP2-0158: unknown SET option "serverou"
    SQL> set serverout on
    SQL> DECLARE
      2    rc      sys_refcursor;
      3    v_ename emp.ename%TYPE;
      4    v_dept  emp.deptno%TYPE;
      5    ---End Of Local Varriable Declaration
      6    --Procedire declaration !
      7    PROCEDURE TEST_CUR(pi_out_ref_cur IN OUT sys_refcursor) IS
      8      emp_rec emp_tbl;
      9    BEGIN
    10      /* This BULK COLLECT can be done with explicit cursor,Ref Cursor
    11      with some simple modification, Here I have used implicit cursor! */
    12      SELECT emp_obj(ename, deptno) --Casting as the object
    13      BULK COLLECT
    14        INTO emp_rec
    15        FROM emp
    16       WHERE deptno = 10;
    17   
    18      dbms_output.put_line('Records selected are:');
    19      FOR i in 1 .. emp_rec.COUNT LOOP
    20        dbms_output.put_line(emp_rec(i).ename || '--' || emp_rec(i).dept);
    21      END LOOP;
    22      --Now we are filtering the record and may be doing some operation with each record.
    23      FOR i in 1 .. emp_rec.COUNT LOOP
    24        IF emp_rec(i).ename = 'KING' THEN
    25          --You can change this IF according to your need.
    26          emp_rec.DELETE(i);
    27        END IF;
    28      END LOOP;
    29      OPEN pi_out_ref_cur FOR
    30        SELECT * FROM TABLE(emp_rec); --Using the TYPE AS table.
    31    END TEST_CUR;
    32    /* Main execution or procedure calling section*/
    33  BEGIN
    34    --Actual calling
    35    TEST_CUR(rc);
    36    dbms_output.new_line;
    37    dbms_output.put_line('Now in Ref Cursor');
    38    dbms_output.put_line('****************');
    39    LOOP
    40      FETCH rc
    41        INTO v_ename, v_dept;
    42      dbms_output.put_line(v_ename || '--' || v_dept);
    43      EXIT WHEN rc%NOTFOUND;
    44    END LOOP;
    45 
    46  END;
    47  /
    Records selected are:
    CLARK--10
    KING--10
    MILLER--10
    Now in Ref Cursor
    CLARK--10
    MILLER--10
    MILLER--10
    PL/SQL procedure successfully completed.
    SQL>

  • How do I copy and paste vector art from one layer to another, keeping all of its attributes?

    When I copy a vector shape from one layer to another, the shape picks up the color attributes of an existing shape in the second layer (or sometimes only the outline of the shape appears). What to I do to avoid this from happening (I just just want to paste the shape in its original form and color)?

    OK - I guess this is a little more difficult than I imagined...
    Merge Layers rasterizes all the vector shapes - I want all the shapes to stay as vectors in the second (pasted) layer.
    Merge Shapes changes the color of the copied vector shape - I don't want to change the color
    Shape Layer via Copy [Ctrl] +[J] copies the layer containing the vector shape, but doesn't paste it into the second layer
    Any other ideas? Or, is it possible that PhotoShop doesn't support varied colored vector shapes on the same layer? I am coming from an InDesign background, and there was no issue having many different (colored) vector objects on the same layer.

  • How do I copy the style from one control to another?

    I need to programmatically copy the style from one graph to another. I'm currently using the importstyle and export style functions but I'd like to avoid that since: 1) I'm creating >100 of the same graphs in a scrolling window and execution time is a concern, and 2) it makes it harder to redistribute the application, and 3) you shouldn't have to import/export from disk just to copy a graph style.
    I noticed the copy constructor was disabled so you can't just create a new one from the original. I suppose I could iterate through all the styles and transfer them from the master graph to all the copies but is there an easier way to do that? If not, is there some sample code for that?
    I'm using MStudio 7.0 for C
    ++.
    Thanks,
    -Bob

    One way that you could do this would be to create a helper method that configures your graph rather than configuring it at design-time, then use that helper method to apply the settings to the new graphs that you create. However, this would only work if you wanted all graphs to be configured exactly the same way - this would not work if the settings of your master graph are changing at run-time and you want the new graphs to be configured with the current settings of the master graph.
    Another approach is to query each control for IPersistPropertyBag, create an IPropertyBag, pass the IPropertyBag to the master graph's IPersistPropertyBag:ave, then pass the IPropertyBag to the new graph's IPersistPropertyBag::Load implementation. I'm not aware of any implementations of IPropertyBag that are readily available for use in applications, so the tricky part is creating the IPropertyBag. Below is a very simple implementation of IPropertyBag that should be enough to get the job done for this example. First, add this to your stdafx.h:
    #include <atlbase.h>
    CComModule _Module;
    #include <atlcom.h>
    #include <atlcoll.h>
    Here's the simple IPropertyBag implementation:
    class ATL_NO_VTABLE CSimplePropertyBag :
    public CComObjectRootEx<CComSingleThreadModel>,
    public IPropertyBag
    private:
    CAtlMap<CComBSTR, CComVariant> m_propertyMap;
    public:
    BEGIN_COM_MAP(CSimplePropertyBag)
    COM_INTERFACE_ENTRY(IPropertyBag)
    END_COM_MAP()
    STDMETHODIMP Read(LPCOLESTR pszPropName, VARIANT* pVar, IErrorLog* pErrorLog)
    HRESULT hr = E_FAIL;
    if ((pszPropName == NULL) || (pVar == NULL))
    hr = E_POINTER;
    else
    if (SUCCEEDED(::VariantClear(pVar)))
    CComBSTR key = pszPropName;
    CComVariant value;
    if (!m_propertyMap.Lookup(key, value))
    hr = E_INVALIDARG;
    else
    if (SUCCEEDED(::VariantCopy(pVar, &value)))
    hr = S_OK;
    return hr;
    STDMETHODIMP Write(LPCOLESTR pszPropName, VARIANT* pVar)
    HRESULT hr = E_FAIL;
    if ((pszPropName == NULL) || (pVar == NULL))
    hr = E_POINTER;
    else
    m_propertyMap.SetAt(pszPropName, *pVar);
    hr = S_OK;
    return hr;
    Once you have a way to create an implementation of IPropertyBag, you can use IPropertyBag and IPersistPropertyBag to copy the settings from one control to another like this:
    void CopyGraphStyle(CNiGraph& source, CNiGraph& target)
    LPUNKNOWN pSourceUnknown = source.GetControlUnknown();
    LPUNKNOWN pTargetUnknown = target.GetControlUnknown();
    if ((pSourceUnknown != NULL) && (pTargetUnknown != NULL))
    CComQIPtr<IPersistPropertyBag> pSourcePersist(pSourceUnknown);
    CComQIPtr<IPersistPropertyBag> pTargetPersist(pTargetUnknown);
    if ((pSourcePersist != NULL) && (pTargetPersist != NULL))
    CComObject<CSimplePropertyBag>* pPropertyBag = 0;
    CComObject<CSimplePropertyBag>::CreateInstance(&pPropertyBag);
    if (pPropertyBag != NULL)
    CComQIPtr<IPropertyBag> spPropertyBag(pPropertyBag);
    if (spPropertyBag != NULL)
    if (SUCCEEDED(pSourcePersist->Save(spPropertyBag, FALSE, TRUE)))
    pTargetPersist->Load(spPropertyBag, NULL);
    (Note that "CreateInstan ce" above should be CreateInstance - a space gets added for some unknown reason after I click Submit.)
    Then you can use this CopyGraphStyle method to copy the settings of the master graph to the new graph. Hope this helps.
    - Elton

  • Error while copying GL Accounts from One Client to another client

    Hi,
    We are trying to copy GL accounts created in one client to another client (Company Code is same in both the clients). First we executed FS15 (send) and a file was created on the server. With the help of BASIS team we checked that file and it contained the required values. However, when we are doing FS16 (receive) we are getting following OK messages:
    File /usr/sap/DEV/SYS/global/FBISABC is being checked
    Session 1 session name RFBISA20 : No terminations have been found
    However, at the same time we are getting following error message:
    File name FI_COPY_COMPANY_CODE_DATA_FOR_GENERAL_LEDGER_0X is unknown
    Message no. SG001
    Diagnosis
    No entry was found in the conversion table for the logical file name FI_COPY_COMPANY_CODE_DATA_FOR_GENERAL_LEDGER_0X.
    Procedure
    Add an entry to the conversion table for the logical file name. Maintain the conversion table with the transaction SM30.
    Can someone please advice is there something wrong that we are doing for copying GL accounts from one client to another client.
    Thanks,
    Sanjay

    Dear Sanjay,
    Did you check the batch-input? SM35
    It could have happend that there was a mistake in the batch-input data and that the destination file has not been written. If this has not been written it could not be found.  (I.E. you tried to transport G/L Accounts with deletion flags but did activate the checkbox "Transfer deletion ****").
    There is another point: Did you activate the box "Datei nur prüfen" (English: Check file only)? If this box is activated the programm will check if the batch-input-file will be written without mistakes but it will not write the file. Only if the checkbox is not activated the batch-input-file will be written. (the same with FS16).
    Kind regards
    Maike
    Edited by: Maike Nemeyer on Dec 1, 2011 8:52 AM
    Edited by: Maike Nemeyer on Dec 1, 2011 11:45 AM

  • Copying table rows from one table to another table form

    Hi
    I have a problem about Copying table rows from one table to another table form.On jsf pages if you enter command button go anather jsf page and it copy one row to another table row. But when i execute this process for table FORM it doesn't copy I wrote a code under "createRowFromResultSet - overridden for custom java data source support." Code block is:
    ViewRowImpl value = super.createRowFromResultSet(qc, resultSet);
    try{
    AdfFacesContext fct = AdfFacesContext.getCurrentInstance();
    Number abc = (Number)fct.getProcessScope().get("___");
    value.setAttribute("___",abc);
    }catch(Exception ex){System.out.println(ex);  }
    return value;

    Table may be copied with the
    expdp and impdp utilities.
    http://www.oracle.com/technology/products/database/utilities/index.html

  • Error while copying a page from one application to another application

    Hi All
    I am using Oracle Apex 4.0
    I getting the error ORA-06502 Pl/Sql Numeric error character string buffer too small when i copying a page from one application to another application.
    Thanks & Regards
    Srikkanth.M

    I'm having the same issue. How did you solve this?

Maybe you are looking for