How to update all projects data (checkout-edit-save&publish-checkin)?

Hi every one,
we have more that 400 projects in pwa and it will take too much time to update status date for all of them one by one mounthly
so I'm looking for a solution (probably VBA) for opening all projects and set the status date to a specified value and save & publish then check-in all of them.
is there any way to get it done?
thanks for any help

You can build a user form in VBA
I made one that has 12 text boxes with project names. It is used to open and close and republish projects to current date as status date but you could just as easily set that date to something specific.
Dim controlplanname
If TextBox1.TextLength <> 0 Then
    controlplanname = "<>\" & Trim(TextBox1.Text)
    FileOpenEx Name:=controlplanname, ReadOnly:=False
    Macro Name:="AfterAcceptControlPlanUpdates_Close"
End If
Sub abAfterAcceptControlPlanUpdates_Close()
' this is a first attempt at a one button macro
' after countless control plans are opened from the web
    'DisplayAlerts = False
    Alerts False
        Call WriteProjectDeadlineToFinalMilestone
        LevelingClear All:=True
        UpdateProject All:=True, UpdateDate:=Now, Action:=2
        Application.RepublishAssignments False, pjPublishScopeAll, False, True, True, ""
        fnWait (2)
        UpdateProjectToWeb EmbedProjectFile:=True
        'MailSendProjectMail MessageType:="TeamPublishAll", Subject:="Publish New and Changed Assignments", Body:="Below are the latest schedule changes. Contact your project manager if there are any problems with the changes.",
ShowDialog:=False, PublishScope:=1
    Alerts True
    fnWait (2)
   'DisplayAlerts = True
    FileClose pjSave
End Sub
So you could build a looping construct that finds out the status date of projects and if it is below a certain threshold then call the Sub.
It is important to also be aware that this sub will overwrite and not process the updates the resources have submitted.
My use case is accept all updates from PWA, All those projects open themselves. Then I apply the Sub. Then I have a list of Projects that have not been modified recently. And call the Sub separately on those via the custom form, and just let it run.

