Showing only a few records in a region

Hi Guys,
I am creating a shopping page using OA F/w.
In this page i have created a search screen and there is a shopping cart at the upper right corner.
Now my requirement is to show shopping cart like this
Shopping Cart
Number of items: x
item1 qty1
item2 qty2
item3 qty3
item4 qty4
item5 qty5
more...
what i have achieved so far is
i have created a content container.
I have got the items and quantities (using child attribute feature in a stach layout region)
now my requirement is
1. to show number of items
2. to show only 5 records (not using table region)
3. to show more link which will take to complete shopping cart.
can u please help me out with this
Thanks
Husain

instead of creating so many VOs, try something like this
1. From CO call a method in AM, something like public Vector getAllItems()
2. In that method in the AM, have a VO bring the items in the cart (VO.executeQuery())
3. Loop your VO and form a Vector of the items and return this vector to the CO.
4. In CO, when the method has returned , you have a Vector of all items.
5. size() method will give you the number of items
6. loop the vector, and paste the data in a bean in your content container
7. if loop becomed > 5 (means 6th row - i.e 5 items are already painted), then break; the loop and paint a more.. link instead of the item from the vector.
8. Clicking on the more link takes you to another page, navigate there and retain the AM while you go, so your VO also is present, you dont need to query again.
Thanks
Tapash

