BBP_Get_Status_2  Variant values

Dear SRMers,
System Info SRM 4.0
We have a variant for BBP_GET_STATUS_2  called GetStatus.
This variant has the following values set  a.)  no Shopping cart time frame set
  b.) the SC..... in last days is 0.
Does this mean it will pick up the shopping carts created today or does it process all shopping carts in the system
Points will be rewarded.
Thanks in advance,
Regards,
Bob

Hi Bob,
Normally it is advised to create variant with 5 days runs for every 15 min, and 30 days for every 3 hours and 365 days for every weekend.
if you leave days 0, it will pick all the shopping carts.
Let me know if you need any further info on this.
Thank you
Sreedhar Vetcha

Similar Messages

  • Function Module to Lock a Variant or see variant values in Disabled mode?

    Hi,
    I have a requirement in which I create some jobs which takes some variant as one of the input.
    My Problem is once i have executed the job successfully in SM37, I need to see the variant values. I know there is a function Module RS_VARIANT_CHANGE with which we can see the values of variant.
    But i dont want the user to modify those values since the job has already been executed. I just want to see them.
    Can anyone tell me is there any FM to see just the variant values in disabled mode or the the variant is locked so that the user cant modify it?

    Hi,
    I'm not sure if you really want to create a program to see the variant values?
    Because you can see the values by simply going to SM37, select the job, display list of steps, position cursor and use menu Goto -> Variant
    Moreover, (I don't know if it may answer your requirement) when you schedule a job with a report which outputs an ABAP list, you may define in the print parameters the option "Selection cover sheet" to print the values of selection screen parameters/select-options.
    Sandra

  • Variant Values during Run Time

    Hi
      I am running a report as background job with a variant "VarOne"  which has the following values
    1. Duration Interval  - value -  60
    2. Program ID.       - value - 00123
    3. Current Date ( Value not saved while creating variant)
    4. Current Time ( Value not saved while creating variant)
    While the report is scheduled as background job with a particular variant value.. Is there a table that stores all the VarOne variant values....I want to know the values of 3 and 4. I know that looking at the job scheduling time I can get approximate values..But I need to know a place( like a table) where these variant values are stored.
    I have checked the following tables but didnt find the runtime values
    VARID
    VARIT
    TRVAR
    TRVARVC
    TRVARV
    VARICONCI
    VARICON
    Hope My question is clear
    Thank you

    VARCH is much the same as any editor (e.g. SE38 or SA38.. or where ever you can display development objects from and choose "variants" from the "Other Objects" menu).
    If you can display the variant from anywhere, but not from VARCH, then your concept seems to be a bit strange...
    Note that from VARCH you can display and also maintain the variants (if authorized), but you cannot execute the programs (via their variants). That is what it is designed to do, particularly in production systems...
    If your program concept in intact and correctly secured, then I recommend requesting standard VARCH to fullfill your requirement.
    Your security folks should give you the correct authority to do your job, and not rely on silly tcodes to secure the variants...
    Cheers,
    Julius
    Edited by: Julius Bussche on Jan 3, 2009 10:21 PM

  • Variants Values in BI 7.0 New Reporting Tools

    Hello SDN,
    We had an OSS Message (204968) to address the issue where we are NOT able to see query "predefined" Variants values in new reporting tools BI 7.0 BEx Analyzer.
    SAP support has responded saying they are able to see the Variants values.  We've tried again but I still CANNOT see the Variants values, could this be an authorization issue?
    If yes, do you know if there are any new authorizations for query components and its access? 
    Many thanks for any helps and a highest point will be rewarded.
    Best regards,
    Niki

    So as part of your upgrade to 7.0 -
    Someone ran RSR_VARIANT_XPRA which converts Basis variants to new BW Variant tables - For use by 3.5 tools.
    Table Name                     Short text 
    RSRVARIANT                     Variant Values                           
    RSRVARIANTDIR                  Directory of Variants for Queries and Selection Objects
    RSRVARIANTTXT                  Texts for Variants                       
    RSRVARIANTVIEW                 Variant Header and Texts  
    Then RSR_MIGRATE_VARIANTS should have been run to convert the converted 3.5 variants to the to the new 7.0 variant tables?                                                                               
    Table Name                     Short text                                                                               
    RSRPARAMETRIZA                 Parametrization for a query, workbook, webapplication, pla
    RSRPARAMETRIZAT                Text of parametrizations 
    I believe by default - all variants get converted as Global.
    So if you look at the RSRPARAMETRZA* tables, do you have variants appearing in them or not?

  • R3 tables about job, program, variant and variant value

    Hi, Experts,
        Now we are schedule lots of R3 jobs before BW uploading.
        every job has ABAP program, each ABAP program use one variant.
        my problem is: there are so much job sceduled, we are hard to go to check all setting is correct. so anyone can tell me what's R3 table have the information of job,program, variant and variant value
        I just some TBT* table which only have job info.
    Thanks a lot

    Hi Jie,
    The variants can be found in <b>TVARV</b>,VARI,VARID,VARIT and VARIS tables.
    Also Check these tables:
    SMEN_OBLIG
    SREPOVARI
    SREPOLIST
    SREPOUSER
    Bye
    Dinesh
    Message was edited by: Dinesh Lalchand

  • Passing variant values in job_submit FM

    Hi Guys,
                  I am running a report in background using job_submit FM.
    Currently I am using Get and Set parameters to pass selection screen values.
    But these values are not effective when run in background.
    If variant is an option, how to populate the variant from selection screen values.
    Thanks

    Hi,
      U follow the given code. If u have taken varinat as parameter then ok.
    other wise u have to pass rs_create_varaint*  function module in the program.
    DATA : v_jobhead LIKE tbtcjob.
    DATA : v_jobcount LIKE tbtcjob-jobcount.
    DATA : v_eventparm LIKE tbtcjob-eventparm.
    DATA : v_flg_released TYPE c.
    DATA: e_error.
    DATA: running LIKE tbtcv-run.
    TYPES: esp1_boolean LIKE boole-boole.
    CONSTANTS: esp1_false TYPE esp1_boolean VALUE ' ',
               esp1_true  TYPE esp1_boolean VALUE 'X'.
    CONSTANTS: true  TYPE boolean VALUE esp1_true,
               false TYPE boolean VALUE esp1_false.
    PARAMETERS: v_jobnam LIKE tbtcjob-jobname,
                v_report LIKE sy-repid,
                v_varian LIKE  raldb-variant,
                v_uname  LIKE sy-uname.
    START-OF-SELECTION.
      CALL FUNCTION 'JOB_OPEN'
           EXPORTING
                jobname          = v_jobnam
           IMPORTING
                jobcount         = v_jobcount
           EXCEPTIONS
                cant_create_job  = 1
                invalid_job_data = 2
                jobname_missing  = 3
                OTHERS           = 4.
      IF sy-subrc <> 0.
        e_error = true.
      ELSE.
        CALL FUNCTION 'JOB_SUBMIT'
             EXPORTING
                  authcknam               = v_uname
                  jobcount                = v_jobcount
                  jobname                 = v_jobnam
                  report                  = v_report
                  variant                 = v_varian
             EXCEPTIONS
                  bad_priparams           = 1
                  bad_xpgflags            = 2
                  invalid_jobdata         = 3
                  jobname_missing         = 4
                  job_notex               = 5
                  job_submit_failed       = 6
                  lock_failed             = 7
                  program_missing         = 8
                  prog_abap_and_extpg_set = 9
                  OTHERS                  = 10.
        IF sy-subrc <> 0.
          e_error = true.
        ELSE.
          CALL FUNCTION 'JOB_CLOSE'
               EXPORTING
                    jobcount                    = v_jobcount
                    jobname                     = v_jobnam
                    strtimmed                   = 'X'
               IMPORTING
                    job_was_released            = v_flg_released
               EXCEPTIONS
                    cant_start_immediate        = 1
                    invalid_startdate           = 2
                    jobname_missing             = 3
                    job_close_failed            = 4
                    job_nosteps                 = 5
                    job_notex                   = 6
                    lock_failed                 = 7
                    OTHERS                      = 8.
          IF sy-subrc <> 0.
            e_error = true.
          ELSE.
            DO.
              CALL FUNCTION 'SHOW_JOBSTATE'
                EXPORTING
                  jobcount               = v_jobcount
                  jobname                = v_jobnam
               EXCEPTIONS
                 jobcount_missing       = 1
                 jobname_missing        = 2
                 job_notex              = 3
                 OTHERS                 = 4.
              IF sy-subrc <> 0.
                e_error = true.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                        WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ENDIF.
              IF running = space.
                exit.
             endif.
               enddo.
            endif.
            endif.
        endif.
    Regards,
    Naveen M.

  • Where do variant values get stored in SAP?

    Hello
    This is basically an ABAP question, but I am still putting it here. If we have a custom report (program) in R.3, and a user creates multiple variants for that program, is there a table which stores the values that he has entered for that variant. I have read several posts and have searched on the web and have found that:
    1. Most important tables for variants: VARID, VARI, VARIS, TVARVC. The table VARI has a field CLUSTD where the variant contents are stored are in encoded format.
    2. And the FM which does the conversion (behind-the-scenes): RS_VARIANT_CONTENTS.
    But is there an a proper database table that store the values (as there are) in SAP?
    Thanks,
    Srini.

    Hello,
    I think you can find the values in different tables like: TVARV, TVARVC, VARI, VARICON, VARICONCI, VARID, VARID_CI, VARIDESC, VARIDESCCI, VARINUM, VARIS, VARIS_CI, VARIT, VARIT_CI and VARI.
    I hope it helps!
    Thanks.
    Beatriz.

  • Variant value in background

    Hi friends,
    I have created a variant for job scheduling, i wants to use one field value in the
    program when background job running from that variant. Please help me to get that value in background.
    Thanks in Advance,
    SB.

    Hi Syed,
    Hi
    first Save the variant for that program and use in Job scheduling
    Create a Variant for the Program and
    Schedule JOB in background:
    Go to SM36 create a Job
    enter Program and Variant for that program in STEP..
    click on Start Condition
    Click on DATE and TIME enter date scheduled Start and END times
    click on Period Values
    Click on HOURLY/WEEKLY etc
    CLick on RESTRICTIONS also to use further criteria.
    so your job will be scheduled and run as per your requirement.
    and in SM37 Transaction check the status of that JOB
    Check this link for scheduling jobs..
    http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7f87505211d189550000e829fbbd/content.htm
    <b>Kindly reward points if you found the reply helpful.<b>
    Cheers,
    Chaitanya.

  • Where does bex read variants' values?

    hello
    can anyone pls tell me in which table bex finds the corresponding values of a variant???
    I have tried all the tables including vari but non of them were useful for me.
    regards
    SP

    closing the thread

  • BXe iView:-Variant value getting extra character by default

    Hi All,
    New to BI. I am having one scenario with me.
    We have one BEx iView with four mandatory variants. User trying to select value for the first three variants and checking the value, but when he is entering value for the fourth variant and checking, few characters are getting add by own i.e. u201CAMu201D character is adding in the front of entered values. For example u201CAM99u201D
    But when we are trying to run from backend (BI) is not happening, no extra character is coming for the fourth variant.
    In the both case we are getting out put, but when we are trying from portal why extra character is getting added.
    Could you please help me on this.
    Deepak!!!

    Hi All,
    Here variants mean variables for selection criteria.
    Please share your kind input on the issue.
    Deepak!!!

  • Variant value not taken by the view

    Hello experts,
    I'm broadcasting a view, whose variant is dynamically changed through a process chain.
    But, during the broadcast, the view is not taking the latest value of the variant, instead it is taking the values, which was entered for the first time.
    The variant is changing the values every month.
    Please suggest on this
    Kind Regards,
    Ram

    Hi Ram,
    Please see below document, which explain very clearly how the variants can be changes dynamically ignore the part for filling cache.
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f048c590-31a4-2c10-8599-bd01fabb93d4?QuickLink=index&overridelayout=true
    Regards,
    Ganesh

  • Program Variants Values

    hi all
    the variants for a particular program are stored in VARID table. I need to know where does the values for those variants get stored. Do we have a table or else do we have any kind of report that can be used to list the values for all the variants for a particular program.
    Thanks
    Vijay

    Hello Vijay,
      Variant content is stored in table VARI with data type LRAW. You cannot pull it using SQL. However, you can use the function RS_VARIANT_CONTENTS to get the contents.
    Thanks,
    Venu

  • How to loop with varying values depending on where you are in the loop

    Hi,
    I have need of loops / nested loops that pick different figures depending on where you are in the loop.
    The whole function needs to run through 'ml' times. 'ml' is a dynamic figure.
    Loop 1 = While the loop is within the first 12 iterations, 'exconemp' must equal 100. For iterations 13 - 24, 'exconemp' must equal 102.5, for 25 - 36 it will be 105.06, for 37 - 48 it will be 107.69. This needs to change every 12th iteration until it has reached 'ml'. The calculation takes the value of the previous 'exconemp' and then multiplies that by 0.025.
    Loop 2 = While the loop is within the first 120 iterations, 'abc' must equal 0.015 and any further iterations must use 0.01. This must also work in a way to figure out whether 'ml' is higher or lower than 120 and work accordingly.
    My main issue is this - how do I get the loops to run through as this:
    While the iteration is < 12, do this, THEN take the final figure (12th iteration) and start on 13 - 24, do this THEN etc etc.
    How do I produce a THEN statement? I can get the code to pick up the final values, but not change along the way.
    I think that I may be better creating an array for Loop 1, but I am not entirely convinced of this. I also think it would be better/tidier if I can get 'month 1 total' and 'month 2 total' into the loops, but am not sure on how to do this.
    The values that I need to produce are (only first 36 shown):
    1 - 12 = 125.55, 251.65, 378.31, 505.52, 633.29, 761.63, 890.53, 1019.99, 1150.03, 1280.63, 1411.81, 1543.57
    13 - 24 = 1679.05, 1815.12, 1951.79, 2089.06, 2226.93, 2365.41, 2504.50, 2644.20, 2784.52, 2925.45, 3067.00, 3209.18
    25 - 36 = 3355.19, 3501.85, 3649.15, 3797.11, 3945.71, 4094.96, 4244.87, 4395.44, 4546.68, 4698.57, 4851.14, 5004.38
    var ml = 240 // dynamic figure, multiple of 12 up to 780
    var exconemp;
    var exconem = 100;
    var inf = 0.025;
    var tree;
    var tec;
    var power;
    var fvis;
    var abc;
    var fvee;
    var tfv;
    function myfunction() {
    //Loop 1
    //while (ml <= 12) {
      exconemp = exconem;
    //while (ml > 12) {
    // exconemp = exconem*inf;
    //end Loop 1
      trace("exconemp=", exconemp); // employees contribution
    tree = exconemp/(1-0.2)-exconemp;
    tec = exconemp + tree;
      trace("tree", tree);
      trace("tec", tec);
    power = Math.pow(1+0.07, 1/12);
    //Loop 2
    //while (ml <= 120) {
      abc = 0.015;
    //while {
      //abc = 0.01;
    //end Loop 2
    fvis = power*(1-abc/12);
    trace("fvis=", fvis);
    fvee = tec*fvis;
    trace("fvee=", fvee); // month 1 total
    tfv = (tec+fvee)*fvis;
    trace("tfv=", tfv); // month 2 total
    for (var i:Number = 0; i < ml; i++)
          tfv = (tec+tfv)*fvis;
      trace("tfvloop=", tfv);
    I hope that I have explained this well enough.
    Many thanks in advance.

    I think this will do it although I am not quite getting the numbers you posted.
    stop();
    var ml = 48; // dynamic figure, multiple of 12 up to 780
    var exconemp;
    var exconem = 100;
    var inf = 0.025;
    var tree;
    var tec;
    var power;
    var fvis;
    var abc = 0.15;
    var fvee;
    var tfv;
    myfunction();
    function myfunction()
        exconemp = exconem;
            for(var index:uint = 1; index <= ml; index++)
                trace(index + "--------------------------------");
                    tree = exconemp/(1-0.2)-exconemp;
                    tec = exconemp + tree;
                    power = Math.pow(1+0.07, 1/12);
                    fvis = power*(1-abc/12);
                    fvee = tec*fvis;
                        if(index == 1)
                            trace("month 1 total=", fvee);
                        else if(index == 2)
                            tfv = (tec+fvee)*fvis;
                            trace("month 2 total=", tfv); // month 2 total
                        else
                            tfv = (tec+tfv)*fvis; //now that we are here the tfv self perpetuates on itself
                            trace("month " + index + " total=", tfv); // month n total
                if(index % 12 == 0)
                    exconemp = exconemp*(1+inf);
                    trace("changed exconemp to: " + exconemp);
                if(index % 120 == 0)
                    abc = .01;
                    trace("changed abc to: " + abc);

  • Accounting for varying values in Data merging

    Hi everyone,
    I've been asked to create a template for a degree certificate. So far I've created an InDesign document and used data merge to import the data from a .csv file. I've also used GREP styles to resize the name of the degree when it's longer than a certain number of characters. So far so good.
    My question has to do with how to account for different categories of certificates. Let me explain. In my spreadsheet I have thre types of certificates A, B, and C. Each category triggers two specific bits of text. So for example:
    When Cat = A
    the following blurb appears at the top of the certificate:
    WHEREAS THE UNIVERSITY OF NOWHERE HAS BEEN EMPOWERED BY ACTS OF THE LEGISLATURE OF MARS TO CONFER DEGREES AND AWARD DIPLOMAS OF THE UNIVERSITY
    and the following text appears just before the name of the degree:
    HAS BEEN ADMITTED BY THE UNIVERSITY TO THE DEGREE OF
    When Cat = B
    the following blurb appears at the top of the certificate:
    WHEREAS THE UNIVERSITY OF NOWHERE HAS BEEN EMPOWERED BY ACTS OF THE LEGISLATURE OF MARS TO CONFER DEGREES AND AWARD DIPLOMAS OF THE UNIVERSITY
    and the following text appears just before the name of the degree:
    HAS BEEN AWARDED THE
    When Cat = C
    there is no blurb at the top of the certificate.
    but the following text appears just before the name of the degree:
    HAS BEEN AWARDED THE
    I first thought of creating IF formulas in Excel but it doesn't work because I don't want the result to appear in the data, I want it to only appear once merged in the InDesign template.
    SO THE QUESTION IS:
    Is there any way to specify IF THEN values directly in the InDesign document? If not, does anyone have any idea if what I'm being asked to do here is even possible?
    Any help or nudge in the right direction would be greatly appreciated,
    Chris

    Hi Christine,
    I'll need to work through the example, but it would be that the blurbs are on thier own separate layers of page 1. And the data fields are simply on their own layer, still on that page.
    That's as far as I got in a quick perusal of his example. I plan on recreating the example tonight when I have a bit of my own time to spend. I suspect it will be a lot more clear following the example, bit for bit. If it does work out as it seems it should, I can think of a. coupon job I merged that would have (maybe) been easier than the 5 merge files I ended up with.
    I do want to mention, pointing back to my earlier comments, if there is anyway you can work with the IT people to produce a clean file ready for you, I would do so. Colin mentioned XML, and that is what I would strive for in this situation. But XML is a bit like being thrown into the deep end of the pool and learning to swim at the same time.

  • Replacing the same value in a string with varying values

    If I have a string:
    "%s is the %s I am referring to"
    and - I want to replace the %s occurrences with DIFFERENT values... what's the best way to do this.
    I was thinking parsing it into seperate strings using substr and instr but, I'm not sure if that's overkill or not.
    Replace is ideal but - it replaces every occurrence so - you can state just replace the first occurrence with one value and the second with another (i.e. if the desired result after replacing the above string was supposed to be "This is the string I am referring to"
    Any help is appreciated.
    Thanks

    Hi,
    wtlshiers wrote:
    If I have a string:
    "%s is the %s I am referring to"
    and - I want to replace the %s occurrences with DIFFERENT values... what's the best way to do this.Whenever you have a question, please post CREATE TABLE and INSERT statements for a little sample data, and the results you want from that data.
    Explain how you get those results from that data.
    Always say which version of Oracle you're using (e.g. 11.2.0.3.0).
    See the forum FAQ {message:id=9360002}
    I was thinking parsing it into seperate strings using substr and instr but, I'm not sure if that's overkill or not.Depending on your requirements, you might need to do that.
    Replace is ideal but - it replaces every occurrence so - you can state just replace the first occurrence with one value and the second with another (i.e. if the desired result after replacing the above string was supposed to be "This is the string I am referring to"As you said, REPLACE changes all occurrences. There's no way to tell it (for example) to change only the first one.
    REGEXP_REPLACE, is a lot more flexible. It does have an option for giving a specific occurrence, but you may not even need that feature. You might just want something like
    REGEXP_REPLACE ( '%s is the %s I am referring to'
                , '(.*)%s(.*)%s(.*)'
                , '\1This\2string\3'
                )It all depends on your data and your requirements.
    Are the new values (such as 'This' and 'string') fixed, or can they change from row to row?
    Will you always have 2 (or some known number) of '%s's in the original string?
    Does '%' always signal something that is to be replaced? If not, how can you tell when it does and when it doesn't?
    Does 's' always come right after '%'? If not, what are the possibilites, and what do the different characters signify?

Maybe you are looking for

  • Unable to recognize deck when printing to video (fcp 6.0.5)

    I am driving myself absolutely crazy trying to figure this one out. I found a previous thread discussing the same problem (http://discussions.apple.com/thread.jspa?messageID=8602649) but nothing has worked. My footage was shot using a Sony HVR-V1U. I

  • Premiere CS5 crashes every time I select the effects tab.

    I'm running windows 7 (64bit) with the latest version of Premiere CS5 (I think it was 5.0.3, or maybe 5.0.2?  Either way the updater said it was the current version).  Every time I select the "Effects" window in my layout premiere crashes.  It used t

  • Official Complaint

    I would like to know who I need to speak to or email to actually get a complaint responded to? I do get lots of promise that a 'Manager' will call me back and no one ever does. Ofcom seems the be the only option at this point. Thanks in advance

  • Services/apps running, status symbols - what is all this?

    I have my first (very basic Motorola Citrus) smartphone, with only the 150MB/month data plan.  I'd like to turn off unnecessary stuff, but I have no idea what half the status bar symbols mean, or what all the apps running are.   Only some of the symb

  • Updated my 2008 MacBook Pro to Mavericks. Tuneup for Mac won't run w/10.9.  what do I use for housekeeping?

    Updated my 2008 MacBook pro to Mavericks.Lost some programs that won't run on Mavericks.  One being Tuneup for Mac. Used for housekeeping and cleaning up the machine.  Can't figure out how run maintenance on drive w/o this.  Seached for scheduled mai