How do I use the Exclude in the customer exit

I have to create a customer variable which will be passed back to the program and used for an exclusion.  the user enters company codes and this passes into the user exit.  In the exit i need to just place and S in from of then and these need to be used to exclude data.  I tried restricting the variable in the query but it doesn't allow me to exclude.  How do i accomplish this?

Hi MICK,
  If you want to write code in customer exit and exclude some values for the variable in query,note the following things
-  l_s_range-sign = 'E'.
   Here 'E' means exclude
- Create the variable with OPTIONAL
  Otherwise your customer exit won't work
Hope this helps.
Assign points if helpful
Regards,
Aaron Wang

Similar Messages

  • How to find out the customer exit and sap exit variables created provider?

    Hi all,
    How to identify what are all the customer exit and sap exit variables are been created for an info provider. is there any tables which allow us to find out.
    thanxs
    haritha

    Hello haritha,
           SAP Exit and Customer Exit variables are created for  Characteristics and not for individual InfoProviders.
    So whenever the characteristic is used in the InfoProvider, by selection the appropriate variable the exit can be called.
    So the same Exit can be in one or more InfoProviders.
    Hope it helps.
    Thanks,
    Chandran

  • Trying to use the customer exit to retrieve prior year dates HELP

    i have the code below where i want to return a to & from date of the prior period.  the "TO" date is always the 1st of the month of the day they entered - 1 to get prior year.  when i debug they are populated but I get an error when i run the query sayin gthe enhancement has errors. 
    CASE I_VNAM.
      WHEN 'ZD_TOFROMDATEPRIOR'.
        IF i_step = 2.
          loop at  I_T_VAR_RANGE INTO Loc_Var_Range
          where vnam = 'ZD_DATEENTERED'.
            Clear L_S_Range.
            L_S_Range-low0(4) = Loc_Var_Range-low0(4) - 1.
            CONCATENATE L_S_Range-low0(4) loc_var_range-low4(2) '01' INTO L_S_RANGE-low.
       CONCATENATE L_S_Range-low0(4) loc_var_range-low4(2) loc_var_range-low+6(2) INTO l_s_range-high.
         l_s_range-high = loc_var_range-low+4(4).
            L_S_RANGE-sign = 'I'.
            L_S_RANGE-opt = 'BT'.
            APPEND L_S_Range TO E_T_RANGE.
          endloop.
        ENDIF.
    ENDCASE.

    In case you haven't considered it, there is an easier way to accomplish this.
    Since you are ignoring the day anyway, change your query to prompt for Calendar Month/Year or Fiscal Year/Period instead of prompting for a date range, then use variable offset of "-12" on first entry ("From") to get prior year's data.
    Alternatively, you could use the current date range variable with an offset of "-365", but it doesn't sound like that would be good enough in your case.
    Hope this helps...
    Bob

  • How can I use the custom new image size presets also when I resize an image

    Hi there,
    I have created some new image presets at various sizes, and I have saved these presets.
    They appear when I create a new image.
    How can I get these preset sizes to also appear when I re-size an image ?
    The presets for new images seems to be stored in a different way to the re-size image presets, as the re-size image presets are empty.
    Many thanks
    Mark
    Photoshop CS6

    Here is what I tried to do, I used a AutoBthreshold2 and I didn't set a value to it. The image is attached below and the template. Thank you.
    Here is the error.
    Attachments:
    pattern.vi ‏51 KB
    template.jpg ‏1 KB
    bb.jpg ‏350 KB

  • How to find out the customer exit name

    Hi Friends:
    I've an include ZCAXXI_USEREXIT_F05. How can I find that in which exit this include is present. Is there any table? Also where from I can find the name of the project once I find the exit name.
    Suitable points will be rewarded.
    Regards:
    Gaurav

    Hi,
    Go to se38 and give your include name. Click on where used list (CTrlshiftf3). Then you will get the main program. From the main program you will get the function module exit.
    If you know the exit name then follow the below steps to get the project:
    Go to se11>enetr 'Modsap' table name>give your function module eg EXIT_SAPLCOZF_001 in the member field then you will get the Enhancement i.e COZF0001 For that.
    Then Go to se11-->modact -->here in memeber field enter COZF0001 then you will get the project name(if a project is there for that enhancement)
    Reward points if useful.
    Regards,
    Soumya.
    Edited by: Soumya Jose on May 26, 2008 1:36 PM

  • How do I use the Japanese fonts in Font Book in a Pages document?

    How does one use the Japanese fonts in Font Book in a Pages document. Pages has its own fonts but I cannot get the Japanese fonts into it.

    To type japanese on a computer you change the keyboard, not the font.  Go to system prefs/keyboard/input sources and add Japanese/Kotoeri to the list, then select Hiragana in the "flag" menu at the top right of the screen, then type.  The font will take care of itself.
    http://redcocoon.org/cab/mysoft.html
    If you have any further questions, just ask.

  • How do I use the web cam on my pc? Hp w2007 I have windows vista

    How do I use the web cam on my pc?  Hp w2007 I have windows vista

    Hp w2007 is a HP monitor without webcam ...
    Where is the webcam?
    V.
    *** Say 'Thanks' with Kudos ***

  • How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    How do I use the time capsule to share itunes music between multiple apple devices? Also, is it possible to control the music on one device using another, and how do you set this up?

    unless i'm missing something, i think you got mixed up, this is easy google for walk throughs
    i'm assuming this is the new 3tb tc AC or 'tower' shape, if so, its wifi will run circles around your at&t device
    unplug the at&t box for a minute and plug it back in
    factory reset your tc - unplug it, hold down reset and keep holding while you plug it back in - only release reset when amber light flashes in 10-20s
    connect the tc to your at&t box via eth in the wan port, wait 1 minute, open airport utility look in 'other wifi devices' to setup the tc
    create a new wifi network (give it a different name than your at&t one) and put the tc in bridge mode (it may do this automatically for you, but you should double check) under the 'network' tab
    login to your at&t router and disable wifi on it
    add new clients to the new wifi network, and point your Macs to the time machine for backups

  • How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    How can I use the old Apple TV with new iTunes?  It tells me to input a code in iTunes but iTunes no longer has a spot to input this code to allow sync.  I can access the iTunes Store fine, just none of my Library

    read this
    https://discussions.apple.com/message/20429789#20429789

  • How do I use the cookie cutter tool?

    I have a lot of questions to ask on how to use this program. I have Adobe Photoshop Elements 8, and I can't seem to get the tools to work. I click things on and nothing happens or I get a buzz indicating that whatever it is I want to do, I can't. I went to the cookie cutter tool and clicked that on. I figured out how to pick a shape, but then what? No matter what I clicked, nothing happened. How do I get it to work? I have a book called 'Teach Yourself Visually Adobe Photoshop Elements 8' and the pages are very clear, but whatever options are given in the book, I can't find in my program. I am sure part of the problem is that i have this program on a Mac. Maybe the Mac version doesn't work like the PC version. I can't seem to find any directions for this. I clicked on help and it brought me to a web page for Mac Photoshop Elements 8, and I did a search for 'cookie cutter' and nothing came up. I also looked at all the options available for help and didn't see any 'cookie cutter' tool instructions. How can I learn how to use this software? Thanks for any help.

    I don't remember what the directions were yesterday, when I was experimenting with Photoshop, but I believe that the directions told me to use the custom shape tool, but I couldn't find it. It said to click on the rectangle, and a menu would come up, but no menu came up. So I thought I would just experiment and click on 'cookie cutter' and see what would happen when I clicked on it. I tried using some keyboard shortcuts to see what would happen (just trying to figure out how to get something to work) and at the web site for Photoshop for Mac, it said to click 'Q' (I can remember what was supposed to happen), but I clicked 'Command' and 'Q' at the same time and it closed the program! The web site didn't say which other key to use with the Q, and nothing happened when I just clicked the Q. Another thing I was trying to do was to make something in Photoshop (this was on another web site) and I had to go to 'window' then the next step was to go to 'channel' and click it on. I went to window and there was no 'channel' in the drop down menu. There were other options, but no 'channel'.

  • How do I use the adjustment brush to mask and not turn my item green?

    I have shot some products for my web site.  I need completely white backgrounds. I have tried to mask the product and lighten the whites, but when I click done, my product has turned very green.
    Why?  How do you use the brush?  Also, where is the invert to make this easier on me?
    Kind of urgent, I need to get these items on my site already.
    I know the answer is simple... I just don't know what it is.
    Thanks

    Have you tried without the adjustment brush, by simply adjusting white balance from the basic tab in develop?
    Click on the eye dropper tool and then click on a neutral gray color. Use the background if it is neutral rather than white. You may need to keep selecting the eye dropper to click in a few different places for best results.
    If you decide to use the adjustment brush you can show or hide the mask. Uncheck the mask when you have finished painting; then use the sliders, starting with tint and temperature.

  • HT4241 How do I use the mini deplayport to hdmi

    How do I use the mini displayport to hdmi on my tv?

    You use something like this:
    http://www.amazon.com/Mini-DisplayPort-HDMI-Adapter-Cable/dp/B003OC6LWM/ref=sr_1 _1?ie=UTF8&qid=1365115124&sr=8-1&keywords=minidisplay+port+hdmi
    Ciao.

  • HT201178 How do I use the wireless keyboard to edit my iPhone contacts?

    How do I use the wireless keyboard to edit my iPhone contacts?

    Type in the field for first name, last name etc. When you're ready to go to the next field, hit enter/return.

  • I'm running Pages version 5.2 on a Desktop Mac version 10.9.2. with the Pages app open how do I use the Time Machine to go back five hours to see the work?

    I'm running Pages version 5.2 on a Desktop Mac version 10.9.2. With the Pages app open how do I use the Time Machine to go back five hours to see my page? Can I access Time Machine within an app like Pages? How do I enter Time Machine within the application? It always takes me to the Finder. I apolgise for the mumbo jumbo. I simply do not know how to use Time Machine. It makes sense when I follow the Tutorial but then I lose it.

    OK. You've kind of skipped over the reason why you want to go back five hours, but my assumption would be that you've made changes to a Pages file that you want to revert.
    There are two ways to tackle this. From Pages itself, open the current version of your document, and from the File menu, click Revert To, and Browse All Versions. You'll then be in the Time Machine interface for that file, and can browse back to the version you want.
    Or, outside of Pages, you can select the file (or the folder it was originally in, if you've since deleted it) and enter Time Machine from the TM menu (it sounds like you've already tried this?)
    best
    Matt

  • How can I use the print module to print different size images on one large "canvas"?

    How can I use the print module to print different size images on one large "canvas"? An example would be in Photoshop, go to file>new, and create the size paper I want, and move images of different sizes onto it.
    I was thinking the print module would do this automatically for me.

    You can't, at present. It's been a requested feature, so we'll see if it shows up in a future version, but it's not there at present.

  • HT2492 How do I use the calculator widget in another window?

    How do I use the calculator widget in another window?  For ex: if I want to move the calculator to a window that shows prices of products on a web page.  I used to be able to click on the calculator and use it in another window, before I upgraded to OSX. What am i doing wrong?

    I think you have to bring it back up in widgets in a new window, you can set up a hot corner to make tis qciker

Maybe you are looking for