Batch job creating PO's from PR after a certain  date in PR

Hello,
We need to create PO from PR based on  certain number of days (4 days )  from the delivery date in PR. That is if delivery date in PR=30.4.14, then the PO should be created on 26.4.14 by the batch job (30.4.14 less 4 days ).
How to achieve the above !
regards
Pamela

Hello ,
Please  find  the  links
PR converted to PO batch job
Background Batch job for PR & PO

Similar Messages

  • Linking to a different document after a certain date

    I hope there is a way to do this.
    I have a PDF that I have added to a web page. It is a registration form to be filled out and sent in. The prices on the form reflects both early bird (until April 29) and regular prices.
    I have created a second registration form (not yet loaded) which only reflects the regular prices for use after the early bird date has passed. After the early bird time has lapsed, I was going to load the new PDF and change the link so that the second registration form is linked.
    I don't want to have them both available at the same time - less chance of someone coming back later and saying I didn't see the form with the early bird pricing.
    Is there a way I could set them both up on my site so that the first form is linked to until the end of April 29, and on April 30 the link will automatically bring people to the second form?
    THANKS
    deb

    The effort to do this by creating a dynamic page is just not worth it.
    Anyone saying it's too much effort is either lazy or they simply don't know how to build dynamic pages in a simple manner. Furthermore, it's not just about you and your issue; it's about anyone that maybe looking for a solution to the question you have asked: how to display a link based on if a date has passed or not. Not an alternative suggestion, a solution.
    It's very easy to create a dynamic link based off date. Of course bregent mentioned that it's not difficult, but there wasn't any mention of how easy it was (nor examples for that matter). Just lots of talk about whether it was worth it or not and an alternate, cumbersome suggestion. Bummer. Here's an example of the dynamic method with included explanation. You can decide whether it's worth the effort or not. I estimate it's less than 5 mins. of work, even for a beginner. Plus you might learn a thing or two about dynamic scripting in the process, which is exciting.
    Change the filename of register.html to register.php then use the following code to display link depending on date.
    <?php if (date("Y-m-d") < "2011-03-15") { ?>
    today is before March 15, 2011 put link to early bird pdf here.
    <?php } else { ?>
    today is on or after March 15, 2011 put link to regular rate pdf here.
    <?php } ?>
    You can use 301 redirect with .htaccess on apache server to redirect register.html to register.php if there's many links already established for register.html
    You'd need two different pdf files to accomplish your task: ealry_bird.pdf to use before your set date and regular_rate.pdf to use for after your set date.
    Then setup a function to remove the early_bird.pdf file from the server after a certain date. It's as easy as defining the variable and applying the function to the area that is congruent with the argument presented. In this case the argument is whether the date has passed or not. If it has then define the variable as the filename then apply the function that deletes the variable (filename) from the server as shown in the example below:
    <?php if (date("Y-m-d") < "2011-03-15") { ?>
    today is before March 15, 2011 <a href="/images/early_bird.pdf">link to early bird pdf here</a>.
    <?php } else {
    // declare variable for the early bird pdf file
    $pdffile = "/images/early_bird.pdf";
    // remove the early bird pdf file from the server
    // by using unlink function on the set variable
    unlink($pdffile); ?>
    today is on or after March 15, 2011 <a href="/images/regular_rate.pdf">link to regular rate pdf here</a>.
    <?php } ?>

  • Report to get total number of users logged in after a certain date

    Hi,
    Is there any report available in SIM which can give us the record of the users who logged into it after a certain date.
    I tried to use Historical User Changes Report but in this report there is an mandotory aatribute 'object Type' which filters the search based on its value. For example if we will give 'a' in the object type then the search result will contain only those users whouse accountID contain the character 'a'.
    But my requirement is to fetch all the logged in users after a certain date. Is there any other report available for the same.
    Thanks.

    Try Today's Activity Report...
    In the Actions select login
    In the Report Timeline there's calendar to select the date

  • I want to block a ertain pricing condition after a certain date, is it poss

    Hi
    i want to block a Certain pricing condition after a certain date, is it possible?..
    Regards
    Tanmoy

    HI
    It is possible to control it in Info record in the conditions details for the condition tyep PB00, similarly if you have any condition reord for PB00 or any other condition in place  of it  in MEK1 then also it can be blocked with the validity period. You can control the conditions with access sequence only in any of these two places.
    Regards

  • Batch Jobs Running during upgrade from 46C to ECC 6!

    Hi All
    We are currently due to run our upgrade in the next two weeks and I have one final concern. The only testing we have not done relates to batch jobs.
    Our upgrade stratergy is downtime minimised.
    Does anyone know any best practices or issues that could effect our upgrade?
    Cheers
    Phil

    Hi Phil,
    If I remember correctly all background jobs in SAP R/3 are de-scheduled by the upgrade process. You have to manually reschedule them after the upgrade so make sure you have good scheduling documentation (or consider the central job scheduling provided by SAP NetWeaver for the future).
    One tip is that you need to make sure that jobs started from other systems are postponed until after the upgrade too (e.g. data extractions to BI). The upgrade process cannot determine job schedules and dependencies in other systems/scheduling tools.
    Cheers,
    Mike.

  • Batch job to print GRs from a single plant

    We have a requirement to set up a daily batch job to print all GRs for one of our plants.  The others will be printed as they currently are (immediately when saving) but for one plant we want to delay all printing until a certain time of day and then print all automatically. How can this be accomplished?
    Thanks!

    Go through these steps you can get the GRN Printout
    1. Maintain the Printer Name in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Printer Setting
    Enter the local printer where you want to print your Goods posting document
    2. Ensure that in SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Item Print Indicator, 1 stands for Matl Doc print out
    3. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Gen Settings->Print Version, maintain Print Version 2
    4. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Print Control->Maintain Print Indicator for Goods Receipt/GI/Transfer Posting Documents
    Here for Particular mvt type 101,201,121,311 etcu2026 Maintain the Print item as 1--Material document printout
    5. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Maintain Output Types, for the Output types WE01, WE02 and WE03, ensure the following--
    Select the particular Output type then goto Details
    a. Default Values: Dispatch Time is 3 or 4 as per reqmt. and Transmission medium is 1
    b. Print Parameter is 7
    6. In SPRO->Matl Mgmt->Inv Mgmt and Phy Inv->Output Determination->Printer Det->Printer Determination by Plant/Str Loc, Maintain the Output device for all your Plants
    7. Go to MN21, for Tr Type WE, Print Version 3, maintain Print Item as 1.
    Now the settings are ready for Printing Material doc
    8. While doing MIGO, ensure that in General Tab, you get "3 Collective Slip" beside the Print Indicator and you tick mark the field.
    9. Now depending on the setting in 5a, the Matl doc is printed. If it is 3, you have to print it using MB90. If it is 4, it is printed immediately.
    for plant wise printing, you have to schedule the job in batch mode
    to do that
    first you have to create new conditon table which include the plant and other criteria you requireed
    than create new access sequence
    than M706 tcode enter you access seq
    Than M708
    create variant and use this variant for background job
    than schedul a back ground job using SM36 tcode.

  • Runn time error "CNTL_ERROR" for batch job created for program RBDAPP01

    We have encounter run time error and the batch job for program RBDAPP01 was terminated.
    Information on where terminated
        Termination occurred in the ABAP program "CL_GUI_CUSTOM_CONTAINER=======CP" -
         in "CONSTRUCTOR".
        The main program was "RBDAPP01 ".
        In the source code you have the termination point in line 62
        of the (Include) program "CL_GUI_CUSTOM_CONTAINER=======CM001".
        The program "CL_GUI_CUSTOM_CONTAINER=======CP" was started as a background job.
    Can any member reachout help in identifying the reason.

    Hi Amol,
    Check the following link.
    Call Transaction 'VL32N' in background: termination with Exception
    Regards,
    Raju.

  • Removing characters from string after a certain point

    Im very new to java programming, so if this is a realy stupid question, please forgive me
    I want to remove all the characters in my string that are after a certain character, such as a backslash. eg: if i have string called "myString" and it contains this:
    109072\We Are The Champions\GEMINI
    205305\We Are The Champions\Queen
    4416\We Are The Champions\A Knight's Tale
    a00022723\We Are The Champions\GREEN DAYi would like to remove all the characters after the first slash (109072*\*We...) leaving the string as "109072"
    the main problem is that the number of characters before and after is not the always the same, and there is often letters in the string i want, so it cant be separated by removing all letters and leaving the numbers
    Is there any way that this can be done?
    Thanks in advance for all help.

    You must learn to use the Javadoc for the standard classes. You can download it or reference it on line. For example [http://java.sun.com/javase/6/docs/api/java/lang/String.html|http://java.sun.com/javase/6/docs/api/java/lang/String.html].

  • All of a sudden (video) files added to my iTunes library after a certain date aren't playable on other devices.

    hello!
    All of a sudden I have a weird issue with playing video-files added to my iTunes library after a specific date.
    This is the situation so far:
    I encode the video for iTunes with the same settings for the last 3 years. I know these vids play on all my devices. AppleTV & iPad. All of a sudden videos added to my library after the 8th of september aren't playable on my AppleTV and iPad. I can play them directly in iTunes and by accessing them directly via the finder and quicktime.
    The following errors occur:
    When I pull the video from iTunes on my AppleTV.. the video simply doesn't play.
    When I pull the video from iTunes on my iPad I get a message that the file can't be found.
    When I push the video from iTunes to the AppleTV using airplay I get a message that there has occured an error while connecting to the AirPlay-device "Apple TV". The necesary file could not be found. In addition when the AppleTV is switched off it doesn't turn on doing this, suggesting that there is something missing on my mac itself.
    All the above errors aren't popping up when I choose a video that has been put in my library before the 9th of september. Then everything works as expected.
    This is what I tried:
    Turning off and on home sharing on all devices including the mac.
    Logging in wiht a different apple ID though using the same ID as before.
    I created a new iTunes library and populated with a video that was added after the 8th of september and one that was added before the 9th of september. Surprisingly the older one played and not the newer one.. while they both used the same encoding settings. The new library was locally on my mac as my original library is on a NAS.
    I encode my videos with Quicktime 7 Pro using the following settings:
    H.264 (current frame rate, key-frames:automatic, re-order frames, automatic bitsize)
    Medium Quality
    Multi-pass
    current resolution (which is always 1280 X 720)
    AAC sound
    44.100 kHz
    128kbps
    I'm using the Mountain lion 10.8.2 and iTunes 10.7 Mountain lion got updated a few days after 19th of september and iTunes i think as well. Both versions were released after this issue seemed to pop up.
    I also have two video-files encoded on the same day with the same settings that dragged into the iTunes library on the 9th of september. One works.. the other doesn't.
    So I wonder if there is somebody out there that can tell me what might have happened here and how I could fix this issue.
    Thank you in advance.

    Hi Seraphiel07.
    I have a very similar issue. Hardware involved:
    Apple MacMini (Mid 2011) - OSX 10.8.2. iTunes 10.7. Home Sharing enabled.
    Apple TV (3rd Generation). Home Sharing (access) enabled.
    Apple MacBook Pro (15" Mid-2009). OSX 10.8.2. iTunes 10.7. Home Sharing enabled.
    Apple iPad 2 (Wifi only). iOS 6
    Apple iPhone 4S. iOS 6
    All connected through:
    Apple Time Capsule 8.0211n (4th Gen)
    I have an iTunes library on the MacBook Pro, shared over "Home Sharing" and another (duplicate content, different library name) iTunes library on my MacMini, which is also accessed through the Apple TV.
    All software is current (as of Sep 26th).
    All movies are iTunes purchases. 80 in total.
    All files are purchased (and home shared) under one account.
    My last two iTunes purchases both HD movies on 09/17/2012 and 09/05/2012 refuse to appear on any device accessing either of the two Libraries over Home Sharing. It should be noted that every other movie (the other 78) all show up and play correctly. I therefore know it is not an issue with connectivity, otherwise I would see zero movies available.
    I have:
    1. Removed all content from each Library and re-added
    2. Upgraded the OS on the MacMini 10.8.2
    3. Tested viewing the two missing movies on other Apple devices and no luck.
    4. Turn home sharing on and off within iTunes and also on each device.
    It would appear to me that the issue is with the files themselves, rather than the devices as different devices and different versions have been tested.
    All comments welcome.

  • Outlook not downloading icloud emails after a certain date,

    I've installed Outlook 2013 and sync'd icloud but not all my emails have downloaded, they seem to stop up to a certain date 3 months ago.  I've uninstalled both several times but again nothing is downloaded after that date.
    Other email accounts in Outlook are unaffected.
    This happens when I ran Win7 and the same now with 8.

    It will not automatically merge, but import as new On My Mac mailboxes.
    If you have backup for both the com.apple.mail.plist file (Home/Library/Preferences) and the Mail folder (Home/Library) then copy the old ones to replace the existing new ones, and launch Mail, and it will return to where it was at the time of the backup. Then it would redownload the more recent messages.
    Drag the existing Mail folder to the Desktop until you confirm all has been recovered.
    Ernie

  • SSIS 2008 – Read roughly 50 CSV files from a folder, create SQL table from them dynamically, and dump data.

    Hello everyone,
    I’ve been assigned one requirement wherein I would like to read around 50 CSV files from a specified folder.
    In step 1 I would like to create schema for this files, meaning take the CSV file one by one and create SQL table for it, if it does not exist at destination.
    In step 2 I would like to append the data of these 50 CSV files into respective table.
    In step 3 I would like to purge data older than a given date.
    Please note, the data in these CSV files would be very bulky, I would like to know the best way to insert bulky data into SQL table.
    Also, in some of the CSV files, there will be 4 rows at the top of the file which have the header details/header rows.
    According to my knowledge I would be asked to implement this on SSIS 2008 but I’m not 100% sure for it.
    So, please feel free to provide multiple approaches if we can achieve these requirements elegantly in newer versions like SSIS 2012.
    Any help would be much appreciated.
    Thanks,
    Ankit
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

    Hello Harry and Aamir,
    Thank you for the responses.
    @Aamir, thank you for sharing the link, yes I'm going to use Script task to read header columns of CSV files, preparing one SSIS variable which will be having SQL script to create the required table with if exists condition inside script task itself.
    I will be having "Execute SQL task" following the script task. And this will create the actual table for a CSV.
    Both these components will be inside a for each loop container and execute all 50 CSV files one by one.
    Some points to be clarified,
    1. In the bunch of these 50 CSV files there will be some exception for which we first need to purge the tables and then insert the data. Meaning for 2 files out of 50, we need to first clean the tables and then perform data insert, while for the rest 48
    files, they should be appended on daily basis.
    Can you please advise what is the best way to achieve this requirement? Where should we configure such exceptional cases for the package?
    2. For some of the CSV files we would be having more than one file with the same name. Like out of 50 the 2nd file is divided into 10 different CSV files. so in total we're having 60 files wherein the 10 out of 60 have repeated file names. How can we manage
    this criteria within the same loop, do we need to do one more for each looping inside the parent one, what is the best way to achieve this requirement?
    3. There will be another package, which will be used to purge data for the SQL tables. Meaning unlike the above package, this package will not run on daily basis. At some point we would like these 50 tables to be purged with older than criteria, say remove
    data older than 1st Jan 2015. what is the best way to achieve this requirement?
    Please know, I'm very new in SSIS world and would like to develop these packages for client using best package development practices.
    Any help would be greatly appreciated.
    Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com
    1. In the bunch of these 50 CSV files there will be some exception for which we first need to purge the tables and then insert the data. Meaning for 2 files out of 50, we need to first clean the tables and then perform
    data insert, while for the rest 48 files, they should be appended on daily basis.
    Can you please advise what is the best way to achieve this requirement? Where should we configure such exceptional cases for the package?
    How can you identify these files? Is it based on file name or are there some info in the file which indicates
    that it required a purge? If yes you can pick this information during file name or file data parsing step and set a boolean variable. Then in control flow have a conditional precedence constraint which will check the boolean variable and if set it will execute
    a execte sql task to do the purge (you can use TRUNCATE TABLE or DELETE FROM TableName statements)
    2. For some of the CSV files we would be having more than one file with the same name. Like out of 50 the 2nd file is divided into 10 different CSV files. so in total we're having 60 files wherein the 10 out of 60 have
    repeated file names. How can we manage this criteria within the same loop, do we need to do one more for each looping inside the parent one, what is the best way to achieve this requirement?
    The best way to achieve this is to append a sequential value to filename (may be timestamp) and then process
    them in sequence. This can be done prior to main loop so that you can use same loop to process these duplicate filenames also. The best thing would be to use file creation date attribute value so that it gets processed in the right sequence. You can use a
    script task to get this for each file as below
    http://microsoft-ssis.blogspot.com/2011/03/get-file-properties-with-ssis.html
    3. There will be another package, which will be used to purge data for the SQL tables. Meaning unlike the above package, this package will not run on daily basis. At some point we would like these 50 tables to be purged
    with older than criteria, say remove data older than 1st Jan 2015. what is the best way to achieve this requirement?
    You can use a SQL script for this. Just call a sql procedure
    with a single parameter called @Date and then write logic like below
    CREATE PROC PurgeTableData
    @CutOffDate datetime
    AS
    DELETE FROM Table1 WHERE DateField < @CutOffDate;
    DELETE FROM Table2 WHERE DateField < @CutOffDate;
    DELETE FROM Table3 WHERE DateField < @CutOffDate;
    GO
    @CutOffDate which denote date from which older data have to be purged
    You can then schedule this SP in a sql agent job to get executed based on your required frequency
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • Any way to get a list of projects created before or after a certain date?

    Ladies and Gents,
    Now that libraries can be so easily switched between with Aperture, i'm trying to get a list of my projects that can be moved to an Aperture archive library. I can setup smart albums but that only matches actual photos, not entire libraries.
    My end goal is to simply select the oldest libraries in my current library, export and remove them from my current library, then import them into my archive library.
    Can anyone assist?
    Thanks,
    Ricardo Meleschi

    - Look into File->Relocate Masters and the subfolder dropdown for organizing your file structure.
    If you use referenced masters, you can more easily do what you're mentioning by export libraries out for each year, and have the masters in a folder setup to match.
    < Edited by Host >

  • How can I create a smart bookmark folder that retains every bookmark I've saved after a certain date?

    Essentially I would like to create a smart bookmark folder similar to the default "recent bookmarks". But the entering information into the search bar won't create a date filtering smart bookmark. I couldn't find a way to edit smart bookmarks either. Obviously, I am familiar with smart folders in iTunes and iPhoto and am hoping that smart bookmarks in Firefox would have similar capabilities. Is there something that I have missed? Many thanks in advance.

    Make the criteria: Event Contains XXXXXXX and Faces is unnamed.  That will search only that Event.
    OT

  • Iphoto won't display photos after a certain date

    Hi,
    I am having trouble with iPhoto 9.5.1
    I just restored my Mac from a Time Machine back up using Migration Assistant after the internal hard drive stopped working and had to be replaced.  I am now running OSX 10.9.3 on a late 2009 iMac.  When I first reopened iPhoto after the restore, it asked me if I wanted to upgrade my iPhoto library, which I did.  Then it told me it needed to repair permissions, which I did.  Then it asked me to update iPhoto to the latest version, which I did.  Only after that did I notice that when I double click on the thumbnails the photo won't enlarge - I get a grey triangle with an exclamation mark in it instead.  The thumbnails appear okay until I click on them, and the info (date, camera, file size etc) all looks normal.  I have tried repairing permissions again, as well as repairing and rebuilding the database.
    Any other suggestions?
    Thanks,
    Tom

    The connection between the thumbnails and original image files has been lost when restoring from Time Machine. Try to rebuild the restored library using iPhoto Library Manager:
    You can download it here: iPhoto Library Manager ;
    use the "Rebuild" function from the library menu.
    Rebuilding will create a new library and copy most of the items from the old library to the new library. Only books, cards, calendars will be missing.
    See Terence Devlin's post for more details:  Re: iPhoto 9.5.1 - Unable to repair permissions

  • Mail messages after a certain date are not syncing in IMAP

    I use IMAP with Intermedia hosted Exchange (set to allow IMAP with Apple Mail). Everything has worked fine with Mail.app for years. All of a sudden, in the last week, mail in archive folders is not syncing. I receive Inbox mail and see Sent mail, but folders where I store archived messages (Friends, Travel, etc.) do not show any messages after July 10. When I go to the webmail server, I see the messages in the folders where I moved them.
    I have divided large folders into smaller ones, and done a completely clean download of all mail, and the problem persists. My iPod Touch was also having trouble seeing new messages.
    This is a longshot, but the one change on July 10 was that I started using Mail from a different location. Could it have something to do with the Airport base station here or even the cable Internet provider?

    Update: it does not have to do with the Internet provider or local equipment. I tried downloading messages from a different network and the problem persisted.

Maybe you are looking for

  • HTML to XHTML

    Hello :) Is there a standard way to convert HTML to XHTML in Java ? If the standard way doesn't exist how can I solve this problem ? Thanks

  • Exiting from a function module.

    Hi, I have a function module in which i am extracting output message from NAST based on vbeln. I record is not found, then i am updating return table with error message using 'MESSAGE_TEXT_BUILD'. Now i have to exit from the function module as my sel

  • Functional report specifications for AUC reporting

    Hi All, Does anyone have a sample document about functional report specifications for AUC reporting? Can anyone e-mail a sample report to [email protected] Thank you, Best Regards, John Mc

  • How to open powerPC apps in Mountain lion?

    I just updated to Mountain Lion. Before, I had a couple of games I could play without any problems. Now that I have updated my OS I get an error: "the progam can't be opened, because the PowerPC-applications aren't being supported any longer"

  • The front row is not working. Remote control not triger,

    Front row is not working, Remote control no response, command-esc not triger as well. check keyboard shortcut from system preference, there is no front row. anyone know why?