Hi, its about rutines in BW

Hi friends,  this is the scenario: i m filling an ODS but some InfoObjects i m getting them througt rutines by its tables, i wanna get CERTIF_YR  and i have 0UCCONTRACT in my ODS  my question is: when i try to connect fields trhought rutines they must be key fields in its tables? this is my code to try to explain better my situation
TABLES:   /bi0/puc_device, /bi0/puccontract, /bi0/muc_devinst.                                                                               
DATA:
          lv_ucinstalla LIKE  /bi0/puccontract-ucinstalla,
          lv_uclogicnr LIKE   /bi0/muc_devinst-uclogicnr,
          lv_certif_yr LIKE   /bi0/puc_device-certif_yr.
  SELECT SINGLE ucinstalla INTO lv_ucinstalla
         FROM /bi0/puccontract
         WHERE
         uccontract = COMM_STRUCTURE-uccontract  AND
         objvers = 'A'.
  SELECT SINGLE uclogicnr INTO lv_uclogicnr
          FROM /bi0/muc_devinst
          WHERE
          uc_devinst = lv_ucinstalla    AND
         objvers  = 'A'.
                                                                                SELECT SINGLE  certif_yr INTO lv_certif_yr
          FROM /bi0/puc_device
          WHERE
          uclogicnr = lv_uclogicnr  AND objvers= 'A'.  //// here its the problem , said E:Field "UCLOGICNR" unknown / but UCLOGICNR exist in /bi0/puc_device but is not a key field in the table.
result value of the routine
  RETURNCODE=0.
  RESULT = lv_certif_yr.

Hi,
they don'T have to be key fileds, but for performance aspects you should read the values with their keys. OTherwise please add an index or store the information in an internal table and use read table instead. Specially if your ODS is big with many thousands or millions of records this can be a performance issue.
Your field UCLOGICNR may be /bic/uclogicnr instead if its a customer infoobject in your code or you missed an underscore: UC_LOGICNR instead.
Regards,
juergen

