How to read shopping cart guid from memory

Hi Experts,
I am using badi  BBP_SOS_BADI, method BBP_SOS_CHECK to determine what contracts the user can choose from when creating shopping cart. The problem is that I have no access to the Shopping Cart details when I am in this BADI.
The aim is to use the Cost Centre on the shopping cart item to filter the contracts (I have added Cost Centre as a custom field on the contract) which the user can choose from.
I can see cost centre on the contract, however I have no way of tieing it back to the shopping cart cost centre. Is there a way to access the shopping cart details from within this BADI? I have no Shopping cart GUID available. All that I have are the details in parameter IS_SEARCH_CRITERIA (product category, recipient etc).
Is there any way to retrieve the shopping cart GUID from within the BBP_SOS_CHECK method?
Thanks in advance

Dear Poster,
As no response has been provided to the thread in some time I must assume the issue is resolved, if the question is still valid please create a new thread rephrasing the query and providing as much data as possible to promote response from the community.
Best Regards,
SDN SRM Moderation Team

Similar Messages

  • How to get Shopping cart number from TECH_INFO Guid approval offline

    Hi,
    When a user approves a shopping cart via e-mail (offline approval), then in transaction SOIN we can the mail which is like this:
    TECH_INFO_A=00F3D1395134D34D34D37DFBE75E81512DB5DB5FBE&submit_a=Approve by e-mail&TECH_INFO_R=444244093D34D34D34DF7EF9D7A0544B6D76D7&NOTM_OUT=&EOM=1
    How can I retrieve shopping cart number from these guids ?
    Thank you very much.
    Regards,
    Peggy

    Hello,
    E-mail data extraction is done by method EMAIL_DATA_EXTRACT from class /SAPSRM/CL_OFFLINEAPP_INBOUND.
    With the exporting parameter EV_WIID, call function BBP_PDH_WFL_OBJECT_WI_GET: you will get the Shopping Cart number.
    To have an idea of the whole mail data extraction process, check report /SAPSRM/OFFLINEAPPROVALGET
    Regards.
    Laurent.

  • How to get Shopping Cart Name from PO number in EBP ?

    Hi,
    If I have the PO number how I can get the shopping cart name related to this PO? I need technical fields and table relations.
    Regards,
    Achirangshu

    I'm not sure if this will work. I posted an answer to a similar question a while ago, but it didn't work well in the posters system. So maybe we can try this in steps. See if you get results from this:
    REPORT ztest   MESSAGE-ID 00 LINE-SIZE 80.
    TABLES srrelroles.
    PARAMETERS: po_no(10) DEFAULT '3000001977'.
    DATA: xobjkey  LIKE srrelroles-objkey,
          roleid(22).
    CONCATENATE po_no 'X' INTO xobjkey.
    * use PO to obtain the role id
    SELECT * FROM srrelroles
      UP TO 1 ROWS
      WHERE objtype EQ 'BUS2012'
        AND roletype EQ 'BBP_TARGET'
        AND ( objkey >= po_no
        AND   objkey <= xobjkey ).
      roleid = srrelroles-roleid.
      EXIT.
    ENDSELECT.
    You'll have to use a PO that you know exist in your system.
    If you get no results, try removing the WHERE on objtype and/or roletype and see what values are returned for these fields.
    Rob

  • How to pass Shopping cart currency to PO currency in SRM 7.0

    Hi all,
    As Iam  very much new to SRM. Can any one help me how to pass shopping cart current to PO currency in SRM 7.0.
    I mean what ever currency value we will maintain in SC same should reflect in PO also. Please let me know which BADI is useful to solve this issue.
    Thanks in advance !!!
    Regards,
    Kalyani

    Hello,
    This is the standard indeed.
    Are you using Extended Classic Scenario, which means that PO is created in SRM?
    When the PO is created without a vendor assigned , the Currency should be defaulted from SC .                                                        
    When adding the vendor a warnning message is issued to inform the purchaser the vendor currency is different with the PO current currency.
    The purchaser could judge by himself if he should change the currency or not.                                                                               
    If the PO is created with the Vendor , the currency is determined from the vendor.
    Not sure if BBP_DOC_CHANGE_BADI would overwrite the PO vendor currency.
    Kind regards,
    Ricardo

  • How to pass Shopping cart currency to  PO  SRM 7.0

    Hi ,
    How to pass Shopping cart currency to Po(insted of vendor master currency). Please help if there is a BADI or work around for solving the issue.
    Thanks & Regards,
    Sai

    Hi Ricardo,
    We found the BADI name from the note which you have provided.But unfortunately we are not able to find the spot where to write the code.
    for example
    After shopping cart is approved (final level release) the po is being created ,So we want to find the code which creates a po in srm.So can you please help how to move on in this case.
    Thanks & Regards,
    Padmasai

  • FM to retrive Shopping cart number from Confirmation

    Hi All ,
    We are using SRM 5.0 and classical scenorio.
    I have created confirmation for a PO and i need to retieve the appropriate shopping cart number for the PO which i created confirmation in SRM system itself
    Could you please any one tell me the table name or function module name to retieve the shopping cart number from the confirmation.
    Assured Points.

    Hi
    You can use following logic;
    Use FM BBP_PD_CONF_GETDETAIL to get the PO number for the confirmation from ES_Header-be_refobj field.
    Then get the PO guid from table CRMD_ORDERADM_H using PO number. Then use FM BBP_PD_PO_GETHISTORY with PO guid to get all the PO history data. You would get all the history from shopping cart to confirmation here.
    Regards,
    Sanjeev

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

  • How to install shopping cart in Adobe Muse Website?

    How to install shopping cart in Adobe Muse Website?

    Hi,
    Please refer to the following link Shopping Carts
    Regards,
    Aish

  • Code for how to read an integer array from the command prompt...

    hello,
    Could anyone give me the code for how to read an integer array from the command prompt...its very urgent!..

    If you are using a recent version of Java (5 or later) you can use Scanner:
    http://java.sun.com/javase/6/docs/api/java/util/Scanner.html
    That page has some example code on it, too.

  • How to Read a CAB File from JAVA?

    Hi,
    Anyone knows how to read a CAB File from java. I need to read a property file of txt file that is packaged in CAB file & then based on that, I have to do processing. Is there anyway to do it.
    I had tried using java.util.zip.ZipFile Class, but it does work for JAR, but not for CAB.
    siva.

    Perhaps there's something in the Cabinet SDK that will help:
    http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncabsdk/html/cabdl.asp

  • Shopping Cart Number from Purchase Order

    Hi Ppl,
        Santosh here. Does anyone have any idea of the Function Module(or possibly any other solution) to get the Shopping Cart Number from the Purchase Order.
    I have an requirement where in i need to determine the Shopping cart number from a purchase order.
    Please provide me with some solution ASAP if anyone is aware of it.

    Hi Santosh,
    To directly get the SC ID from the PO ID, you can use FM BBP_PD_OBJREL_READ_VIA_REF, with:
    - IV_OBJECTKEY = your PO ID
    - IV_OBJECTLINE = only if you aggregate N SC into one PO
    - IV_OBJECT_TYPE = BUS2201 for SRM PO, BUS2012 for R/3 PO
    Rgds
    Christophe
    PS: please reward points for helpful answers

  • How to implement Shopping cart functionality in weblogic portal 10.3

    Hi,
    Can someone help me out on how to implement Shopping cart functionality in weblogic portal 10.3?
    Thanks,
    Uttam

    One piece of advise I can give is to NOT* use the Shopping Cart fuctnionality inherent in WLP (com.beasys.commerce.ebusiness.shoppingcart. The Online Commerce functionality in WebLogic Portal has been deprecated.
    Brad

  • How to read line number text from PDF using plugin?

    Hi, I would like to know how to read line number text from PDF using plugin?
    Thanks in advance.

    Ok, some background reading of the PDF Reference will help you understand why this is so difficult. PDF files are not organised into lines. It is best to think of each word or character on the page as being a graphic with its own position. The human eye sees lines where a series of graphics (words) are roughly in the same horizontal region.
    In the general case it is difficult or even impossible to answer this. You may have columns with different spacing (but the PDF stores no information on what is a column). You may have subscripts and superscripts. You may have text in graphics coinciding with other text. Commonly, there may be titles, headings or page numbers which are just ordinary text and might count as lines.
    That said, what you need to do is extract the text on the page and its positions. The WordFinder APIs are the way to do that. Now, sort all the words out, using the Y coordinates and size to try and guess what makes a "line". Now you are in a position to find the text (divided into words, not strings) and report the "line number" you have estimated.

  • How to delete shopping carts from Favourites(EBP)

    Hi,
    Could any one help me ASAP .
    I have a problem that a user is using EBP since 2.5 years and all the shopping carts that she orderd filled up in Favorites(under my Ordered shoppingcarts).
    So when she is ordering from Favourites(My Order shoppingcarts) ,the shopping cart is not showing in Order Status.
    So how to delete my ordered shopping carts from Favourites.Please advice me asap because this is a Production issue
    Message was edited by: Sreenivasa Reddy

    HI Mani,
    The problem is not in viewing the shopping carts orderd more than one year, i can view all the shopping carts ordered in favorites(since 2004).
    The Problem is:
    If user follow the path to create shopping cart:Reuisitioning-shop-Special Request- enter text-order-then shopping cart showing in order status(there is no problem )
    But, if user follow the path:Reuisitioning-shop-Favorites-My Ordered Shopping cart-Add to shopping cart-order-then this created shopping cart is not showing in Order status(i mean cart is not getting saved, there is no number also).Is there any thing that after filled up some number of shopping carts in favorites, we cannot follow this path?
    I think now the problem is clear, could you please advice me

  • Price refresh for new Shopping Cart created from a model

    I'm looking for a solution for the following problem.
    When i create a shopping cart from a model that has been previously created with a certain price, i'd like the system to update this price if it has been updated between model creation time and new shopping cart creation time from this model. (Whatever price it is catalog, material master price etc...)
    If i check the new SC created from the model with function module BBP_PROCDOC_GETDETAIL and my SC number, i see that table E_PRIDOC is fullfilled like this
                                                                                    COND COND_RATE             COND_ COND_P CON D C C GUID                             CON CON COND_VALUE            COND_
                                                                                    0100               106,53  EUR       1  PC    Y   90CA85CDA91B254DB35E750519F3975D 001 001             2.556,72  EUR 
    01PB             2.532,72  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 050 001             2.532,72  EUR 
                      2.532,72  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 100 001             2.532,72  EUR 
                          0,00  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 200 001                 0,00  EUR 
                      2.532,72  EUR       1  CRN       90CA85CDA91B254DB35E750519F3975D 300 001             2.532,72  EUR 
    condition type 0100 is inactive (with the new correct price) and condition type 01PB (manual condition) is used with SC model price and makes that 0100 is inactive.
    How to get 0100 condition type active instead of 01PB when creating Shopping cart from models ?
    Any ideas are welcome.
    PE HAMON

    Supplier Relationship Management Implementation Guide (IMG): SRM Server ® Cross-Application Basic Settings ® Pricing ®
    ·        General Configuration Parameters
    ·        Process Condition Types
    - Maintain condition type 0100 here if not maintained
    ·        Process Calculation Schema -
    In process calculation schema make 0100 condition type as default or assign 0100 to the calculation schema
    ·        Process Condition Groups
    Go through this steps and you will be able to figure out.
    For more information you can log on to this URL
    http://help.sap.com/saphelp_srm50/helpdata/en/67/c3833cfa3dbc2ce10000000a114027/frameset.htm
    Please assign points if you find the answer usefull
    Thanks
    Sunny

Maybe you are looking for