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

Similar Messages

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

  • Get Shopping Cart number from Bid invitation

    Hi everybody,
    I got a problem when I extract the data from SRM system.
    I was trying to extract the Bit invitation data from SRM.
    I'd like to get related shopping cart number for each bid inviation.
    I didn't see it in our content.
    Could you please tell me the solution for this?
    Thank you very much.
    Best regards,
    Seven Jin

    Hi Seven,
    You have to add the field 'Cart Number' and  to your data source and replicate and get the data.
    Regards,
    Venkat

  • BADI-Shopping cart number to Tracking Number in PR

    Hi,
    Is there any BADI  is  used for populating shopping cart number in the tracking field in the backend PR.We are using classic scenario.
    or how a shopping cart number can be populated in the bakend(R/3) in tracking number field.
    With Regards
    Sri.
    Edited by: sri ram on Mar 24, 2009 12:14 PM
    Edited by: sri ram on Mar 24, 2009 3:14 PM

    Hi,
    To transfer sc no to Traking number in PR use the BADI  BBP_CREATE_BE_RQ_NEW
    method FILL_RQ_INTERFACE
    Another way of transfer..
    Use the BBP_DOC_CHANGE_BADI for this, method BBP_SC_CHANGE.
    Then something like this, replace {work area} with a variable of your own choice.
    DATA: {work area} TYPE bbp_pds_sc_item_icu.
    LOOP AT it_item INTO {work area}.
    Selecr single object_id INTO
    {work area}-be_tracking_no FROM
    crmd_orderadm_h WHERE
    guid = is_header-guid.
    MODIFY it_item FROM {work area} TRANSPORTING be_tracking_no.
    ENDLOOP.
    et_item = it_item.
    at the end of your code to transfer the import parameters to the export.
    Thanks,
    prasad .s

  • Get Shopping cart number using external tracking id

    Hi All,
    I need to get the shopping cart number using external reqmt tracking no using the transaction bbp_pd. I get one entry per external reqmt tracking no in the transaction bbp_pd. I have selected Object type as BUS2121.
    Can you pls confirm the object id that appears in the subsequent screen is the Shopping cart number. Or am I missing some thing here?
    Your expertise id highly appreciated.
    Thanks,
    Jai Shankar

    Hi
    <b>The transaction BBP_PD gives correct details..</b>
    <u>BUS2121 is for Shopping cart details.</u>
    <u>BUS2201 for Local SRM PO details.</u>
    <b>You will find all relevant tables names and field names in this case.</b>
    Do let me know.
    Regards
    - Atul

  • Transfer Shopping cart Number

    Hi SRM Experts,
    We have one business rek where the shopping carts number needs to transferred to the PR in the back-end R/3. that is, business wants to see the shopping cart number inside the PR tracking number.
    Any ideas.
    Thanks.
    NB: Will reward all helpful answers!

    Hi Imitiaz,
    I have implemented the BADI ZBBP_CREATE_BE_RQ_NEW, and wondering what code I need to put in method FILL_RQ_INTERFACE so that shopping cart number can be transferred to the back-end PR tracking number field ??,
    I know that BAPI_REQUISITION_CREATE is called in the back-end ??,
    I am not an ABAPer, so any code would be of great help!!
    Thanks.
    Edited by: Rahul Azi on Apr 8, 2008 10:52 PM

  • Add Shopping Cart Number to Purchase Order Data in ERP system

    We would like to be able to send the Shopping Cart number to our ERP system so that it is visible on the Purchase Order details data.  What data / BADI would we have to use to transfer this shopping cart number to our ERP system?
    Thanks,
    Jim

    Hi Jim,
    You need to create customize FM which can fill the shoping cart data and send it to R/3 backend system.
    e.g.we have one customize FM (ZBBP_CRT_PO_FILLPO) so  along with this FM you can call SC attributes to fill customize FM and will pass this information to PO created.
    Sachin.

  • 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

  • Sending shopping cart no from SRM to ECC while creating  PO in ECC from SRM

    Hi all,
    I have a requirement where in i need to enhance the custom screen of PO. In this custom screen there is a field called shopping cart number.
    So when a PO is created in SRM the shopping cart has to be copied into this custom field of ECC.
    i got to know that BBP_CREATE_BE_PO_NEW is to be used.
    So please enlighten me on how to implement this badi?
    Thanks and Regards
    Veda

    Hi Veda,
    Please go through the following Wiki link to know more about BBP_CREATE_BE_PO_NEW usage to send customer fields:
    https://www.sdn.sap.com/irj/scn/wiki?path=/display/srm/bbp_create_be_po_new-CreatePOin+backend
    Thanks,
    Pradeep

  • My shopping cart number increasing everytime 2.

    Dear All,
    My shopping cart number range is increasing everytime 2.
    Per example as of now my shopping cart number 0000001 if i create next shopping cart nmber is coming 3.
    Can you please suggest me where we have control on this
    Thanks
    Ravi

    Ravi,
    I looked at Define Number Ranges for Shopping Carts and Follow-on Documents in the IMG and didn't see anything about an increment factor.  There are some BADIs, BBP_BS_GROUP_BE, is one of them, that be implemented to customize number assignments.  See if that is causing your issue.
    Otherwise, unless no one else replies, it could be a bug and you might need to open an OSS message to SAP.
    Regards, Dean.

  • How to retrive ship to number from bill to number

    Hi ,
    I have to retrive ship-to-number from bill-to-no,
    Could you plz give me the idea.
    Thanks & Regards
    Suresh.

    Simple logic would be
    Take the sales order number from VBRP based on billing document..
    select single * from vbrp into vbrp
                             where vbeln = your billing number.
    if sy-subrc eq 0.
    here sales order number is VBRP-AUBEL
    now get the data from VBPA Table
    select single * from VBPA into vbpa
                            where vbeln = vbrp-aubel
                             and parvw = 'SH' or  'WE' .
    if sy-subrc eq 0.
    vbpa-kunnr is Ship to number..
    endif.
    Thanks
    Seshu

  • 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

  • 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

  • Blank while Shopping Cart  Return from Catalog

    Hi,
      User is trying to create orders from a catalog with 25 line items, however, did not work, failing to return anything and leaving the user seeing only a white screen. It works for orders with 15 line items.  Is there any config to set limitations for line items in carts in SRM or ECC? Please suggest.
    Regards,
    Prasath J

    Hi Prasasth,
    Could you please check whether you have any error log in SLG1 for same. Before that, I also request you to check you must have activated this option in catalog parameter.
    And I kindly request you to try this scenario
    1.) Select 15 items which will transfer to the shopping cart
    2.) Select 10 items which will transfer to the shopping cart
    3.) First select 15 items from the catalog and checkout to the shopping cart and once again go back to the catalog and select 10 items & checkout
    Best Regards,
    Bharathi

Maybe you are looking for

  • HP Laserjet 1200 Stopped

    My HP Laserjet 1200, which has worked faithfully for years, suddenly won't print. All jobs sent to it are "stopped" Over the past week I have: Repaired permissions Re-installed driver Successfully printed from another (PowerBook) computer (and printe

  • OneDrive for Business

    Hi all, We are currently going through a pilot of the O365 suite. So far, so good. We are a large, global organisation with offices in regions where it can be challenging to get a half decent Internet circut (ADSL). ADSL isn't used as our primary com

  • Since update: Can´t copy files to external HD anymore

    I have a Iomega Network Harddrive (don´t ask me if it´s fat or NTFS formated or server software) and everything worked fine until the latest Patch 10.6.3 I tried to copy stuff to the external HD but failed with following error message now: The operat

  • How do I get it so my computer doesn't goto sleep when I close it?

    Is there anyway to get so my computer wont disconnect me from the internet and put my computer to sleep.

  • Drag and drop of multiple nodes between 2 trees

    Hi, I am trying to implement a drag and drop of multiple nodes between two different trees. A simple drag drop written on the lines of the demo code RSDEMO_DRAG_DROP_TREE_MULTI works perfectly fine. But my requirement is, when a child (leaf) node is