Similar Messages

  • Its about 6h that osx mountain lion is downloading why?

    hi,
    Its about 6h that osx mountain lion is downloading with out any progress.Can U tell me Y?What if i shot down or lose my connection?

    Go to the Purchases Tab in App Store and make sure it is not Paused. If it is, click on Resume.

  • I am having problems with the InDesign it won't download it keeps saying extract when its about 30% then it says failed. How can i get it to download all the way?

    I am having problems with the InDesign it won't download it keeps saying extract when its about 30% then it says failed. How can i get it to download all the way?

    Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new).  Try each of these in order until the issue is resolved.

  • I tried to reset my iphone5, the reset loading was okay, but after that there is other loading(the one that come everytime after shutting down), so its about 6-7 hours that my phone is stuck on this page. force shutdown didnt work.

    I tried to reset my iphone5, the reset loading was okay, but after that there is other loading(the one that come everytime after shutting down), so its about 6-7 hours that my phone is stuck on this page. force shutdown didnt work.

    There are many ways to do a reset on an iPhone so which one have you been trying that has got you to where you are now?

  • When is apple TV going have more UK content, i have no interest in American Foot Ball, its about apple got some you content provider partners BBC, SKy

    When is apple TV going have more UK content, i have no interest in American Foot Ball or other related US stuff (We have our sports here in the UK and Europe) its about time apple got some UK content provider partners BBC, SKY, or others. All the others in the market place are, Why can't you?

    Mikey'Tok'Ra wrote:
    The SKY player is available to anyone regardless of having a SKY box in the house or not.  I don't have SKY installed but I can subscribe to the SKY player to watch content or live streaming via the player which I then connect my Macbook Pro to my tv to watch Stargate Universe as it is on Sky 1.
    If this function could be added to the Apple TV, then as you would imagine, would rock a lot of peoples world.
    You can also use the Sky player to take advantage of "multi room" with out taking a second box.  You still pay the £10 a month sub. charge but don't pay for any extra equipment which in turn makes it more profitable for Sky.
    Sky don't want you doing that though, they want to get you into a subscription with a set-top box.
    The Sky player app is for mobile use and i very much doubt Sky would be interested in give you content on the TV without using their STB.
    The content owner is king at the moment and only they will device how to make their content available. Just look at the legal issues in the US with the various mobile TV apps appearing and having channels removed.

  • Airport loses internet connection more often now.  Have to reboot.  Its about 3-4 years old now.  Is there something I can do?

    Airport loses internet connection more often now.  Have to reboot.  Its about 3-4 years old now.  Is there something I can do?

    If your problem is due to interference, you might be able to improve things by changing the channel.  An AirPort base station that old is probably an 802.11b/g model, which suggests that the best choices for channel are 1, 6, and 11.

  • Does any1 know what generation an ipod touch is if its about 2-3 yrs old??

    a friend of mine is giving us her old ipod touch but she cant remember what generation it is she said shes had from new about 2-3 yrs ago can u help?? also if i were to restore it would i have a problem downloaded the new iOS update on it or is it not compatible cos its so old? please help

    look it up yourself:
    Identifying iPod models

  • I NEED HELP QUICK! Its about SYSTEM PREFRENCES!!! :O

    Well i downloaded a dock app the last week (btw im a mac newbie) anyway i downloaded and didnt want it. So i found it and deleted it. Not knowing i had deleted the wrong one and i only found out the other day that i had deleted it because i clicked dock prefrences through my dock and said it was unavailable. :/
    PLEASE HELP MEE!!!
    Btw its the dock Prefrences on the system prefrences :S

    Hi again,
    are you actually missing the 'Dock'  pane? (it's name is "Preference Pane")
    Do you have another Mac around? You can copy the Dock pane from the other Mac. Here is where you find it:
    Go to: My Hard Drive/System/Library/PreferencePanes ➞ Dock.prefPane.
    Copy that to your Stick, plug-in to your Mini & copy to exact the same place you got it from other Mac (in reverse).
    If you can't do that then only way to get it back is to re-install your OS from your 'Mac OS X Install' DVD…
    Don't worry, you will not loose anything when you install the OS over existing on Mini - it will leave your Applications & everything else intact.
    This should take about 30 minutes - but you have to have the the original DVDs &/or full upgrade DVD to do that.
    Then you'll have to download all the updates to the Mac OS & install those…
    As you can see the copying from another Mac is the easiest way since it'll take 5 minutes...

  • What kind of hard drive is in the hp pavillion dv6700. its about 7 years old

    its running vista, but the computer will not boot all the way.  I did a diagnosis test and it said to replace the disk drive so im just wondering what kind of hard drive is in it.   What happens is the computer loads to the the microsoft , right before you would put ur password in, and then just stays black.  
    This question was solved.
    View Solution.

    Piece of cake on your model.
    If the test indicates the drive needs to be replaced, I wouldn't argue against that info.
    You can try reinstalling the OS before buying a new HDD but if it doesn't work, then you know the drive is kaput.
    Below is the link to the service manual.
    R & R procedures are in chapter 4.
    http://h10032.www1.hp.com/ctg/Manual/c01295877.pdf
    You will also need to reinstall the operating system. You can see if recovery disks are available by contacting HP technical support.
    If you can read the 25 character MS Vista product key on the bottom of your PC, you can make your own Vista installation disk and use that to install the OS.
    If you're up to a slight but rewarding challenge you can make your own if you can read your 25 character Vista product key on the PC.
    Just download the 3 files you need at the link below, and read all of the instructions to create a bootable DVD installation disk using imageburn.
    Disregard the part of the text under the first screen shot about "extract the files to the Vista folder."
    The files were already extracted to that folder when you ran the X14.exe file by reading the text on top of the first screen shot.
    The other thing I noticed is on the 4th screen shot, where it shows Developer ID Microsoft Corporation. I had to type Microsoft Corporation in myself, and then the other codes automatically populated.
    When I went to compile the ISO file, ImageBurn gave a message that about a WIM file and ISO, and if I wanted to burn it in a different format.
    I selected No, make the ISO file.
    It was not that hard to do. I burned both the 64 bit disk and the 32 bit disk in case I ever need them.
    I tested both of them on my hp dc7100 CMT desktop PC, they worked perfectly.
    When you enter the product key, it knows what version of Vista you have.
    http://en.community.dell.com/support-forums/softwa​re-os/w/microsoft_os/3317.2-3-microsoft-windows-v.​...
    After you successfully install Vista, you can then install the drivers from your PC's support and driver page.
    This is where I buy my PC hardware:
    Top of the line 250 GB 7,200 RPM drive:
    http://www.newegg.com/Product/Product.aspx?Item=N8​2E16822136279
    A standard 250 GB 5,400 RPM drive of good quality.
    http://www.newegg.com/Product/Product.aspx?Item=N8​2E16822236238
    You need to transfer the caddy, screws and connector from the old HDD to the new one, so don't toss anything out until the job is done. 
    Paul

  • My app store keeps asking for me to update my payment method as its about to expire so i enter my details and it keeps saying card declined , why is this ?

    my iphone app store keeps asking me to update my payment method every time a go to download something from the store , it says my method is about to expire so when i re-enter my card information it keeps saying that my card is declined , why is this?

    What sort of card are you trying to use ?
    If it's a debit card then I don't think that they are still accepted as a valid payment method - they are not listed on this page and there have been a number of posts recently about them being declined
    If it's a credit card then is it registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page

  • Can som one help me plz its about videos

    ma ipod 5th generation wont play the videos that i purchase at itunes fo it i dont no why but hte scream remains blacc fo atleast 3 min can some one hook me up wit som help i tried lookin it up on hea in the ipod recommendations crap and questions asked but it dont say nothin bout it can sombody plz help me i would appreciate it alot than u.

    iight okay well i bought the videos from itunes it should already be sent to my libary right, well i clicked so that it would up date ma ipod with the videos i dont got but when i did that and clicked the eject button for the ipod, and was going to wath the videos to see if they were in it was but wont play the scream would stay in black. so i reconnected my ipod and deleted them and put them bacc in its still the same way, by any chance do any body know cuz i wokr tomorrow wont be able to call the custumer services number.

  • My MacBook Pro is stuck on the loading screen and sounds as if its about the take off?!

    Hi everyone. About 3 hours ago my laptop suddenly became very unresponsive and began freezing a lot. I cleared the cookies on Firefox, but the problem carried on so I tried rebooting. Now it has been stuck on the loading screen for about half an hour, sounding like a rocket ready to take off.. I brought it second hand and I don't have an installation CD, at least if I do it's not here at uni with me anyway.. Any ideas?! Thanks

    Not knowing what your os is very difficult regarding offering troubleshooting solutions.  Most if not all the system discs are machine specific. 
    Replacement System Discs can be obtained from Apple's Customer Support - US (800) 767-2775 for a nominal fee. You'll need to have the model and serial number of your Mac available. 
    If you're not in the US, you may need to go through the regional Apple Store that serves your location to find the contact number - http://store.apple.com/Catalog/US/Images/intlstoreroutingpage.html
    Mac OS X versions (builds) for computers 

  • HT5622 Its about 2 days that when i want to download from app store it gives me error1009 and it says your request cant processed why?

    When i want to download from appstore before that i write my apple id password it gives me error 1009 why????? Its new to me

    That error means you're trying to purchase content in a country where such content is not sold by Apple, & Apple's servers have detected your location, generating that error code.
    There is no workaround.

  • Hi. its about my iPad screen totally blackout

    its been three days that i cant use my ipad.

    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • 10.4.6 (again) but this time its about sound.......

    Hi,
    I blithely installed 10.4.6 yesterday and went on with my work. I didn't notice anything until I tried to look at some online media and noticed that I can't get any sound from any Flash or Windows media files. Its rather wierd, I tried re installing flast etc.. but still no sound, can't figure it out!
    Also I noticed that some graphics intensive programs crash out when I try to start them up.
    All the usual programs work fine, anyone else noticed this?

    Sounds like their preferences need to be removed. I'd contact their vendors and find out where those are stored.
    Sometimes just editing their program preferences will solve that problem. If neither helps, then they aren't compatible with 10.4.6.

Maybe you are looking for

  • How to generate & publish  webhelp html files in different folder than default folder

    Hi All, I am new to robo help. I have a requirement to generate & publish webhelp html files in a different folder than default folder. Could anyone please tell me the steps to change the folder Thanks Rashmi

  • How to write Arabic digits in PS

    I have installed photoshop cs 4 Middle east version.There is one problem to writing arabic digits.. How to write these digits into arabic form ..(1,2,3,4,5,6,7,8,9,0). I have install Arabic fonts. Also window support Arabic language. ThanX

  • Problem Printing with Reader 10.1.4

    I have been trying to print a PDF this evening, that I have printed before.  That was before 10.1.4 was AUTOMATICALLY installed.  The document should print on an 8.5 x 14 page.  I have also printed it in 8.5 x 11 format.  Tonight it will only print i

  • Log in to designer

    Hi how could i log in to designer 6i I TRIED SYSTEM MANAGER BUT IT DID NOT WORK

  • Cancel invoice

    Hi all, An invoice is posted with tax code I1 in header and for the expense item the tax code is "*". I drilled down on Purchase order in invoice, this shows I1 as the tax code for the expense item. When i tried to cancel this invoice in MR8M, system