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.

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

  • Shopping cart Converted to Purchase order directly.

    Hello Experts,
           I have a question on what settings to check if the shopping cart created in a system is creating Purchase order directly as Follow-on document. The scenario we are using is SRM 5.0 (Standalone) for Strategic procurement. I checked the BBP_DOC_SAVE, BBP_DOC_CHANGE BADI's but there is no such coding there....any settings in SPRO that is enabling this thing to happen ???
    Please let me know about it ASAP. Would definitely reward for useful answers.
    Thanks,
    Rajeshree

    Hi
    <b>Couple of reasons can be possible for this -></b>
    1) Workflow is not getting triggered properly. Check workflow configuartion. Are you using standard or customer workflow ?
    <u>Seems to me there are no Approvers determined for the particular Product category and Purchase Group combinations, which in turn determines the Approvers (Managers) in this case.</u>
    2) Incase the shopping cart dat is complete, and the SRM SPRO system settings are defined to create a Purchase order. Then directly R/3 PO gets created.
    3) Check out for all the customer BADI Implementations in SE19 (starting with either Y or Z). Which all are active in this case ? What all code they have ?
    4) check out for BADIs especially - BBP_CREATE_PO_BACK
                                                        BBP_CREATE_PO_BACK_NEW 
                                                        BBP_TARGET_OBJECTS
                                                        BBP_TARGET_OBJTYPE
    5)  <b>Check SPRO Settings ->
    Here is the path</b>
    <u>Supplier Relationship Management -> SRM Server -> Cross-application basic settings -> Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders</u>
    <u>Define Objects in Backend System (Purch. Reqs, Reservations, Purch. Orders)</u>
    You perform this step only if you create your Materials Management documents in a backend system.
    You specify the documents that are to be created in the backend system for a requirement coverage request.
    The following documents can be created:
    Purchase requisition
    Purchase order
    Reservation
    You enter a product category (such as office supplies, or hardware) and/or an organizational unit. The organizational unit contains the purchasing group that is responsible for procuring products in this category.
    You can enter the product category generically, such as Office*.
    Note
    The backend system is determined  using the product category in the requirement coverage request item. The item also contains the organizatinal unit.
    You can use the Business Add-In BBP_TARGET_OBJTYPE if you wish to implement a different logic for creating documents in the backend system.
    Example
    If purchasing group 01 wants to procure materials from the category Raw Materials, a reservation is to be created every time.
    If materials in the category PC are to be procured, a purchase requisition is to be created every time.
    Activities
    1. Enter the organizational unit and/or the category.
    2. Enter a source system.
    3. Choose the procurement type.
    Reservation if stock is available, otherwise external procurement
    The system creates a reservation if the material is subject to inventory management and sufficient stock quantity is available in the warehouse on the requested date.
    Always reservation for materials subject to inventory management
    The system creates a reservation if the material is subject to inventory management, irrespective of whether stock is available.
    Always external procurement
    The system does not create a reservation, but always procures the item externally. In this case, you specify the type of external procurement.
    The following options are significant if the system cannot create a reservation (for example, if there is no stock available or for a non-stock item) or the system must not create a reservation (choose Always external procurement).
    Purchase order if item data complete, otherwise purchase requisition
    The system always tries to create a purchase order. If the item data is incomplete (for example, the vendor or price is not known), the system creates a purchase requisition from the item.
    -> Always purchase requisition
    The system always creates a purchase requisition.
    -> Always local purchase order
    The system always creates a local purchase order.
    Hope this will help.
    Please reward suitable points, incase it suits your requirements.
    Regards
    - Atul

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

  • Update Header Partner data in a Purchase Order in 4.6C system.

    Hello all,
    I have written a report program to add/update partner data at PO header level.
    The report uses BAPI POCHANGE for the update.
    But the BAPI_PO_CHANGE does not transfer/update Partner Information for the PO's in 4.6 C system.
    The same code functions properly for Purchase Orders in ECC6.0 systems.
    Please provide me some inputs for a probable solution to update PO header partner data in 4.6C system.
    Thanks in advance.

    Hello Hiren,
    Thanks for the prompt response.
    I am populating the structure POPARTNER with partner information.
    And passing header information in POHEADER. i.e the PO Number.
    I have not marked any fields in POHEADERX as 'X'. It still works in ECC6 system.
    But does not work in 4.6C system.
    Thanks in advance.
    Edited by: Amar.t on Mar 7, 2010 12:59 PM

  • 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

  • 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

  • Doubt in uploading purchase order data using BDC

    Hi friends,
    how to upload purchase order data.
    1) In both BDC and BAPI which one is preferable?
    2) for suppose if it is through BDC,  how to use? what are the transactions that we can use(SHDB, ME21N,ME21)?
    3) To execute the job in background, is it possible for both call transaction and session method.
    Thanks in advance
    Sreenivas k

    It really depends on the number of records you have. Still for a set of 5,000 records my answer to your questions will be:
    1) In both BDC and BAPI which one is preferable?  - <b>Go with BDC</b>
    2) for suppose if it is through BDC, how to use? what are the transactions that we can use(SHDB, ME21N,ME21)? - <b>Yes, its SHDB for recording, SE38 for abap program and ME21 for PO. Avoid SAP Enjoy transactions for recording as you may end up having problems wiht it.</b>
    3) To execute the job in background, is it possible for both call transaction and session method. - <b>If you use call transaction method then you have to schedule the job to run in background or simply run it through F9 instead of F8. In case of session method you can chose to process the session in background. However  I would suggest you go with BDC Session method for this.</b>
    - Guru
    Reward points for helpful answers

  • Additional field in the sales order header Purchase Order Data tab

    Hi,
    I want to add an additional field in the below screen:
    VAO1 > Go to > Header > Purchase Order Data >
    Under Sold to party section i want to add an additional field.
    Is this possible through configuration?
    Please let me know.
    Thanks in advance
    Edited by: Kase on Dec 20, 2011 7:06 AM

    Hi Kase,
    Check this below link it might be helpful for your issue
    sales order - Additional data B
    new fields in sales order
    Regards
    Pradeep

  • Updating Purchase Order data in VBKD table

    Hello,
    We are trying to update Purchase order data in VBKD table for Sales Order at Item level. When sales Order is created, VBKD has a default record with VBELN = 'sales order number' and Item = '00000'. We want to update BSTKD_E field with Purchase order number for VBELN= 'sales order number' and Item = '00010'.
    We wrote our logic in USEREXIT_SAVE_DOCUMENT_PREPARE and USEREXIT_MOVE_FIELDS_TO_VBKD in MV50AFZZ to append new entries in XVBKD with VBELN= 'sales order number' and Item = '00010'. But in this case Sales order is not created with UPDATE TERMINATED message. We are not sure if we can append a new record in XVBKD.
            wa_xvbkd = xvbkd.
            wa_xvbkd-posnr = wa_xvbap-posnr.  "00010
            wa_xvbkd-bstkd_e = vbkd-bstkd.   "PO no
            wa_xvbkd-posex_e = wa_xvbap-posnr. "Purch. order item no
            wa_xvbkd-updkz = C_I.
            APPEND wa_xvbkd TO xvbkd.
            CLEAR wa_xvbkd.
    Please advice the suitable way to have a Purchase Order item level data in Sales Order.
    Thanks
    Rohit

    Hi,
    You can try these FM to update info record.
    ME_DB_UPDATE_INFORECORDS
    ME_UPDATE_INFORECORD
    ME_UPDATE_INFORECORD_COND
    ME_UPDATE_INFORECORD_PD
    Check the sample code on BAPI_PO_CHANGE
    http://www.sap-img.com/abap/sample-abap-code-on-bapi-po-change.htm
    Regards,
    Shiva Kumar

  • Regarding LSMW -- Purchase Order Data

    Hi Friends,
    I have one requirement i.e purchase order data need to be upload through LSMW via Direct input method.
    =============
    pls find the belwo flat file structure
    old_PO           material            price            qty
    P123              M111                  10               1
    P123              M222                  10                1
    P123              M333                  20               1
    ===============
    Normally if I upload same data into SAP, it will create three purchase orders with different SAP numbers.
    I want if old_PO number is matches with the previous record all the materials should be in single transaction and single Purchase order should be created.
    Can any body help how to resolve this issue. This is very urgent.
    pls explain in detail. I am using LSMW. I don't have no other option.
    =====
    please don't post any junk amswers.
    =====
    Thanks in advance

    Hi Raghunath,
    Don't think that this reply is junk one.I cannot explain you in detail but try like this.
    In the fifth step of LSMW,You can find Global data definitions & Processing times.
    In any of these you can just fetch the values from database with reference to flat file data like..
    select PO from ...where PO = source-PO.
    if sy-subrc EQ 0.
    skip_transaction. Using this function you can skip this record
    endif.
    Award points if useful.
    Thanks,
    Ravee..

  • Number of Purchase Order - 2lis_02_scl

    Hi guys!
       I'm working in BI Retail project and we need to do a counter for Purchase Order. Nothing od Business Content is done to manage the number of Purchase Order. I'm thinking in make a counter from InfoSource 2lis_02_scl to InfoCube 0rt_c05 setting a cero in combination with Posting Date. My doubt is if this counter will work fine because I think that the Purchase Order could change at the same Posting Date, I'll get a douplicate for the counter because this DataSource has Delta Management. Have Anybody done some similar? May anybody help me?
    Regards,
    Csr

    The extractor 2LIS_02_S011 might be helpfull.
    It provides infoobject 0NO_PUR_ORD.
    Tks=points
    Regards,
    Selvam

  • Purchase order data base

    I need help.
    I have a database that contains all purchase orders
    I'd like to be able to create a report that shows only the most recent order for each supplier
    ordered by date.  Sounds simple but I have been struggling with this for awhile.
    Thanks

    Create a group on the supplier name
    create a group on the purchase order date - ascending order
    place the output fields you want to see on the report in the footer section of the purchase order date.
    Suppress the purchase order date header, the detail section and the supplier name footer.
    You may need to do a 'top N' group sort to get it to sort by date, as the instructions I'm giving would put it in Supplier order.
    Only the last purchase order data will display on the report.  If you want to include Supplier specific information, such as address, phone or customer number you can place those fields in the Supplier group header.
    This report will pull in all the data but only display the last record for each supplier's last purchase order (assuming they only have one purchase order in a day...if you have more than one in a day you may want to include a purchase order number group and move all the data into that footer).
    If you're going to summarize, say, try to get 'total dollars for month', you'll need to use a 'running total' and specify the dates to be used in the Evaluate section formula.

  • Can SAP get material number in Purchase order in external processing?

    I have a question that:
    As I know, Exeternal processing is a service, so that Material number can not be shown in purchase order converted from PR for external processing. Here, PR can be automately generated from transaction CO01 to create an external processing production order. Meanwhile, for external processing, purchase info record is created without material number only with material group.
    So, I want to know that if there any solutions to show material number in purchase order generated for external processing?
    thanks,
    best regards,

    If therer are no production order, How can I get finished products from internal activity and external processing?
    Now, external processing in our company like this:
    1.create an purchase info record. (type:subcontracting, with material group, but not material ID)
    2.Maintan external processing data in external operation where external processing happens.(control key: pp02, external processing data: info record, purchase org. net price, cost element etc.)
    3.create a production order for the material.(one of the operations is an external processing operation described like step 2)
    4.Purchase requstion is changed into Purchase order. (Purchase requestion is automately created with the production order)
    5.MIGO to receive goods from the purchase order.
    6.finished the production order and delivery goods.then the production order is DLV.
    In step 4, purchase order can only get the production order ID, but there are no material ID shown in it. Only method to show material is that maintaining a description text in the external operation, then, purchase order item could show material in material text(but, here, there is no material ID derectly from info record or production order).
    this is the big problem now for our company. No material ID can be automately carried into the purchase order.
    Hope you help..
    thanks...

  • 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

Maybe you are looking for