Dynamic Variant in Download Scheduler

Dear All,
         I am using BEx download Scheduler and reporting agent to schedule a report. The report asks for 2 input Values 0netduedate and 0calmonth. I give these 2 inputs in a variant and schedule the report.The Report gets run at the scheduled time everyday but it uses the same variant. I want the 0netduedate to reflect the current date. Currently although I use 0P_KEYDT (keyduedate) as variable for 0netduedate which is sy-datum , the report gets scheduled for the date I scheduled it on even the next day. The date doesn't change to the present date.Can anyone suggest a solution to this problem? Is it possible to make a variant with dynamic date input?
Regards,
Ratish

it's buried in there
this thread may help if you need to define custom variables
Re: CASH SALES
you'll see it under the variant attributes screen.  i know people get reluctant to choose something from a grayed out field but you will be able to choose a selection variable and then the name of the variable
so for a date field you could choose say D and Previous Month

Similar Messages

  • Download Scheduler Reports

    Hello Experts,
                        I have been executing queries in background (Pre-calculated web templates - Reporting Agent) for the users for several months, and downloading them to the PC using Download Scheduler application.  For some testing purpose, I executed one of the queries in foreground (Ad-hoc) using BEx Analyzer to reconcile the Adhoc report with the downloaded report.  I noticed that the size of the downloaded report was drastically huge compared to the Adhoc report.  Can someone tell me what the issue is and how to minimize the size of the downloaded report?

    Hi Tobias,
       Thanks for your response.pls correct me if any thing wrong in my understanding.I feel that initiation will be taken by Reporting agent to generate appropriate web report with the help of control query and main query. Then resultant URL will be sent back to RA, where it is adding 001 to the "dataprovider name" and will push this files with 001 when the end user downloads.
    Is it possible to add result of the control query to the dataprovider name at web template level dynamically. so that RA will generate final file as "dataprovidername_uk_001". So that user can easily identify which report belongs to which company.
       If you have any specimen batch file. Can u plz send it to me.
    Regards,
    Ramesh

  • Change variant for background scheduled jobs

    Hi experts,
    I want to schedule the report RKO7KO8G in background.
    Two of the selection parameters of this report are Settlement period & Settlement year.
    This report should be executed in the background every month. For this the period parameter should change every month
    , like for example when the report executes in background in May then period should be 05, June - period should be 06
    and so on.
    i.e. the variant should change.
    For this how do i create a dynamic variant. I tried to create dynamic variant but it says that the parameter
    should be a date field. However, the settlement period field over has input from 001 to 999 & not date field.
    I want to schedule this report in background on a monthly basis and change its input parameter Settlement period
    as per the month.
    Please suggest.
    Regards,
    Priti.

    Links to sap.technical are NOT permitted. Even via Tiny.
    Hi,
    Have a look at the below tutorial;
    [Dynamic Variant|http://joyjitghosh.blogspot.com/2008_09_01_archive.html]
    Regards,
    Karthik D
    Edited by: Matt on May 27, 2010 10:57 AM - changed url to the source

  • MINI_JOB_WIZARD & Dynamic variants

    Does anyone know how to create variants dynamically?
    On the selection screen of a report I am using a button to call the MINI_JOB_WIZARD to schedule a background job.  Input to this function module is a program name and a variant.  I don’t want the user to be saving the variants and then schedule the background jobs, I just want the user to enter the selection conditions and schedule the job. 
    Similar to the SAP functionality of menu path Program --> Execute in Background (F9).
    The SAP standard functionality of "Execute in Background" apparently creates a variant dynamically based on the user’s input in selection screen and schedules a background jobs using that dynamically created variant.  These variants are look something like "&0000000001234."
    I want to use the MINI_JOB_WIZARD function module because it’s functionality looks much better than the "Execute in Background."  Simply, its a lot more user friendly.
    Does anyone know of a better way of using the MINI_JOB_WIZARD function module?
    Thanks,
    Sumit

    Check out the function group
    <b>SVAR</b>
    RS_CREATE_VARIANT
    RS_VARIANT_DELETE
    RS_VARIANT_CHANGE
    Regards
    Raja

  • Variant based job schedule

    Hello,
    I want to schedule a background job using Function module.
    I have searched on SDN forums for the same, n got some function modules but they are not variant based.
    I am providing job name, report name, date , time & variant name to the code.
    I want a function module for the same.
    Please if anyone can help me out with this?
    Regards,
    Krutika

    Hello Krutika,
    You need to use JOB_OPEN, JOB_SUBMIT & JOB_CLOSE.
    Also, you can use RS_CREATE_VARIANT for creating dynamic variants.
    In JOB_CLOSE you can use following parameters:
    CALL FUNCTION 'JOB_CLOSE'
      EXPORTING
    *   AT_OPMODE                         = ' '
    *   AT_OPMODE_PERIODIC                = ' '
    *   CALENDAR_ID                       = ' '
    *   EVENT_ID                          = ' '
    *   EVENT_PARAM                       = ' '
    *   EVENT_PERIODIC                    = ' '
        jobcount                          =
        jobname                           =
    *   LASTSTRTDT                        = NO_DATE
    *   LASTSTRTTM                        = NO_TIME
    *   PRDDAYS                           = 0
    *   PRDHOURS                          = 0
    *   PRDMINS                           = 0
    *   PRDMONTHS                         = 0
    *   PRDWEEKS                          = 0
    *   PREDJOB_CHECKSTAT                 = ' '
    *   PRED_JOBCOUNT                     = ' '
    *   PRED_JOBNAME                      = ' '
    *   SDLSTRTDT                         = NO_DATE
    *   SDLSTRTTM                         = NO_TIME
    *   STARTDATE_RESTRICTION             = BTC_PROCESS_ALWAYS
    *   STRTIMMED                         = ' '
    *   TARGETSYSTEM                      = ' '
    *   START_ON_WORKDAY_NOT_BEFORE       = SY-DATUM
    *   START_ON_WORKDAY_NR               = 0
    *   WORKDAY_COUNT_DIRECTION           = 0
    *   RECIPIENT_OBJ                     =
    *   TARGETSERVER                      = ' '
    *   DONT_RELEASE                      = ' '
    *   TARGETGROUP                       = ' '
    *   DIRECT_START                      =
    Hope this resolves your issue!
    Thanks,
    Augustin.

  • How to set up Dynamic Variants for job which is based on Pay Period

    Hi,
    We need to set up dynamic variant for payroll interface.  This interface is based on Pay periods and that is why we need to use different variant for each month.  Letus know how to set up dynamic variant which will take care of Pay Periods

    Hi,  Thnx for reply.
    We are not changing the control records, current period will be some old period in system. 
    payroll is not processed in SAP,

  • How do I find the URL of a movie I wish for your downloading schedule?

    I have added on the download schedule to your "tools" drop down menu. It asksfor the URL of the movie clip film or whatever. How do I find ths URL. A friend said hover over the movie while it is playing and drag and drop. but this doe not seem to work.

    Only 'On My Mac' calendars can be published to an ordinary web page: MobileMe calendars can be shared but the viewers will need a CalDav client to view them - iCal is of course one such, or Google Calendar for people with Windows. More details here:
    http://www.wilmut.webspace.virginmedia.com/notes/sharedcalendar.html
    There is an unofficial and probably very dodgy method to publish a MobileMe calendar to a web page, but it depends on a bug in iCal so there's no guarantee it won't stop working at any time (and I don't know whether it works in Lion). Use at your own risk: the method is described here -
    http://www.wilmut.webspace.virginmedia.com/notes/icalpublish.html

  • Is it possible to restart firefox, say, to activate a download-scheduling add-on, without loosing all of the progress I've already made on my current downloads?

    I have two active downloads, about 3 and-a-bit gig total, about 50% complete. I want to finish downloading them off-peak, but since i try to avoid staying up 'till 2 am to start the download, I got a download scheduler add-on.
    Trouble is, I need to restart Firefox to have it accessible, but previous experience tells me this will waste all my downloads thus far. Given that Firefox can pause and resume downloads while running, I thought it might be possible to resume after restart. Is it?

    A quick look at the DM1 site shows that it works with Audiocopy.

  • Using dynamic variants in ABAP

    Hi,
    I have an issue. I want to use dynamic variants in my program. On the selection screen of my program, I have a parameter called Planning date which takes in the current week of the year as input value, i.e lets say today we are Monday 14th of May 2007, so the current week is 20. I want to make this parameter dynamic, i.e to change automatically so that next week the value is week 21.
    Also is setting dynamic variants version dependent? My version is 5.0 SR1 and I don't have the option of save my variant using the 'D' traffic signal.
    Please help me out.
    Thanks

    Hi,
    you can fill your parameter in the initialization event of your report. In order to get the week you can use the function DATE_GET_WEEK.
    Kostas

  • How to create a multipage PDF with same template but dynamically varying data?

    Hello,
    I need to create a multi-page PDF where I need to use the same template but dynamically varying data.
    Eg Scenario:
    1. I have data for 5 material in my ABAP program.
    2. I have a PDF template in SFP which has a 2 page structure.
    3. Based on the number of materials (5 in this case), I need to generate a PDF which will have 10 pages (2 for each material).
    4. the generated PDF should be like the one shown below:
    e.g.  MATERIAL_PDF (pdf name)  
          |  Page1(Mat1[View1].data)
          |  Page2(Mat1[View2].data)
          |  Page3(Mat2[View1].data)
          |  Page4(Mat2[View2].data)
          |  Page5(Mat3[View1].data)
          |  Page6(Mat3[View2].data)
             .. and so on...
    Thanks,
    Aniket

    Isn't it just by setting the two pages into a form ( like an subform in the content ) and put the settings in a proper way?
    There is this setting, that the masterpage comes up everytime the pagecount is done.
    Example
    Page 1 3 5 --> Masterpage 1
    Page 2 4 6 --> Masterpage 2
    And the designview with the flowing data, you can do it by scripting to get to the next page after the pos is finished.
    Unfortunaly I do not got a system atm, so I hope the explaination give you a clue, where to search.
    Regards
    Florian

  • How to set a dynamic variant for date in select-options in the upper field

    Hi  Variant experts Good Evening!
           I have the following problem while setting up a dynamic varinat .
    Ex: select-options: dat for sy-datum.  
    I am able to save the lower limit as a dynamic value but not able to save the upper values as dynamic in the select-options. Could any of you please help me in this.
    Regards
    Ravi.

    i hope dynamic variant concept is not there,
    but u can use the fn module DYPRO_GET_VALUES  and
    DYNPRO_SET_VALUES
    DYNPRO_GET_VALUES gets the values in the screen,
    DYNPRO_SET VALUES sets the values.
    first get the values, compare and set the values as u want

  • Dynamic variant create for select option High value

    Hi ,
    I would like to set a dynamic variant for Date filed in selection screen as lower limit as 01/01/2009 and Last day of previous month as hiher limit. For examplae: Lower limit = 01/01/2009 and higher limit as 02/28/2011.
    Please help me in creating dynamic variant as mentiond above.
    Thanks & Regards,
    Venkat N.

    Hi,
    Thank you for your reply and could you please provide if you have any code.
    Thanks & Regards,
    Venkat N.

  • Dynamic Variant in ECC 6.0

    Hi All,
    Can any one tell me how to create a dynamic variant in ECC 6.0 for a exicutable program? In ECC 5.0 its easy to create but in ECC 6.0 the varinat creation screen has been changed.
    Thanks
    Manas

    it's buried in there
    this thread may help if you need to define custom variables
    Re: CASH SALES
    you'll see it under the variant attributes screen.  i know people get reluctant to choose something from a grayed out field but you will be able to choose a selection variable and then the name of the variable
    so for a date field you could choose say D and Previous Month

  • Offline reporting & BEx Download Scheduler

    Hi Expert,
    I had follow scenario Offline reporting from help.sap.com, but when I run Bex Download Scheduler there is pop up message “You are not assigned to any packages”.
    For ur info I had create web template and precalculating setting wiht the schedule.
    There is away to check where did I wrong?
    And where is the result of web template and precalculated setting store?
    Will be appreciate for any suggestion
    Regards,
    Supriatna

    Hi,
    I already know the auth.object:
    S_FRC,
    RSRA,
    FUGR.
    Now it´s working but the user still have some open points:
    1 - The files are always overwriiten - it means that the data from the weeken can not be seen. There´s any parameter that can be setted that allow it to create different files each runtime?
    2 - Is it need that the computer must alway be turn it on? If the file is saved on a shared file can be this problem avoided?
    Thanks,
    Marta.

  • Create dynamic variante in report

    hello masters, im trying to create a dynamic variant for a report, im following the instructions of document that exists in <blocked site removed by moderator> but the option D- Dynamic date calculation doesnt appear to me in the field that i want to calculate date... the field it is of type S - selection-option... someone have any clue that could be.
    regards and thanks in advance
    Mario
    Edited by: Thomas Zloch on Jul 11, 2011 2:34 PM

    hello Alvaro, thanks for your answer.
    you are right, my field isnt DATE it is CHAR.
    thanks for your help.
    Mário

Maybe you are looking for