Similar Messages

  • BAPI execution in webdynpro returns only a few records

    Hi,
            I'm executing a BAPI in my webdynpro application and it is returning only a few records from backend table. When i execute the BAPI in R/3 with the same input i'm getting all the records. In webdynpro i'm getting only 22 records for different set of inputs while in R/3 i'm getting all records(37,41 etc). Any help in this regard will be valuable.
    Regards,
    Shabeer

    Hi,
         I am invalidating the output node after execution of BAPI. The BAPI is executing properly and it is returning records also.But the problem is with the number of records returned by BAPI. As i've mentioned earlier it is always returning 22 records, eventhough the actual output contains more than 22 records(I checked this in R/3). I was told that the BAPI is calling a transaction(i don't know whether it is the problem since i am not familiar with ABAP and R/3 that much).Is it possible that webdynpro is fetching records even before the BAPI execution is complete in R/3 and hence returning partial output(I'm not sure about this thing) ?
    Any help in this regard will be valuable.
    Thanks and regards,
    Shabeer

  • HT4623 I already have ios 7.0 installed in my iphone 4S. Although the size of ios 7.0.2  shows only a few MB, but when i click update using from my itunes it shows it is downloading 1.19GB. Why is this ? Do i have to download 1.19 GB?

    I already have ios 7.0 installed in my iphone 4S. Although the size of ios 7.0.2  shows only a few MB, but when i click update using from my itunes it shows it is downloading 1.19GB. Why is this ? Do i have to download 1.19 GB?

    If you update using iTunes, the full iOS is downloaded. If you update directly on your phone, this is called a "Delta" update, & only the changes to the iOS are downloaded. That's why you see the difference you see.

  • Getting only a few records at a time.

    Using a Select * from. Is there an option where I get only so many records. This is for a console application. I wanted some thing where it will display only 3 records at a time. And then I have the option of viewing the next 3 and then the next 3 records
    and so on.
    Any one have any ideas.
    Merry Christmas EVERY ONE and thanks to all the members on msdn forums for helping me with my code.
    Joe Moody
    http://www.starfiresoft.com
    Pro-Forums
    Delta Force Barracks
    On the Frontlines

    Thanks. It doesn't matter as long as I can get it to work. The idea is to display 3 records at a time. Then the user should be able to go backward or forward in the list. Let me show you what I have. This will give you some idea on how I have it displaying
    the info.
    SqlCeCommand cm = new SqlCeCommand("SELECT * FROM users", cn);
    //cm.Parameters.AddWithValue("@tooid", num);
    //cm.Parameters.AddWithValue("@fromid", Id);
    SqlCeDataReader rd = cm.ExecuteReader();
    try
    while (rd.Read())
    Door.CursorRight(10);
    Door.WriteLn("|0C___________________________________________________");
    Door.CursorRight(10);
    Door.WriteLn("|0FId |04: |03" + rd["Id"].ToString() + " |0FName |04: |03" + rd["username"].ToString());
    Door.CursorRight(10);
    Door.WriteLn("|0FStatus |04: |03" + rd["status"] + " |0FDate Jointed |04: |03" + rd["joindate"]);
    Door.CursorRight(10);
    Door.WriteLn("|0C___________________________________________________");
    catch (Exception e)
    throw new Exception(e.Message);
    cn.Close();
    This is inside of a do loop. and at the bottom I have it waiting for user input. or the user can quit and return to the main menu.
    Door.WriteLn();
    Door.Write("|07Page |0F<|04||0F> |0FQ|09)|0BQuit |07Choice |04: |0C");
    cc = Char.ToUpper(Door.ReadKey());
    Above is my prompt. This waits for user input. and I use a switch to tell the software what to do. Any way if you want to know what Door.writeLn() is, Think of it like this "Console.Writeline()". This is just a library I use for the kind of programming I
    do.Any help would be great. Thanks and have a safe Xmas.
    Joe.
    http://www.df-barracks.com Delta Force Barracks
    http://www.starfiresoft.com Starfire Software

  • Show only a few of the most recent Gmail emails in Mail (use for sending)

    Hello,
    I recently set up Apple Mail, and even though I like the program a lot - I prefer to use Gmail to read and manage my emails. However, Mail is built in to many other Leopard applications, so I would prefer to use it with those (for sending purposes), such as in Preview. Therefore, I would like to know how to do the following:
    - Make it not alter anything in my Gmail inbox
    - Make it receive only a few of the most recent emails - or none
    Would I have to use it through POP or IMAP for these things?
    Thanks!

    if you set up as pop, then you can choose the option to download from the day you created the account forward, thereby limiting the amount of emails that will be downloaded to mail. you would first have to enable pop in gmail>settings. with pop if you make a change in mail, in say your inbox, then that change will not be reflected in gmail on the web.
    if you set up as imap, then what you see in gmail will be the same as what you see in mail as far as your emaisl/mailboxes... and chnages you make on one will be shown on the other.
    hope this helps

  • Show only a few results at a time on Tree

    Hey,
    I've got my tree and set it to only show 15 results at a time, but I want a button to go to the next 15.
    I have a feeling that it's a really simple action but I can't figure it out.
    How do I do it?
    Thanks

    Actually I have one tiny issue now.
    When I expand a node in the tree and click nextSet, that node stays expanded (but it isn't the same value, so it shouldn't be).
    From looking at the documentation it seems that I need to use a TreeState class and an action to open or close the nodes.
    My problem though is that I already have the nextSet and previousSet actions tied to the buttons, so is there a way I can have two actions so it collapses all nodes AND goes to the next set?
    Thanks again for all your help.

  • Lock only a few records in a VIEW_MAINTENANCE_CALL.

    Hello,
    I want to update one View using the FM: VIEW_MAINTENANCE_CALL, restricting the value of one field.
    Using the the FM with the restricting field it’s easy, no problem. The problem is controlling the lock of those records, I just want to lock those records, not lock all records table view to the other users.
    Any help to this issue...
    Regards,
    Duarte
    Duarte

    Hi,
    You can not lock single record.
    Regards,
    Satish

  • Master - some records : Detail - for only a few i(not all)records in master

    Hi
    I have a requirement like master and detail. However I do not wish to see the details of everything that is there in the master but only a few records (based on some criteria). Example:
    Id Desc Col3 Col4
    1 1 desc 1col3 1col4
    2 2 desc 2col3 2col4
    3 3 desc 3col3 3col4
    id col5 col6 col7
    3 abc def ghi
    4 4 desc 4col3 4col4
    How can I have such a layout in which detail shows details of only selected records present in the master?
    Any help appreciated big time.
    Thx!

    1. create two queries. master and detail and link on the fields of interest.
    2. on the layout, have repeating frames. one for the master and inside the master frame, a repeating frame for the detail.
    hope this is what you are looking for..

  • Make download button show all download instead of only a few downloads.

    Just updated from version 25.
    Is there a way to make it show all download instead of showing only a few downloads when I click it the download button? Also, is there a way to make it automatically opens the show all download when I download a picture?

    No to your second question. about:downloads it the page that show all the downloads.

  • Show only subset of labels from a data series

    I'd like to show only a few labels from a given data series.  I saw some work-arounds posted from 2010 (e.g., add a new series with just the items to be labeled; turn off all labels on original data series).  Was wondering if it's possible to deal with each series-label individually now, thereby avoiding having to add extraneous series to my data.
    Thank you.
    B.

    Thanks, Jerry.  Very curious --- when I hide rows on my original table, those data aren't removed from my chart.  So I built a new chart with new data and hiding rows on this new table does indeed remove those data from the chart.  So something seems to be happening with my original data table.
    But this is actually separate from what I was asking about.  I'd like to keep all the columns in my chart and just have a few labeled.  Was seeking a way to do that without adding a "For Labeling Only" column to my table (Excel let's one deal with column labels individually; figured Numbers might be able to do that, too). Here's how the workaround looks:
    Thanks again for responding.
    -Brian

  • LOV is showing only few values?

    Hi Everyone,
    I have one oaf page in which one lov is there which is showing only few values not all the values.
    but when i execute the same query in toad its showing 125 values.
    how can i make lov to display all the 125 values?
    can i do this thriugh personalization or i need to customize? plz give me the steps....
    Thanks.

    Kumar ,
    If Lov has 125 records , it will display only few records in first display set when you click on next button(link that appears right top on Lov pop up window )
    it will show remaining set of records , ( 10 / 20 values in each in set ) .
    If you are sure its not displaying entire set of rows , then probably their might be some restriction would have implemented in where clause to filter the records .
    Copy the query associated to LOV region and run from the data base and see what's the number of rows you are getting . If there is any variation then
    some ' where ' is causing the filtration , please look at the java source code of the page to track the issue .
    Keerthi
    Edited by: keerthioaf on Nov 15, 2012 4:39 AM

  • On my iPod, I clicked on the Album Tab and only a few of the Album Pictures show up, when I click on the Albums without an artwork on it it has it in the song. Help!

    To clear things up.
    When you go on your ipod and click the Albums Tab, you see all the Albums of the songs. Only a few Albums have the correct Album artwork on it- the others have the white background and music note- If i click on the album with the white background and music note the correct artwork shows up for the song but not the Album. Please help me out.
    Thanks

    Removing all Apple related software and reinstalling iTunes should bring all needed drivers back: Removing iTunes, QuickTime, and other software components for Windows XP
    Also check for new driver updates for Windows, especially if you have a webcam installed.
    iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
    copied from the article about reinstalling iTunes

  • When i sync to my phone only a few songs show up then they go away when i try to sync more. i am trying to down load songs from myxer can anyone help?

    need help with sync to my phone I sync but only a few ring tones show up then they go away when I try to sync more. how do i sync and them stay?

    Your problem is that everyone seems to be using the same iTunes store account (ID).  That's fine when a family wants to share purchased items, but that's the rub - everyone is tapping into the same account, so they can download whatever is available.
    As for icloud accounts, icloud is designed for single user use.  If multiple users share the same icloud account then all their devices will be synced together - same emails, same contacts and calendars, same notes, etc.  There is no privacy or division of data in this scenario.  The usual advice is for everyone to have their own ID for icloud, and share the family ID for iTunes store.

  • My iPad suddenly started to show crazy colors.  I turned it off and had to use the two button trick to turn it back on.  Now it shows only green stripes for a few seconds and goes back to sleep.

    My iPad suddenly started to show crazy colors.  I turned it off.  It would not reboot until I used the two-button reboot.  Now it shows only green stripes.  only for a few seconds and goes back to sleep.  HELP!

    Standard troubleshooting...
    1. Try a Restart by pressing the sleep/lock button until you see the slider.  Slide to power off.  Restart by pressing the sleep/lock button until you see the Apple logo.
    2. Try a Reset by pressing the home and sleep buttons until you see the Apple logo, ignoring the slider if, it comes up. Takes about 5-15 secs of button holding and you won't lose any data or settings.
    3. Remove all apps from Recently Used list...
    - From any Home Screen, double tap the home button to bring up the Recents List
    - Tap and hold any icon in this list until they wiggle
    - Press the red to delete all apps from this list.
    - Press the home button twice when done.
    4. If still a problem restore with your backup.
    5. If still a problem restore as new, i.e. without your backup. See how it runs with nothing synced to it.
    6. If still a problem, it's likely a hardware issue.

  • When updating to target only few records got added to the target

    When updating to target only few records got added to the target from the transferred recordsu2026what could be the reason?
    Edited by: MohanDP on Jun 28, 2010 7:44 PM

    Hi Mohan,
    When updating to target only few records got added to the target from the transferred recordsu2026what could be the reason
    There might be a routine in your Transformation which might be filtering few records(or)
    It is possible that you will have multiple records for one keyfield in PSA. But when you try loading the same to datatarget like Cube, the result will be added.
    For ex, say you have Profit center US00000593 in PSA with two rows with keyfigure(say some ABC) values 100 & -50.
    Then when you load the data to datatarget, you will have only one row in it with Profit center US00000593 & values for keyfigure ABC=50 (i.e 100-50=50). So most of the times we will be having added records less than transferred records.
    Hope it is clear!
    Regards,
    Pavan

