Return the scheduled start date from one task to a custom field for all tasks

Hi all
I am trying populate an entire custom task date field with the scheduled start date of one of the tasks. I thought the easiest way would be to:
1) identify the date I need with a custom task flag field set to 'yes'
2) create a formula to look for the 'yes' flag in that field and populate the custom task date field with it.
This worked only for the task where the flag was set to yes (task #36) and the rest of the 49 tasks returned an error message. I'm unsure of how to set this up so that the date with the 'yes' flag populates in this column on
all 50 tasks.
This would also need to scale for situations where there were more or less than 50 tasks.
Thanks in advance...
Using MSP 2010 Pro   

ShelleyBrodie,
That's because the syntax of your formula isn't quite what you intend. The correct syntax is:
IIf( expression, truepart, falsepart )
For your case that converts to:
IIf([Flag1],[Scheduled Start],{not sure what you want for the false part but I assume is is not Scheduled Start})
Note, the "Yes" for Flag1 is implied, so the first part (i.e. Scheduled Start) is the truepart, but you don't give a value for the falsepart (i.e in both cases your formula is looking for Flag1 to be "yes". Let's say you want the Date1
field to have the Scheduled Start date if Flag1 is "yes" and to have today's date if Flag1 is "no". Then the formula will be:
IIf([Flag1],[Scheduled Start],[Current Date])
However, As I indicated in my previous response, you won't be able to do what you described in your initial post by using a formula. Are you now trying to do something different?
John

Similar Messages

  • How to Maintain the MM Master Data from one company code to other co code

    Hi Experts,
    Can any one pls tell me how to Maintain the MM Master Data from one company code to other co code.
    Presently we created New plants,New Purchase Orgs under different company code.
    1) Material Master data
    2) Vendor MAster data
    3) PIR
    4) Source List
    Is there any standard Transactions...??
    Please reply.
    Brgds,
    KK

    Hi
    Check out the link -
    http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreateasimpleLSMWusingbatchinput+recording
    lsmw for data migration for  xk01 transaction
    http://www.sap-img.com/general/lsmw-steps-for-data-migration.htm
    Regards
    Anand

  • How to get the week start date from ISO week number

    Hi,
    I have a table with the following stucture
    Year    error    Week1     week2   week3 ......week53
    2012       error1     2           4         2             1
    2012       error2    3          0        1                 1I was hoping to get something like select year, error, week1||'Week start date which is a monday of that week' , week2||'Week start date,again monday',....week53 from table
    Any suggestions please?
    Thanks,
    Sun

    Hi, Sun,
    To see when week N started, add 7 * (N - 1) days to the beginning of the year. (By definition, the beginning of the ISO year is the start of week 1 of the ISO year.)
    To see when week 22 of the current year started:
    SELECT  TRUNC (SYSDATE, 'IYYY') + (7 * (22 - 1))
    FROM    dual
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all the tables involved, and the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say what version of Oracle you're using.
    See the forum FAQ {message:id=9360002}

  • How to select data from an aggregate in a customer exit for a query?

    Hi,
    I have written a virtual key figure customer exit for a query. Earlier the selection was from the cube, where there was severe performance issue. So I have created an aggregate, activated and have loaded the data.
    Now when I select that data I find that the Key table is different in development and production. How do I resolve this.
    My code is attached below. The table in developemnt is KEY_100027 and in production is KEY_100004. This code is activated and running in BW development server.
    SELECT
        F~KEY_1000041 AS K____035
         F~KEY_1000271 AS K____035
         F~QUANT_B AS K____051
         F~VALUE_LC AS K____052
    INTO (xdoc_date, xval1, xqty1)
    UP TO 1 ROWS
    FROM
    FROM
    */BIC/E100004 AS F JOIN
    /BIC/E100027 AS F JOIN
    /BIC/DZMM_CGRNU AS DU
    ON FKEY_ZMM_CGRNU = DUDIMID
    JOIN /BI0/SUNIT AS S1
    ON  DUSID_0BASE_UOM = S1SID
    JOIN /BI0/SCURRENCY AS S2
    ON DUSID_0LOC_CURRCY = S2SID
    JOIN /BI0/SMATERIAL AS S3
    *ON FKEY_1000042 = S3SID
    ON FKEY_1000272 = S3SID
    JOIN /BI0/SMOVETYPE AS S4
    *ON FKEY_1000043 = S4SID
    ON FKEY_1000273 = S4SID
    JOIN /BI0/SPLANT AS S5
    *ON FKEY_1000044 = S5SID
    ON FKEY_1000274 = S5SID
    JOIN /BIC/D100004P AS DP
    *ON FKEY_100004P = DPDIMID
    ON FKEY_100027P = DPDIMID
    WHERE
    WHERE
    ( ( ( ( F~KEY_1000041 BETWEEN 20051230 AND 20060630  ) ) AND  ( (
    ( ( ( ( F~KEY_1000271 BETWEEN 20051230 AND 20060630  ) ) AND  ( (
             S3~MATERIAL = <l_0material> ) ) AND  ( (
                s2~movetype BETWEEN '101' AND '102' OR
             s4~movetype BETWEEN '921' AND '922' OR
             s4~movetype BETWEEN '105' AND '106' OR
             s4~movetype BETWEEN '701' AND '701' OR
             s4~movetype BETWEEN '632' AND '632' ) ) AND  ( (
             S5~PLANT = <l_0plant> ) ) AND  ( (
             DP~SID_0RECORDTP = 0  ) ) ) )
    GROUP BY
        ORDER BY F~KEY_1000271 DESCENDING.
          IF sy-subrc NE 0.
            EXIT.
          ENDIF.
        ENDSELECT.
    How do I transport the code and make it work?
    Whats the reason that the two key fields are different.
    I had transported the aggregate from development to production. Activated it and filled the data.
    What is the way out? Please help.
    Regards,
    Annie.

    Hi Sonu,
    The main task is to move the contents of the one internal table to another with some condition.
    First sort and delete the duplicate entries from the First Internal table like below : 
    sort it_tab by material ascending date_modified descending.
    delete adjacent duplicates from it_tab.
    Then move that Internal table contents to another internal table.
    Define another internal table with the same structure as you have first internal table and then
    Second Step :
    it_itab1 = it_itab.
    If you are using seperate Header line and Body then you can do like below :
           it_itab1[] = it_itab[].
    This will fix the issue.
    Please let me know if you need any further explonation.
    Regards,
    Kittu
    Edited by: Kittu on Apr 24, 2009 12:21 PM

  • SEM:BCS - Copying Consolidated data from one version to another

    Hi,
    We have a situation where we do Consolidation of Forecast data. However this involves mixing Actuals data. For eg.
    1) Q3 forecast would contain Q1 and Q2 as Actuals and Q3 and Q4 as Forecast
    2) System has already done the consolidation for Q1 and Q2 lets say in version 0
    3) Forecast is a different version eg. F1.
    4) I want to be able to copy the Consolidated data of Q1 and Q2 from version 0 to version F1. Then load the data for Q3 and Q4 for forecast and perform consolidations for Q3 and Q4.
    What I have seen in the system is -
    a) You can copy only the non-consolidated data from one version to another and not for eg. Elimination entries etc.
    b) This means that I have to perform consolidations in version F1 for quarters Q1 and Q2 again even though its already been done in the Actuals version (0).
    c) Is there any way out of this. There is always the possibility that the consolidated data in Q1 and Q2 does not match between Actuals (version 0) and Forecast (F1)

    Hi,
    We had the same issue. In your solution you'll have to delete old (Q1 and Q2) forecast data and replace them by actuals. It's too problematic.
    And you are absolutely right about possible inconsistency between actual and forecast data.
    So, we've chosen another way.
    We make separate consolidation in actual, budget, plan and forecast versions.
    In plan and forecast we everything that is possible do periodically (including currency translation) -- to avoid the possible influence of historical data.
    In a BEx query (and Excel workbook) level we retrive: N months of fact, forecast data for N1 month and a plan data for N2 month. After summing up all figures we have predicted (name it as forecast) data for N+2 months.
    Of course, the actual, forcast and plan components are hidden in a report.
    This is possible because, in plan and forecast we use turnovers (not balances) only. Even a balance sheet is produced without problems, not talking about P&L and Cash Flow.
    Hope it helps.
    Eugene

  • Transferring the data from one system to another system.

    Hi All,
       I need to transfer the material master data from one system(e.g - dev1)
    to another system (e.g - dev2).
      front end application is BSP.
      if the user enters the material number 1 to 20 and if he presses the submit
      button, the entire data should be transferred to another system.
      This transferring of data should be done in background.
      1. which method we should opt for this ? either ALE or any other method like XI.
      2. Is there any standard bapi function module to transfer the material master from one system to another system.
      3.  whether this above transferring can be done thru XI and which will be best approach for doing this?
    Points will be awarded.
    Regards,
    Vinoth.

    Hi amole,
       Thanks for the reply.
        How to use lsmw for transferring fo data from one system to another system.?
       whether to download the data from one system in excel or notepad and again to upload into other system?
       can u explain me.
    Regards,
    vinoth.

  • Concerning midi data in GarageBand for iOS: can we copy midi data from one virtual instrument to another?

    Concerning midi data in GarageBand for iOS: can we copy midi data from one virtual instrument to another?
    For instance: I play my "lucky take" on the virtual piano, and now I am curious how it would sound on let's say a organ. Normally I would select the midi content out of the piano track and copy it into the organ track. I cannot figure out how to do this in GarageBand for iOS. Is there anyone out there with a solution?
    Thanks!

    It is limited, how you can move regions between tracks. Basically, you can move between tracks with the same touch instrument.  See the help: http://help.apple.com/garageband/ipad/2.0/index.html#chsec12c15d
    Move a region
    Drag the region left or right to move it forward or back in time. Align the left edge of the region with the bar or beat on the ruler where you want it to start playing.
    Drag the region up or down to move it to another track with the same Touch Instrument. You can also drag regions between Keyboard and Sampler tracks, and between Audio Recorder and Guitar Amp tracks. Smart Drums regions cannot be dragged to another Smart Drums track.
    If you move a region so that it overlaps another region, the overlapped part of the “covered” region is deleted.
    Paste a region
    You can paste a region you have copied, or paste an audio file from an app that supports copying audio to the clipboard. GarageBand supports 44.1 kHz sample rate, 16-bit depth uncompressed audio files.
    You can paste copied regions to another track with the same Touch Instrument. You can also paste regions between Keyboard and Sampler tracks, and between Audio Recorder and Guitar Amp tracks. Smart Drums regions cannot be pasted to another Smart Drums track. Audio files copied from another app can be pasted to Audio Recorder or Guitar Amp tracks.
    Move the playhead to the point where you want the region to start.
    Tap the header of the track where you want to paste the region to select the track.
    Tap the track where you want to paste the region, then tap Paste.You can also tap an empty area of Tracks view, then tap Paste. In this case the region is pasted into the currently selected track.

  • Filters on CSWP not working when Scheduling Start Date sets Immediate Value

    In Sharepoint 2013, When users sets value of "Scheduling start date" to "Immediately", the filters does not work correctly.
    I have checked many forums where it is mentioned that If you set scheduling Start date to Immediately, internally the Scheduling Start Date is set to 01/01/1900.
    When i use query in content search webpart as publishing date is between "Scheduling Start Date" and "Scheduling End Date" so it fails. it  does not displays filtered data.
    Please provide some resolution for this issue.
    I have tried using calculated field wherein we can put formula to get value for Immediate value and then use it in Filter expression. but I need another approach related to "Scheduling Start Date" Column. i.e can we remove the Immediate radio button
    or can we restrict user to use specific date only?
    Thanks in Advance.

    This is a new one on me.
    It's a server program to interface with QuickTime and some other problematic services.
    If you use video or 3D in Photoshop Extended, you probably need it.
    Sounds like you are correct in that it has to do wtih Quicktime.  Do you have PS extended?

  • Append data from one table to another.

    Hi,
    I want to insert/append some or all the data from one table to another table.
    For eg: Data from table table1 to be appended to table2 with the same constraints, indexes etc. The columns are same for both the tables.
    I am using 10g version 2.
    Please specify which method would be good for this process.
    Thanks
    Jafar

    INSERT INTO TABLE1 SELECT * FROM TABLE2;The above command would insert data into table2 and it also contain the old data.Is that right,
    Thanks
    Jafar

  • Scheduling start date and end dates

    Hello Gurus,
    I am trying to understand the schedule start date and schedule end date functionality in Plant Maintenance. I do understand the basic start and end dates. Currently I set up u201C3.Do not adjust basic dates, dep rqmts to order startu201D and set the scheduling type as u201CForwardsu201D . Please note we donu2019t do any capacity planning or leveling.
    So my question is, why the scheduling start date is defaults to the basic  start date  for forwards and scheduling finish date defaults to basic finish date for backwards ? I tried adding couple of operations and save the work order. It did not change anything in schedule dates.
    Do we really need to care about scheduling dates if we donu2019t use capacity planning ?
    Please advise
    Mahee

    Hi,
    As per priority, final dates would be calculated as we will define the duration based on the priprity. Either current date or basic date only applied to Scheduling start date.
    You can change the scheduling start date so that based on priority, final date would be calculated.
    Regards,
    Maheswaran.

  • Process Order Schedule Finish date before Schedule Start date

    On rare occasions, the process order Schedule Finish date is before the Schedule Start date.  This causes an error on the APO system when the process order is CIF to APO.  Does anyone have any ideas how this occur?
    Thanks.
    Best regards,
    Sandy

    Rajesha, thank you for your reply but it doesn't solve my problem.
    Let me restate my scenario:
    I start a process order and both the basic and scheduled finish dates are the same, June 1.
    At some point, shop floor tells me they will be late and cannot deliver until June 15.
    I need to update a date in the system so the ATP and the MRP planning runs have correct information for promising customers, I will update the Basic Finish date with June 15.
    I also need to keep the original June 1 date in order to measure the shop floor performance to the production schedule to measure how early or late the  order was delivered. How can I keep the original finish date or how can I measure if a process order is early or late??
    Thank you for your help,
    Greg

  • Task Scheduled Start Date with RAPI

    Task Scheduled Start Date with RAPI
    Is it possible to have a scheduled start date for a task in a service that is generated by RAPI, and, which does not have any authorizations/reviews? RAPI seems to throw the request into the service delivery moment without calculating the tasks even if I supply a date onload (in a field for the task start date to use). It works fine if there are authorizations or reviews, which is expected, but I can't get it to work without them. Thanks!

    Fascinating. As a workaround could you try throwing in a dummy authorization? For example, externalize it with ServiceLink dummy and autocomplete adapters, or keep it internal, but conditional with a condition that would always be false.

  • What are the diffrent ways to copy data from one application to another?

    Hi,
    Can you guys tell me what are the different ways to copy data from one application to another application??
    I know we can do it through script logic using DESTINATION_APP.
    Is there any other way to copy data from one application to another application?
    Please help me
    Thanks,
    Charly

    You can also call a custom DTSX package in SSIS via the datamanager.
    there are at least 5 ways of transfering data in BPC between apps.
    1. Through the front end (excel etc) via evdre/evsnds
    2. Through Script logic using *Dest App
    3. Using BPC's standard export dtsx package via DM
    4. Using SSIS using BPC's custom SSIS tasks
    5. Through Script logic using stored procs.
    i am sure people will come up with more.
    remember if you use ssis and move data into any table but the wb, you need to process the cube afterwards.

  • Transfer data from one database to another without identities but keep the relation b/w PK and Foreign key

    Hi,
    I need to transfer data from one database to another database (both are identical databases). 
    1. Not transferring identity columns (primary keys). the destination table might have the same key.
    2. keep the PK's and FK's relation b/w parent and child table
    3. I have 4 levels 
    Example: tableA (col1 int identity(1,1) , col2, col3)
    tableB (col1 int identity(1,1) ,
    col2 , col3) -- col2 has the foreign key relation with tableA.col1
    tableC (col1 int identity(1,1) ,
    col2, col3) -- col2  has the foreign key relation with tableB.col1
    tableD (col1 int identity(1,1) , col2, col3) -- col2  has the foreign key relation with tableC.col1
    please advise me.
    Thanks in advance

    Try the below:
    /********************************SAMPLE TARGET***************************************************************/
    Use MSDNSamples
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'R1'
    Insert into TableA(name) Select 'R2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Childname1',1
    /********************************SAMPLE TARGET***************************************************************/
    /********************************SAMPLE SOURCE***************************************************************/
    Use Sample
    create table TableA(LevelValueId int identity(1,1) primary key, name varchar(100))
    Insert into TableA(name) Select 'C1'
    Insert into TableA(name) Select 'C2'
    create Table TableB(ChildId int identity(100,1),name varchar(100), LevelValueID int references TableA(LevelValueId))
    Insert into TableB(name,LevelValueID) Select 'Kidname1',1
    /********************************SAMPLE SOURCE***************************************************************/
    USe MSDNSamples
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    --Migration table
    Create table Mg_TableA(LevelValueId int, NewValueId int)
    /********************************MIGRATION INTERMEDIATE TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    MERGE INTO TableA
    USING sample.dbo.TableA AS tv
    ON 1 = 0
    WHEN NOT MATCHED THEN
    INSERT(name) Values(tv.name)
    Output tv.levelValueId ,inserted.LevelValueid INTO
    Mg_TableA;
    /********************************ACTUAL MIGRATION FOR MASTER TABLE***************************************************************/
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    Insert into TableB (name,LevelValueID)
    Select A.name,B.NewValueId From sample.dbo.TableB A
    Inner join Mg_TableA B on A.LevelValueID = B.LevelValueId
    /********************************ACTUAL MIGRATION FOR CHILD TABLE***************************************************************/
    /********************************TEST THE VALUES***************************************************************/
    Select * From TableA
    Select * From Mg_TableA
    Select * From TableB
    /********************************TEST THE VALUES***************************************************************/
    Drop table TableB,Tablea,Mg_TableA
    Use Sample
    Drop Table TableB,Tablea

  • Report not displaying data from one of the infoproviders

    Hi Experts,
    Issue: Report not displaying data from one of the infoproviders
    I have a report 'ReportA' which has multiprovider MP1 as the source.
    MP1 has two Infocubes IC1, IC2 in its design.
    Now, when i execute the report, data from IC1 is displayed. But no data from IC2 is displayed.
    Is there a setting i need to enable in MP1 ? or is there anything else that needs to be enabled ?
    Please reply.
    Regards,
    Suraj S Nair

    Hi All,
    When i display data directly from the multi provider, without any restrictions, i cannot view the data from infocube IC2.
    I feel its not an issue with the Query. It must be a problem with the setting in the Multiprovider MP1.
    Infocube IC2 is a copy of Infocube IC1. Multiprovider MP1 first only had IC1 in its design. It was recently IC2 was also included.
    I checked the Characteristics, all of them are assigned corectly.
    Now, this issue sure has something to do wiht the setting of Multiprovider or please correct me if wrong.
    Regards,
    Suraj S Nair

Maybe you are looking for