Product Category mapping from Punch-out to Shopping Carts

Hi,
We are implementing Punch-Out catalogs. We are on SRM_SERVER 550 and SP 11.
Product Category brought from field 'MATGROUP' field of structure 'CATALOG_CONTENT' in BADI BBP_CATALOG_TRANSFER is picked up and wrote our own logic for mapping it with the available UNSPSC codes either at Family level or Segment level. The nearest available UNSPSC code is picked up and passed to output structures ENRICHED_ITEM_DATA and ET_SC_ITEM_DATA in the field 'CATEGORY_ID'.
This is tested by putting external debugging points and found to be working fine.
However when transferring data to Shopping carts, the default Product Category for User ID is shown up instead of the one from output of BADI BBP_CATALOG_TRANSFER.
Please let me know if i am doing correct or any suggestions are appreciated.
Thanks
Venkat

even we had the same issue -->
please note that category in SRM system has both category id and also category guid
so , you need to retrieve --> the guid of the category using the FM
CALL FUNCTION 'BBP_CATEGORY_GET_GUID'
        EXPORTING
          category_id   = category_id
        IMPORTING
          category_guid = iv_comm_cat
        EXCEPTIONS
          NOTHING_FOUND = 1
          OTHERS        = 2.
and then assign as shown below
wa_bbp_oci_enritem-category = iv_comm_cat.
and then modify ENRICHED_ITEM_DATA

