Offset in Wehere Clause on Left side not possible

Hi ,
  IF NOT i_vbrk[] IS INITIAL.
  SELECT bukrs belnr gjahr blart
         FROM bkpf
         INTO TABLE i_bkpf
         FOR ALL ENTRIES IN i_vbrk
         WHERE bukrs =  c_br1       AND
               gjahr = i_vbrk-fkdat+4(4) AND
               blart = c_cr         AND
               awtyp = c_vbrk       AND
               awkey = i_vbrk-vbeln.
endif.
In above select Statement  AWKEY is Char20 and i_vbrk-vbeln is Char10 so there is mismatch while comparing in Where Clause.
Actaully i have to take first 10 char of AWKEY  and have to compare with  i_vbrk-vbeln in WHERE Clause but on left side we can not write awkey+0(10) ....can you you suggest how to resolve this problem.
Thanks
Pramod

Hi PK,
You can easily solve this problem.
Do one thing.
Declare a variable
v_awkey Like bkpf-awkey.
before select stmt use this FM.
FUNCTION CONVERSION_EXIT_ALPHA_INPUT.
       IMPORTING
             INPUT   =  i_vbrk-vbeln
       EXPORTING
             OUTPUT = v_awkey.
IF NOT i_vbrk[] IS INITIAL.
SELECT bukrs belnr gjahr blart
FROM bkpf
INTO TABLE i_bkpf
FOR ALL ENTRIES IN i_vbrk
WHERE bukrs = c_br1 AND
gjahr = i_vbrk-fkdat+4(4) AND
blart = c_cr AND
awtyp = c_vbrk AND
awkey = v_awkey..
endif.
It will work then.
Reward if helpful.
Thanks
Azad.

