Using AddItem from A repeater Component item to Add Items to a 'Shopping Cart'

In my app I previously used a product choice tilelist to display all my products and then as each product is clicked a product details screen popped up showing all of that product's details but my client decided he wants all of the items to be displayed at once so I had to simply use a repeater component around the original product details screen so that it repeats the screen for every product one below the other and I've scrapped the product choice tilelist.
Previously I used to be able to add item's to a cart/array collection dataprovider by clicking the add item to cart button within the product details screen using the additem method but this needs to be done by assigning text properties to variables as far as I know because you can't put text values into a array collection but it doesn't seem possible to do this from within a repeater item.
In each of my repeater items I have the values productPrice, productImage, productAddon1 and productAddon2 which are all text components which obviously all vary depending on the repeater item. What I need is when I click on the add item to cart buttons inside each item in the repeater for these details (text component text properties) of that particular item to be added to an array collection. How can I go about doing this?
Basically the objective is to get dynamic text values from within items of a repeater component into an array collection. Is this possible?

If any of you guys were to go about doing this how would you do it?
Basically I have a repeater component display a list of items each of which contains a product. I want it so that when the add to cart button is clicked within the each item it can be added to an array collection but it doesn't seem possible.
Can anyone help me out or give me a hint on this?

Similar Messages

  • Urgent : Confirmation and invoice number of a line item of a Shopping cart

    I have developed an end to end report in SRM which gives us an end to end report of a shopping cart .
    I have got the Shopping Cart details using FM : BBP_PD_SC_GETDETAIL 
    for each item of the shopping cart in the table E_ITEM  , getting the Po number for it from  E_ITEM- BE_OBJECT_ID
    I called FM BBP_BE_PO_GETHISTORY to get the  Confirmation and Invoice number from  E_HEADER_REL of  BBP_BE_PO_GETHISTORY.
    But this function  module  gives me the confirmation and invoice number  of a particular purchase order and
    I am stuck here as I need to find out the confirmation and invoice number of  a line item and I am not finding a link  between them .
    I  tried using  FM BBP_PD_PO_GETDETAIL ,
                             BBP_PD_PO_GETLIST 
    BBP_PD_PO_DOC_FLOW  and other function modules also , however they give me the confirmation and invoices o a particular PO but I am not    able further drill down to find  confirmation and invoivce of a particular line item of a shopping cart …..
    Please let me know if there is a way to find this out ????
    Useful answers would be rewarded .
    Regards,
    Prabhu

    Hi All ,
    I was able to get a link using the function module  BBP_PD_SC_GETDETAIL . in the tables E_item  has fields BE_OBJ_ITEM  and the BE_OBJ_ITEM which give the po number and po line item number of each line item .
    then i used BBP_BE_PO_GETHISTORY Fm to get the history of the po and read the line item history based on the BE_OBJ_ITEM  no .
    Thanks to all .
    Prabhu

  • How to select Vendor information as per the line item of the shopping cart

    SRM ABAPers,
    I want to create a custom report and needs to produce SC's item details with vendor's information.
    So I want to select the vendor information(including the partner function- 00000019 or 00000039) as per the line item of the shopping cart, which SRM table can give me this information?
    Thank you!
    MP

    Hi,
    To get the SC item details,you an use the FM 'BBP_PD_SC_GETDETAIL".
    Also to get the vendor details,you can use the FM "BBP_PARTNER_GET_PURCH_DATA_NEW".
    BR,
    Disha.
    Pls reward points for useful answers.

  • Can not add item to the shopping Cart with FireFox 8.0

    I can not add items to the shopping cart with Firefox 8.0. Switch to IE everything works then.

    Such details are stored in a cookie, so make sure that you do not block cookies on that site.
    *Tools > Page Info > Permissions
    You can inspect and manage the permissions for all domains on the <b>about:permissions</b> page via the location bar.
    *http://kb.mozillazine.org/Cookies
    *http://kb.mozillazine.org/Websites_report_cookies_are_disabled

  • CK11 costing of repeated component item on bom

    Looking for a product costing solution to the following scenariou2026
    Bill of material contains a component that is listed twice, but with a different procurement indicator (purchase vs. production) for each occurrence.  The reason for this is that these are boms for repair and it is not known until the end item is disassembled whether the components will need to be replaced (and therefore purchased) or repaired (produced).  The procurement type on the material master is u2018Xu2019 for both procurement types.  Using historical statistics, an estimate is done for  what the produced vs. purchased quantities of the component should be.  For example, a repair calls for 10 of a certain component.  Historically, 70% of the time, the component can be repaired and 30% it will have to be replaced.  So, the component is listed once on the item list with a quantity of 7, and procurement indicator of production.  Itu2019s then listed again with a quantity of 3, and a procurement indicator of purchase.  From a logistics execution standpoint (production, MRP) this process is working.
    The problem is using CK11 to cost the end item.  While a cost estimate is created for the component, itu2019s based on the first listing of the component.  So, using my example above, if the production alternative  quantity was listed first, all 10 would be valued at the production value.
    Any ideas on how I can get around this?  Iu2019ve looked at mixed costing, but this would require additional maintenance for the procurement ratios, which we are trying to avoid.
    Thanks in advance

    Hi
    Mixed costing is your only option in this regard....
    Else, what the system is doing currently is the only choice.. OR At best what you can do is you can treat it for costing purposes as In-House i.e. repaired always.. This is because, most of the time it is so
    Regards
    Ajay M

  • Items in the shopping cart appear with different price than in the catalog

    Hi All,
    We are running SRM 5.0 (Classic Scenario) with external catalogues.
    After selecting items from the external catalogue and transferring them to the shopping cart, the items appear with different price(the problem exists in the productive system)
    The strange thing is that there is no dependence or sequence between the differences. For example, in one shopping cart, one item is with correct price, the price of the other item is not correct (when I click on the icon which is  showing item details in the catalogue, the price is different than the one in the shopping cart). Sometimes the difference is significant, sometimes not - if the item price in the catalogue is 22.34 EUR, in the shopping cart is 21.22EUR or if the item is 45.62EUR in the shopping cart is 45.60 EUR. There is no logic.
    I tried to create a shopping cart in the support system, with the same items from this catalogue, and they are sent back in SRM with the correct prices.
    I traced all OCI parameters, sent from the supplier catalogue, and everything is correct.
    At the example given below the price in the shopping cart ordered in the productive system is 69.00CZK, and after that during the test the correct price of 73.870CZK has appeared.
    NEW_ITEM-DESCRIPTION==Durable-KeyClip-keytag%2C+black
    NEW_ITEM-MATNR==
    NEW_ITEM-MATGROUP==
    NEW_ITEM-QUANTITY==10
    NEW_ITEM-UNIT==EA
    NEW_ITEM-PRICE==73.870
    NEW_ITEM-PRICEUNIT==1
    NEW_ITEM-CURRENCY==CZK
    NEW_ITEM-NEW_ITEM-LEADTIME==1
    NEW_ITEM-VENDOR==
    NEW_ITEM-VENDORMAT==0176%2F1957001
    NEW_ITEM-MANUFACTCODE==
    NEW_ITEM-MANUFACTMAT==
    NEW_ITEM-CONTRACT==
    NEW_ITEM-CONTRACT_ITEM==
    NEW_ITEM-SERVICE==
    NEW_ITEM-EXT_QUOTE_ID==
    NEW_ITEM-EXT_QUOTE_ITEM==
    NEW_ITEM-EXT_PRODUCT_ID==23109
    NEW_ITEM-EXT_SCHEMA_TYPE==UNSPSC
    NEW_ITEM-EXT_CATEGORY_ID==55121504
    NEW_ITEM-LONGTEXT_1%3A132==Durable-KeyClip%0D%0Akeytag%2Cblack%0D%0A%0D%0A6pc
    I checked the error log in SLG1 for BBP_OCI, and no error message exists. In my opinion the problem can be in supplier system, because otherwise all items will be with wrong price. And at the moment, there are shopping carts in which all items are with the correct price!
    It is not something in the user profile, because in one shopping cart created by one user some items are correct, some of them not.
    I also checked with the supplier,  they said that they haven't change the price, recently.
    Has somebody of you met this problem?
    In the IMG-> Define External Web Services (Catalogs, Vendor Lists etc.) I have set all parameters for the standard call structure: the URL of the supplier, our company ID and password for their catalogue.
    In the Detail view for the catalogue, the following parameters are set
    u201CAdditional functions in the product catalogueu201D field:
    -     Display product data again in the catalogue
    -     Validate product data from SAP Enterprise Buyer
    -     Find supply sources
    u201CTechnical Settingsu201D field
    - Use Error Log
    Thanks,
    Desi

    That means that we are not maintaining material numbers in SRM, so there are no predefined price or info records for that materials in R/3 system, or in SRM.
    In the set up of external catalogues, validation of the price is set. Which means that, if a new shopping cart is created from already existing one, and meanwhile, a change of the price is done by the supplier in the catalogue, the new item price will be adopted in the shopping cart.
    No prices are maintained in the SRM system, everything is from the supplier catalogue.
    Desi

  • I can't delete an item in my shopping cart.

    I have tried to click on the x beside the buy symbol and also highlighted the item and push the delete key and neither one will delete it. I added a song today and then deleted it and it worked just fine but this one will not go away. Can someone help?

    If Francisco's suggestion doesn't work, contact the iTunes Store customer support department through the form linked from the bottom of their web page and explain the problem to them. They can clear your Shopping Cart for you. They'll probably have to clear the entire cart, so if you have other items there, make sure you've noted them, or saved them in a "wish list" playlist, so you remember what they were.
    Good luck.

  • Disable "Add item" and "Paste" button on item level of shopping cart

    Hi,
    I would like to disable the "Add item" and "Paste" button on the item level when editing a shopping cart awaiting approval.  I have been able to accomplish this for the buttons "Delete", "Duplicate", and "Copy" already.  I have done this by adding an enhancement implementation in the class /SAPSRM/CL_PDO_DYN_MDA_IT_SC under the methods DELETE_ITEM (delete button), COPY_ITEM (duplicate button), and COPY_CLIP (copy button).  This enhancement gets the shopping cart header guid, then uses the function module "BBP_PD_SC_GETDETAIL" to return the table e_status to check if the shopping cart is awaiting approval.  If it is it will disable the buttons, making them equal to abap_false.
    I would like to do this same thing to the "Add item" and "Paste" buttons but they are not listed in the the same class.  Does anyone know what class they are called in?
    I have tried looking in SPRO -> SAP Supplier Relationship Management -> SRM Server -> Cross-Application Basic Settings -> Extensions and Field Control (Personalization) -> Control Actions -> Display Standard Metadata Tables for Actions on Item Level.  I can't find the "Add item" and "Paste" buttons in here for BUS2121(shopping cart) under Edit mode.  Anyone have any ideas?
    Thanks,

    Jay,
    I did as you suggested and was able to break on the method as expected.  I made the same coding changes as I had in the other methods where I put in an enhancement but it would not work.
    I was able to solve this problem by creating an enhancement in the Web Dynpro where the buttons were being displayed.  I created a 'Post-Exit' enhancement for the WDDOMODIFYVIEW method.  Within this I added my custom logic to disable the Add Item and Paste buttons when in editing a shopping cart that is awaiting approval.
    Thanks for the help,
    Jeff

  • Enable 'process all items' option in shopping cart display/edit screen

    Hi All,
    'Process all items' option is disable in the shopping cart view/edit screen. How can I enable the said option ?
    It there any authorization object or attribute needed for enable 'process all items' option ?
    For your information, this botton is appear next to Delete option in shopping cart item level.
    Thanks,
    Regards,
    Jennifer

    Hi,
    if you want to enable or disable any option or field in SRM portal find the web component of the field by right clicking on it, Then enhance the web component and in the post exit of WDModify_view add the code for enabling or disabling the field.
    Which will definetly work.
    Regards,
    Goutam Kolluru.

  • Use HTTPService to repeat component item

    Hi,
    first I would like to create a list of item from a
    HTTPService.
    Here the XML file at the HTTPservice's url :
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <artistelist>
    <artiste id="0" nom="Tous les
    artistes"></artiste>
    <artiste id="3" nom="Chemical Brother"></artiste>
    <artiste id="1" nom="Noir Désir"></artiste>
    <artiste id="2" nom="U2"></artiste>
    </artistelist>
    and here a part of my mxml component :
    <mx:Canvas xmlns:mx="
    http://www.adobe.com/2006/mxml"
    width="514" height="300" xmlns:local="*"
    creationComplete="GetArtiste.send();">
    <mx:HTTPService id="GetArtiste" url="
    http://127.0.0.1/tunes/bin/music.php?gettype=artiste"
    resultFormat="e4x" useProxy="false"/>
    <mx:Repeater id="r"
    dataProvider="{GetArtiste.lastResult}">
    <mx:RadioButton id="Radio"
    label="{r.currentItem.artistelist.artiste.nom}"
    x="{r.currentIndex}" width="150"/>
    </mx:Repeater>
    </mx:Canvas>
    With this, I have only 1 radio button and no label ! I tried
    to change the dataProvider of the repeater by
    GetArtiste.lastResult.artistelist, and I have no radio button.
    I think there is something missing but I can't find what.
    I've read some post and tried a lot of things but with no
    results... Does anyone see what's wrong ?
    The second part of my problem is to display an mxml component
    instead of the radio button. And my question is : what about if my
    component resize his height (by changing his state)? Are the other
    components in my list going adapting their positions ?
    Thanks a lot for your help
    Mika

    Great ! that's working perfectly... Thanks again for your
    help Peterent !
    Just now, I replace the radio button by a component. And I
    would like to assign it a dataProvider that is the r.currentItem
    itself. I don't find the way to assign an ArrayCollection that
    representing the r.currentItem.
    Here what I do for each property to set :
    <mx:Repeater id="r"
    dataProvider="{GetVin.lastResult.vin}">
    <local:vin width="520" id="vin1"
    description="{r.currentItem.@description}"/>
    </mx:Repeater>
    And in my 'vin' component add a code like this :
    [Bindable]
    private var descrip:String;
    public function set description(desc:String):void {
    descrip = desc;
    It's working but, I think there will be a simple way to do
    this for many properties to set... If anyone have an idea ?
    Thanks for your help.
    Mika

  • This may sound goofy but how can i delete ALL the items in my shopping cart

    i would really like to know how to do this so i can start from scratch i printed off all that was in it so i can refer back to it but i want it all gone at once just all of it clicking the x is just too much for me to sit for minutes on end / hours to do just too much in there.
    VV ginaanig

    Try this instead:
    Drive Partition and Format
    1. Open Disk Utility in your Utilities folder.
    2. Select the backup volume from the left side list. Click on the Erase tab in the DU main window.
    3. Set the format type to Mac OS Extended (Journaled.)
    4. Click on the Erase button.
    You will need to reconfigure Time Machine preferences for the backup.
    FYI: Never remove Time Machine backup data except through the Time Machine application. If you aren't sure about using Time Machine then visit Pondini's Time Machine FAQ for help with all things related to Time Machine.

  • Confirm item deletion in shopping cart.

    Hi all,
    MySAP SRM 5.5
    Currently, when I create a SC if I delete an item, the item is deleted without confirmation message.
    Someone can tell me what to do to have this message please?
    Thank's in advance.

    Saifoudine,
    Hi. There are a couple of BADI's available.
    BBP_DOC_CHANGE_BADI
    BBP_DOC_CHECK_BADI
    Cheers
    Rob
    >

  • Item level link in PO for items added from individual Shopping carts

    Hi all,
    IF i create a PO in Sourcing using multiple shopping carts,then for each of the item in the PO ,is there any link which has details about the Line item of the SC from which the PO was created?I am looking for some link in the PO(created from multiple carts) at the item level with the Items in the shopping cart.
    E.g. I create PO 100 from cart 10 and Cart 20.
    CArt 10:
    Line item A
    cart 20:
    Line item B
    PO 100:
    Line Item A(1st item)
    Line item B(2nd item)
    For the above example,is there any link in PO 100 for item A in SC 10 and for item B in SC 20?
    Thanks in advance.

    What are you trying to achieve? What other link do you need if you get the item GUID (this is not the shopping cart number!)? The item GUID is a unique number in the SRM system that is only used for that particular item. So there is no need to identify it any further or in any other way?
    So 4 ways to get it:
    1. use the correct tables (CRMD_ORDERAMD_I & BBP_PDIGP using GUID and SRC_GUID from the top of my head).
    2. Use the BBP_PD_PO_ITEMGETDETAIL Function Module (do a search for BBP_PD_PO* in transaction SE37 to find the correct name).
    3. use transaction BBP_PD (only reference)
    4. use the PO transaction in internet explorer and check the preceding shopping carts
    Regards,
    Robin

  • Shopping cart line items are missing while transfering from ITS to EBP

    Hi everyone
    I am Raghu, working on EBP (version 2.0)
    Some shopping cart line items are missing while transferring the shopping cart data from ITS to EBP.
    For example in my shooping cart 4 items are there,during transferring shopping cart data from ITS to EBP all 4 items are getting updated for all the shopping cart related tables except account assignment table.
    In account assignment table for this particular shopping cart only 3 items are updated and usually the first line item gets missed out.Hence the the system fails to create the follow on documents in R/3. 
    This is happening randomly for few of the shopping carts that too most of the cases first item of the shopping cart was not updating reqacct table(this is account assignment table for shooping cart items).
    I have debugged entire scenario,but  couldn't find the cause for this..
    Can any one  please advise me....why this is happening?
    Your immidiate ersponse will surely help me a lot.
    Thanks,
    Raghu

    Hi Yann
    Thanks for your support.
    Yes, we are using EBP2.0/CRM 2.0C & the support pack level is SAPKU20C23.
    Please advice
    Thanks
    Raghu

  • Limit on items in shopping cart

    I am trying to determine if there is a limit on the number of items in the shopping cart coming back from the catalog.  We use SciQuest and when a user transfers her items back to SRM, she is getting an 400 Bad HTTP request.  There are 60 lines on the cart in the catalog.  I don't think the issue is on the SciQuest side, but something in the translation coming back to SRM.
    400 Bad HTTP request
    Bad HTTP request
    Error:  -21
    Version:        7000
    Component:      HTTP_FILTER
    Date/Time:      Mon Sep 12 13:06:05 2011
    Module: http_auth_mt.c
    Line:   494
    Server: olympia_PEP_43
    Error Tag:     
    Detail: illegal request

    If that is caused exceeding by the maximum size (4096) for a cookie then there is nothing to do about it.
    * http://mxr.mozilla.org/mozilla1.9.2/source/netwerk/cookie/src/nsCookieService.cpp#94
    * http://mxr.mozilla.org/mozilla1.9.2/source/netwerk/cookie/src/nsCookieService.cpp#1435

Maybe you are looking for

  • HT1689 how do you retrieve an ipod that's been stolen but said it's "offline" on the stolen app?

    I have lost my ipod and it's been over a month now. I thought that the stolen lost my ipod/iphone app would help me but all it said was it's offline. I'm almost positive someone didn't steal it but it's misplaced. Do you have any ideas???

  • Attributes in dimension

    Hi there, This is more of a question around dimension modelling. Should we be adding attributes of a master data info-object as part of the dimension even if the master data info-object is already part of the same dimension? e.g. if material group is

  • Elements 11 suddenly won't download nef

    Without warning my elements 11 auto downloader decided it can't read the nef raw files from my d3100. Is there an update or something I need?

  • Can't do GoPro Hero 3 lens corrections in Photoshop CC

    I'm a creative cloud subscriber. I just watched a great video on Adobe TV showing me how Photoshop CC can do lens corrections for GoPro Hero 3 black edition cameras. However, when I imported my GoPro Hero 3 footage into Photoshop CC, GoPro did not ap

  • Database Connection Link

    Can I copy data from one table on a database to another identical table on another database? I've seen people using the '@' to create a link. Should this work - INSERT INTO table_copy SELECT * FROM table_origional@old_database