Similar Messages

  • Validating Product Category on SC Trasfer from punch-out catalog

    Hi,
      We have a requirement to validate Product Category of the shopping cart items transferred from punch-out catalog items. This requirement will allow us to put controls on vendors from publishing items that are not approved for their product category codes.
      One way to achieve this is by adding validations in BAdI BBP_CATALOG_TRANSFER and maintaining valid vendor product categories in a custom table.
      I tried to use the Extended Attributes in Org plan of Vendor. I tried testing with that in sandbox and did not seem to work.
      Another option I can think of is to add attributes for ProductCategoryCode on Org plan of vendor and validate in BBP_CATALOG_TRANSFER instead of using custom tables.
    Please let me the best way to achieve this.
    Thanks,
    Suren

    Hi
    We have done this long time back...
    By using the combination of BADIs -
    BBP_DOC_CHANGE_BADI and
    BBP_DOC_CHECK_BADI, this csn be done..
    Read the relevant SAP documentation of these BADIs using SE18 Transaction, which will definitely help in coding the logic as per the business requirements..
    Regards
    - Atul

  • GL Account/Product category mapping not working in transported client

    We have implemented SRM 5 and an Ecc 6.0 backend.
    We have transported the GL Account /Product category mapping config from the DEV client to the Quality client. In the quality client we run BDLS to set the correct backend system for the GL account/product category mapping.
    When we create a shopping cart, GL accounts are not determined. We have noticed that in table BBP_DET_ACCOUNT, the backend system is still pointing to the DEV client backend system not the quality client backend system. Why is this?
    Do we have to always manually reset this config in every client that we transport this table if we have new or changed entries?

    Hi,
    See this  related threads:
    Re: Client Copy SRM from prod to dev -Urgent
    product category creation and g/l account assignment updation
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • Description from punch out catalog changing

    Hi,
    We having classic scenario with GOA on SRM server 5.5 and CCM 2.0.
    We are facing problem while creating shopping cart using punch out catalog of our vendor.
    We have found that description coming from punch out catalog is getting changed once we select plant or storage location on basic data tab. This description of material is getting replaced by descrition of material maintained on basic data tab in ERP.
    This is happening for only two vendors. Can anyone throw some light on this? What could be possible reasons? What should be checked to ensure that everything is fine.
    Thanks in advance.
    Regards,
    Umesh

    Hi,
    Can you provide us exact code and text? I'm not clear your issue.
    Catalog side:
    - material master number  (This should be blank)
    - supplier parts number
    - item description
    Shopping Cart side after OCI transfer:
    - material master number
    - supplier parts number
    - item description
    Shopping Cart side after Plant, Location change:
    - material master number
    - supplier parts number
    - item description
    Material Master, Product Master:
    - material master number
    - item description
    Regards,
    Masa

  • Multiple items not getting transfered from Punch out

    Hi,
    I need your help in fixing an issue with punch out.
    When we select more than one item in the punch out and when it is getting transferred to SRM shopping cart, we could see only one item in the shopping cart. We are facing this issue with only one punch out.
    While trasnfering item(s) from this punch out, we are getting the message "Number of external bid is empty" in SLG1 log. I have checked the XML file sent by the punch out and there I could see all the items that has been selected. But once it gets transfered to SRM shopping cart, it is transfering only one item.
    Not sure if this is a problem in SRM or punch out. If it is a problem in SRM then I hope it should occur with all the punch outs. But we are facing this issue with only one punch out.
    I am trying to debug this process in SRM. For that I need to know the exact BADI or BAPI which is receiving the items from punch out. Could you please help me in that?
    Also I would like to know, is there anything would happen after the XML file has been generated in punch out and before it has been received by OCI.
    We are in SRM 4.0 with extended classic scenario.
    Thanks,
    Arun

    Dean,
    We have implemented that BADI. As I mentioned earlier, problem is occuring with only one punch out we are using. With other punch outs it is working fine. More over, when I tried to debug through this BADI I am getting a dump error:
    No additional external fashion for New ABAP debugger available
    What happened?
    The ITS services u201Ebbpsc03" had to be interrupted because the WebAs sent the following error message. 
    Error message:  "No additional external fashion for New ABAP debugger available".  Message type:  "E"
    Error analysis
        It became receive an error message of the WebAs.  For the reason picture of the error message (program:  u201ESAPMSSY3" Dynpro number:  131) no Template was found, must interrupted become the ITS services
    therefore.  Remove if possible the mistake cause.  First if the mistake cause is removed and therewith the error message is sent by the WebAs no longer, again lauffähig is these ITS services. 
    Do you have any idea what the dump is?
    Thanks,
    Arun

  • Incorrect value of OCI Parameter NEW_ITEM-VENDOR from punch out catalog

    Dear Experts,
    We have defined an external punchout catalog under IMG activity Define External Web Services.
    Under the Source of Supply Assigned to Product Catalog  we maintained business partner of a particluar vendor but when I check the data received from punchout session in class /SAPSRM/IF_PDO_BO_SC method ADD_ITEMS_FROM_CATALOG or in BBP_CATALOG_TRANSFER_BADI  the value for NEW_ITEM-VENDOR is something different from what I defined.
    What could be the reason for this?
    Thanks,
    Anubhav

    Hi Jason,
    I debugged the FMs you mentioned and found that the data recieved from punch out session takes the lead  i.e. maintaining the Business Partner number in config is effective only if the NEW_ITEM-VENDOR form field is initial else the vendor mentioned in this field is taken into account and config business partner entry is ignored.
    This can be changed in BBP_CATALOG_TRANSFER BADI by changing the ET_PARTNER for vendor.
    Thank you for the valuable input,
    Anubhav

  • Issue with transfering items from punch out

    Hi All,
    We are using a punch out for ordering shopping carts. It is working fine for all the users but not for one of the user. That user is able to open punch out site in her system and able to select the items in that punch out. But when she clicked on "checkout" button in that site, it is not transferring the items to the shopping cart. Rather it give internet explorer error" Page cannot be displayed". I believe, this is not a punch out or SRM issue. It should be an issue with the user's system settings.
    But I am not sure where to check? Is it something that the cookies need to be enabled in user's system? Could you please help me with your suggestions?
    Thanks,
    SS

    Hi,
    You could perform a HTTP trace (using HTTP watch) and compare the OCI data in POST method for both users (the correct and incorrect ones).
    Perhaps there is some additional/missing information being passed from catalog to SRM.
    Kind regards,
    Ricardo

  • Punchout Catalog product category - Default product category mapped

    Hi,
    Currently we are getting default product category even though punchout catalog is sending different prooduct categories?
    We are using UNSPSC categoires and even punchout categories also same but default product category is coming not the punch out product category. Please note that if i click on Describe requirement then one default product category is coming up so same product category is coming for punch out catalog items.
    Can you please give me some idea how this is picking up.
    thanks
    Ravi

    Hi,
    It is a bug in SRM and identified the stadard code problem. SAP Released note for this changes.
    sapnote_0001632356
    thanks
    Ravi

  • Issue in  product category replication from R/3 to SRM

    Mehul G Shah: BACKGROUND:
    We are in the process of replicating Material Group from R/3 to SRM
    using transaction R3AR2 & R3AR4. Our Pre-Production server got
    refreshed recently & this has caused all EBM data inclucing Logical
    System & Destination being overwritten with EBP data.
    We have maintained middleware paramaters, viz., CRMCONSUM, CRMRFCPAR,
    CRMPAROLTP & also TBE11.
    We have also maintained sites in CRM Middleware Monitoring Cockpit
    using SMWP.
    We have also tried after deleting entries in tables CRMPRLS (R/3) &
    CRMMLSGUID (EBM) as suggested by SAP note 765018
    We have followed steps mentioned in link /people/marcin.gajewski/blog/2007/02/05/how-to-replicate-material-master-from-r3-to-srm
    (But we are not clear about site attributes which needs to maintain as per the CRM Middleware Monitoring Cockpit.)
    ISSUE:
    Material Group gets replicated to Product Category in SRM. However, the
    Product Category gets replicated with Logical System which is not
    maintained in EBM

    Hi ,
    Thanks 4  ur replay,i have maintained Site attributes,please give me detail of site attributes like which attributes should i maintain ?please give me descriptive answer.

  • Is there anyone who can help me out in shopping cart creation by FM?????

    Hi Guys,
    I am trying to create a Shopping cart in SRM system executing the RFC from External system.I am trying hard to solve this issue since last 1 months and still i am not able to do that.plz help me out its very urgent now.
    I am trying to use BBP_PD_SC_CREATE in combination with BBP_PD_SC_SAVE and Commit.
    Here Below i am mentioning what all fields i using to pass the data, and what all errors i am getting after executing the function Module.
    Please check it and tell me where exactly i am doing mistake.
    FM ---> BBP_PD_SC_CREATE
    I_REF_GUID 00000000000000000000000000000000
    I_PARK X
    I_SAVE X
    I_HEADER
    GUID 00000000000000
    DESCRIPTION TEST
    CURRENCY USD
    PROCESS_TYPE SHC
    I_ITEM
    GUID 00000000000000000000000000000000
    PARENT 00000000000000000000000000000000
    NUMBER_INT 0000000001
    NUMBER_EXT 0000000000
    PRODUCT 00000000000000000000000000000000
    DESCRIPTION MONITOR
    CATEGORY 00000000000000000000000000000000
    CATEGORY_ID 65.10
    QUANTITY 1.000
    UNIT EA
    PRICE 1.00
    PRICE_UNIT 1
    GROSS_PRICE 1.00
    CATALOG_PRICE 0.00
    CURRENCY USD
    PRODUCT_TYPE 01
    LOGSYS_FI CFG300
    BE_LOG_SYSTEM CFG300
    BE_PLANT BUS1
    BE_MOVE_REAS 0000
    BE_PUR_GROUP W01
    BE_PUR_ORG IBRD
    BE_CO_CODE IBRD
    BE_DOC_TYPE ECPO
    BE_PACKNO 00000000
    BE_INTROW 00000000
    BE_PO_PRICE 1
    I_ACCOUNT
    GUID 00000000000000000000000000000000
    P_GUID 00000000000000000000000000000000
    DISTR_PERC 100.00
    ACC_NO 0001
    ACC_CAT CC
    SRC_GUID 00000000000000000000000000000000
    G_L_ACCT 500411060
    BUS_AREA VTRS
    COST_CTR 6589
    SDOC_ITEM 000000
    SCHED_LINE 0000
    CO_AREA WBG1
    PROF_SEGM 0000000000
    CMMT_ITEM 500411060
    FUNDS_CTR 6589
    FUND BB
    I_PARTNER
    PARTNER_GUID 000000000000000000000000
    P_GUID 000000000000000000000000
    PARTNER_FCT 00000039
    PARTNER_NO
    ADDR_TYPE 1
    ADDR_ORIGIN A
    ADDR_NO 10735
    PARTNER_ID 1058
    same like i have passed 3 more partner details.
    I_ORGDATA
    GUID 0000000000000000000000000
    P_GUID 0000000000000000000000000
    PROC_ORG_RESP_ID 50000641
    PROC_ORG_ID 50000640
    PROC_GROUP_ID 50000641
    When i execute it, i am getting error like
    "Interface Data Contains error"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDDYN"
    "Incorrect Interface Data for set PDFRT"
    "Incorrect Interface Data for set PDHCF"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDORG"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDTAX"
    "Incorrect Interface Data for set PDDEP"
    "Incorrect Interface Data for set PDTOL"
    "Incorrect Interface Data for set PDWGT"
    "Enter Atleast one item for one limit"
    Thanks alot.
    GRTZ.
    Regards,
    Manoj Tiwari

    Hi,
    before I would try to save a SC to the database, I would check how I have to fill the interface. Therefore I would suggest to read at first a SC from the database with FM BBP_PD_SC_getdetail. With this example of an existing SC you should be able to will the interface correctly.
    E.g. when you check an existing SC with FM BBP_PD_SC_getdetail you see that some parameters are missing in your I_ORGDATA part. The I_ORGDATA part of my SC example looks like the following:
    PROC_ORG_RESP_OT               O       
    PROC_ORG_RESP_ID               92001699
    PROC_ORG_OT                    O       
    PROC_ORG_ID                    92000053
    PROC_GROUP_OT                  O       
    PROC_GROUP_ID                  92001699
    Here you can see that you forgot the whole *OT parts! In your case the system doesn't know that you mean an orgunit.
    As I mentioned above, when you know how a SC looks like on the database, it should be easy to fill the FM interface.
    Best regards
    Dennis

  • Why can't I download Free iPod Touch Apps from Apps Store w/Shopping Cart?

    I have an 8GB iPod Touch (original model) with the current 2.1 software. I also have iTunes v. 8.0. The behavior I am seeing started about 3 weeks ago and continues with these updates - it was not like this when I first downloaded the 2.0 software and began installing Apps.
    I prefer to manage my iPod Touch applications in iTunes. I have my iTunes account set up for a Shopping Cart, not 1-Click Buy. This is because for Music, I prefer to add songs I will want to my shopping cart, then buy them when I want to.
    When iTunes 7.7 first came out with v2.0 software, even though I have a Shopping Cart for my iTunes, I could "buy" a Free App just by clicking on it, and it would be automatically downloaded and added to my Applications folder on iTunes. Then, when I synced with my iPod Touch, it would install the app on my iPod Touch. This was true for either new Apps or upgrades to existing Apps.
    For the last few weeks, every time I try to update even an existing App for my iPod Touch, if I do it through the iTunes store, I get the following message:
    "Applications cannot be purchased with Shopping Cart.
    Your preferences are currently set to buy using Shopping Cart. Application purchases cannot be placed in Shopping Cart: they must be purchase by 1-Click. Select Buy if you'd like to purchase [NAME OF APPLICATION} by using 1-Click and your credit card will be charged immediately."
    The [NAME OF APPLICATION] is filled in with whatever application I am dealing with at that time.
    Why is it that even with a Free application, and an update for it at that, it will not let me obtain it with iTunes if I have a Shopping Cart? So far, I have solved the problem by doing all of my Applications management on my iPod Touch. I use the iTunes Store on my iPod Touch to search for and download the application. Then, when I sync, it places it in my Applications folder on iTunes on my PC.
    This is very strange behavior for iTunes. Why would it want to charge my credit card for a Free Application?
    Many thanks.
    Joe

    Hi Steve,
    Thanks for your reply. I do have a valid Credit Card on the account. In addition, I also have about a $5 credit from an iTunes gift card in my iTunes account.
    In any event, I'm actually NOT purchasing anything. All I'm trying to do is download a FREE App for my iPod Touch. It simply won't let me do it.
    This is extremely frustrating.
    Best regards.
    Joe

  • Print-out of shopping carts - add additional informations

    Hi SRM-experts,
    one simple question. Is it possible without modification to add in the print-out of the shopping cart additional informations such as the purchase order number. Is there a possibility to customize that function ? Thanks for yours replies.
    AW

    Hello,
    This will need small enhancement in the smatform. You will find it easy.
    Use T-Code SMARTFORMS and copy the standard smartform for SC layout "BBP_SC"  and create a Z-one and use that by implementing the BADI BBP_CHANGE_SF_SC.
    You can get the PO value from the table BBP_PDBEI.
    Hope this solves the issue.
    Thanks
    Ashu

  • Indexing product data for embedded search for my shopping cart fiori app

    Hello Experts
    I'm doing indexing of product data records for SRM embedded search for My Shopping Cart Fiori app.
    however the job being created by the system to accomplish the task is, as error message displayed, not defined properly.
    any idea how to resolve this?
    i have no idea what program is this, and job details cannot be displayed/changed because of incomplete job definition.
    Appreciate any assistance pls.

    Hi Dex,
    Please check if there was a dump recorded in ST22. Also perform an authorization check SU53 for the background user that submits the job.
    Thanks,
    Vipin

  • Capturing Tax code from info record into shopping cart

    We have a requirement where in we need to capture the tax code from the info record into the shopping cart in SRM .
    If anyone has worked on a similar requirement , could you kindly share the details related to the solution.

    Dear Poster
    Your thread has had no response since it's creation over
    2 weeks ago, therefore, I recommend that you either:
    - Rephrase the question.
    - Provide additional Information to prompt a response.
    - Close the thread if the answer is already known.
    Thank you for your compliance in this regard.
    Jason Boggans
    SAP SRM SDN Moderator

  • Blanking out default shopping cart name

    Hi,
    I wish to blank out the default shopping cart name when creating a new shopping cart.
    I know I can use BBP_DOC_CHANGE_BADI-BBP_SC_CHANGE to change the field, but since this BADI is called multiple times, is there a way I can determine if it is the first call in create mode? Or is there another way on blanking out the field?
    We are looking at SRM 5

    Hi Jon,
    SC name is defaulted when creating the SC, in FM BBP_SC_APP_EVENT_DISPATCHER --> FORM sc_init --> FORM sc_create, just before calling BBP_PD_SC_CREATE and its BADI BBP_SC_CHANGE.
    So:
    - either you change this std ABAP code
    - either you have enough data in the BADI to determine that you are in create mode, and not in update mode (no item data, minimum header data)
    Rgds
    Christophe

Maybe you are looking for