Similar Messages

  • HP 8600 Pro - Mac Book Air - Scanning both sides - not possible??

    Hi,
    with my HP 8600 pro it is not possible to scan both sides via my Mac Book Air. I have installed the HP software, but this option is not available.
    Does anybody have an idea?
    greetz 

    Try scanning from your Mac. Use Image Capture app in your Applications folder.
    Click once on the scanner on the left side, then click on Show Details along the bottom. Along the right side you will see LOTS of options for scanning and saving.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Firefox crashed yesterday and today it opened with the scroll bar on the left side, not the right. How do I fix this?

    Firefox crashed last night as I was closing it down. Today, when I started up my laptop and opened firefox, the scroll bar was on the left. I'm not sure how to move it back to the right side of the page.

    RichTQ wrote:
    just yesterday i have lost connection with the Vodafone network.
    Have you contacted Vodafone ?

  • Left side not lighting up :(

    http://img.photobucket.com/albums/v353/spellcaster/IMG_9224.jpg
    i didn't drop it or anything.. but I've had this phone for almost a year.
    anyone have an idea?
    thank you! 

    Hello minivitale, 
    Welcome to the forums. 
    Try following the steps in this article to see if you are able to resolve your issue: http://bbry.lv/cKy9A0 If this does not work then it would appear to be a hardware issue and you will want to contact your wireless service provider or point of sale for repair options. 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • Equal Space between Menu Items and Drop Down Menü left aligned not possible?

    It seems like I can either have equal spacing between the horizontal menu items and the drop down menu will show up centered , or I say the menu items should be of equal size, and then drop down will be left aligned. Is there any way of having equal space AND left aligned drop down???? Thanks in advance!

    Hello Anjum,
    Thank you for reporting the issue. It seems to be a Bug and we have logged the same. Hopefully it will get fixed in coming releases.
    As of now we do not have any workaround for same. However once we have some workaround, we will definitely share it with you.
    Regards,
    Sachin

  • DataGrid scrollbar on left side.

    I know I have seen a topic about this somewhere but this
    forum has such a bad searchfunction that I cant find the answer...
    I have 2 DataGrids, 1 must have the vertical scrollbar on the
    right side (normal), and 1 must have the vertical scrollbar on the
    left side (not normal).
    I have tried everything I could think of. Help files didn't
    help, tutorials didn't help, looking through the UIScrollbar and
    DataGrid class files didn't help either.
    I'm stuck...
    If anyone knows how to do this, please share.
    p.s. the tricks that people use to get the scrollbar to the
    left in a "scrollpane" component do NOT work for
    DataGrids...

    Also tried:
    _root.myDG.vScroller._x = 0;
    _root.myDG.setHPosition(-15);
    didn't work... I also tried adding this:
    myDG.vScrollPolicy = "off"; (this removes the vertical
    scrollbar)
    and then adding an additional UIScrollbar component into the
    DataGrid... but even after configuring it correctly it will not
    interact with the DataGrid (perhaps it only works for textfields).
    Anyone?!?

  • Left Speaker NOt Working.

    Hi Team ,
    HP Pavilion g6-1312TU NB Left Side Not Working .

    Read over this document and it will walk you through the steps to test the speakers: No Sound from the Speakers (Windows 7) This will show you how to test the left and right speaker to make sure it is not faded. If it is not faded you will need to contact HP Support. 
    You can contact technical support at 800-474-6836. If you live outside the US/Canada Region please click the link below to get the support number for your region.
    http://www.hp.com/cgi-bin/hpsupport/index.pl
    Best of luck!
    Sean
    -------------How do I give Kudos? | How do I mark a post as Solved? --------------------------------------------------------

  • How do you convert arabic format to English format in InDesign so bullets are on the left side?

    I received a document from a client to work on that was created in InDesign with english format. For some reason, when they sent it to me the bullets were converted to arabic format, so they are on the left side not right. Is there an easy way to convert it back?

    You will likely get better program help in a program forum InDesign
    The Cloud forum is not about using individual programs
    The Cloud forum is about the Cloud as a delivery & install process
    If you will start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • I have an iPhone 4 and my lock button is jammed and I also can not touch anything on the left side of my screen well as any pop ups from the phone itself, so i can not get past the set up stage in reset process...how can i fix it/can it be fixed?

    I have an iPhone 4 and my lock button is jammed and I also can not touch anything on the left side of my screen well as any pop ups from the phone itself, so i can not get past the set up stage in reset process...how can i fix it/can it be fixed?

    Make an appointment at the genius bar and get the phone replaced.

  • I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    I put in my memory card to the left side of the computer, but I cannot find the file of pictures anywhere. Its not even on my desktop. What should I do and how can I get it to show up on my desktop?

    If your Mac is new-ish and has one of the Lions as its OS, the drives, cards, USB sticks no longer show up, even though they're there. Go to Finder's Preferences and tick the corresponding items in the General and Sidebar tabs.

  • Mozilla crashed yesterday and now bookmarks are not showing along the left side of page as they did before. They are on the menu bar but hubby does not like this location. Anyway I can get it back to the left side of the page?

    This spring we changed from IE to Mozilla after upgrading to Win 7. Everything has been fine with Firefox until yesterday when it crashed when I attempted to open an email. Since then the bookmarks (or favorites as my husband calls them) have not been in their usual place which was along the left side of the page. They are located in the Bookmarks bar at the top of the page but husband prefers the old IE way which we had until yesterday PM. Is there any way that we can get them back to the left side of the page other than going back to IE? Now that I have gotten used to Firefox I like it just fine.

    *You can open the Bookmarks in the sidebar via View > Sidebar > Bookmarks (Ctrl+B)
    *You can open the History in the sidebar via View > Sidebar > History (Ctrl+H)
    Press F10 or tap the Alt key to bring up the "Menu Bar" temporarily.
    You can find toolbar buttons to open the bookmarks (star) and the history (clock) in the sidebar in the toolbar palette and drag them on a toolbar.<br />
    Firefox 4 versions and later have two bookmark buttons with a star in the Customize window.<br />
    One star button has a drop marker that open a Bookmark menu.<br />
    The other star button without the drop marker opens the bookmarks in the sidebar.<br />
    *http://kb.mozillazine.org/Toolbar_customization
    *https://support.mozilla.com/kb/Back+and+forward+or+other+toolbar+items+are+missing

  • When I try to sync my iPhone with iTunes on my PC, a screen comes up that has the music square icons with music notes in the squares.  Not the home screen I am used to seeing that shows all categories on the left side.

    When I plug my iPhone into PC to sync, I am getting a screen with music squares with notes in the icon.  I was getting the iTunes home sync screen with the categories on the left side.  And it had options along the top as sync items.  It will sync, but I have no idea where the iTunes screen went. 
    I also will get an error message that says "iTunes could not back up the iPhone because the iPhone disconnected".  But, it does back up and it is connected.  Any ideas out there as to what is going on and how I could fix this?  Thanks. 

    The new iTunes has a somewhat different look from the previous version.  You can get the old look back if you prefer it by doing View > Show Sidebar in iTunes.  Or you can adapt to the new look.

  • I plugged my ipod in, and it is not being recognized in itunes, on the list on the left side. what do i do

    i plugged my ipod in, and it is not being recognized in itunes, on the list on the left side. what do i do

    Take it in for repair/replace to your local Apple retailer.

  • HT1547 My mac book pro is 3 yrs old and today while watching something on it, it got power off suddenly. And power button is not working, left side round button to battery is not working but when I plugg in to charge it, then this round button shows 4 gre

    I am having MacBook Pro 3 yrs old and today while I was watching some movie on it suddenly it got power off and when I am trying to start it, it's power button is not working even the round button on external left side is not showing battery lights. But when I connect it to chrger then Charger only gives green light and even the external round button only shown 4 green lights (if charger connected). I don't know what to do now

    Sounds like you need a #1SMC Reset
    1. SMC reset
    >>Instructions to reset SMC
    Disconnect other non-Apple and external hardware except (if applicable) a mouse and keyboard until your finished repairing your machine.
    Problems solved: Fans blowing with no activity, machine is not booting, power button pressed and nothing happens, problems with indicators, Magsafe has wrong lights, battery is not charging, monitor and graphics issues etc.  If the battery is not charged (from like letting it sleep too long), let the Mac charge up awhile afterwards.
    Will not hurt the machine resetting if it's not broken.
    Other related hardware problems (optional):
    Check battery status: Hold option/alt key down while clicking on the battery icon in the menu bar, top right corner.
    Magsafe: Use the correct/matching power supply charger with your Mac, not a less powered one from another Mac.
    Apple: Laptop won't power up   Apple: Computer won't power up  Troubleshooting optical drive
    Magsafe problems   Magsafe problems more

  • Where is the photo tab on itunes? My device is not listed on the left side of my screen and there is no photos tab on the right of my screen. I want to delete photo albums that were synced through itunes to my ipad 3.

    I synced several photo albums to my iPad 3  from my computer through iTunes. Now, I would like to remove them and have discovered that they cannot be removed except through using iTunes. Instructions that I've read say that once the device is connected to and selected from the list in iTunes, select the Photo Tab and then the folder that contains the photos etc.  I never get that far because I do not have a Photo Tab to select in iTunes. How do I find this illusive tab so that I can delete these albums that are merely duplications of other pictures and are just occupying space. I need to get rid of them. Can anyone help me find the photo tab. I cannot move past that step until I do. Also, my device is not listed on the left side as stated in the instructions. It's in the bar on the upper right area of my screen and is automatically selected when connected. I am using the current version 11.1 for iTunes and IOS 7 on my iPad 3, if that helps.

    I have the same problem on the latest iTunes software and Windows 7. My window is maximzed and I do not see any tab for photos. Seems related to a recent update (IOS7?) as this was there - at least before the very big change to the interface.

Maybe you are looking for