Customer Exit var (basedOn 0P_KEYDT) ABAP error - Going into Debug mode

Hello All,
I have created a BEX Query based on Infoset, so i couldnt use '0P_KEYDT' SAP Exit in a variable.
Instead i created a Z 'Customer exit' with the same code.
But when i execute query in RSRT, query is going into Debug mode.
InfoProviders are all active, when i remove the Z 'Customer Exit' from the query then query is running fine. So i see that the problem is with the Z 'Customer exit' code.
Here is the 0P_KEYDT code:
FUNCTION RSVAREXIT_0P_KEYDT.
*"*"Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
*"     VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
*"     VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
*"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
*"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
*"     VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
*"     VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
*"     VALUE(I_STEP) TYPE  I DEFAULT 0
*"  EXPORTING
*"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
*"  EXCEPTIONS
*"      UNKNOWN_VARIABLE
*"      UNEXPECTED_VARTYPE
*"      VARIABLE_INITIAL
  DATA:
      LS_RA_SID  TYPE   RSR_S_RANGESID.
  IF I_STEP EQ 0 OR                    " without popup or
     I_STEP EQ 1.                      " before popup
    REFRESH E_T_RANGE.
    CLEAR: LS_RA_SID.
    LS_RA_SID-SIGN = 'I'.
    LS_RA_SID-OPT = 'EQ'.
    LS_RA_SID-LOW = SY-DATUM.
    APPEND LS_RA_SID TO E_T_RANGE.
  ENDIF.
ENDFUNCTION.
Here is Z 'Cusotmer Exit Code:  (Defined I-STEP and E_T_RANGE)
method ZPKEYDT.
  Data: ls_var_range TYPE rrs0_s_var_range,
        l_s_range TYPE rsr_s_rangesid.
  IF  I_STEP EQ 1.                  
REFRESH e_t_range.
    CLEAR: l_s_range.
    l_s_range-SIGN = 'I'.
    l_s_range-OPT = 'EQ'.
    l_s_range-LOW = sy-datum.
    APPEND l_s_range TO e_t_range.
  ENDIF.
endmethod. 
I could really appreciate your help!
Thanks in advance,
DC

Hi DeeCh.
If you want to populate the value before the variabel screen input.then please follow below code
case i_vnam.
  when 'ZPKEYDT'.
  if i_step = 1.
    l_s_range-low  = sy-datum..
      l_s_range-sign = 'I'.
      l_s_range-opt = 'EQ'.
      APPEND l_s_range TO e_t_range.
      clear l_s_range.
          endif.
          endcase.
Regards,
Nanda.S

