Simple Select Single statment doubt : please help

Dear SAP,
One simple question !!
What happens, If I dont pass all the key values in select single statement.
which data would it bring, the first occurence in DB table ?????
Cont..
And what happens if, I use select single without passing all keys (missing POSNR) but using it in a loop and giving condition as posnr > 900000. does this always bring same values.
Please let me know. Thank you.
Regards
venkat

Hi
If you don't pass all key fields in SELECT SINGLE there will be multiple records for those condition and it fetches the first record
If you won't pass POSNR in a loop, then for a single doc there will be multiple items and  always the first item only selected
if a value exists greater than 900000, then it may consider that value
<b>Reward points for useful Answers</b>
Regards
Anji

Similar Messages

  • I am unable to download Acrobat XI Standard purchased 19Feb15 & unable to locate on your web site simple steps to do this - please help; what am I not doing?

    I am unable to download Acrobat XI Standard purchased 19Feb15 & unable to locate on your web site simple steps to do this - please help; what am I not doing?

    Make sure you have cookies enabled and clear your cache.  If it continues to fail try using a different browser.

  • TS4085 I reboot my router updated to IOS 5, still NO on/off selection for mirroring..please help getting disappointed

    I reboot my router updated to IOS 5, still NO on/off selection for mirroring..please help getting disappointed

    What are you trying to mirror from? Mirroring from your Mac won't be available until Mountain Lion 10.8  www.apple.com/macosx/mountain-lion/
    Setting up and troubleshooting AirPlay Mirroring
    support.apple.com/kb/TS4085 

  • Single sql query-please help

    Hi experts,
    what i want to do is write a single query which will show whether a employee
    exits in the company or not.I have two tables emp and dept.There are as follows.
    SQL> select * from emp;
    NAME DEPTNO EMPNO
    xxx 10 33036
    YYY 12 2345
    ZZZ 13 678
    KKK 14 5678
    RRR 15 7865
    SQL> select * from dept;
    DEPTNO LOCATION
    10 AAA
    11 BBB
    12 CCC
    13 DDD
    what i want is it will select records from the emp table and find whether corrosponding
    deptno really exists in the dept table.If the value is found in deptno column the dept table then it will set the value
    Y other wise it will be N and all i have to do with the help of a single query.
    expected result
    name empno exists
    xxx 33036 Y
    YYY 2345 Y
    ZZZ 678 Y
    KKK 5678 N
    RRR 7865 N
    Please help.
    Regards
    Rajat

    SELECT EMPNO, NAME , EMPNO , NVL( ( SELECT 'Y' FROM    DEPT WHERE EMP.DEPTNO=DEPT.DEPTNO),'N') EXIST
    FROM EMP
    ORDER BY 1
    Demo
    SQL> WITH EMP AS(
      2  SELECT 'XXX' NAME , 10 DEPTNO ,33036  EMPNO FROM DUAL UNION
      3  SELECT 'YYY', 12, 2345 FROM DUAL UNION
      4  SELECT 'ZZZ', 13 ,678 FROM DUAL UNION
      5  SELECT 'KKK', 14 ,5678 FROM DUAL UNION
      6  SELECT 'RRR', 15 ,7865 FROM DUAL  ),
      7  DEPT AS(
      8  SELECT 10  DEPTNO,'AAA' DNAME FROM DUAL UNION
      9  SELECT 11 ,'BBB' FROM DUAL UNION
    10  SELECT 12 ,'CCC' FROM DUAL UNION
    11  SELECT 13 ,'DDD'FROM DUAL )
    12  SELECT EMPNO, NAME , EMPNO , NVL( ( SELECT 'Y' FROM    DEPT WHERE EMP.DEPTNO=DEPT.DEPTNO),'N')
    EXIST
    13  FROM EMP
    14  ORDER BY 1
    15  /
         EMPNO NAM      EMPNO E
           678 ZZZ        678 Y
          2345 YYY       2345 Y
          5678 KKK       5678 N
          7865 RRR       7865 N
         33036 XXX      33036 Y
    SQL> Edited by: Salim Chelabi on Dec 7, 2008 4:15 AM

  • A single vertical line, please help! :)

    Hi,
    I have a PowerBook G3 Pismo and a pink vertical line just randomly appeared on the screen and I can't get rid of it? Somebody please help and tell me what to do here. It just happened and nothing changed hardware/software wise on the machine.
    Thanks!

    Thank you for your help. This would be one of my older Macs...I have a new iMac as my workstation/server, 3 iMac G3's iMac G4, iMac G5, eMac, Mac Mini, PowerBook G4, 2 iBook G4s, iBook G3, MacBook, MacBook Pro...I think that I could live with the line on the screen, but it would be nice if I could replace the whole display/ribbon cable assembly to make it even better. I upgraded the entire machine inside and out except for the display and when I finished..I turned it on and it was fine..about 3 weeks later a pink line appeared...seems that it could be a simple pinched/broken cable? Who knows, but I wish I could connect it to an external monitor..missing that VGA adapter..thanks though..I wonder why it randomly appeared when the display hinge was rarely opened/closed..any ideas why it is only a single line and not multiple? I showed it to my friend who is into tech and he believes that that particular column of pixels are simply dead..appreciate it..

  • Acrobat Pro XI is not recognizing Word 2013 files when I try to combine files in a single PDF. Please help.

    I recently upgraded to Office 2013. Everything seems to be working fine with Acrobat Pro XI, except when I try to combine Word 2013 files into a single PDF, I get this message: "Acrobat does not support the conversion of one or more of your files to PDF. . . ." Please help. Thanks.

    I've opened both Word and Excel. The Acrobat ribbon is showing in both programs and I did some test things and they seem to be working fine. However,  I still cannot see or use formats other than pdf in the Acrobat Pro program. Is there another setting that needs to be adjusted?

  • Hi i'm trying to backup my iphone 4s and usually can but when i go into itumnes now and select device. it dissapears and does notjing? it doesn't give me the screen to select 'back up'. Please help

    hi i'm trying to backup my iphone 4s and usually can but when i go into itumnes now and select device. it dissapears and does notjing? it doesn't give me the screen to select 'back up'. Please help

    Hey there MissVs,
    It sounds like you are clicking your device in iTunes but it is disappearing and preventing you from backing up your decive. I would recommend the troubleshooting in the following article to help troubleshoot the issue named:
    Resolve iOS update and restore errors in iTunes
    http://support.apple.com/kb/ts1275
    You can also backup your iPhone from the File menu:
    Make sure your computer has the latest version of iTunes.
    Connect your iOS device to your computer.
    Choose File > Devices > Back up.
    If you're using iTunes 10.7 or earlier, right-click the device from the list and choose Backup Now.
    From: iOS: Back up and restore your iOS device with iCloud or iTunes
              http://support.apple.com/kb/ht1766
    Thank you for using Apple Support Communities.
    Take care,
    Sterling

  • Hi i am currently editing clips in premiere pro cc but everytime i go to change the speed not the duration of a clip it will not let me select it - also when i go to effect controls it will not let me select time mapping? please help

    Hi i am currently editing clips in premiere pro cc but everytime i go to change the speed not the duration of a clip it will not let me select it - also when i go to effect controls it will not let me select time mapping? please help

    savannahp
    What version of Premiere Elements and on what computer operating system?
    Please review the following that I excerpted from an older post here regarding Adobe's PRE_help comments about Hollywood Effect and mention of
    Red Noir. Does any of the following apply to any of what is happening to you.
    - Whenever I try to add an effect from the Hollywood Looks menu, it brings up a warning that all my previous effects on that clip will be deleted. However it will let me add those same effects *after* applying Hollywood Looks.
    This is because of how the Hollywood Looks are designed to be used. Since these are effect presets (multiple effects in combination) that result in a specific "look"; they are best applied in isolation. If any previous effect is applied and we still allow a Hollywood effect to be applied, we will not be able to see what the effect does clearly. For e.g. if you already have a Gaussian Blur effect applied to your clip, and then we allow you to apply the "Red Noir" Hollywood effect, the fact that the "Reds" in the scenes will be highlighted and the others converted to B/W will not be clearly seen since the content is already blurred out. So any previously applied effects was designed to be removed. This holds good even if you apply a Hollywood look "on top of" another one. The previous one will be replaced. Having said that, you can customize the look further by either tweaking an already applied filter or by adding a newer effect on top. That is the reason you can apply an effect on top of the Hollywood Effects and not vice versa.
    Please review and consider and then we can proceed from there if necessary.
    ATR

  • Query  doubt - Please Help

    Sir,
    I am having a table like following
    Deptno job
    10 aaa
    11 bbb
    12 ccc
    10 ddd
    11 eee
    12 ffff
    10 ggg
    in the above table I want the out put like following in a single query ,is it possible.
    10 aaa,ddd,ggg (concatenation of all jobs under that particular deptno)
    11 bbb,eee
    12 ccc,ffff
    Regards,
    Mathew

    Sir,
    I am not able to cutomize my requirement using this,
    SQL> select col1, col2,
    2 substr(max(substr(sys_connect_by_path (col3||' '||
    3 col4, ', '),2)),1,60)
    4 as col3
    5 from tab1
    6 start with col4 = 1
    7 connect by col4 = prior col4 + 1
    8 and prior col1 = col1
    9 and prior col2 = col2
    10 group by col1, col2;
    plz help me.
    regards
    Mathew

  • Creating a simple and small DataBase..Please HELP

    I study Information Systems (MSc)..and I am taking a DataBase course that requires a Project to be done on a RDBMS..I decided to build the database using ORACLE 9i (on windows xp professional)..
    I want to use the Database Configuration Assistant to build the Database (easier than to build it manually)..but the Assistant requests from me to input some parameters that are somehow "new and strange" to me as a student..
    PLEASE I need the simplest and easiest parameter values to be input to the Assistant that enable me to build a tiny and simple DataBase that is adequete for educational purposes only (small project)..
    Also I need to know how to enter the DataBase after I create it..
    Thank you very much in advance..

    I study Information Systems (MSc)..and I am taking a DataBase course that requires a Project to be done on a RDBMS..I decided to build the database using ORACLE 9i (on windows xp professional)..
    I want to use the Database Configuration Assistant to build the Database (easier than to build it manually)..but the Assistant requests from me to input some parameters that are somehow "new and strange" to me as a student..
    PLEASE I need the simplest and easiest parameter values to be input to the Assistant that enable me to build a tiny and simple DataBase that is adequete for educational purposes only (small project)..
    Also I need to know how to enter the DataBase after I create it..
    Thank you very much in advance..

  • Adf table issue on 1st selection,from 2nd selection all works. Please help !!!

    I am using Jdev 11.1.1.4.0 .
    I have a table which consists of 2 check box and a button plus other data. Now the problem is when we select the table/check box for the 1st time the table events behave unusally.
    When I click the check box for the 1st time it gets unchecked.
    But from 2nd selection everything works as expected. I am not pasting all columns of the table , if you ppl need them i'll paste it too.
    Please feel free to ask any details you need, I am giving as much as possible from my side.
    Note:- I have implemented paginaton so I had to use rangeSet ,cant use CollectionModel to do that.
    <af:table value="#{bindings.GESearchVacancyTableVO1.rangeSet}"
                                                              var="row"
                                                              rows="#{bindings.GESearchVacancyTableVO1.rangeSize}"
                                                              emptyText="#{bindings.GESearchVacancyTableVO1.viewable ? 'No data to display.' : 'Access Denied.'}"
                                                              fetchSize="#{bindings.GESearchVacancyTableVO1.rangeSize}"
                                                              first="#{bindings.GESearchVacancyTableVO1.rangeStart}"
                                                              rowBandingInterval="0"
                                                              selectionListener="#{PaginationBean.rowSelected}"
                                                              rowSelection="multiple"
                                                              columnSelection="multiple"
                                                              id="t1"
                                                              contentDelivery="immediate"
                                                              autoHeightRows="#{bindings.GESearchVacancyTableVO1.rangeSize}"
                                                               styleClass="reqTables"
                                                               inlineStyle="width:700px; height:598px;"
                                                              binding="#{pageFlowScope.UpdateRequestSearch.vacancyTable}">
                                                            <af:column sortProperty="update"
                                                                       sortable="false"
                                                                       headerText="UPDATE"
                                                                       id="c0" align="center">
                                                                    <af:commandButton text="UPDATE"
                                                                                      id="cb1"
                                                                                      action="#{pageFlowScope.UpdateRequestSearch.onClickTravel}"
                                                                                      actionListener="#{pageFlowScope.UpdateRequestSearch.onSelect}"
                                                                                      styleClass="buttonA">
                                                                            <af:setActionListener from="#{row.VacancyNumber}"
                                                                                                  to="#{sessionScope.searchVacancyNo}"/>
                                                                    </af:commandButton>
                                                            </af:column >
                                                            <af:column sortProperty="HOLD"
                                                                       sortable="false"
                                                                       headerText="HOLD"
                                                                       id="c100" align="center">
                                                                       <f:facet name="header">
                                                                       <af:panelGroupLayout id="pgHold" layout="vertical">
                                                                       <af:commandButton text="HOLD"
                                                                                      id="cb61"
                                                                                      styleClass="buttonA">
                                                                            <af:showPopupBehavior popupId="p1" triggerType="click"/>
                                                                        </af:commandButton>
                                                                 </af:panelGroupLayout>
                                                                       </f:facet>
                                                                                              <af:selectBooleanCheckbox text=""
                                                                                              label=""
                                                                                              id="sbc1"
                                                                                              immediate="true"
                                                                                              autoSubmit="true"
                                                                                              rendered="#{row.Status eq 'Approved' and row.Chkbox eq '0'}"
                                                                                              value="#{row.HOLD}"
                                                                                              valueChangeListener="#{pageFlowScope.UpdateRequestSearch.onHold}" >
                                                                                              <af:clientAttribute  name="attr" value="#{row.VacancyNumber}" />
                                                                    </af:selectBooleanCheckbox>
                                                            </af:column>
    </af:table>
    //On check box click .
        public void onHold(ValueChangeEvent valueChangeEvent) {
            // Add event code here...
            DCIteratorBinding itr=ADFUtil.findIterator("GESearchVacancyTableVO1Iterator");
            RowSetIterator rsi=itr.getRowSetIterator();
                UIComponent holdBox=valueChangeEvent.getComponent();
                String vacnum=holdBox.getAttributes().get("attr").toString();
                Key key=new Key(new Object[] {vacnum});
               Row currRow=itr.getCurrentRow();
                 if (currRow!=null){
                     System.err.println("Row found:::DDDD"+currRow.getAttribute("VacancyNumber"));
                try{
            if(valueChangeEvent.getNewValue().equals(Boolean.TRUE)){
                System.err.println("Selected TRUE for vacNum"+currRow.getAttribute(0));
                currRow.setAttribute("HOLD", true);
                currRow.setAttribute("CANCEL", false);
                if( getKeyListCancel().contains(key))
                       getKeyListCancel().remove(key);
                getKeyList().add(key);
            }else if(valueChangeEvent.getNewValue().equals(Boolean.FALSE)){
                System.err.println("Selected FALSE");
                currRow.setAttribute("HOLD", false);
                getKeyList().remove(key);
              ADFUtil.doPartialRefresh(vacancyTable);
              System.err.println("Now the size list "+getKeyList().size());     
            }catch(oracle.jbo.AttrSetValException e){
                currRow.setAttribute("HOLD", false);
              itr.refresh(DCIteratorBinding.RANGESIZE_UNLIMITED);
              AdfFacesContext adfContext = AdfFacesContext.getCurrentInstance();
              adfContext.addPartialTarget(vacancyTable);
              // ADFUtil.throwErrorMsg(null, e.getMessage());
    // SelectionListner which basically sets the selected row as current row
        public void rowSelected(SelectionEvent se){
          JUCtrlRangeBinding staffView = getStaffView();
          staffView.getIteratorBinding().setCurrentRowIndexInRange((Integer)se.getAddedSet().toArray()[0]);
        private JUCtrlRangeBinding getStaffView(){
                    String view="GESearchVacancyTableVO1";      
          BindingContext bindingCtx = BindingContext.getCurrent();
          BindingContainer bindings = bindingCtx.getCurrentBindingsEntry();
          JUCtrlRangeBinding objView=(JUCtrlRangeBinding)bindings.getControlBinding(view);
          return objView;

    Same issue in 11.1.1.7 . I am using out of the box pagination for this purpose though. Any pointers plz? Somehow the very first action of check box is being reset by the framework. Even though the state of the check box on UI shows up as selected, the column value is reset to its original value(false).

  • I want to upgrade my plan, but I can not find any upgrade link from single to full, please help. urgent.

    How can I upgrade adobe cc plan, I try to search in google, but I found nothing, or sometimes I found a link but I don't have the same screen as they capture.
    really need help, kind of urgent, don't want to buy the full and pay for both plan.
    Thank you

    Hi saovadee,
    In order to change the plan, please contact our support team via: Contact Customer Care
    Thanks,
    Atul Saini

  • I cant work out how when i open a new tab it opens with Google... simple but cant do it please help

    A simple one but cant do it
    all I want is each time I open up a new tab it opens in Google can do it
    please help

    Have you got some kind of search bar added as a plugin that you need to uninstall. I note an entry in your system details mentioning 'BLNBAR'.
    * see [[Searches are redirected to another site]] - also lists some sites of interest if you have malware problems
    * and [[Troubleshooting plugins#w_manually-uninstalling-a-plugin]] (includes instructions on how to manually uninstall)

  • Subtitles not appearing when play all selected.... please help

    Hello All,
    The deal goes like this... I am making a DVD for a national park and I have 4 videos
    3 of which have subtitles. The subtitles are on a separate menu and you don't have to select to show subs, they are automatically selected when the viewer selects the video of choice. The client now wants a play all button, which I did with stories. Well it works fine in the simulator but when I burn the DVD nothing.... The subtitles are still available on the single tracks but not when you selected all.
    Any ideas.

    It should work, is the pre-script set in the story or the track?
    Actually stepping back a second, how is the project set-up? It looked like it was stories between tracks?
    Also take a look here
    http://discussions.apple.com/message.jspa?messageID=2069686#2069686
    http://discussions.apple.com/thread.jspa?messageID=2065380&#2065380
    And as Hal noted here sometimes prescripts act strange so you could also try the same script as standalone
    http://discussions.apple.com/thread.jspa?messageID=5425873&#5425873

  • Simple App - Huge Lag. Please Help.

    So I have built a simple app that has 40 frames in the timeline. On each of those frames, I have an 2 images (PNG format) at 320x480 that come in at about 15kb each. I also have a block of text and 3 buttons. One button calls to an event that sets the visibility of the top image to 0, revealing the image underneath. Another click of that button sets the image visibility back to 1. The other 2 buttons control clicking back and forth between frames (previous and next buttons). Altogether I have 100 PNG image files in my app. I have imported the images into the library and they are physically in the timeline as opposed to being pulled in via ActionScript. The ActionScript for the buttons is done once and stretches across all 40 frames - it is:
    btnMagnify.addEventListener(MouseEvent.CLICK, onClickMag);
    btnPrev.addEventListener(MouseEvent.CLICK, onClickPrev);
    btnNext.addEventListener(MouseEvent.CLICK, onClickNext);
    function onClickMag(event:MouseEvent):void {
        if(myZoom == 0){
            imagefull.visible = false;
            myZoom = 1;
        } else {
            imagefull.visible = true;
            myZoom = 0;
    function onClickPrev(event:MouseEvent):void {
        var myNum = currentLabel.split("-");
        gotoAndStop("pg-" + (int(myNum[1]) - 1));
    function onClickNext(event:MouseEvent):void {
        var myNum = currentLabel.split("-");
        gotoAndStop("pg-" + (int(myNum[1]) + 1));
    My problem is that when I export this to my iPhone, it takes about 4 seconds when I click on one of those buttons before it reacts and does what I want. If I cut down the number of frames (and, thus, images used) it increases the speed at which it performs. Should I be loading these images into the movie in a different manner so performace can be optimized on the iPhone? I've been working with Flash for several years, but this is my first iPhone app using it and I can't understand why the SWF works fine but the iPhone app is so slow. Any help or advice would be GREATLY appreciated.
    Thanks!

    Forget the timeline and do something like this:
    Import your images to library and turn on Export for Actionscript, name your images and create an array:
         private var bgImgArr                    :Array = new Array("bg_abstract", "bg_bamboo", "bg_bars", "bg_candy");
    Write a method similar to this:
            private function setBgImage(str:String):void
                if (currentBgImg && this.contains(currentBgImg) ) removeChild(currentBgImg);
                var bgClassReference:* = getDefinitionByName(str);
                var bgInstance:BitmapData = new bgClassReference();
                currentBgImg = new Bitmap( bgInstance );
                addChild(currentBgImg);
    Call it like this:
    setBgImage(bgImgArr[ SOME_INDEX ]);
    Runs smoothly on iPhone 3G with any number of images. I just used similar approach in my latest iPhone game Blockslide: http://itunes.apple.com/us/app/blockslide/id431490534?mt=8&ls=1

Maybe you are looking for

  • New to Solaris, looking for pointers

    Here's the deal. I work at a company where we do J2EE developement. Until now, we've done all of our hosting on Linux (mostly white box versions of RHEL, some Debian). We decided to give a couple Sun servers with Solaris a try over the Dell servers w

  • Why do I get the "iwork discontinued" message when I click on the share feature in pages?

    Why do I get the "iwork discontinued" message when I click on the share feature in pages?

  • Controlling blinking rate of LED by three push buttons

    Hi, I am trying to control the blinking rate of LED by three push buttons. When I press P1, LED blinking rate is 1s, for P2 - 0.5s and for P3 - 0.25s. Problems occurs only when P2 is pressed, I cannot change to P1 while P2 is pressed.  Please anybody

  • Where can I buy Photoshop? CS6 too expensive.

    I have a copy Photoshop Elements 13 and in order to learn how to use it I have had to depend all that is available in Photoshop. I thought of buying CS6 but it's too expensive. What version of Photoshop would you suggest I buy at a reasonable cost?

  • Downloading adobe flash player in english

    Hi, Adobe Flash will not update properly. I've tried a clean install by uninstalling the flash player, but when I tried to re- install Flash Player again something was wrong with it: the installer tried to install a dutch version of Flash Player. I t