Is it not possible to give the select single field without an into clause

Hi,
i have to check whether my input value( only one filed) is available in the table.
for eg i need to check whether company code is available in the table t001.
then i will give .
data lv_bukrs type t001-bukrs.
lv_bukrs = 1010.
select single bukrs from t001 where bukrs = lv_bukrs.
here its asking for me to give a vaible to store the bukrs that is
select single bukrs into dummyvalue from t001 where bukrs = lv_bukrs.
Is it not possible to give the select single fieldname without an into clause

Its Possible by declaring the tables statement
<b>tables : AFKO.
select single * from AFKO where <condition>.</b>
If SINGLE is specified, the resulting set has a single line. If the remaining additions to the SELECT command select more than one line from the database, the first line that is found is entered into the resulting set. The data objects specified after INTO may not be internal tables, and the APPENDING addition may not be used. The addition ORDER BY can also not be used.
An exclusive lock can be set for this line using the FOR UPDATE addition when a single line is being read with SINGLE. The SELECT command is used in this case only if all primary key fields in logical expressions linked by AND are checked to make sure they are the same in the WHERE condition. Otherwise, the resulting set is empty and sy-subrc is set to 8. If the lock causes a deadlock, an exception occurs. If the FOR UPDATE addition is used, the SELECT command circumvents SAP buffering.
Notes
When SINGLE is being specified, the lines to be read should be clearly specified in the WHERE condition, for the sake of efficiency. When the data is read from a database table, the system does this by specifying comparison values for the primary key.
If accessing tables for which SAP buffering is planned for single records, the SAP buffer is bypassed if the addition SINGLE is not specified. This behavior depends on the current implementation of the database interface and may change in future releases. In particular, it should not be used to bypass the SAP buffer. You should use the explicit addition BYPASSING BUFFER for this instead.
The addition SINLGE is not permitted in a subquery.
Regards
- Gopi