Maybe you are looking for

  • Problem In Save of BDC  (Create PO)

    Hi All,        Actually this is not a problem I have resolve the issue by other way but why it was not happening with the previous way I am not able to get that why putting the thread in forum. I have created one BDC  for  ME21. Every things is worki

  • Pse 13 for mac- Is there a digital download after you buy it disc won't read for some reason. using macbookpro.

    I bought the PSE 13 disc and put it in my laptop( macbookpro) and for some reason it won't read- all it does is run and then spit the disc out not sure what to do. Is there maybe a digital download since there is no customer service number to call-

  • Best way to create a frame around an image

    I'm not sure what to use to create a frame of different shapes (I can do it with tubes in Paint Shop Pro but want to figure it out in Adobe) around an image and then give the image in that frame a fuzzy or old-fashioned look. I have the CS4 Master Co

  • Any possibility to implement a destructor in abap-objects

    we have a class that when generated creates open a logger-handle via the normal SAP functions. If this class gets destroyed (i.e. if the session in this case is closed) there is no return to any calling point possible. So what I would need here would

  • Error 16 for both CS6 and CC Mac

    Running OSX 10.8.4 mid 2009 Macbook 6 GB ram 256 GB SSD CS6 for some odd reason fails to open with an error 16.  I uninstall it and AAM does not list it so I can't reinstall Download Bridge CC which does work, but Photoshop CC gives the same error an