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

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

  • 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

  • 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.

  • Need to delete / clear PO value for a deleted shopping cart item.

    Hi friends
    Please help me on below mentioned issue.
    I have a shopping cart with one deleted item, That deleted item shows a PO number under table BP_PDBEI field BE_OBJECT_ID in production server.
    User want that PO number to be delete or clear from that shopping cart deleted item.
    We are not authorize to delete or clear a entry from the SAP standard table itself.
    Is there any function module, I can use directly in production server which can delete / clear this PO number from table BP_PDBEI field BE_OBJECT_ID from shopping cart deleted item
    Please help urgently.
    Thanks a lot in advance.

    Hi
        check this FM
    ISM_PORDER_DELETE
    ISM_PORDERNEW_DELETE
    ISM_PORDERRET_DELETE
    Regards,
    Viquar Iqbal

  • Need to delete PO value for a deleted shopping cart item.

    Hi SRM experts
    Please help me on below mentioned issue.
    I have a shopping cart with one deleted item, That deleted item shows a PO number under table BP_PDBEI field BE_OBJECT_ID in production server.
    User want that PO number to be delete or clear from that shopping cart deleted item.
    We are not authorize to delete or clear a entry from the SAP standard table itself.
    Is there any function module, I can use directly in production server which can delete / clear this PO number from table BP_PDBEI field BE_OBJECT_ID from shopping cart deleted item
    Please help urgently.

    Hi Sharma,
    normally if this PO doesn't have further follow-on documents, should be able to be deleted. Once the PO is deleted, the SC will be updated and in the follow-on document history of the SC you will see an additional remark "follow-on document deleted".
    But I guess, this is not what you would like to do.
    Without manual database changes you won't be able to delete the connection between the SC and PO.
    If you somehow will get authority to the database changes, please don't forget to delete also the relations between PO and SC. You will find it in the tables SRRELROLES and BBP_PDBINREL.
    Regards,
    Peter

  • 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 not appearing in sourcing cockpit

    Hi,
    I have an issue which is related to sourcing activity.
    I ordered a shopping cart and the status is approved the product category is set to sourcing always carried out after ordering when I check the status of the line item it is showing that the line item is in purchaser work list,but when I login as a purchaser I am not able to see the cart in sourcing cockpit.
    I have maintained strategic and operational purchaser roles for that user and product responsibility for that pruchasing group even then line item is not appearing in sourcing cockpit can any one among you throw some light on this.
    regards,
    IGA

    hi,
    Usually when I browse sourcing area the last work item should be my shopping cart line item.
    But I am not able to find the line item in sourcing area,I searched in all possible ways,do you think I missed some sort of settings regarding this.
    regards,
    IGA.

  • SRM 7.0 - Configure Field Control for Shopping Cart Item Overview

    Hi,
    I am able to hide fields in the shopping item details using the "Configure Control for Fields on Item Level" node in the IMG. 
    However, this same configuration does not seem to work for fields that are in the item overview of the shopping cart.  Any advice on how/why this seems to work differently?
    I do want to hide fields via config, not as an end-user.
    Thanks!
    Matt

    Hello Matt,
    You will find this useful.
    https://websmp105.sap-ag.de/~sapidb/011000358700001969972008E.pdf
    Thanks
    Ashutosh

  • Shopping cart - item status table

    Hi Friends,
    I have a requirement to develop a Z report which should include two status fields of Shopping Cart.
    One status column should show status at header level and the other should show status at item level.
    I am able to fetch the Status of the Shopping Cart at header level, but I am unable to find logic to pick to status at the item level.
    Can anyone explain how can I get the item status information.
    Thanks and Regards
    Vamshi Sreerangam

    Hi,
    The function module BBP_PD_SC_ITEM_STATUS_CHECK will give you the item status of the shopping cart.
    You have to pass the guid of the shopping cart and the item for which you want to find the status , then you ll get the status of the item in the export parameter ev_status.
    Thanks&Regards
    Ankita

Maybe you are looking for

  • How do you restrict web browsing to view only specified sites for business use?

    Hello, I need to restrict the use of Firefox and Internet Explorer to only specified websites that we use for business use. I have a problem with a number of employees using unauthorized and dangerous websites that have put my business computers at r

  • Music in Finder vs. iTunes

    not sure where to post this. i was wondering if anyone can confirm to how mac os x renders/plays audio in the finder? in os x 10.6.x, you can play audio files by clicking on the icon in the finder. what i'm noticing is that my music files sound way b

  • Burning extra copies of a FCP 7 shared through Compressor 3.5

    As has been posted before by others using FCP 7 & Compressor 3.5, I don't want to go to Toast 10 to duplicate an existing FCP 7 project (with the 3.5 menu using your own still image) as I don't want to use the Toast menus. Once I have shared a FCP 7

  • Solman 3.2

    Dear all , I had 2 queries regarding the solution manager 3.2 --> 1. I want to implement the business process monitoring in solution manager 3.2 .i had gone throough the sap documentation but it does nt help much . If anybody had done this b4 , pleas

  • Encrypt xml bean object

    Hi Folks, can we encrypt and decrypt a xml bean object . i have a xml bean encoded file which contains all questions and now user need to take a exam ,problem here is user can see that xml file in text editor in readble format. Now how can i encrypt