Article on cart-item example

Hi,
I would like to know if you have readen a good article or tutorial on how a cart-item runs with servlets on conjonction with dtabase connection.
More exactly, i know that we have to use more likely the HttpSessionBindingListener to wrap the userID so that the method valueBound may insert transient user data into he database et the method valueUnbound may remove the transient user data from database.
But how exactly implement this:
public void valueBound(HttpSessionBindingEvent e)
//insert transient user data into the database
public void valueUnbound(HttpSessionBindingEvent e)
//remove transient user data into the database
Which kind of object may hold the user data? A vector by example, that we have binded to the session also?
Any light on this topic would be very helpful,
Thanks in advance for your response,
Regards,
Steevy.

refer
http://www.spline.inf.fu-berlin.de/dokumentation/JAVA/j2ee/javax/servlet/http/HttpSessionBindingEvent.html
Regards,
Istiaque.
http://www.ideas2work.com

Similar Messages

  • SRM 7.0 Shopping Cart Item - customizing Delivery Address Tab fields

    Hi experts,
    I have to make the fields of tab Delivery Address in the Shopping Cart (Item detail) only readable.
    In other threads I found similar questions: in SRM 7.0 I have to go in Customizing
    SAP Supplier Relationship Management -> SRM Server -> Cross Application Basic Settings -> Extensions and Field Control (Personalization) -> Configure field control
    and add fields for which I want properties to be changed.
    The problem is that at start of the SC creation the fields are blank again, they became gray only if, for example, I take an address with the match code on NAME field, that populate the other field of the tab. Or if I check the document after I've insert the address Name.
    Thank you in advance.
    Enrico Righetto

    Hello,
    Check here how the delivery address determination works:
    http://wiki.sdn.sap.com/wiki/pages/viewpage.action?pageId=230261594
    If field is made as read only when address is maintained, the best option would be to maintain a standard address number in ADDR_SHIPT attribute in PPOMA_BBP.
    Regards,
    Ricardo

  • Reg : Shopping cart item

    Hi All,
    We can have many items in shopping cart.Once the shopping cart has been approved, order can be generated .
    Here there are two questions for me..
    1.Let us suppose there are two items in shopping cart.Now can i create two different purchase orders for those items.
    2.If i have only one item.then can i generate multiple Purchase orders for that same one item in the shopping cart.
    Thanks,
    Ravee..

    Hi Pierre and David,
    Thanks for your replies
    Actually I found that both the scenarios are posssible.
    You people said that first one is possible.Second scenario is like when i have an item in SC with quantity 100.I can create two PO's with qty 50 each.
    Now I have a doubt here....
    I am creating Purchase order in SRM system.PO will be created for the approved Shopping cart.
    But while creating/changing PO if the purchaser try to change the value of the line items greater than the value approved in the shopping cart i should give him an error message.
    For that I am using a BADI : BBP_DOC_CHECK_BADI (This will get triggered when PO is created or changed).
    1. For a method in this BADI, I am passing IV_DOC_GUID(a global identifier)
    2. I am using a FM BBP_PD_PO_GETDETAIL and passing the above global identifier to a field in FM to get line items of the PO into an internal table.  (Here i am getting all line items of a PO)
    loop at line item internal table. (If i get multiple line items I will loop like this)
      3. After that In the PO line items there is a field SRC_GUID. I am passing this to a FM BBP_PD_SC_ITEM_GETDETAIL to get       the shopping cart information for that line item.
          (Here I am getting all SC information for that particular line item)
    endloop.
    Till here it is good.But the problem here is
    when two PO's are created from one line item on a shopping cart.*
    Example :
    From above
    In step 2 : I will get only one PO by passing unique identifier.
    let us suppose PO is  1000000000 and line item is 10(qty : 10). In its item details I will have a field SRC_GUID for every line item
    In step 3 : I will pass this SRC_GUID to FM BBP_PD_SC_ITEM_GETDETAIL to get SC details.
    Now I will check the details of PO with SC.As two PO's are created from SC.The Net Values of items in SC will be high.
    let us suppose SC has item 10 with qty:20.
    where Can I find the other PO's created for this Shopping cart. Then Only I can check whether the PO value is greater then SC line item.
    Please suggest me.
    Thanks,
    Ravee....

  • Shopping Cart Item deletable after approval

    Hello all,
    I have an issue regarding Shopping Carts: When a Shopping Cart is approved, gives a Purchase Order which is sent to Vendor, Requester can still delete Item of Shopping Cart, which has effect to delete Item in Purchase Order. I opened a message for SAP but they tell me this is the standard behavior which is for me a non sense!
    I would like to know if you already met the fact that Shopping Cart Item being deletable after approval and if you corrected it, how?
    Thanks,
    Patrick
    PS: I am working on SRM 5.0

    Hi,
    Yes this is a standard behaviour.
    The business case is a user who made a mistake and do not have access to PO due to lack of authorization.
    He should be able to delete his SC which trigger a delete status at PO item level.
    Then , if system is well configured, an update output is triggered to communicate to the vendor taht the line item has been deleted.
    If you do not want this behaviour, just modify the roel authorization in PFCG transaction.
    Kind regards,
    Yann

  • BBP_CREATE_PO_BACK & shopping cart items

    Hi,
    How do I identify in BADI BBP_CREATE_PO_BACK
    which purchase order item relates to which
    shopping cart item ?
    eg SC has 3 lines :
    1. widget      ->  purch req
    2. red thingy  -> PO item 1
    3. blue thingy -> PO item 2
    In the above-mentioned BADI how can I tell that PO
    item 1 came from shopping cart line 2 ?
    ( BADI logic needs to go back to SC item.... )
    Message was edited by: Ian Huxley

    Hello Ian,
    what do you want to do ?
    - send sc item reference to R/3 PO item or
    - identify originating SC item to complete some PO data before sending data to R/3
    During SC transfer, the Backend ref is stored at SC item level in BBP_PDBEI (business object BUS2012 & backend obj ID). Backend PO item # is not yet stored (done later by CLEAN_REQREQ_UP), but in fact PO & SC items are sorted in the same order.
    Ex:
    Order a SC with 5 items, at the beginning of the transfer, SRM groups SC items and stores PO ID for each SC item:
    SC item 1 --> PO 5000000001
    SC item 2 --> PO 5000000002
    SC item 3 --> PO 5000000001
    SC item 4 --> PO 5000000002
    SC item 5 --> PO 5000000001
    This will create 2 PO in R/3:
    PO 5000000001
    PO item 1 --> from SC item 1
    PO item 2 --> from SC item 3
    PO item 3 --> from SC item 5
    PO 5000000002
    PO item 1  --> from SC item 2
    PO item 2  --> from SC item 4
    Those PO item / SC item links are updated by CLEAN_REQREQ_UP.
    So in the BADI, if you look at SC items linked to the current PO ID (in table BBP_PDBEI), you should find only the relevant SC items (ex 3 items for PO 5000000001).
    Get rid of deleted items, sort them by internal number, and you have identified which PO item relates to which SC item !!!
    I think you can use function BBP_PD_OBJREL_READ_VIA_REF to retrieve SC items linked to a PO.
    Hope this is clear enough and will help you.
    Rgds
    Christophe
    PS: please reward points for helpfull answers

  • Add a new tab with customer fields to shopping cart item

    Hello Experts,
    I wanted some help in adding a new tab to shopping cart items. I went through some posts and found ways of doing it using some spro settings, but there is no way i can handle the field type in this.
    I want a customer field which is a checkbox, how would i add this?
    Moreover if i use spro the tab will by default be called as "Table Extensions" , i want to give it a specific name.
    In case i am adding a new webdynpro component , how would i go ahead with this? what is the name of the fpm config where i need to add my customer webdynpro component?
    So could someone please help me with this requirement.
    Regards,
    cruiser

    Hello,
    Please follow below steps,
    1.  Appending the fields to the structure in Se11 i.e INCL_EEW_PD_ITEM_CST_SC
    x = header, item
    y = PO,SC
    2.  SAP SRM->SRM server-> Cross-Application Basic setting ->extension and field controls->create a  table extension and supply with data->define customer table extension .( ZAINCL_EEW_PD_ITEM_CST_SC)
    3.  Set the visibility of  table extension thru control table extension and their fields and actions
        use configure  visibility of table like item enchancements
    Bus. Object Set Type  : TICUS
    Bus. Object Type         :BUS2121
    Transaction Type        :SHC
    PDO set exist   :X
    4. Configure Control of Fields of Table Extensions
    Bus. Object Set Type : TICUS
    Structure Field Name : Field name
    Bus. Object Type       :BUS2121
    Set Level                   : ITEM
    Field visible: X
    Field Enable: X
    5. Configure control action
    6. Maintain  view /SAPSRM/V_MDFSBC_DEFAULT
    Bus. Object Set Type : TICUS
    Structure Field Name : Field name
    Bus. Object Type       :BUS2121
    Set Level                   : ITEM
    Field visible: X
    Field Enable: X
    Regards,
    Neelima

  • Copy shopping cart item (originally from catalog), able to change price

    We create a shopping cart item by selecting a catalog item from CCM 2.0. The price is not changeable, as we would expect.
    We then copy that item in the cart to create item 2. However, the price in item 2 is now changeable, even though it was copied from catalog item 1.
    We have implemented OSS note 693175 which gives us the ability to change the price of a catalog zero priced item, which is what we want.
    But we do not want to be able to amend the price of catalog items that have been copied to new items.
    Can we prevent a catalog item that has been copied from having its price changed?
    Thanks
    Neil

    Hi Neil,
    I think any item that is copied from another line item can be changeable irrespective of whether the first item was a catalog item or not.
    You are just copying a line item and is not directly taken from catalog.
    So the system allows you to change the item details.
    If you want to order the same item at same price then what is the need for copying it as second line item.
    Hope this makes you clear.
    Rgds,
    Teja

  • SRM7 shopping cart item clipboard management - how to delete/remove

    In SRM 7.0, after adding a shopping cart item, in "Item Overview" you can use button "Copy" to "Copy selected item to clipboard".   If there is an item stored in clipboard, the button "Paste" is enabled and user can "Paste clipboard contents".
    My question is how to delete the clipboard content in "Item Overview"?  Unlike clipboard in "Account Assignment", there is a button for user to delete clipboard content.

    Hi K,
    I think this question was auto marked as Answered by SCN.  There is no answer at the moment.
    May be you can open a new thread for the same question.
    Regards,
    Donald

  • SRM4 - Shopping Cart - Item Details - Expand Area title change

    Hello gurus
    could you point me in the right direction to change the title of the expand area in Shopping Cart  - Item Details: - Vendor Text and Internal Note ?
    Thank you very much
    Imrich

    found it on the screen
    SAPLBBP_SC_UI_ITS                       0120

  • Add shopping cart item functionality is not working in PO

    Hi Experts,
    I found that Add shopping cart item functionality is not working in Purchase order.
    We are raising the Purchase order in SRM and i am trying to use the Add shopping cart item functionality to add the shopping carts line item in to purchase order.
    Once I will click on start search, it will give me a list of Approved shopping cat and when I am trying to add any shopping cart in PO line item, nothing is happening and  It is not allowing me to add the shopping cart line items in to this PO and also there is no error message.
    Please suggest us how i can fix this issue.
    Thanks in advance.

    HI,
    If the shopping cart's have same vendor and company code, then only we can club the shopping carts
    in to single PO.
    Please go throught it
    http://help.sap.com/saphelp_srm40/helpdata/en/38/4cc5376848616ae10000009b38f889/frameset.htm

  • How to Add Shopping Cart items to an existing PO

    hai friends
    how to Add Shopping Cart items to an existing PO
    Regards
    Emil

    Hi,
    go to the Manage PurchaseOrder
    (BBP_POC) transaction.
    Then, I enter the "Item data" tab and I go to add shopping cart item part and click on "Start Search".
    I select one item in a shopping cart appearing in the screen and press "Add to Purchase Order" button.
    BR,
    Disha.
    Do reward points for useful answers.

  • 2 Shopping Cart items with same item number

    Hi experts,
    We are facing a problem I never heared before : a shopping cart has been created with total of 51 items in SRM but some of them have the same item number in BBP_PD (2 items nr 16, 17...).
    For example, the 2 items nr 16 have a different Guid, only 1 entry in status section (I113 => OK), 2 entries in Partner section (vendor, requester, receiver, ship-to & site => OK), 2 entries in organization section, only 1 entry in item link section, 2 entries in concract section, 2 entries in account assignment section.
    Functionnally, these 2 items are not on the same article (even product categories are different).
    The problem now is that only one of the 2 items has been transfered to the backend, the other item has status "approved" but no "follow-on document created".
    The only thing diffrent from another SC is that this SC has been put on hold before being ordered (status I1009 is inactive).
    I didn't found any note on this problem, we are user SRM5.5 SP6 with classical scenario.
    I heared about a maximum item number in SC but I think in SRM5 there is no limitation, at least not less than 99 items.
    Thanks in advance for your help!
    Best regards,
    Benjamin

    Hi,
    please try to process the Held SB ,backend document will be created. since Creation of Shopping cart is in WEB processing of time take more normally .I think you can create a line item of
    999 line in SB because in backend SAP R/3 it will allow only 999 line items
    G.Ganesh Kumar

  • Shopping cart - item in transfer process

    Hello All,
    We are using SRM 5.0 and the problem is that after the Shopping cart is completely approved,the line item has the status "Item in transfer Process". So, SRM PO is not created for these carts.
    I have checked almost all the old threads related to this topic and tried all the possible ways suggested in those threads but the issue is not resolved.
    I have collected the data for these carts, and most of the carts went into this status when large dump was created in st22. I couldn't find another other information in RZ20.
    Below is the status for one of the carts in BBP_PD.
                         Status         Description                                            Inactiv
    HEADER       I1009          Held                                                         X
    HEADER       I1015          Awaiting Approval                                   X
    HEADER       I1021          Created
    HEADER       I1038          Complete
    HEADER       I1106          Shopping cart ordered
    HEADER       I1129          Approved
    0000000001 I1111          Item in Transfer Process
    Please help in resolving it.
    Thanks in advance.
    Muzammil
    Edited by: muzamil24 on Sep 5, 2010 5:07 AM

    Hello Muthu,
    Yes, the clean job runs in the system. We are in SRM 5.0.
    There was one requirement for one of the shopping cart which was in item in transfer process status. So, i created another cart with the same details and it processed successfully.
    This issue is not with all the carts, but it is with only particular carts. I am unable to recreate this
    Below are the answers for the questions you asked:
    -- No, it is not a limit shopping cart
    -- Source of supply is not fixed. It is chosen from the vendor list applicable for the product category selected in the SC.
    -- Assignments of Cost center and other things  is set up in the customised approval matrix table.
    -- The approval flow is designed based on the value of the SC and the matrix type.
    -- Matrix type is defined as 1,2 ,3....such that each type will have various levels of approvers.For example in type 1 there are 4
    -- two approvers cannot have same set of cost assignment dimensions
    Please let me know if any more information is required.
    Thanks,
    Muzammil

  • Shopping Cart Item wise PO or PR creation in backend system.

    HI Experts,
    I have one doubt in the shopping cart,can any one of you tell me the customizing setting for the same.
    Whenever we create shopping cart either PO or PR is created in backend system as per the requirement of client,there must be some customizing settings need to be done for the same.
    What is that customizing settings????reply for both PR as well as PO.
    Also when we have multiple line items in Shopping cart and if we want to create PO for one line item and PR for other line item in the back end system then how to change this setting for achieving item specific customizing?????
    Thanks in Advance,Please help.
    Thanks & Regards,
    Paresh Sojitra.

    Hi,
    1. Using Business Add-In BBP_CREATE_BE_RQ_NEW you can change all the data that is transferred to the backend system for generation of a requirement. This includes, for example, item data, account assignment data, and texts. You can access all the shopping cart data in the method FILL_RQ_INTERFACE for generation of the backend reservation via the BAPI BAPI_REQUISITION_CREATE
    2. Using the Business Add-In BBP_CREATE_BE_RS_NEW, you can change all the data that is transferred to the backend system for generation of a reservation. This includes header and item data.
    All the shopping cart data is available as input parameters.
    3. With Business Add-In BBP_CTR_BE_CREATE, you can replace or supplement existing contract data in SAP Enterprise Buyer with your own backend structures and tables. Enterprise Buyer calls this BAdI before it makes the RFC to the backend system to create a contract.
    For more details go through SE18 Badi documentation..
    Q Also in the the above case if i want to create Reservation for one item of shopping cart then what to do???????? and what to do for Contract creation in backend system????
    A. When you create SC for item, if the item was stock item in backend system automatically created reservation as mentioned in above settings.
    in classic scenario contracts are created in R/3 System.
    Thanks
    prasad.s

  • PDF Proposal, Ala Carte Items, with a Grand Total Automatically Generated

    I need to create a proposal containing check boxes so a client can choose projects ala carte and see a grand total for his selections at the bottom.  I am using acrobat x pro.  I am a novice, and don’t even know where to write a javascript, or how to assign a value to the check boxes. Thank you for your help.

    Courtney Wilkins,
    For future reference, the proper Adobe Forum to post such questions is the
    LiveCycle Designer ES forum.
    Have a look at the "Purchase Order -- Dynamic Interactive" sample that ships with Designer. You'll find it in the following folder:
    {Designer_install_location}\{version}\EN\Samples\Forms\Purchase Order\Dynamic Interactive\Forms
    It's a great example of a dynamic table with various sums.
    As for the "item number", I'm assuming you mean the row index. If that's the case, then lets say you have a cell in your repeatable table row named "RowIndex" which is a text field. Also assuming you're running Designer 8.0 or later, you would add the following script to the row's IndexChange event (in JavaScript):
    RowIndex.rawValue = (this.index + 1) + ".";
    For more info, you could try the following posts and comments on my blog:
    Calculate Scripts and
    Instance Manager Object Reference.
    Stefan
    Adobe Systems
    More answers at
    Stefan Cameron on Forms.

Maybe you are looking for