Similar Messages

  • TS1591 My iphone 4 randmonly started going into recoveery mode when i was trying to download ios 7.1, and now the apple logo will come one and then fade to black and continue this process. My iphone wont restore either and will get the 3194 error message.

    My iphone 4 randmonly started going into recoveery mode when i was trying to download ios 7.1, and now the apple logo will come one and then fade to black and continue this process. My iphone wont restore either and will get the 3194 error message.Help please!

    Hello chindeepchow,
    Thank you for using Apple Support Communities.
    For more information, take a look at:
    Resolve specific iTunes update and restore errors
    http://support.apple.com/kb/ts3694#3000
    Resolve communication issues
    Related errors: 17, 1004, 1013, 1638, 3014, 3194, 3000, 3002, 3004, 3013, 3014, 3015, 3194, or 3200. These alerts refer to gs.apple.com, say "There was a problem downloading the software," or say the "device isn't eligible for the requested build."
    Check the hosts file or TCP/IP filtering, which might cause communication issues between iTunes, ports, and servers.
    Have a nice day,
    Mario

  • HT1414 iphone 4 goes into recovery mode error 40

    iphone 4 keeps going into recovery mode, when try to restore the iphone it comes up with error code (40), how can this be fixed?

    Hi November-Rain,
    I found the following information about error code 40:
    Error 20, 21, 23, 26, 28, 29, 34, 36, 37, 40
    These errors typically occur when security software interferes with the restore and update process. FollowTroubleshooting security software issues to resolve this issue. In rare cases, these errors may be a hardware issue. If the errors persist on another computer, the device may need service.
    Also, check your hosts file to verify that it's not blocking iTunes from communicating with the update server. See iTunes: Advanced iTunes Store troubleshooting—follow steps under the heading Blocked by configuration (Mac OS X / Windows) > Rebuild network information > Mac OS X > The hosts file may also be blocking the iTunes Store. If you have software used to perform unauthorized modifications to the iOS device, uninstall this software prior to editing the hosts file to prevent that software from automatically modifying the hosts file again on restart.
    This information was found here:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    Cheers!
    - Ari

  • My iPad 2 goes into restore mode almost dailyand can't restore it anymore error 1603

    My iPad 2 goes into restore mode almost daily. I usually just restore and sometimes use the iCloud backup. This time, my iPad cannot restore. I have gotten the error message 1603. I have the latest version of iTunes. PLEASE HELP ME

    Hello Sean,
    It sounds like you are constantly needing to restore your phone because it keeps going into recovery mode. Usually putting a device into recovery mode and restoring it can help isolate an issue to your iPhone hardware if an issue persists afterwards. I would try manually putting it into recovery mode and restoring it 1 more time:
    If you can't update or restore your iOS device
    http://support.apple.com/kb/HT1808
    If that does not resolve it the symptoms indicate to me that it is a hardware issue causing this to happen and would seek service for it:
    iPhone Repair - Other Repairs
    https://www.apple.com/support/iphone/repair/other/
    Thank you for using Apple Support Communities.
    All the best,
    Sterling

  • Mac Pro randomly goes into sleep mode

    My (mid 2010) Mac Pro, OS X.6.8, randomly goes into sleep mode and I can't wake it, have to power it off and reboot. Just started to the best of my knowledge Friday (Jan 6, 2012) I've had it happen surfing the web in Safari, while working on an illustration in Adobe Illustrator, while running Apple Hardware Test, using 23" LCD connected by HDMI and DVI-D, Disconnected monitor and connected 12" Cintiq (LCD Tablet).
    The monitor goes black, says "there's no signal coming from your computer", none of the keys will wake it. I have to hold down the power button until it turns off then power it back up. The time between the sleeps varies, 38min, 1hr 34min, 5min, 2hr 17min, 12min, etc. I disconnected everything (except keyboard, mouse, monitor) still the same. Opened and removed the ATI Radeon HD 5870, and noticed the PRAM battery, replaced it with a new one, thought that fixed it, worked for a long time then it happened again.
    Tried Apple Hardware Tester again, it said everything is fine, ran it again an error popped up: 4SNS/1/40000000:Te1S-99.364, wrote it down then it slept.

    The next time this happens open your mac and see if there is still a fan running.  If so you are not sleeping, you are in a thermal cutoff.  Keep you mac cover off.
    Now reboot as you always do.  Take a look at the fan in your 5870.  Is it spinning?  If so, try to keep an eye on it and see if you can "catch" it not spinning. 
    When the fan doesn't start, or if it does then stops, the card will overheat and the machine will go into thermal cutoff.  The amount of time is variable.
    I speak from experience.  I am currently on my third 5870 video card.  Both the previous two had this fan problem.  The only wrinkle in my theory for you is that I wouldn't expect more that, say, 15 minutes of up time at the most, not hours like you got.  But it may be that your card is starting ok, but stops sometime later.   I chalk it up to the lousy fans Nvidia uses in the 5x70 cards.
    FWIW, if you happen to catch the fan stopped before the machine goes into thermal cutoff you can give it a little nudge with your finger to get it going again.
    I recommend one of the various temperature monitors.  I use iStat Menus and display some key temps in my menu bar.  Of course after going through two of these cards I am a bit paranoid!
    Some other temperature monitors:
    iStat Pro
    Temperature Monitor
    Hardware Monitor
    Note, after typing all this I also realized you got a AHT 4SNS error. I would run AHT again to see if you get that error again.  If so that means "Check Main Logic Board" and you may have a more serious hardware problem than just a video card!  So my other recommendation is that when you machine fails again look inside for any lit diagnostic leds.  There's some near the dimms but there are others on the board as well.

  • IPhone 3G goes into Recovery Mode after every restore

    Every time I restore my iPhone 3G, it goes into recovery mode right after an error-less restore has been completed. Yes, I've tried using tools such as TinyUmbrella and RecBoot and iRecovery. The device was not jailbroken when I tried to update it to 4.2.1 yesterday. They all reboot the phone and just throw it back into recovery. I have no idea what to do. Searching is futile. I thought I might as well do what I almost never do and ask these communities for support.
    I hope they don't disappoint.

    I had this problem with my wife's iPad when I updated to 7.0.3 via OTA. It was easily fixed for me, and I assume it should work for everyone else.
    It appears that sometimes during installation of the OTA update to 7.0.3, it gets stuck in recovery half way through.
    You can connect it to iTunes and restore it, which will wipe it, OR you can download TinyUmbrella and kick it out of recovery. Once you do that, the installer should complete normally (it did for me).
    1) Download and install TinyUmbrella for your PC/Mac.
    2) Make sure iTunes isn't running and connect your device via USB.
    3) Open up TinyUmbrella. Your device should show up on the left. Click on it and then choose "exit recovery".
    4) Profit.

  • IPhone 3gs wont turn back on once it goes into sleep mode!

    2 days ago my iPhone 3gs (OS 6.0.1) has gone completely wacko on me and i'm completely frustrated!   I have my phone set to have the screen shut off after 5 minutes.  Usually, to just reaccess the phone I just simply hit the home button.  Now, if I let it go into sleep mode, the phone WILL NOT come back on!  I went online and did some research, and it suggested holding the home button and the sleep button for 10 seconds to get it to come back on.  It works most times, but sometimes it takes a few tries to get it to come back on, and when it does come back on it takes forever to load up.  But the whole thing happens all over again when it goes into sleep mode.  My phone is fine as long as I set it to never go into sleep mode, but it is killing my battery.  I need to be able to put it into sleep mode as I have to be able to go all day without charging it at my job.  PLEASE help...I don't know what's going on with it.  I have never done anything to it (jailbreaking, illegal stuff, etc.) and I do all the updates that it asks to do.
    Please please help!
    Jennifer.

    If you actually see a "6" error code, here's what it means.  Disable your anti-virus and/or firewall.
    Errors related to third-party security software
    Error 2, 4 (or -4), 6, 1000, 9006
    Follow Troubleshooting security software. Often, uninstalling third-party security software will resolve these errors.
    There may be third-party software that modifies your default packet size in Windows by inserting a TcpWindowSize entry into your registry. Your default packet size being set incorrectly can cause these errors. Contact the manufacturer of the software that installed the packet size modification for assistance or follow this article by Microsoft: How to reset Internet Protocol (TCP/IP).
    Verify that access to ports 80 and 443 are allowed on your network.
    Verify that communication to albert.apple.com or photos.apple.com is not blocked by a firewall, or other Internet security setting.
    Discard the .ipsw file, open iTunes and attempt to download the update again. See the steps underAdvanced Steps > Rename, move, or delete the iOS software file (.ipsw) below for file locations.
    Restore your device while connected to a different network.
    Restore using a different computer.

  • Got a replacement Ipod Touch 3rd Generation and backed up to store version on computer and now it will not work. Goes into restore mode but cant restore. Any suggestions?

    Got a replacement Ipod Touch 3rd Generation and backed up to store version on computer and now it will not work. Goes into restore mode but cant restore. Any suggestions

    What happens when you try to restore? Error message?

  • Apple tv loses home sharing when my computer goes into sleep mode

    Just recently, my Apple TV says that home sharing is off when my computer goes into sleep mode.  It never used to do that - any suggestions?

    I have the same problem here. Always back-ed up with Time Machine (OSX 10.9 Mavericks) to Western Digital drives. MyBooks, MyPassport 1TB (USB 3.0), all works fine. Time Machine is actually doing back-ups overnight. Since I got this new 2TB MyPassport Ultra USB 3.0 it's working perfect during days, but every morning when I wake up the MacBook from sleep, I get this annoying error:
    Time Machine couldn’t complete the backup to “MyPassportUltra”.
    Unable to complete backup. An error occurred while creating the backup folder.
    Latest successful backup: Today, 02:27 am
    I'm also not able to write anything to that drive, or unmount it. It stil shows up in Finder, and I'm able to read all the data perfectly fine. When I do a Disk Utility Verify Disk directly after, I get this:
    Checking volume
    disk3s2: Scan for Volume Headers
    Invalid Volume Header @ 0: I/O error
    Invalid Volume Header @ 2000021315072: I/O error
    disk3s2 is not a CoreStorage volume
    Error: This disk needs to be repaired. Click Repair Disk.
    I don't click Repair Disk, as this will probably screw up my partition. Instead, I have to unplug the USB cable (which is bad for the drive, there's no time to park the drive's heads) and plug it in again. After clicking Backup Now, Time Machine immediately starts backing up, and the drive works fine the rest of the day.
    I contacted WD Support, and they are sending me a booster USB cable. As System Information reports, the drive receives enough power though:
    Current Available (mA):          900
    Current Required (mA):          224
    Unfortunately there's no firmware update for this drive, which will probably fix this. See this topic: https://discussions.apple.com/thread/4196704.

  • EM Is going into busy mode

    Hi All,
    When I am running some java code inside EM, it is going into busy mode and it is kept in busy mode for 30-40 mins. I see some output inside command prompt of soa_server1, but I dont see any bpel instance inside em. The em is keeping busy for 30-40 mins and atlast it is showing me that instance is completed, but I cant view any bpel instance inside Instance ID. Any help would be appreciated. The error I am getting is
    [STUCK] ExecuteThread: '6' for queue: 'weblogic.kernel.Default (self-tuning)' has been busy for "658" seconds working on the request "weblogic.servlet.internal.ServletRequestImpl@5b09a758[
    POST /soa-infra/services/default/Testing468/agilesyncprocess_client_ep HTTP/1.1
    Connection: TE
    TE: trailers, deflate, gzip, compress
    User-Agent: Oracle HTTPClient Version 10h
    d
    Accept-Encoding: gzip, x-gzip, compress, x-compress
    ECID-Context: 1.7f609fcf6659261c:3981845c:13bfc040b4f:-8000-00000000000001ea;kYjE
    Content-type: text/xml; charset=UTF-8
    Content-Length: 286
    which is more than the configured time (StuckThreadMaxTime) of "600" seconds. Stack trace:
         java.lang.Object.wait(Native Method)
         weblogic.transaction.internal.ServerTransactionImpl.globalRetryRollback(ServerTransactionImpl.java:3133)
         weblogic.transaction.internal.ServerTransactionImpl.globalRollback(ServerTransactionImpl.java:2872)
         weblogic.transaction.internal.ServerTransactionImpl.internalRollback(ServerTransactionImpl.java:409)
         weblogic.transaction.internal.ServerTransactionImpl.rollback(ServerTransactionImpl.java:387)
         weblogic.ejb.container.internal.BaseLocalObject.postInvoke1(BaseLocalObject.java:570)
         weblogic.ejb.container.internal.BaseLocalObject.__WL_postInvokeTxRetry(BaseLocalObject.java:455)
    Thanks,
    Kamesh.

    Ok, the issue is because of delay in response. Agile server is failing to give response to soa server as both are hosted on weblogic server cluster.
    The solution for this is
    1. Take backup of startAgile.cmd (for Windows) or startAgile.sh (for Linux), and open the file with text editor
    2. Add option "-Djavax.xml.transform.TransformerFactory=com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl" before "weblogic.Server".
    3. Stop WebLogic server
    4. Clear the Weblogic temporary deployment folder <Agile home>/agileDomain/server/-AgileServer/tmp
    5. Restart WebLogic.
    6. Log into WebLogic admin console and confirm that the error is gone now.
    Thanks,

  • RBDAPP01 going into SLEEP Mode and Idocs still in 64 status

    Hey all,
          I have a Inbound Idoc interface which is being processed using RBDAPP01 Program. The Issue I am facing is that the job running the rbdapp01 program goes into sleep mode even though there are idocs present in 64 status. I tried to debug the work process using SM66 but it does not open any debugging window although it says debugging started. If I cancel the Job and run it again it processes those Idocs Any input on how one can resolve this issue?
    Thanks.

    Hi Aparna,
    Here is extract from SAP material on running RBDAPP01 transaction and possible reasons for delay in processing. HOpe this can help you.
    To automate the treatment of IDocs, you must run the ABAP program RBDAPP01 (transaction BD20) in job. This program has a very good option for parallel processing which can reduce a lot the time required for treatment. However use it carefully and make sure you set a packetsize high enough to avoid that your SAP system be overwhelm by demands for available dialog tasks (don't forget one dialog task is monopolized per IDocs packed to treat).
    Best Regards,
    Krishna

  • Unable to view invoices and going into enter mode.

    Dear all,
    Under the Receivables Inquiry responsibility in the AR transaction forms (view invoice).
    Unable to view invoices and going into enter mode.
    Please help to debug this issue.
    Thanks for your help in advance.
    With Regards,
    Sunil Kumar Mallina.

    Please post the details of the application release, database version and OS.
    Under the Receivables Inquiry responsibility in the AR transaction forms (view invoice).
    Unable to view invoices and going into enter mode. Was this working before? If yes, any changes have been done recently?
    Do you get any error? Please elaborate more.
    Thanks,
    Hussein

  • My Iphone 4s goes into recovery mode after doing the IOS 6 update.

    I just tried doing the IOS6 update and after about 2hrs into it my phone goes into recovery mode. The Itunes icon appeared on the phone. When i connected it to Itunes, I tunes said i had to restore and update my phone.
    BTW my son did the update in about 15 minutes i tunes says my phone will take 7 HOURS!!!
    HELP!!!!

    Hi guyz just fixed mine just now, I used an app named iREB please refer to the below link. Make sure youre iphone is plugged in to your USB then launch the app as admin. As soon as the app is running go to the "Recovery Mode Loop Fixer" tab & hit the "Set Auto-Boot True (Fixes 1015 errors / Recovery Loops). It will restart your iPhone in just a moment & get you back to your homescreen.
    I hope this will help those whos undergoing this horrifying iPhone problem.
    Just additional info.
    Issue: Sticked with USB & Itunes Logo during upgrade attempt to iOS 6.0
    Iphone 4S (iOS 5.1.1.(9B206)
    32 GB
    Official Factory Unlock
    PC-Win 7 Home Premium 64bit
    iREB Download Link:
    http://www.yourtechinfo.com/2012/05/how-to-fix-recovery-mode-loop-or-itunes.html #Downloads:
    Message was edited by: johnsawan79

  • When the system goes into sleep mode it keeps making a beeping noise. The system is shut down by holding the button in

    When the system goes into sleep mode it keeps making a beeping noise. The system is shut down by holding the button in
    and will then boot up again without any errors.
    I Have replace RAMS, Motherboard and Power Supply. I have check the Bio's  and Power setting on the unit. there is no place to cause this issue.
    Please help
    PC Power Tech

    Syamak,
    You didn’t specify where the beeping noise is coming from. 
    If it’s coming through your speakers, you could try to update your audio drivers since it’s possible they’re incorrectly sending a signal to the speakers as the audio chipset enters standby. 
    If the noise is coming from the motherboard, you’ll need to take a closer look at your system’s configuration or contact the manufacturer.
    I hope this helps.
    Mike
    Windows Outreach Team – IT Pro

  • Why does CC start verification process every time I open it? It even starts asking for license key and sometimes goes into trial mode.

    When ever I open Adobe CC it starts verification process and asks for Serial No. And then goes into trial mode. I have to open it several times for it to run in proper licensed mode.

    Sign in, activation, or connection errors | CC, CS6, CS5.5
    Mylenium

Maybe you are looking for