Keep getting an excepiton(Cx_RSR_Bad_value_combination) in my customer exit

I keep getting this error.  when i debug the values populate the high & low correctly but I get this error and it shuts down the query.  Here is the code.  I have tried several different things and nothing works.  Any ideas what is wrong.  I am trying to return a range where the 1st date is the 1st of the month of the prior and the second date is the date they entered prior year.  so if they entered 01/12/2007, i want to return the range of 20060101 to 20060112
CASE I_VNAM.
  WHEN 'ZD_TOFROMDATEPRIOR'.
    Data: ayar(4) type N,
    pyar(4) type N,
    zdat type D,
    bdat type D,
    mht(2) type N,
    zday(2) type N.
    IF i_step = 2.
      loop at I_T_VAR_RANGE INTO Loc_Var_Range
      where vnam = 'ZD_DATEENTERED'.
        Clear L_S_Range.
        ayar = LOC_VAR_RANGE-LOW+0(4).
        mht = LOC_VAR_RANGE-LOW+4(2).
        zday = LOC_VAR_RANGE-LOW+6(2).
        pyar = ayar - 1.
       concatenate pyar mht zday INTO zdat.
       concatenate pyar mht '01' into bdat.
        concatenate pyar mht zday INTO L_S_RANGE-high.
        concatenate pyar mht '01' into L_S_RANGE-low.
        L_S_RANGE-sign = 'I'.
        L_S_RANGE-opt = 'BT'.
        APPEND L_S_Range TO E_T_RANGE.
      endloop.
    endif.
endcase.

The code looks ok. It could also be erroring out for some other variable coded in the user-exit. Can you check (in debug or ST22) which field it is giving this error for?
If there is a dump In ST22 you should be able to see current values in e_t_range.

