Customer Exit variable and Filter routine in DTP does not works?

Hello Experts,
Does anyone know what might be the possible reason - A customer exit variable working fine on the OLAP side does not work in a DTP??
I have also tried to use the Filter routine, which does not give me the right results..I am trying to fetch a Fiscalyear period maintained in an infoObject as follows in my Filter routine..
ata: sel_period like /BIC/PZPARAM-/BIC/ZPARAMVAL.
DATA: zperiod type /BI0/OIFISCPER.
          SELECT SINGLE /BIC/ZPARAMVAL INTO sel_period
          FROM /BIC/PZPARAM
          WHERE /BIC/ZPARAM = 'ZPCA'
          AND objvers = 'A'.
          zperiod = sel_period.
data: l_idx like sy-tabix.
          read table l_t_range with key
               fieldname = 'FISCPER'.
          l_idx = sy-tabix.
          l_t_range-iobjnm = '0FISCPER'.
          l_t_range-fieldname = 'FISCPER'.
          l_t_range-sign = 'I'.
          l_t_range-option = 'EQ'.
          l_t_range-low = zperiod.
          if l_idx <> 0.
            modify l_t_range index l_idx.
          else.
            append l_t_range.
          endif.
          p_subrc = 0.
Please let me know if I am making any mistakes above..
Kind Regards,
Kadriks

Hi
1.  CLEAR l_t_range-high. is missing in your code befor assigning values to l_t_range.
2. use simple append l_t_range after the l_t_range asisgnments. remove below code :
if l_idx 0.
modify l_t_range index l_idx.
else.
append l_t_range.
endif.
p_subrc = 0.
3. I dont think you need to assign infoobject.
4. Clear sel_period and zperiod is also missing
Hence your code should be  :
data: l_idx like sy-tabix.
read table l_t_range with key
fieldname = 'FISCPER'.
CLEAR l_t_range-high.
l_idx = sy-tabix.
l_t_range-fieldname = 'FISCPER'.
l_t_range-sign = 'I'.
l_t_range-option = 'EQ'.
l_t_range-low = zperiod.
append l_t_range .

