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

Similar Messages

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

  • 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

  • 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

  • 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

  • Item number from purchase order number....

    Hi,
    How do I get the POSEX (line item number)  field for a given Purchase order number LIKP-VBELN

    Hi,
    Let me be more clear.
    I have to find item number of the underlying purchase order (POSEX).
    So based on VBELN of LIKP table I have to find POSEX from VBAP table.
    ( I guess I need to find subsequent or preceding document stuff. I am not so sure about it. And then
    based on that I go in VBAP and find POSEX )
    <b>So what is the link between LIKP and VBAP table...</b>

  • Service number from purchase order number ?

    Hi People,
    can anyone tel me how to take service / activitry  number from the corresponding purchase order
    number.... ( table flow in detail ) where these service number are stored with respect to PO ?
    thanks,
    Siva

    Hi
    Take the value of the field PACKNO from EKPO table and pass it on to the same field PACKNO in ESLL. Here you can pick up all the details:
    For Example:
    select packno from ekpo into it_packno where ebeln = "purchase order number.
    select * from esll where packno = it_packno-packno.
    If you want sub package number, it is in the field SUB_PACKNO(activity number) in ESLL table.
    Vishwa.

  • User-exit to copy collective number from sales order to purchase order

    Hi,
    Can any one help me  which user-exit/BADI  is used to copy collective number from sales order to purchase order?  please help me.
    Thanks,
    Alka

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Is there is a way to have a link from purchase order to cost center report.

    Is there is a way to have a link from purchase order to cost center report.
    I am meaning kind of:
    Standard way to customized this link?
    or
    User exit to have this link in place
    or
    Any other solution
    Thanks

    For me it does not make any sense from going from PO to cost center report.
    However, if you want to see the purchase order cost incurred with a cost center, execute KSB1 report. Within the layout, bring "Purchasing Document" field, where you can see the purchase order number in cost center line item report.

  • Table links from Purchase order to condition types

    Hi,
    I am looking for the tables to go from purchase order, and to read the conditions associated with the PO.
    I have EKKO, and EKPO, but I cannot find the table where the condition information is stored. I have KONV and KONP, but they seem to be the tables where the condition type info is stored, not the link table where the purchase order specific information is stored.
    Can somebody please point in the right direction?
    Regards
    Piet
    Edited by: Piet Strydom on May 12, 2009 12:52 PM

    Hi,
    The PO and the Condition Record Number Link happens in the Table EKKI.
    from this table get the condition Record number line item wise and execute in KONV.
    Hope so it helps
    Regards
    Anjanna
    you can check the below thread posted by self for further ing
    Re: PO item Condition Record number and delivery address of PO - Need a table n
    Edited by: Shiva Rajanala on May 12, 2009 1:42 PM

  • 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

  • How 2 Copy Header & Line Item Text from Purchase Order 2 Out Bound Delivery

    Hi SD Gurus,
    I want to copy header and line item text from Purchase Order to Out Bound Delivery (This is required in Stock Transfer Process).
    I have been able to do successful config. for copying header and line item text from Sales Order to Outbound Delivery but config. doesn't seems to be same for copying text from PO to OBD.
    Is there any way to achieve the same? Can some expert show the way to achieve this.
    Thanks in advance.
    Warm regards,
    Rahul Mishra

    Hi Ravikumar thanks for u quick reply.
    This is wht is currently coded.
    concatenate values to get item text for read text function
       invar3+0(10) = invar1. "PO number
       invar3+10(5) = invar2. "PO line number
       SELECT SINGLE * FROM stxh WHERE tdobject = 'EKPO'
                                   AND tdname   = invar3
                                   AND tdid     = 'F01'
                                   AND tdspras  = sy-langu.
       IF sy-subrc = 0.
         invar4 = invar3.
    reading the text for the document items.
         CALL FUNCTION 'READ_TEXT'
           EXPORTING
             id       = 'F01'
             language = sy-langu
             name     = invar4
             object   = 'EKPO'
           TABLES
             lines    = it_itab.
    I have seen some PO's which have info rec texts in that, which gets pulled by the above code...first thing is its id is F02 which exist in STXH table also there is other text with F01 id, and hence the table it_itab gets both these text hence no pbm.
    but i came across a PO which has only one text which is info rec text with id F05 and is not store in stxh and hence doesnot get pulled by read_text fm. How do i change my cod to get this text which should not hamper other PO's as well.
    As mentioned in above msgs, this F05 could be retrieved by providing object name as EINE.
    anyhelp will be appreciated and rewarded.
    thanks

  • 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

  • How to find out the primary key column of a database table?

    Hi Given the following scenario : Given an inputfield, the user can enter a table name. The code behind will base on the table name given and extract out the fieldname of the primary key and concatenate the two field to become a unique string. Eg. Or

  • How to pass the Queues Dynamically in AQ

    Hi, I have created an AQ adapter using Enqueue operation to publish messages to Queue . This Aq Adapter Publish the messages to Queue which was given at design time . but my requirement is to publish the messages to different queues dynamically at Ru

  • My videos on my iPod isn't playing, it's keeps saying connected to tv

    Need to know how to take the tv mood of so I can watch my videos on my iPod again

  • Need Help with FaceTime

    Hey Guys, I have a Macbook Pro, My Problem is my Internet supports everything on my Mac like Browsing,Downloading etc... But when it comes to FaceTime it says please check your internet connection & try again.. How to Activate FaceTime??

  • Syncing Video help

    Can I sync Video to my iphone without resyncing all my music too? I have 11g of music and it takes forever when all i want to do is replace a movie. I tried to uncheck music but then it pops up and says it will delete all music if i leave it unchecke