Similar Messages

  • I ran a disk verify & disk repair on my macbook.. both said my system was fine. I keep getting the underlying task reported failure on exit when trying to do disk permission or repair permissions. Also get cant install files in "/applications error. Help

    m was fine. I keep getting the underlying task reported failure on exit when trying to do disk permission or repair permissions. Also get cant install files in "/applications error when ever trying to install a driver or update. Help

    Hi,
    Here's an article for that:
    http://support.apple.com/kb/ts1901

  • HT201263 i keep getting " cannot activate iphone, please contact customer care" what should i do??

    cannot activate iphone. keep getting contact customer care, cannot iactivate at the moment

    favour7 wrote:
    cannot activate iphone. keep getting contact customer care, cannot iactivate at the moment
    Possible causes:
    1. Your antivirus is blocking access to gs.apple.com.
    2. Your phone is jailbroken.
    3. Your computer has been used at some time in the past to jaibreak some iOS device (not necessarily the phone with the problem), and its network database was corrupted by the hacking software that was used.
    4. Apple's activation servers are down (very rare, and never for more than an hour or so).
    For 1. try disabling your antivirus.
    For 2. & 3. you need to go somewhere other than an apple forum for help. Although you can try deleting lines containing gs.apple.com from your "hosts" file on your computer.

  • How to capture user input for customer exit processing?

    I need to calculate the number of working days elapsed in the current fiscal quarter BASED on the USER INPUT on the reporting front.  i.e., say the fiscal quarter started on 1 July 2005 and if the user enters 10 July 2005, I should get the value 8 (Assume that Monday through Friday are all workdays).  If the user enters 12 July 2005, I should get 10.  I have written customer exits and know how to use factory calendar, but <b>THE CHALLENGE</b> is how do I <b>CAPTURE</b> the user input and use it in my exit?  During the varible definition, if I select the check box "Ready for input" then the customer exit is not being processed and unless I check that box I can't get a user entry!  If I look at the import values in the customer exit, I see i_t_var_range with type rrs0_t_var_range.  My strong feeling is that this parameter gets the user input, but I am unable to use it as the customer exit is not being called if I make the user to input the data.  Based on the empirical evidence, I felt that user input and customer exit can not co-exist!!  Please somebody prove me wrong and let me know how can I use the user input to process my "customer-exit" variable.  I would really appreciate any input from the BW community here.

    Hi Sameer,
    Most likely, I'm missing something, but I think that the answer is very simple.
    CASE I_VNAM.
    WHEN 'YOUR_CUSTOMER_EXIT_VAR'.
    IF I_STEP = 2. “ After selecting of input variable
    LOOP AT I_T_VAR_RANGE INTO LOC_VAR_RANGE
    WHERE VNAM = 'USER_INPUT_VAR'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW(4).
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDLOOP.
    ENDIF.
    ENDCASE.
    In this typical user exit coding you have a user entered value in LOC_VAR_RANGE (originally in I_T_VAR_RANGE) and you construct your user exit variable value in E_T_RANGE.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov

  • Customer Exit or BADI for PP61 (Shift Planning) for Saving action

    I have a requirement to enhance PP61 (shift planning). First of all this program accepts any update of attendance for values before than current date, i think it should not happen by default.  Thus we have to disable editing or display an error message when any user updates values for previous dates than today. I tried HRBAS00INFTY Badi but didn't get solution. Please give any Customer Exit or BADI name for this purpose.

    i have tried BADI - HRPAD00INFTY but it does not have sufficient parameters for this requirement. And i don't understand EXIT_SAPFP50M_001 or 002 use...can you expalin me how it will help out my problem?

  • Customer Exit - Fill variable depending on query view name

    Hi
    We're running BW 7.0
    We have a query which is used for broadcasting and as well for user input. That's why we have a variable which is default filled by a customer exit. This variable is the week and is default filled: fist week of year up to actual week.
    But now we have for the same query different selection requirenments.
    The same query should be send by email with
    - first week of year up to actual week
    - previous week
    Because of dynamic variables the calweek needs to be filled by customer exit and worked until now fine - until a second requirenment was coming (separat broadcast only with previous week).
    I don't like the idea to copy the query because of maintenance work.
    I'd like to have several views - and depending on the view name etc. I would fill the customer variable. But I don't get the query view name into customer exit - right?
    Do you have any other ideas?
    How do you handle such requirenments?
    Thx
    Roger

    Hi Helder,
    I understand your requirement but I don't understand the solution you are using. I think it's a bit tricky.
    What I would do is:
    Create three variables:
    - VAR1: Single value, mandatory, ready for input, customer exit. Used to store "User input date"
    - VAR2: Select option, customer exit, not ready for input. Used to store Valid From restriction.
    - VAR3: Select option, customer exit, not ready for input. Used to store Valid to restriction.
    Then, use this code:
    WHEN 'VAR2'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'LE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    WHEN 'VAR3'.
    IF I_STEP = 2.
    READ TABLE I_T_VAR_RANGE INTO LOC_VAR_RANGE
    with key VNAM = 'VAR1'.
    CLEAR L_S_RANGE.
    L_S_RANGE-LOW = LOC_VAR_RANGE-LOW.
    L_S_RANGE-SIGN = 'I'.
    L_S_RANGE-OPT = 'GE'.
    APPEND L_S_RANGE TO E_T_RANGE.
    ENDIF.
    I think this should work, and you'll have three independent variables used for one purpose each.
    Hope this helps.
    Regards,
    Diego

  • My hard drive fried and had to be replaced. I'm trying to install CS4 from my original discs but keep getting this error message - "One or more of the required components of Adobe Creative Suite 4 Design Standard failed to install correctly". A customer s

    My hard drive fried and had to be replaced. I'm trying to install CS4 from my original discs but keep getting this error message - "One or more of the required components of Adobe Creative Suite 4 Design Standard failed to install correctly". A customer service rep gave me a link to download off the Adobe site, but when I try to open the file to run it, I get this error message - "A problem occurred extracting the archive".
    Can anyone help?

    Yep.  Nothing happens at all. Windows tries to execute the uninstaller, but I don't get any other screen and all activity stops for the MSI.  I monitored it in Process Monitor and the MSI executable appears, but is quickly ended, like it couldn't find anything or something.
    It's as if windows has a blank entry in Programs and Features, because it used to show the size of the Adobe application in the "Size" column.  Now it's just blank.  Link to screenshot below:
    http://img829.imageshack.us/img829/5006/screenshotcaf.jpg
    Note the install date.  That's when I was able to successfully reinstall it.  Now I can't even do that.  I should also mention I tried Revo Uninstaller.  It deleted one small registry key, but nothing changed.
    By the way, is the CS cleaner supposed to ask for a disc in the drive when you run it?  It refused to run unless I had one in it, so I used my install dvd.

  • Custom InfoPath SharePoint Page Keep getting an error on form load?

    Hi I am trying to host the XMLForm control on a custom page in sharepoint so that I can run some JS against it.
    I have set up a page like so
    <body>
    <form id="form1" runat="server">
    <div>
    <asp:Label ID="status" runat="server" />
    <InfoPath:XmlFormView PrintWindow="true" OnInit="Init_InfoPath" OnInitialize="Load_InfoPath" EditingStatus="Init" id="FormControl" Style="width:100%;" runat="server" __WebPartId="{2A7ABDDD-7682-4556-AE3E-FFF07257B593}"/>
    </div>
    </form>
    </body>
    A Init method like so
    protected void Init_InfoPath(object sender, EventArgs e)
    _xmlLocation = Request.QueryString["XmlLocation"];
    _saveLocation = Request.QueryString["Source"];
    FormControl.XmlLocation = _xmlLocation;
    FormControl.EditingStatus = XmlFormView.EditingState.Editing;
    FormControl.DataBind();
    But I keep getting an error like so
    The given key was not present in the dictionary.
    System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary.
    at System.ThrowHelper.ThrowKeyNotFoundException()
    at System.Collections.Generic.Dictionary`2.get_Item(TKey key)
    at Microsoft.Office.InfoPath.Server.Util.ReadOnlyDictionary`2.System.Collections.Generic.IDictionary<K,V>.get_Item(K key)
    at New_Programme.FormCode.FormEvents_Loading(Object sender, LoadingEventArgs e)
    at Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass6.<>c__DisplayClassa.<add_Loading>b__3()
    at Microsoft.Office.InfoPath.Server.Util.DocumentReliability.InvokeBusinessLogic(Thunk thunk)
    at Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass6.<add_Loading>b__2(Object sender, LoadingEventArgs e)
    at Microsoft.Office.InfoPath.Server.SolutionLifetime.FormEventsHost.<>c__DisplayClass34.<FireLoadingEvent>b__30()
    at Microsoft.Office.InfoPath.Server.DocumentLifetime.OMExceptionManager.CallFormCodeWithExceptionHandling(UserMessages userMessages, OMCall d)
    An entry has been added to the Windows event log of the server.
    Log ID:5337
    I have narrowed it down to the InfoPath form I am trying to host on this page specifically the loading method.
    public void FormEvents_Loading(object sender, LoadingEventArgs e)
    try
    this.Path = e.InputParameters["XmlLocation"];
    catch (Exception)
    string str2 = e.InputParameters["SaveLocation"].ToString();
    this.Path = str2.Substring(0, str2.LastIndexOf("/"));
    Trace.WriteLine("save location is " + this.Path);
    // NotifyHost("Message from InfoPath");
    The e.inputParameter("XMLLocation") value is always null even though I am passing in the URL when i step through it at my page level but it never seems to get into the form.
    If I press continue on the browser once the error shows the form data loads?
    Can anyone explain what I have missed out here?
    Later: I have figured out that e.InputParameters has no values, Do I need to do something to push values into this other than what I am doing above?

    I figured out my issue from this url:
    http://msdn.microsoft.com/en-us/library/microsoft.office.infopath.server.controls.initializeeventargs.inputparameters.aspx
    Basically the aspx page control needed the OnInitialize.
    <InfoPath:XmlFormView PrintWindow="true" OnInit="Init_InfoPath"
    OnInitialize="Load_InfoPath" EditingStatus="Init" id="FormControl"
    Style="width:100%;" runat="server" __WebPartId="{2A7ABDDD-7682-4556-AE3E-FFF07257B593}"/>
    Then I needed the method to push the parameters into the infopath form, which wasn't clear in any of the sites which I was using to try get this working.
    protected void Initialize_InfoPath(object sender, InitializeEventArgs e)
    e.InputParameters["XmlLocation"] = _xmlLocation;
    Hope this helps others who have struggled.

  • When I try to download Photoshop, I keep getting the message:  "We are experiencing some issues, please try again later, if the problem persists, contact Customer Support".  It's persisting.

    When I try to download Photoshop, I keep getting the message:  "We are experiencing some issues, please try again later, if the problem persists, contact Customer Support".  It's persisting.

    try now.  adobe.com just went through 24+hrs of website issues.

  • I'm trying to print a custom envelope fro address book and keep getting the message No Pages were selected from the document.

    I'm trying to print a custom envelope from Address book using one of my groups. I keep getting a No Pages were selected message. Anybody have any Ideas?

    Hello, I find that only entries with Home or Work filled in with an address will show.
    Might try right clicking on this link & saving Apple's Addy, then import this vCard, select it & see if it shows one envelope...
    http://web.fastermac.net/~bdaqua/AppleComputerInc.vcf

  • I have created a customer exit variable and keep getting yellow message

    I've created a Cusomter exit varialbe and when I run the query I keep getting this to pop up. 
    initial range-sign for cusomter exit variable timezone is corect
    initial range-opt for cusomter exit variable timezone is corect

    Hi Immich,
    there might be the case in your customer exit where you are setting the variable value to blank.
    for e.g.
    cust_name = '  '.
    where cust_name is your variable that ur filling up using the customer exit, instead of setting it to blank set its value to '#'.
    i.e.
    cust_name = '#'.
    It will work fine and you will not get this message any more.
    Hope this helps to you, and correct me if my understanding is not right.
    Thanks

  • HT201303 Dear Customer Service: It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for  the card and it is still all good. My friends an

    Dear Customer Service:
    It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for
    the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
    We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Techcombank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
    Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
    Sincerely,
    <Edited by Host>

    Just as a warning, your credit card number has been sent in the clear to probably thousands of people, including anyone who subscribes to e-mail alerts to this forum.  That's very, very bad.  The credit card should be considered compromised at this point, and you should cancel it immediately, if you haven't done so already.

  • I keep getting the error "Download Error. Press Retry or try again or contact customer suppor.(0)" when clicking on 'Apps' in the Creative Cloud program. Please help!

    Hey all,
    I keep getting this error when trying to use Adobe Creative Cloud. I only downloaded it today and I keep getting this download error. I have tried a few of the other solutions found and none seem to work. Sorry if there is an obvious fix but other solutions haven't worked for me
    I also keep getting this error. "Unable to reach Adobe Servers. Please check your internet connectivity, firewall settings, and then try again."
    Although I have no firewall enabled so...
    Thanks for the help!

    I had this problem with acrobat downloading.  I shut down the computer, restarted and it worked. 

  • My iPhone 4 (and now 4s) keeps getting bogged down with 3-8 GB of "Other Files". The only way I'm able to clear it up is to do a fresh wipe of the phone and then start all over in terms of customizing my phone, settings, etc. This not acceptable. Help

    This is a ridiculous, Microsoft like, workaround. Please address this in an update or someone please tell me what I'm doing wrong to cause this and how to correct it without completely wiping out my phone every 2 weeks.

    other files is not garbage it's podcasts and storage used by apps and the likes
    you keep getting them because you keep installing stuff that take up the space

  • I'm trying to install Creative Cloud and I keep getting a 'CREATIVE COUD DESKTOP FAILED ERROR1" can somebody help me with this....

    I keep getting an error1 descktop failure while installing cc desktop????

    http://myleniumerrors.com/installation-and-licensing-problems/creative-cloud-error-codes-w ip/
    http://helpx.adobe.com/creative-cloud/kb/failed-install-creative-cloud-desktop.html
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

Maybe you are looking for

  • Any one else getting album artwork display issues?

    iTunes doesn't display my artwork corectly. There is some sort of graphical bug on the surroundings of some artwork.

  • Main computer losses internet sometimes.

    My internet on my main computer (connected to modem) losses internet sometimes when it shouldn't. (Internet connection is fine) I'm wondering if it's a faulty router because the computer connected to the modem and the router shouldn't loss internet e

  • Bluetooth contact transfer

    I have a great new phone called the iPhone yet it can not do the simple task of sending a contacts card via bluetooth to another phone. It is a task my very old Nokia 6600 could do. It is something the iPhone could do if it was programmed to do it. S

  • Network issues with Apple products?

    I've got a weird issue with my Apple products connecting to certain networks. Two different instances: 1) My parents house, my iPhone, iPad, and MacBook Pro all have issues in contacting certain sites and apps. Things from google or apple servers won

  • SEM SCENERIOS NEEDED

    Hi, 1.How to load data into transaction cubes and how it is useful. 2. How to use this transactional cube with basic cube. By using these cubes what are the advantages. can anyone please provide me a scenerio. Thanks, BWcheta