Similar Messages

  • Customer Exit Variable and Condition in a Query (Sequence of Execution)

    Hi,
      For a query i defined a Customer exit variable and a condition....
    Which will first execute...wether it is a  Variable and then Condition or vise versa
    Is there any way we can control sequence of execution
    My requirment is first to execute the condition and the variable how can i control this
    Thanks

    Hi
    In your customer exit you will be having a field by name I_STEP which will help you to handle the time of execution of the variable.
    Assign points if helpful
    Prathish

  • I have recently upgraded my iMac Intel G5 iSight to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old sys parts

    I have recently upgraded my iMac Intel G5 iSight (iMac5,1) to OS 10.6.8 and now the internal mic does not work with skype or facebook. I can here static when playing back clips. Do I need to update firmware or reload old system parts. I have zapped PRAM. The blue indicator in system audio panel will appear for a second as I slide the bar for internal mic but then it disappears. Is there a fix?

    The sound seems very faint but can here static on playback.

  • My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reloading software and reset to original factory settings.

    My daughter down loaded the new 6.0 software and now her home button does not work.  Tried reseting to original settings and reset the operating software.  Any ideas?

    Try:
    fix for Home button
    Fix a broken, unresponsive or sticky iPhone Home Button
    - If you have iOS 5 and later you can turn on Assistive Touch it add the Home and other buttons to the iPods screen. Settings>General>Accessibility>Assistive Touch
    - If not under warranty Apple will exchange your iPod for a refurbished one for:
    Apple - Support - iPod - Repair pricing
    - There are third-party places like the following that will repair the Home button. Google for more.
    iPhone Repair, Service & Parts: iPod Touch, iPad, MacBook Pro Screens

  • I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    I just upgraded to the New OS on my Mac Book Pro and now my trackpad does not zoom in or out.  I looked at system settings on trackpad and it is set, but does not work How do I get it started?

    This is really unfortunate. I'm sorry that nothing works. I was going to mention holding down the power button and doing a force shutdown but you already did that. You might need to take it into the Apple store. I don't know if booting into safe mode would help. You would have to turn off the machine again, hit the start button and hold down the shift key after you hear the tone, but normally you would let go of the shift key when you see the apple logo and spining wheel. Maybe by holding down the shift key after you here the tone will cause the screen to come back on? The other option is to start up from the 'install disk' if your machine came with one. You would insert the disk, then shut down the computer, and hold down the C key right after hitting the start button.
    Here's the link for the safeboot
    http://support.apple.com/kb/HT1564?viewlocale=nl_nl

  • Can't get to settings to turn on wifi because "sign in to icloud" pops up and asks for pw which does not work because i can't get to wifi  ?p

    can't get to settings to turn on wifi because "sign in to icloud" pops up and asks for pw which does not work because i can't get to wifi  ?

    The problem is I cannot turn on wireless setting.  The "sign in to icloud  -- enter appleid password" popup will not go away. when i enter the pw and click ok, the same balloon pops up again.  If I click "cancel" it pops again. Since I am not on the internet (because I cannot turn the ipad wireless on) the sign in to icloud obviously will not work.  Vicious circle.

  • Ipad displays "ipad is disabled connect to itunes", I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?

    Ipad displays “ipad is disabled connect to itunes”, I have tried putting the ipad into recovery mode and then restoring but that does not work. I have also tried doing a hard reset of the ipad and that does not work either. Any ideas?
    My son let one of his friends use his ipad. The next time he tired to use it he could not get it unlocked, I tired to unlock it but it kept telling me that I had the wrong pass code. With out me knowing my son continued to tire until it completely disabled it self.

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    You may have to do this several times.
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just canceling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • HT5594 I upgraded to iOS 7 and my location service button does not work.  How can I turn it back on?

    I upgraded to iOS 7 and my location service button does not work.  How can I turn it back on?

    Settings>General>Restrictions>Privacy>Location Services. Have you restricted it?

  • Downloaded ios7 to my iphone4s and now my volume control does not work 99 % of the time. what can i do to solve the problem

    I downloaded ios7 to my iphone and now my volume control does not work 99% of the time. Is there something I need to do to correct this?

    Adjust the Volume Control in Control Center, or try a RESET.............

  • I generated a new Itunes Account and now the App sync. does not work with theapps I bought with the old account. Is it possible to merge the old and the new account ?

    I generated a new Itunes Account and now the App sync. does not work with the apps I bought with the old account. Is it possible to merge the old and the new account ?

    It is not possible to merge Apple IDs. 
    Why did you create a new one?

  • I just upgraded to the maverick and, of course, the iPhoto does not work with it.  How do I upgrade to version 11?  I cannot find it anywhere

    Recently upgraded to Maverick and the version of iphoto does not work with it.  How do I get and download the version 11?    I can't find it anywhere

    Which iPhoto? 9.4.6  and 9.5.1 work here.
    FWIW, iLife '11 is available here: http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES

  • My ipod does not appear in itunes. what can i do? i installed and desinstalled intunes but it does not work, my ipod does not appear in itunes. what can i do? i installed and desinstalled intunes but it does not work

    my ipod does not appear in itunes. what can i do? i installed and desinstalled intunes but it does not work, my ipod does not appear in itunes. what can i do? i installed and desinstalled intunes but it does not work

    iOS: Device not Recognized in iTunes for Windows

  • I am actually using a free trial of photoshop cc and the contact sheet option does not work-?

    i am actually using a free trial of photoshop cc and the contact sheet option does not work...

    Hi dmomoney24  ,
    Kindly refer : CC desktop lists applications as "Up to Date" when not installed.
    Please revert if the problem persists.
    Thanks,
    Atul Saini

  • How do I close programs in IOS7.  The old way with double tapping the button and getting the red X does not work.  Even rebooting the phone does not work.

    How do I close programs with IOS 7?  The old way of closing programs by double tapping on the button, holding down an icon until it started shaking and a red X appears does not work.  Every program I opened appears.  Turning on and off the phone does nopt work.

    I just found out.  Above the icon is a copy of the open page of the program(s).  You slide the pages up to close.

  • Updated to IOS 7.1 and now my "Call Waiting" does not work, nor will the "Call Waiting" indicator stay on..... Any help?

    Updated to IOS 7.1 and now my "Call Waiting" does not work, nor will the "Call Waiting" indicator stay on..... Any help?

    Settings > General > Reset > Reset Network Settings

Maybe you are looking for

  • Validador GRC SP17 não está funcionando corretamente para XML 3.10

    Caros, Recentemente subimos o SP17 no GRC (SAPK-90017INSLLNFE) e também implementamos as notas para nota versão do XML 3.10 no ERP (1933985 - NF-e new layout 3.10 e seus pré-requisitos). O XML está sendo gerado corretamente, mas nos casos em que algu

  • Multiple page form to email with sessions doesn't send mail

    I am creating a multiple page form where a user can apply for finance. I am trying to use session to keep the user input values and then the last page sent the application by email. My problem is the last step where it doen't send the email. I'm not

  • Error when create DGMGRL configuration.

    When I add database standby in my configuration I receive this error message : DGMGRL> add database pij10g2 as connect identifier is pij10g2 maintained as physical;Error: ORA-16796: one or more properties could not be imported from the database Faile

  • Preview doesn't close file when app is "closed"

    Try this on Mountain Lion (any version): 1. Open a JPEG or PDF file in Preview, view the file (make sure it's a scratch file that you dont mind deleting). 2. Quit Preview. 3. Drag the just-viewed JPEG or PDF to the Trash. 4. Empty the Trash At step 4

  • How to transfer purchased aps to new macbook

    I have an ipod and an ipad and i just bought a macbook and would like the aps i bought previously to be on my macbook as well. How do I do that? Thanks!