Similar Messages

  • Auto updation of Shipping Date on ASN Save / Publish

    Hi All,
    In the ASN Scenario, on saving / publishing the ASN the  manually entered shipping date in ASN Header gets overwritten with a system calculated date (In my case it is same as Delivery Date). We want the supplier to enter both the Shipping Date & Delivery Date manually while creating the ASN. What needs to be done for the same?
    I think the auto updation of shipping date is due to automatic scheduling. How to disable this? Is it a validation check or a Config element?
    Regards,
    Bharath

    Pravin,
    Check if these Validation Checks can resolve your issue:
    1. DLV_NO_DATETIMES
    2. DLV_ARRIVAL_IN_PAST
    3. DLV_WITH_ARRIVAL_DATE_EXISTS
    Regards,
    Bharath

  • Lost all contacts and data after update iOS 7.1.2, how to recover all the data?

    lost all contacts and data after update iOS 7.1.2, how to recover all the data?
    it's very important to me...

    Restore from your last backup file.

  • How to update all condition records at a time with some percentage or some

    Dear Sir,
    In PRD system we have more than 600 condtion records.
    Noe desiel hikes happend, due to that client want to update all condition records(600) at a time with required percentage or required value.
    How to update all records at a time
    With regards
    Lakshmikanth

    Hi,
    Through BDC or LSMW first you have to do the recording for particular transaction code and then base on that u have to prepare the flat file to upload the file for the same.
    For BDC programing you have to take the help of ABAP progmer but LSMW you can also do.
    For more information about LSMW plz go to following link :
    [LSMW |http://www.slideshare.net/arun_bala1/sap-sd-lsmw-legacy-system-migration-workbench/]
    [Step-by-Step Guide for using LSMW|www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc ]
    BDC
    [BDC Call Transaction|http://www.sapdevelopment.co.uk/bdc/bdc_ctcode.htm]
    [BDC Recording|http://www.sapdevelopment.co.uk/bdc/bdc_recording.htm]
    But it would be better for you to please contact to your ABAPer for BDC programming.
    Cheers...

  • How to transfert all my data and config from 4 to 4s

    Hello,
    Is there a "step by step" doc. On how to transfert all my data and config
    From one iphone 4 to a 4s without using outlook ( ex:for contacts ) etc...
    I don't get the ITunes method, sync direction etc...
    All my Iphone 4 Put into my knew Iphone 4 S within a click !
    Maybe there's an app for that :-).
    Thanks for the Help.

    iOS: Transferring information from your current iPhone, iPad, or iPod touch to a new device

  • I am switchning from iphone 3gs to iphone 4. can some one guide me how to transfer all my data to iphone 4?

    i am switching from iphone 3gs to iphone 4. can some one guide me how to transfer all my data to iphone 4?
    i have a back up in my itunes account .can anyone suggest please ????

    http://support.apple.com/kb/ht2109

  • How to see all  psa  data   in bi-7

    how to see all  psa  data   in bi-7  all info area

    Hi,
    In BI 7.0 you wont find PSA tab in RSA1 (data warehousing workbench), for that you need to use RSA1OLD tcode.
    Other way is to go to the datasource and then right click->manage there you can find option to check all PSA requests which were staged from that datasource.
    Hope it helps....
    Cheers,
    Habeeb

  • Idoc type provided by ECC to hold all project data

    Hi All,
    Please provide me the Basic Idoc type and message type provided by ECC which hold all project data like WBS Elements Info, Network & Activity info.
    Thanks,
    Suresh

    Hello,
    Please check if Basic Type PROJECT01and Message Type PROJECT suits your requirement.
    BR/Yogesh

  • How to enable all options under "Text Edits"

    Hi,
    How to activate all options under "text edits" see screenshot.

    Hi,
    I discovered, these options are not enabled for scanned PDF files.
    Thank You

  • How to make the 'Finish Date' field Editable in Project server 2013

    Hi All,
    In Project server 2013 on premises deployment, When I try to create a new enterprise project [Also in case of new custom project type], Only the 'Start Date' field is available. The 'Finish Date' field is by default taking the value of the 'start Date' itself.
    I am unable to make this 'Finish Date' field editable.
    Any pointers on this would be very helpful,
    Thanks
    Shanky

    Shanky --
    When you create a new project in either Microsoft Project Professional or Project Online, the system does not allow you to enter both a Start date and a Finish date for the project.  Here is how the software works:
    You enter the Start date of the project.
    You completely plan the project with tasks, task dependencies, task Durations, and assigning resources to tasks.
    Based on the Start date you provide, plus all of the task information, the software calculates the Finish date of the project for you.  So, you cannot provide both the Start date and the Finish date, nor is they any way to force the system to allow
    you to do this.  Hope this helps.
    Dale A. Howard [MVP]

  • I updated my iPod touch 4th generation from the latest iOS 4 update (i think maybe iOS 4.3.5 or something like that) to iOS 5.1.1 and my Photos, Videos, contacts, music, App data, etc. was deleted. How can I all the data back?

    I updated my iPod touch 4th generation from the latest iOS 4 update (i think maybe iOS 4.3.5 or something like that) to iOS 5.1.1. I updated to iOS 5.1.1 on a Windows XP Home Edition with the Service Pack 3 installed on the Windows XP (which I believe is the latest version). After updating, I unplugged my iPod from the computer. I saw that all my photos and videos were on my iPod, but there were no apps. A window popped up and told me to enter a passcode for my iPod. I entered a passcode. I then locked my iPod and entered what I thought to be the correct passcode, but my iPod remained unlocked. Desperate, I tried many passcodes with failure. After a while, my iPod became disabled for a long time. I decided to reset my iPod. After I reseted it, I chose to reset from my earlier back up. After reseting, my computer loaded on all my apps. But, when I started using my iPod, I realized all my photos, videos, music, app data (like game saves and high scores), etc. were gone! I have no idea what to do and I am very stressed about this! SOMEONE PLEASE HELP ME GET ALL MY STUFF BACK!!!!!!

    Go to iTunea>Preferences>Devices and see if there is a backupright at the time you did the update. Then try restoring from that backup. If the apps are in your iTunes library, any app data will be restored to the iPod.
    When restoring from an iOS 4 (or later) backup, if the device had a passcode set, iTunes will ask if you want to set a passcode (and remind you that you had protected your device with a passcode). iTunes will not ask you to set a passcode when restoring from iOS 3.x and prior backups.
    Therefore, remembe the passcode that you enter this time.
    It appears that if you restore from a backup, that backup is not subseqyently overwritten by the next backup.

  • When and how to update the "saved data" in report ?

    Hi,
    The BO version is "BusinessObjects Enterprise 12.0"
    The case is that, some reports are uploaded withe saved data. while viewing the reports, the reports return the old data.
    How to view the update data while click the "View" in CMC/InfoView ?
    I have tried to schedule it , then can see the update data in "View the latest instance".
    Is there any approach to refresh/update the saved data in the report ?
    Thanks and regards,
    Forest
    Edited by: Forest lin on Dec 5, 2008 12:12 PM

    Hello Forest lin,
    I recommend to post this query to the [BusinessObjects Enterprise Administration|BI Platform; forum.
    This forum is dedicated to topics related to administration and configuration of BusinessObjects Enterprise, BusinessObjects Edge, and Crystal Reports Server.
    It is monitored by qualified technicians and you will get a faster response there.
    Also, all BOE Administration queries remain in one place and thus can be easily searched in one place.
    Best regards,
    Falk

  • How to retrieve all the data from a BLOB using view-generated accessor

    I am using JDeveveloper 10g v. 10.1.3 and am storing an image in a database as a blob object and need to retrieve all of the data to get the entire image and store it in an ImageIcon. The code I have works partially in that it retrieves the correct data, but only gets a piece of it, leaving me with a partial image.
    AppModuleImpl am;
    ImageVwViewImpl vo;
    am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
    vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
    ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();
    ImageIcon icon = new ImageIcon(ivo.getImage().getBytes(1, (int)ivo.getImage().getBufferSize()));
    jULabel1.setIcon(icon);I either need to know how to use a stream to get the data out (from BlobDomain method getBinaryStream()), or how to get the other chunks of data separately.
    edit: I know the problem is that getBufferSize() returns an int which is too small to hold all the data, but need to know what to use instead. Thanks!

    This is the code I'm using now. Same problem :(
    AppModuleImpl am;
            ImageVwViewImpl vo;
            am = (AppModuleImpl)panelBinding.getDataControl().getDataProvider();
            vo = (ImageVwViewImpl)am.findViewObject("ImageVwView");
            ImageVwViewRowImpl ivo = (ImageVwViewRowImpl)vo.getCurrentRow();  
            ImageIcon icon = new ImageIcon(ivo.getImage().toByteArray());
            jULabel1.setIcon(icon);

  • How to move all my data to a server and wirelessly access it from any Mac

    Hi. I have a PB, an MBP, a Mac Mini and a new iMac, which all serve different purposes. I have got to the point at home where I want to have one private account with all my data on a HD and to just log in to it from whichever machine I happen to be using. I currently have an Airport Express as my wireless router and am considering buying and Airport Extreme/Time Capsule. I have about 500GB of data, which is growing pretty quickly since I have use of an HD camcorder, so I will buy one or two large drives in addition to the various external HDs I already (that total about 850GB) have. What is the best way (at relatively low cost) for me to set up my wireless home network in order to achieve the above goal?
    Thanks for your time.
    Matthew Whiting

    Don't go there. At least not for all your data.
    The relatively low throughput and high latency of the wireless connection (at least compared to direct-attached disks) will make accessing large files cumbersome and frustrating. Since you specifically mention HD video you should be aware that what takes a long time now will take a lot longer if the media is accessed over the wireless network.
    So while your goal might be technically feasible, it's unlikely to be workable.
    Instead you should consider focussing your centralized data on content that makes sense (e.g. maybe your iTunes library), and store data locally where it's more appropriate (e.g. consider one machine for video editing).
    Therefore you need to analyze your data - both in terms of content (what you have) and use (how you access it) to determine what makes sense to store centrally. Once you have that it will be easier to form a plan.

  • How to Clear all the data of open windows form of another exe?

    Hi,
    I want to make utility which will clear all the data from one windows application.
    i know the application name. The application of which data i want to clear is made in C# and contains many windows forms and controls.
    out of that opened windows form and controls inside it need to be cleared.
    Please guide on how to do this in C#?

    Short version: Find the window and send it a message with
    SendMessage.
    Open up Spy++ and find your form's window.  You will see that the window has children and they have classes of the form "WindowsForms10.EDIT.*"  Those are TextBox controls.  You can call things like SetWindowText to set the
    text of the window to clear it.
    To do this programmatically, you'll have to obtain the window hand that corresponds to the control.  You can find windows with
    FindWindowEx or
    EnumWindows.  Locate the window by name or class or whatever else you can determine about it.  Find the child windows and "clear" them however you wish.  I assume you mean to set empty strings to all the TextEdit controls. If you
    intend to do something more sophisticated than that, then you'll have to be more specific about what you mean by "Clear all the data".
    It may or may not be obvious that you'll be poking around with Win32 API calls via PInvoke to accomplish much of this. Example:
    SetWindowText via PInvoke.

Maybe you are looking for