How to create block by copying parent value to all of its children

Hi All,
I need to create blocks by copying the parent value into it's children, however, the following does not work:
DATACOPY "Profit"->"Actuals"->"2012"->"Period Total"->@PARENT(@CURRMBR("Business")) TO "Profit_2"->"Budget"->"2013"->"Input Mth"->@CURRMBR("Business")
Does anyone know how to go about achieving this?
Cheers,

from source to target
copy data
FIX ( "Profit","2012","Period Total",@Idescendants("Business",-1))
"Actuals"(
Account_NA=0;
ENDFIX
FIX ( "Profit","2012","Period Total",@RELATIVE("Business",0))
"Actuals"(
IF(Account_NA->@PARENT(@CURRMBR("Business")+0 == 0)
"Profit_2"->"Budget"->"2013"->"Input Mth"->@CURRMBR("Business"))= "Profit"->"Actuals"->"2012"->"Period Total"->@PARENT(@CURRMBR("Business"));
Account_NA->@PARENT(@CURRMBR("Business"))=1;
ENDIF;
ENDFIX
copy block
FIX ( "Profit","2012","Period Total",@RELATIVE("Business",0))
"Actuals"(
"Profit_2"->"Budget"->"2013"->"Input Mth" = "Profit"->"Actuals"->"2012"->"Period Total"->@PARENT(@CURRMBR("Business"));
ENDFIX

Similar Messages

  • How can i block stolen iphone 4 and stop all of its functionalities?

    I lost my IPHONE 4 just few hours ago. I dont know how block all of its functionalities so no one can use it. I have the application of "Find My Iphone" turned on but I dont know how to use it. I dont even know my IMEI or Serial number. I am asking how can I retrieve it from my iCloud Account.
    For those who could help me you can contact me at my Email account:
    <Email Edited by Host>
    Thanks!
    Khen22

    First, it's a really bad idea to put your email address in a post to a public forum where millons of people, including some who have less than stellar ethics, will see it. At the least you will now be on thousands of spammer lists.
    Log in to your account using your Apple ID and password at https://www.icloud.com and click "Find my iPhone".

  • How to create a matrix with constant values and multiply it with the output of adc

    How to create a matrix with constant values and multiply it with the output of adc 

    nitinkajay wrote:
    How to create a matrix with constant values and multiply it with the output of adc 
    Place array constant on diagram, drag a double to it, r-click "add dimension". There, a constant 2D double array, a matrix.
    /Y
    LabVIEW 8.2 - 2014
    "Only dead fish swim downstream" - "My life for Kudos!" - "Dumb people repeat old mistakes - smart ones create new ones."
    G# - Free award winning reference based OOP for LV

  • How to create blocks on Procedures? How does one handle I/U/D on the block?

    Hello Gurus,
    How to create blocks on Procedures? How does one handle I/U/D on the block?
    Please give an example.
    Thank You,

    Hello Gurus,
    How to create blocks on Procedures? How does one handle I/U/D on the block?
    Please give an example.
    Thank You,

  • How to create a transport request with query and only with its structure.

    HI guru,
                how to create a transport request with query and only with its structure.transport request should not  include any other query items like ( variables, conditions...etc)
    thanks in advance.
    venkata

    Hi,
    Goto RSA1 and then Transport Connection -> In SAP Transports select Object Types-> Query Elements -> Then select Query->Give Technical name of the query and then select for transfer. In the right side you can choose the components which you wanted to transport.
    Regards,
    anil

  • How to create a single 'not null ' validation for all the items in a page ?

    Hi everyone ,
    how to create a single 'not null ' validation for all the items in a page ? I have many textfields . Instead of creating 'not null' validation for each item , I would like to create a a single validation control that will serve the purpose
    Thanks & Regards
    Umer

    Nice1 wrote:
    bob , as u said I have done the following :
    1) under create button , there are 9 items and for each item I have set Required to 'Yes'
    2) under delete button , there is 1 item and have set Required to 'Yes' for the item
    3) defined page validation for 9 items under 'create ' button and have set it to fire when 'create ' button clicked
    4) defined page validation for 1 item under 'delete ' button and have set it to fire when 'delete ' button clicked
    now , when I click 'create' button it even shows for the item under 'Delete ' button that it is a required itemSorry, I didn't see this note. The required template won't work, there is no way to attach it to the button.
    The best solution is as the reply a couple replies up
    Create 2 page type validations as a PL/SQL with code
    1st validation
    :P1_ITEM1 IS NOT NULL and :P1_ITEM2 IS NOT NULL ...... and :P1_ITEM9 IS NOT NULL  include all 9 items
    Set the When Button Pressed to the CREATE button
    2nd validation
    :P1_ITEM10 IS NOT NULL
    Set the When Button Pressed to the DELETE buttonI think that's going to be the easiest way to do it.
    Edited by: Bob37 on Apr 27, 2012 12:02 PM

  • How to create file based on date value

    Hi
    Hope you'll help me. I can't find right way to tackle the problem. I need to read a file which name is created based on month and years' value. File name format is as follows: INMMYY.log. So to read it I must create File object using this file name format. I tried to use Calendar class get necessary information using get() method. Unfortunatelly returned month's value is always 2,3,4 and so on..(I need 02,03). There is problem with year's value als. It's returned in form YYYY but I need YY.
    Does anybody have any idea how to create string INMMYY in the easiest way ??
    Thanks in advance :)

    Use java.text.SimpleDateFormat.

  • How to create insp. char as ( or ) value

    Dear
    Gurus
    Can anybody help me to create Inspection char like ( <5) or (>5)
    i am able to create the insp char with limits like (2-10) but i am not getting how to create with only values with > or < .
    Thanks and regards
    madhu

    RESOLVED
    Thanks and regrds
    Madhu

  • How to create child part from Parent Item - BLOW UP Master - Automatically

    Hi to All,
    Have any one defined this process?
    To create child part from Parent Item - BLOW UP Master - Automatically ie. we receive FG from customer which we need to blow up to its child part. In that case, FG should be consumed & child parts should be generated in stock.
    We tried with recursive, but the stock of FG was again generating with recursive.
    Ex. FG after receiving from customer in stock 1
    Child parts (with offtake 1) X1, X2, X3 in stock zero.
    After processing, FG stock should be zero & X1, X2, X3 = 1.
    Regards
    Nitin

    Create a BOM for one of the "child" parts that has the "FG from customer" as a component and all the other child parts are negative quantity components (by products).
    To make it simple have all the components backflushed and auto goods receipt the child in the BOM header.  Create a production order, then process the confirmation (this will auto goods receipt the 1st child, consume by backflush the "FG from customer" and put the other child parts into stock as by products.
    You will need to get your material prices correct first so that there is minimal variance in the production order.

  • How to Create a database copy and specify the source database.

    Hello,
    In my dag environment I would like to create a new database copy and specify the source. My company has database copies in 2 locations. Instead of transferring the data from one location to the other, I would like to specify the source be the copy that is
    in the same location.
    Thank you,
    ~Mark

    Hi,
    We can create a mailbox database, then run EMC and EMS to create a database copy.
    More details about Add a Mailbox Database Copy, for your reference:
    https://technet.microsoft.com/en-us/library/dd298080(v=exchg.141).aspx
    Note: please pay attention to Prerequisites section, for example: 
    1. The specified Mailbox server must not already host a copy of the specified mailbox database.
    2. The server hosting the specified database and the server that will host the database copy must both be in the same database availability group (DAG). The DAG must also have quorum and be healthy.
    Thanks
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact [email protected]
    Allen Wang
    TechNet Community Support

  • How to create table with list/map value binding

    I need to display few values in a tabular format. Is it possible to create adf table without having value binding to a VO object. Can I make a table with some list/map combination.
    I want to change the display format with minimum change in the application. Hence I am looking for a change to define a list/map and map it with the table.
    Following is the structure I need to display in.
    |     |Header1|Header2 |     
    |_______|_______|_______|
    |Txt R1 |value 1 |Value 2 |     
    |_______|_______|_______|
    |Txt R2 |Value 3 |value 4 |     
    |_______|_______|_______|
    All the views does not have any relation. Hence I should not create a VO and adding rows of the VO object.
    Edited by: Jaykishan on Jun 10, 2011 11:34 AM

    Yes, you can do it. Create a pojo with the properties(column) you want to display in the table and create a list with the instances of pojos and then you can populate your table using the list.
    Sample:
    //POJO
    public class SamplePojo {
    private String col1;
    private String col2;
    public SamplePojo(String col1, String col2){
      this.col1 = col1;
      this.col2 = col2;
    //add setter and getter methods
    //Inside bean, prepare a list with pojo instances (Assume a getter exists for pojoList)
    pojoList = new ArrayList();
    pojoList .add(new SamplePojo("Value1", "Value2");
    pojoList .add(new SamplePojo("Value3", "Value4");
    etc.
    //Inside jspx
    <af:table value="#{<Bean>.pojoList}" var="pojo" ...>
       <af:column headerText="Header1" ..>
         <af:outputText value="#{pojo.col1}"/>
       <af:column>
       <af:column headerText="Header2" ..>
         <af:outputText value="#{pojo.col2}"/>
       <af:column>
    </af:table>HTH
    Sireesha

  • How to create new record with old values

    Dear all
    i have creation page with 45 fields are there
    user will enter all the fields and save it will call to non editable mode
    if user will click on change button it will call to editable mode
    in that my requirement is user wont change among those ites(45 items)clcik on save again it will call to view mode
    in that user will change any one of the value among 45 items and click on save button i need to create one more record in database
    if user wont edit any one of the field out of 45 items i dont want to create new record in database
    how can we achieve thsi functionality
    Regards
    Sreekanth

    Hi Srikant,
    When user may edit the record, the same row may get updated in vo. Thus over writing existing row instead of creating new row.
    Approach1..
    On the page where user may edit records, instead of presenting records of existing row, present copy of existing row. So
    In AM... (Later on you can put vo logic to its proper place, i.e. vo java file)
    public void viewPageCallSetup()
    Row originalRow=vo.createRow();
    Row dummyRowForEdit=vo.createRow();
    //COPY THE ORIGINAL ROW TO DUMMY ROW. IF THERE IS DIRECT METHOD TO CREATE COPY OF EXISTING ROW, THAT MAY BE MUCH BETTER.
    for(int i=0;i<vo.getAttributeCount()-1; i++)
    dummyRowForEdit.setAttribute(i, originalRow.getAttribute(i));
    vo.insertRow(dummyRowForEdit);
    vo.setNewRowState(Row.STATUS_INITIALIZED);
    vo.setCurrentRow(dummyRowForEdit);
    call this method in contoller's processRequest..
    string oid=pagecontext.getparameter("oid");
    if(pageContext.getparameter("Purpose").equals("Edit")) //Means user clickED the edit button so we need to replicate the row
    am. viewPageCallSetup(oid); //calling this method in am
    else
    In PFR...
    if(pageContext.getparameter("Purpose").equals("Edit"))
    am.xxcostedit(oid); //calling this method in am
    in case user selects "Cancel" on edit form,we need to remove the duplicate row. So in AM write a method to remove the duplicate rowd on click of "Cancel" button on edit form.
    Rest of the logic is same for "Save" button. Just say commit.
    Abdul Wahid

  • How to create multiple function for each value

    Hi, I'm new to LabVIEW.
    I need some help. Attached is my LabVIEW file.
    I want to change the Formula VI for the 'Air Velocity vs Time' waveform to another formula (or multiple formula (can I use MathNode Script for this?)) to let it handle multiple values from the data and then display the result on the waveform graph. Or how can I do this?
    Another one is how to change the scale for the 'Measurement Flow' from sensor to pressure? Using pressure sensor 0V-10V to -500Pa-500Pa.
    Thanks in advance.
    Attachments:
    Exhaust EBT Wind Tunnel 1.1.vi ‏399 KB

    Faruq wrote:
    I want to change the Formula VI for the 'Air Velocity vs Time' waveform to another formula (or multiple formula (can I use MathNode Script for this?)) to let it handle multiple values from the data and then display the result on the waveform graph. Or how can I do this?
    You could simply use a case structure around the Formula Express VI. When you say MathNode Script I'm assuming you're referring to MathScript? Or are you referring to the Formula Node. With either one you'd need to convert from dynamic data to arrays. With MathScrip you need to be aware that starting with LabVIEW 2009 MathScript requires a separate license.
    Another one is how to change the scale for the 'Measurement Flow' from sensor to pressure? Using pressure sensor 0V-10V to -500Pa-500Pa.
    You can create a custom scale for your measurement. You can do this in the DAQ Assistant.
    Attachments:
    DAQ_assistant.png ‏30 KB

  • How to create a table with distinct values ?

    I want to create a new table based on an existing table distinct values only, how can I avoid to create the duplicate values ?
    e.g.
    table1
    field1 field2
    0001 ABD
    0001 ABD
    0002 DCF
    0002 DCF
    new table
    field1 field2
    0001 ABD
    0002 DCF
    thanks

    create table table2
    as
    select distinct field1,field2
    from table1

  • How to create a Drop down with values in Module Pool for a screen field.

    Hi all,
    I have created a Screen on which one field is created Say Bank Name. I would like to give some spcific value for this fileld where user can select only seeing in drop down cann't enter.
    Can anyone tell how can we do it ?

    Hi,
    The selected value key will be stored in the parameter.
    eg: Refer below code. Here if i select Vinod then po_name will be 1. After this read i_values WITH this key and get the actual value.
    PARAMETERS: po_name(30) TYPE c VISIBLE LENGTH 20 AS LISTBOX.
    TYPE-POOLS: VRM.
    DATA: i_values TYPE vrm_values,
          wa_values LIKE LINE OF i_values.
    AT SELECTION-SCREEN OUTPUT.
      wa_values-key = '1'.
      wa_values-text = 'Vinod'.
      APPEND wa_values TO  i_values.
      wa_values-key = '2'.
      wa_values-text = 'Kumar'.
      APPEND wa_values  TO i_values.
      wa_values-key = '3'.
      wa_values-text = 'Reddy'.
      APPEND wa_values  TO i_values.
      CALL FUNCTION 'VRM_SET_VALUES'
           EXPORTING
                id              = 'PO_NAME'
                values          = i_values
           EXCEPTIONS
                id_illegal_name = 1
                OTHERS          = 2.
    START-OF-SELECTION.
    READ TABLE i_values INTO wa_values WITH KEY key = po_name.
    MOVE wa_values-text TO w_name. " This will be ur actual value.
    Thanks,
    Vinod.
    Edited by: Vinod Reddy Vemuru on Jul 8, 2008 4:16 PM

Maybe you are looking for

  • Why there are unprinted sides in my document?! Using Indesign CS4?

    I have parts in my document that uses the sides. When I'm finish and printing it, it was cut or unprinted. Who knows how to resolve this? I need this immediately. Tnx whoever answers immediately.

  • 6.0.8.13 Patch 4 on RedHat 7.1

    Hi, Have you had an idea where can i download from the patch 4 for Dev2000(forms/reports 6i) for RedHat 7.1.. as it is the only certified product? As regards the Dev2000 forms/reports 6i .. there is only one available http://www.oracle.com/technology

  • Automatically changing Safari's downloads folder

    I want to have a automator script which can automatically change Safari's downloads folder. How should i do?

  • Iphone suddenly turned off?

    my iphone 4 suddenly just turned itself off. it had 40% so it wasn't dead. i have had it plugged into a charger for about 30 minutes now, it still won't come on. what should i do?

  • Media Encoder Issues After Upgrade from CS4 to CS5

    I've been running CS4 and doing encoding to .flv and .f4v formats for sometime now without any issues.  I downloaded Photoshop CS5 and then the entire design CS5 suite soon after.  Since then, I can not encode videos properly.  Both CS4 Media Encoder