Similar Messages

  • It is not possible to configure the selected XI domain

    Hi...
    PI 7.0 server on Windows environment and database is SQL Server.
    PI Server pick and place the messages from r/3 to r/3 in Oneway but in the reverse it is pick the messages from source but it is not place to the target system.
    The error messsage in RWB in end to end monitoring...
    It is not possible to configure the selected XI domain because the Integration Server does not exist or could not be read from the SLD
    In Component monitoring...
    500 internal server error
    Application error occured during repuest processing..
    Thnx
    Raj

    Thanks for your promp response, tbluong.
    The configuration in SXMB_ADM > Integration Engine Configuration is already done and its check (F7) returns success (all green): "Role of Business System: Current Configuration = System Landscape" and "Corresponding Integration Server: Current Configuration = System Landscape".
    Any suggestion?
    Regards.

  • After download itunes installation began in windowx xp near the end of the installation the message says: it was not possible to write the value to the key Software / Classes / .mpg / OpenWithList / iTunes / .exe. Already reinstalled 3 times and always sa

    After download itunes installation began in windowx xp near the end of the installation the message says: it was not possible to write the value to the key Software / Classes / .mpg / OpenWithList / iTunes / .exe.
    Already reinstalled 3 times and always says the same message.
    thank you

    Only two had virus on windows XP this week and wiped them with Avast. The itunes asked me to install the update, and so I did. but it always gives me that message.

  • File could not be moved to the selected destination

    When moving a group of files to a different folder, most moved fine. For one I got a message "There was an error copying files to the destination you selected. The following files could not be copied." and "File could not be moved to the selected desination. (1)".
    Having been a programmer I know that writing a really useful error message, as opposed to one like this that gives you no useful information at all for solving the problem, is not that hard. In fact, it's just basic sound programming practice. Yet I've encountered error messages like this more than once in Adobe products.
    Now, the real question is what is this telling me and how do I go about fixing it? The file I was copying is in the original folder just like the other files I selected. The destination folder exists--the other files were moved into it. There is no duplicate of the file in the destination folder. The file is not lost because I can export it. The help file has no information. What else can I check?
    (Yes, I know that a LR workflow is not built around folders. But sometimes you just need to move a photo.)

    What OS/version are you running?  External disk, network disk?
    This is almost always a permissions / ACL problem.  Happens most of the time with newer windows os like Vista and even worse with Win7.  They've changed the way "permissions" are handled in both OS's to something more complicated.  Not only do you have to have read/write access, but you must "take ownership" of those folders (and everything below them) to be able to use them properly.
    Cheers!

  • Is it possible to debug the selection screen???

    Hi Frdz,
    Is it possible to debug the selection screen.
    eg: if i want to know what is happening in PBO and PAI modules of the selection screen i am not able to debug that.
    Even in code if i click on MODULES present in PBO and PAI modules it is saying MODULE doesnot exist!!!!. So i can't put the break point. even if i press /h it will go to Report events like INITIALIZATION, AT SELECTION-SCREEN but not PBO and PAI modules!.
    Also what is the meaning of exclamatory mark here(Before select option name)
    MODULE !SO_UDATE.
    MODULE !SO_UNAME.
    Thanks,
    Vinod.

    Hi Vinod,
    Double click on the module and then put the break point for the first statement of it. It will work.
    Reward points if useful.
    Thanks,
    Khan.

  • I am a foreigner. So please forgive my bad english. When I purchase music in I tunes store and burn it on cd, can i give it away to others or to I get accusable? Is it possible, to give the musi i purchased to others or to I get problems with copyrights?

    I am a foreigner. So please forgive my bad english. When I purchase music in I tunes store and burn it on cd, can i give it away to others or to I get accusable? Is it possible, to give the musi i purchased to others or to I get problems with copyrights?

    It is illegal, against the law, to do this.
    You ONLY buy the right to your own personal use of the music.
    You do not have any right to distribute it to others.

  • Not possible to reverse the document in financial accounting Error

    Hi All
    We are getting invoice Data from Client
    through  ACC_EMPLOYEE_PAY02  
    Document Like
    31 45699(vendor )    2356.00
    31 45688 (vendor)    1245.00
    31 45677 (vendor)    1000.00
    31 45666 (vendor)    2000.00
    40  Accur(Clearing)       6601.00
    In this list some of vendors i did payment Run.
    I need to reverse the 1 vendor open Item.
    It is showing open item but i am unable to reverse this document.
    i tried to FB03 but it is showing Below Error
    Not possible to reverse the document in financial accounting
    Message no. F5673
    Diagnosis
    Document '1900000003' in company code '1164' should be reversed. However,
    this document was not posted in the Financial Accounting module, HRPAY is, rather, of type ''.
    System Response
    Documents which were not originally posted in Financial Accounting also cannot be reversed in Financial Accounting.
    Procedure
    Reverse the original transaction. 
    You can display the original document from the FI document via 'Environment' -> 'Original doc.'.
    I tried to trace Original Document.
    trhough Environment -> Original Doc.
    ERROR is
    Payroll Posting Document 000000091 does not exist
    How to Reverse the Open Item.
    raju.

    Hi,
    SAP doesn't allow you to reverse a document in FI if it was created subsequently from another module (in your case HR).
    Why don't you use F-44 transaction code to manually clear the open vendor line item and offset it against the same clearing account?
    Regards

  • Not possible to scroll the menu without lagging - Set Up a Repair service is not working

    Hi,
    It is not possible to scroll the menu without lagging.
    The latest version has been restored but nothing.
    I think the touch screen is having some problems.
    I wanted to use the Set Up a Repair / Send In for service but it seems that the application form doesn't working.
    As soon as push the Continue button, nothing happens.
    Is there anybody from Apple who can check this issue please?
    Thank You.
    Anmary

    Restoring a phone from a backup will put the device back to the state it was when the backup took place, i.e. all info that you had on that phone before using the backup will be gone.
    You could try to restore the phone, which will back up the actual data on the phone, including the passcode, and use this backup to set up a new phone with. The passcode will still be the same, because it is  part of the backup.
    More info here, iPhone and iPod touch: Wrong passcode results in red disabled screen
    Not being able to fill in the passcode is not much different from forgetting it.
    If you cannot remember the passcode, you will need to restore your device using the computer with which you last synced it. This allows you to reset your passcode and resync the data from the device (or restore from a backup). If you restore on a different computer that was never synced with the device, you will be able to unlock the device for use and remove the passcode, but your data will not be present. Refer to Updating and restoring iPhone, iPad and iPod touch software.
    Also have a look at this one: iTunes: About iOS backups

  • HT5622 my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    my apple id is not working when i sign in from my laptop it works but when i sign in from my iphone4 then its not working it gives the message of "your aapleid or password is incorrect"? how can i solve this problem please help

    Hey nocillado,
    Thanks for using Apple Support Communities.
    It sounds like you have 2 things you want to address. These articles can help you use iCloud with your existing Apple ID.
    Get help activating your iPhone
    http://support.apple.com/kb/ts3424
    Using your Apple ID for Apple services
    http://support.apple.com/kb/ht4895
    Using the same Apple ID for Store purchases and iCloud (recommended)
    Have a nice day,
    Mario

  • Hi! I went to the new Apple new shop and I was looking for a dock station/ speakers for ipod. Why is not possible to listen the models not in exhibition?! How can I decide?! Just the design?! It's stupid!

    Hi! I went to the new Apple new shop and I was looking for a dock station/ speakers for ipod. Why is not possible to listen the models not in exhibition?! How can I decide?! Just the design?! It's stupid!

    Hi! I went to the new Apple new shop and I was looking for a dock station/ speakers for ipod. Why is not possible to listen the models not in exhibition?! How can I decide?! Just the design?! It's stupid!

  • Not possible to reverse the document in financial accounting

    Not possible to reverse the document in financial accounting
    Message no. F5673
    Diagnosis
    Document '5000082' in company code '1000' should be reversed.  However, this document was not posted in the Financial Accounting module, VBRK is, rather, of type ''.
    System Response
    Documents which were not originally posted in Financial Accounting also cannot be reversed in Financial Accounting.
    Procedure
    Reverse the original transaction.  You can display the original document from the FI document via 'Environment' -> 'Original doc.'.

    Proabably you are using Billing
    Reverse at VF11 - Cancel
    Other wise go to FB08 and enter FI docuemtn and go to environment and Original document there you can find the Billing number and then go to cancel at VF11

  • The Windows support software could not be saved to the selected drive

    I am trying to use bootcamp assistant to set up windows 7 on my 27" iMac (late 2013). I follow the instructions: select all the tasks in the 'select tasks' pane, then I choose the 32GB MS-DOS (FAT-32) flash drive that I am using and the windows 7 home premium image file and click continue. In the Task Status pane, it first formats the flash drive, copies the windows files and downloads windows support software. However every time that I have tried this, when the progress bar is about 2/3 of the way finished -- during the 'Downloading Windows Support Software' task -- an error pops up saying that 'The Windows support software could not be saved to the selected drive' and brings me back to the task selection pane. Upon reading other articles, I have downloaded the latest bootcamp5.1.5621.zip file, but I don't know what to do with it. Any help is greatly appreciated,
    Thanks,
    Adam

    Just posting this for anyone else having this problem. I found that the problem was that I was using a USB 3.0 flash drive which is not natively supported by windows. So I think BCA was trying to prevent me from downloading all the files for no reason.

  • With my new version of numbers it is not possible to print the celnumbers. That is difficult for my bookkeeping.

    with my new version of numbers it is not possible to print the celnumbers. That is difficult for my bookkeeping.
    How to solve this problem?

    Hi Jaspers,
    A Header Row and a Header Column might work for you
    Or two extra Tables to show the Row and Column labels
    Regards,
    Ian.

  • Since i update my iPhone 5 with IOS 7.0.2, I start to have serious problems to call or receive calls from other telephones: is not possible to open the call at the first try. Somebody have the same problem?

    Since i update my iPhone 5 with IOS 7.0.2, I start to have serious problems to call or receive calls from other telephones: is not possible to open the call at the first try. Somebody have the same problem?

    Try
    Reset: 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: You will not lose any data

  • I have just installed a new hard drive in my imac intel 20" (2006) and now the hard drive does not show up in the 'select destinations' folder of the install program.

    I have just installed a new hard drive in my imac intel 20" (2006) and upgraded the memory and now the hard drive does not show up in the 'select destinations' folder of the install program. I can see the hard drive in the disk utilities window however it wont let me do anything.
    It is a seagate 1TB SATA II drive however it is displaying it as a 7.3 TB.
    If anyone has any suggestions I would be happy to hear them.
    I have tried to erase and partition and get the same error message each time, 'Input/Output error'.
    I have tried starting the thing with the install disk which is Mac OS X (Tiger?) which came with the computer. No good.
    Anyone?

    Thats correct. I can see it in the list however when I attempt to erase it or partition it it's like it's not being found or recognised and it throws up the input/output error message. I am pretty sure that the sensor it attached correctly and it is a SATA drive. I can see all the infor regarding the drive when disk utility is open and it all looks good but I cant access it or do anything with it. It's taunting me!
    The install disk is in the drive and the install program runs right up to the point where you have to select the location for the install and there is just nothing in the box where you have to select the hard drive icon.
    I have my suspiscions about the drive but any help would be appreciated.

Maybe you are looking for