Dynamically Set date not changing in schedule Job

Hi,
I have created a report with "Order Date" as one of the parameters on the selection screen. I have created a variant, say 'X' , to set this date parameter dynamiccaly as "Current date - 31 days".
I have scheduled this program to run in background with the 'X' variant daily at certain time.
Now, for the day on which I created this job , the Order Date is set to correct date . For ex if I am scheduling the job tdy it will be set to 06/10/08. However, for next day , that is tom this date is not getting changed. i.e Tommorrow again Order date is 06/10/08 but it should have been 07/10/08.
So basically this dynamically set date is not chaning in the scheduled job.
Any idea why this is happening and what is the corrective measure for this.
Thanks!

There is an INITIALIZATION event in the program.......
Do the processing your date in that event only....
for ex....
select-options: date for order-date.
INITIALIZATION.
date-low = sy-datum or wat ever.
Thanks
Saurabh

Similar Messages

  • Schedule line : delivery date not changes

    Dear Gurus,
    When I change delivery date change in delivery documents and sales documents, picking date, pricing date, etc.. changes, but in sales document, schedule line's delivery date does not changes.
    Please help me to change the same and kindly tell me, will it make any problem.
    fyi..
    If I have not created delivery for the respective sales document, then I can able to change the delivery date in the schedule line(sales document).
    I'm just a new born in this area so please feed me...
    Regards
    Viswanthan.G

    Hi Viswanath,
    When you change delivery date change in delivery documents and sales documents, picking date, pricing date, etc.. changes, but in sales document, schedule line's delivery date does not changes.
    This is because the system calculates the dates based on avaliabiltiy check and it picks data from material master as well, based on purchasing processing time, GR processing time, loading time ..etc and it will conclude accordingly.
    Its like system will do backward schdeuling and establishes material avaliabilty date.
    Thanks & Regards,
    Krishna

  • SSIS package works in Visual Studio but not as a scheduled Job.

    I have a SSIS package that takes some CSVs and Excel documents and imports the data into a database.  The CSVs and Excel document come from outside agencies so I have no control over them.  I have successfully created and ran the SSIS package in
    BIDS (Visual Studio)  However, when I try to run it as a scheduled job on the SQL server I get the following error.
    Source: Import Brazos CSV data Brazos Co CSV [1]     Description: Data conversion failed. The data conversion for column "offDescription" returned status value 4 and status text "Text was truncated or one or more characters had no
    match in the target code page."
    The column is set to ignore on truncation in the data flow source.
    Any suggestions would be appreciated. 
    Thanks
    KJ
    Kevin Joyner

    Hi Kjoyner96,
    The error usually occurs due to the data conversion between non-Unicode and Unicode characters. According to your description, the data type of the Output Columns of the Flat File Source should be DT_STR. If the source flat file uses Unicode encoding and
    contains Unicode characters, the data conversion from DT_WSTR to DT_STR will fail. So, I guess the source file in your Dev environment doesn’t have Unicode characters, while the source file on the SSIS server has Unicode characters. If this is the case, open
    the Advanced Editor for the Flat File Source, switch to the Input and Output Columns Properties tab, and change the data type of the Output columns from DT_STR to DT_WSTR. In this condition, the Data Conversion Transformation is not necessary.
    Regards,
    Mike Yin
    TechNet Community Support

  • Trigger observer when data not changed

    Hi,
    I want trigger an observer function in a particular case when
    the data of a spry region is NOT changed. Does anybody know how to
    do this?
    Thanks

    Hi huubd90,
    You can only trigger observer functions when a notification
    has been received.
    For the data sets, we have the following notifications:
    onPreLoad, onPostLoad, onLoadError, onPreSort, onPostSort,
    onCurrentRowChanged.
    For data regions, we have:onLoadingData, onPreUpdate,
    onPostUpdate, onError.
    For more information, check the :
    data
    set overview
    You must use one of these.

  • DNG file modification date not changed by writing metadata?

    I use LR 2.7 on Windows XP.   To my surprise, I just noticed that writing metadata updates (e.g., new keywords) from LR to the DNG files does NOT appear to update the file modification date, which suggests obvious issues for backup strategies (yes, I understand that a changed modification date introduces other backup issues).   I have verfifed that the metatdata does indeed change in the DNG files, so I am mystified.   Can someone shed some light on this?   Thanks.
    js
    www.johnshorephoto.com

    Yes, I explicitely invoke "save metadata to file".   Furthemore, I have checked the behavior by (a) modifying DNGs in LR; (b) saving the metatdata to the DNG; (c) creating a new LR catalog and importing the revised DNGs.    The metadata changes do show up in the re-imported DNGs (and the metadata field "Metadata Date" correctly shows the recent change).  Morevover, the file sizes do change (wth the metadata changes) even though the modification dates shown in windows explorer do not change.
    However, I just redid the experiment to double check, and discovered an important clue - the mysterious behavior occurs when the DNG files are on a NAS device (in particular a Netgear ReadyNAS Duo.   To summarize:
         - When the DNG files are on a local hard drive, the file modification dates change as expected
         - When the DNG files are non local (i.e., on the network but on a NAS device), the file modification dates do not change even though the file sizes do change;
    What's more, I see the same behavior when accessing the DNGs via Adobe Bridge (CS5) - i.e., if I change the metadata, I'm asked if I want to apply the metadata changes to the DNG, and I say yes (and confirm by looking via Bridge at a copy of the changed file).   On a local disk, the file modificaiton dates change (as do the modification date displayed in Bridge), but if the files are on the NAS, the modification dates do not.
    Any additional thoughts?
    js

  • Firefox is set to NOT change to a newly opened tab yet it is doing so anyway

    Firefox is set in Options to NOT change to the newly opened tab. However, when I open a new tab or open a new window which opens as a tab instead it is automatically switching me to that newly opened tab.
    I am using the latest version of Firefox after having had to install a new motherboard on my system and reinstalling all my programs

    Start Firefox in [[Safe Mode]] to check if one of the add-ons is causing the problem (switch to the DEFAULT theme: Tools > Add-ons > Themes).
    * Don't make any changes on the Safe mode start window.
    See:
    * [[Troubleshooting extensions and themes]]

  • Back up date not changing

    When I I sync my phone with my laptop and do a back up the date that appears for the back up does not change.  The sync date does update.  How do I get the back up date to change?
    Solved!
    Go to Solution.

    Hi
    marguerite wrote:
    the date that appears for the back up does not change. 
    How do you mean. using the DTM or S, on backup it produces a file to save. Please describe exactly what you are doing; we'll get there.
    Blackberry Best Advice - Back-up weekly
    If I have helped you please check the "Kudos" star on the right >>>>

  • Can not create Azure Scheduler Job Colloection correctly via rest API

    Hi Folks,
    I am trying to create a Azure Scheduler job collection via the rest API using Azure Ruby SDK
    I created the request following the API reference. Request body is as follow:
    <Resource xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.microsoft.com/windowsazure">
    <IntrinsicSettings>
    <Plan>Standard</Plan>
    <Quota>
    <MaxJobCount>10</MaxJobCount>
    <MaxRecurrence>
    <Frequency>Second</Frequency>
    <Interval>1</Interval>
    </MaxRecurrence>
    </Quota>
    </IntrinsicSettings>
    </Resource>
    After sending the request, I can see the job collection created in the management portal, but the status of that job collection is "Unknown". I can not add add/update jobs under that job collection.
    Below is the log entry I got:
    RuntimeError (ESC[31mESC[1mInternalError: The server encountered an internal error. Please retry the request.ESC[0mESC[0m):
    Can someone shed me some lights on this?
    Thank you very in advance!
    Roy

    Hi Roy,
    I am not good at Ruby. But I didn't find any maintenance  information from azure dashboard. The issue is very weird,I will test it on my side and come back.
    Thanks & Regards,
    Will
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Date not changing

    I am using Dreamweaver CS3
    I have inserted the date in my web page and this worked GREAT
    HOWEVER......
    The date will not change everyday automaticly
    Any thoughts???

    Are you talking about the DW feature, INSERT | Date? It only
    changes when
    you change the page and save it again. It's not a real-time
    thing....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "janekoepke" <[email protected]> wrote in
    message
    news:g4g7tt$rpc$[email protected]..
    >
    >
    > I have inserted the date in my web page and this worked
    GREAT
    > HOWEVER......
    > The date will not change everyday automaticly
    > Any thoughts???
    >
    >
    in Merrill

  • Not change the scheduled status after new planning explosion

    Dear  Expert
    We do detail schedule once a month, but MRP heuristic run in every day. We need new explosion every date for new master data, but after new exlopsion the allocated order come back to status 'deallocated'. Then we can not distinguish which are the plan order already scheduled which are new.  Is that any way to keep the order in allocated after new explosion.
    Thanks
    Hailiang

    In MMBE te stock should be showing in restricted batch status.
    Use MSC2n to change the batch status to released.
    Modify the "next inspection date" to the current date.  Set the SLED to the next day.
    Check MMBE and the stock should now show in unrestricted stock.
    Run QA07 using the material as an input and you should get a new recurring inspection lot for the material.  Do not enter in any value for the "window" of expired material in the bottom half of the screen.
    You should get an 09 lot generated now.  (As long as 09 inspection type is active).
    Craig

  • Dynamic table data not transfered to context WD4ABAP

    Hello Guys,
    Currently I have a urgent problem with Adobe Forms and WD4Abap. We are using AdobeReader 8.1.1 und Designer 7.1. Me problem is:
    1) I have an interactive form with dynamic table and simple fields...
    2) Data within textfields can be updated, created and deleted
    3) Data which is initially transfered to TABLES can be changed!!!
    4) BUT, if I add or delete a table row, this is NOT sent back to the WebDynpro context
    I am using the buttons out of the WebDynpro Navtiv Library. Furthermore, if I save the PDF on my Harddisk and start in manually (offline) add, change or delete data, the data is updated by checking it with the export data function within Adobe reader (Document->Form->Export Data)
    Is anybody able to help me, my ideas are on the end...
    Best
    Carsten

    Hi Carsten,
    Thanks again for your quick response.
    I tried using the code you supplied (changing the appopriate fieldnames to suit my form) but unfortunately I am still not able to access the added rows from my WD context. 
    Could you please clarify a couple of things for me?
    1.  In the following line, is "button_1a_+" the name of your button that adds new rows?
    > Carsten Sallaba wrote:
    >
    >$record.BEHAVIOR.PARAMETER.value = "button_1a_+";
    2. I presume that the following line in the code snippet should trigger the submit event on the WD, however this doesn't seem to be working for me, even after creating an action for the onSubmit event in the WD.  Do you have any further info on the changes that need to be made on the WD side?
    > Carsten Sallaba wrote:
    >
    > // DO NOT MODIFY THE CODE BEYOND THIS POINT - 705.20051128130428.257427.256785 - SubmitToSAP.xfo
    > ContainerFoundation_JS.SendMessageToContainer(event.target, "submit", "", "", "", "");
    > // END OF DO NOT MODIFY
    Kind regards,
    Tammie

  • Do Not See My Scheduled Jobs Running

    Hello,
    I think I have a situation, I have an Oracle 10g EE running in production and I have only one job there cheduled for executing at every 15 minutes. Yesterday its last date was 02-02-2012 07:45:57, and report that is running for 367875 seconds now. I killed the session that runs the job, the session status is killed but it is still there. The count from dba_scheduler_running_jobs and dba_jobs_running is 1, the max jobs parameter is 10 and MAX_JOB_SLAVE_PROCESSES is null (default).
    It happened before and I had nothing else to do but restarting the server. But because it is production I would prefer restart just the scheduler service/process if it is possible or anything buut restart whole db server. Oralce server is running on SLES 10 sp1.
    I created a new job to execute the same procedure, but the new job has not been run even once, so something is fishy with the job manager. For the moment I execute manually the procedure time to time, hoping that we can find a way to investigate this further.
    Do you have any sugestion what can I look for ?
    Best regards,
    Iulian Ghinea

    Hello
    If you are referring to your 2 orders each for $25.00 credit these were canceled due to issue processing payment and your funds will be returned to you.
    You were sent an explanatory email which you haven't yet read.
    TIME ZONE - US EASTERN. LOCATION - PHILADELPHIA, PA, USA.
    I recommend that you always run the latest Skype version: Windows & Mac
    If my advice helped to fix your issue please mark it as a solution to help others.
    Please note that I generally don't respond to unsolicited Private Messages. Thank you.

  • Delivery date not updated in Schedule line

    Hi friends,
    We are trying to update the delivery date of a schedule line in a sale order item through BAPI_SALESDOCUMENT_CHANGE. This goes well for all the cases except when the last sale order item is fully delivered. When the last sale order item is fully delivered, the BAPI is unable to update the delivery date for any of the other schedule line items in the same sale order.
    While debugging standard SAP program SAPMV45A, we found that the XVBUP item always points to the last sale order item (FM: SD_FIELD_INPUT_CHECK) and as this is fully delivered, it says that the order is completely delivered and hence delivery date EDATU cannot be changed.
    Could anyone please help to resolve this issue?
    Thanks,
    Sharmila
    Edited by: Sharmila Subramanian on Mar 17, 2011 8:17 AM

    Use following function  and update  schedule_lines  and    schedule_linesx  table.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument     = p_vbeln
        order_header_in   = s_order_header_in
        order_header_inx  = s_order_header_inx
        behave_when_error = 'P'
      TABLES
        return            = it_return
        order_item_in     = i_order_item_in
        order_item_inx    = i_order_item_inx
        schedule_lines    = i_sched
        schedule_linesx   = i_schedx.

  • Delivery date not changed in ME22n but only in ME21n.

    Hi all,
    I have an issue with the PO transaction.
    In ME21n,if I change the shipping instructions under the delivery tab,via an enhancement the planned delivery time (no of days) changes and hence the delivery date also.
    However this behaviour is not obeserved when changin a PO but only when creating a PO.
    CAN anyone direct me how do I debug this issue?
    AS I mentioned we have done a custom develpment via BADI ME_PROCESS_PO_CUST to change the planned delvery time when shipping instructions are chnaged but this develoment doesnt affect the delivert date.

    Hi
    Did you check if in change mode whether your enhancement is actually triggering or not..? Please share the method which you are using along with sample code as an attachment
    Nabheet

  • RETURNS BILLING DATE NOT CHANGING

    Hi,
    Returns came on : 01-01-2012 and PGR has done on the same day.
    Billing RE credit returns has raised on 05-01-2012. While creating invoice for the returns system is creating invoice on 01-01-2012. But actually my client requires dis should happen on 05-01-2012.
    I have changed the VTFL ( LR TO RE ) item VBRK/VBRP to Routine "11" But not achieved dis.
    Can anybody suggest me how to achieved this.

    Dear
    I believe that you have return scenario like this:
    Billing>Return Order(VA01)>DELIVERY+PGR>VF01(Credit for Returns)
    before making your credit for returns you remove billing block form return order type
    Now
    1.VTAF: Billing to order copy control
    Check at header level
    Copying requirements for data transfer VBAK=052
    Copying requirements for transferring business data=103
    Copying requirements for partner data VBPA=003
    Copying requirement=021
    2.VTFL
    Copying requirements=003
    Determ.export data=
    Assignment Number=E
    Reference number=A

Maybe you are looking for

  • Page flipping with Volatile Image.  Need help :)

    Hello all, Could someone point me to a nice tutorial which specifically addresses setting up page flipping with Volatile Images as the buffer? I haven't had any trouble with the generic BufferStrategy way of doing things, but it looks like the absolu

  • Error occured in Log  PO169 savings plan under BADI

    Hi, When i am running a payroll for 03/15/2011 for one perner its showing error  in the log under po169 process savings plan under BADI  below is the error , how we can find BADI name  can any one help me Error occured during currency conversion from

  • Is anamorphic widescreen possible in iMovie 09?

    I am editing HD footage and am trying to create a DVD that will play on SC and HD tvs without losing the 16:9 aspect ration. Any suggestions would be appreciated,

  • An apple script that saves mail attachments no longer works in lion

    In my mail rules, I have been using an apple script, which, if the sender belongs to a certain group, saves any attached files to a special folder I have for attachments from that group. After installing Lion, It performs other parts of my rule (play

  • Error in PRFI: no vendor found

    Hello everyone I have an error when posting in PRFI T-Code - it says that there is no vendor found by these criteria. Though I did PRAA T-code and SM35 batch input for the personnel number and created a vendor. What is wrong? Thanks in advance! Edite