Memory Issue in SRM Shopping Cart

Hi all,
Apparently, I have implemented BAdI BBP_PGRP_FIND to map the purchasing group from z-table, based on Organization ID and Vendor. The mapping was successfully done based on the z-table entry.
However, when one of the users tried to create a shopping cart from external catalog, he found out that purchasing group was not mapped successfully, and revert to default Responsible Purchasing Group (using FM BBP_OM_FIND_SC) in the above BAdI.
This issue really puzzle me, as I have tried to replicate user's issue, and I am manage to map purchasing group from z-table, using the same test data as per what user did. I tried to replicate the same issue by using some of my colleagues' workstation, and its having no issue on the purchasing group mapping.
When I told the user to re-test again, he still have the same issue, where he could not map the purchasing group. I suspect is it a browser setting or problem? My colleagues and I are using Internet Explorer 6.0, and mapping is working OKAY. Should I ask the user to clear all the cookies and Temporary Internet Files? Is this make sense?
Also, in BAdI method DETERMINE_RESP_PGRP, I am getting current shopping cart item details by Importing item from MEMORY ID 'SCITEM', could this be the issue of ABAP Memory getting flushed when user performs the testing?
Kindly advise.
Many thanks,
Patrick

Hi all,
Finally, I found the resolution to solve this issue. I have created Implicit Enhancement in include program LBBP_SC_APPF23, Subroutine orgdata_fill. I have cleared parameter is_global-proc_group to clear the original Purchasing Group.
Not sure whether this is the SRM mistake or there is OSS note to fix that, where, I have mapped purchasing group successfully, but the standard program still stick to original purchasing group.
Hope this can be shared to whom encounters this problem.
Regards,
Patrick

Similar Messages

  • SRM shopping cart attachment to SAP not transferring

    Hi SRM Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE attachments exists and Fourth attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Note - I have posted the same issue in DMS thread as well
    Cheers...Gopinath

    Hi Guru's,
    I am using SRM 7.0 and while i create an attachment in shopping cart and try to send it in ECC, the attachment is not reflecting .
    Since we are using the latest version of SRM, we have used BADI BBP_CREATE_BE_RQ_NEW
    (Method IF_EX_BBP_CREATE_BE_RQ_NEW~FILL_RQ_INTERFACE.).
    I have also gone through the below link and tried the implementation :
    http://wiki.sdn.sap.com/wiki/display/SRM/BBP_CREATE_BE_RQ_NEW-CreateRequisitionin+backend
    Also, all ECC configuration are in place. However things are not come in place. Only the details are reflected but the attachment is not reflected in ECC.
    If anyone can guide the correct way in SRM BADI along with ECC configuration (just to verify) will be a great help.
    Kind Regards,
    Kunal.

  • SRM shopping cart attachment to SAP not transfering

    Hi DMS Experts,
    I have an issue with document attachment which is not coming to SAP R/3 Backend.
    Scenario 1
    1.Create shopping Cart in SRM system with One attachment,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment is not exists only document number exists in the DMS (CV03N - No attachment)
    Scenario 2
    1.Create shopping Cart in SRM system with TWO attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only one attachment exists and other attachement document number only exists in the DMS (CV03N - No attachment)
    Scenario 3
    1.Create shopping Cart in SRM system with FOUR attachments,
    2. Purchase requistion is created in backend replica of SRM shopping cart. but the attachment only THREE  attachments exists and Fourth  attachement document number only exists in the DMS (CV03N - No attachment)
    From the above all its understood that last attachmen is not transfered to SAP . In Scenario 1 last attachement will Only one attachment.
    Its Strange issue, can any one face this sort for issue before, kindly let me know what could be the casue,
    Cheers...Gopinath

    Issue found with enhancement made by us in Class(SRM System). Same has been fixed. now its working, Thanks to all.
    Cheers...Gopi
    Edited by: Gopinath A.R on Mar 11, 2010 9:04 PM

  • How to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO?

    Hi Experts
    i have a reuirement where i have to add custom field in delivery address/performance location tab in SRM shopping cart and Ship to address Pop-up in SRM PO
    i am doing below steps for this.
    1. Adding custom field ZZfield in structure INCL_EEW_PD_PARTNER_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management -> SRM Server -> Cross application basic settings -> Extensions and field controls (personalization) -> Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"  
    add the below entry
    Bus. Object Set Type  : I am trying 7 and 29
    Structure Field Name  : ZZfield
    Bus. Object Type       : BUS2121/BUS2201
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    Can anyone has the idea of this?
    Thanks
    Rohit

    Hello Rohit,
    Please create a enchancement for component  /SAPSRM/WDC_UI_DO_SHIPTO.
    Add new input field and label in view V_DODC_SHIPTO.
    Bind the input field value with field ZZfield from structure  /SAPSRM/WDC_UI_DO_SHIPTO in the context node SHIP_TO .
    Regards,
    Neelima

  • Validate GL Account at SRM shopping cart at account assignment level

    Hi,
    In the SRM shopping cart system, at Account Assignment Overview level, is there any BADI or user exit or enhancement options to validate the GL Account when the account is selected/key-in?
    I try BADI for BBP_DETERMINE_ACCT, BBP_MESSAGES_BADI and BBP_ACC_CHECK_ICC. All is not trigger at Account Assignment level.
    Please advice.

    Hi,
    I have a similar requirement apart from all the validations done by BBP_DOC_CHECK_BADI  ,
    we have to add one more validation (check the asset acquisition date if it is less than the current fiscal year give error message).
    This has to done in R/3 .
    I checked for the exits in the FM BBP4X_CODINGBLOCK_CHECK_47A and found that there are no exits for this FM.
    PLEASE SUGGEST.Any help is appreciated.
    Regards,
    Rhea.

  • Query on SRM Shopping Cart ,plz help its very very urgent

    Hi Friends,
    I have a query on workflow.
    Users creates PO through SRM shopping cart and immedeately they receive a mail in there mail box.Below is the process flow of sending the mail to the user inbox from srm shopping cart.
    SRM Shopping Cart>Business Object>Workflow-->Mail
    Here my problem is.
    The bususinees object generally holds the data for cart number and cart description, but when i am checking the workflow it does not contain any cart number or cart description,so that the mail that is going to user inbox also does not contain any cart number and cart description value.
    Recenly our client upgrade from 4.6c to Ecc 6.0 and this problem is happening after the upgradation.
    Please suggest if anyone face this kind of problem or anyone having any idea on this.
    Pls give me some suggestion.
    Thanks a lot
    Mrutyun^

    Hi,
    Your condition is puzzling... the workflow in SRM for SC is triggered after the SC is saved.
    The PO is a follow-on document after the SC is approved. As such it has no relationship to the backend upgrade since the workflow engine is in the SRM server. Your worflow is triggered from the SC or PO?
    Regards.

  • Returning OCI hook_url to SRM shopping cart in Webdynpro ABAP

    Hi Friends,
    We are planning to use OCI external catalog for adding items to the shopping cart. I am creating WDA application which will act as the external catalog.
    In my application I am able to read the Hook_url and other parameters of the OCI configured. I got stuck in returning the hook_url by posting the html page back to SRM shopping cart which should be like below.
    <HTML>
    <HEAD>
    SAP Open Catalog Interface: HTML - Example
    <BODY bgcolor="#DED6C2">
    <FORM action="<%=Request.QueryString("HOOK_URL")%>" method=post target=_top>
    <input type="hidden" name="NEW_ITEM-VENDOR[1]" value = "1768">
    <input type="hidden" name="NEW_ITEM-VENDORMAT[1]" value = "648570">
    <input type="hidden" name="NEW_ITEM-MANUFACTCODE[1]" value = "4711">
    <input type="hidden" name="NEW_ITEM-MANUFACTMAT[1]" value = "4712">
    <input type="hidden" name="NEW_ITEM-EXT_QUOTE_ITEM[2]" value = "">
    <input type="hidden" name="NEW_ITEM-EXT_PRODUCT_ID[2]" value = "">
    </FORM>
    </BODY>
    </HTML>
    Is this acheivable using webdynpro ABAP? If so how we can do this?
    Thanks in advance.
    Regards,
    Prabhuraj

    Re: Creating OCI in Webdynpro ABAP

  • SRM: Shopping Cart Date Issues

    The date range on the monitor shopping carts reports is not followed. A report used for analysis on shopping carts is not working. When you select various dates it seems to ignore the requests you have entered and gives you the list from the year dot.
    Any ideas anyone?

    Hi
    Which SRM version are you using ? Which Report you are referring here ?
    <b>Please try the following SAP OSS Notes, which will help.</b>
    <u>Note 889942 BBP_MON_SC: Service item can't be searched by perform.period
    949399 SC monitor: Search help does not display all catalogs
    972697 bbp_mon_sc: No result for limit shopping cart search
    901608 BBP_MON_SC: Service Item search is incorrect
    813434 Shopping cart monitor and internal ITS:Shopping cart display
    669720 BBP_MON_SC: Follow-on document is not found
    625694 Not possible to search for SHB based on some docs in monitor
    596089 SHP Monitor: problems with search functionalities
    Note 561186 Monitor shopping cart: Selection of large datasets</u>
    Do let me know.
    Regards
    - Atul

  • SRM Shopping Cart Approval on mobile

    Hi,
    We have a requirement to enable approval of shopping carts from the mobile inbox of approver. The workflow under consideration is the Item-Based Approval Process (WS145000015). The workflow works perfectly well within SRM portal for single as well as multilevel approval.
    We are presently testing the simplest approval scenario comprising of single level approval for the mobile requirement. All the items in the shopping cart should get approved/rejected in one shot. This is the sequence of FMu2019s our mobile app will be calling:
    1.     SAP_WAPI_CREATE_WORKLIST u2013 to create the work list for specific user. Input:  sap user id. Output: List of all work-items assigned to user
    2.     SAP_WAPI_GET_OBJECTS u2013 Input:  work item id. Output: object id (shopping cart no.)
    3.     BBP_PD_SC_GETDETAIL -  Input: object id obtained in step 2. Output: shopping cart header GUID from table e_header
    4.     BBP_PD_SC_STATUS_CHANGE_WF u2013 to approve/reject the shopping cart. Input: shopping cart header GUID from table e_header in step 3, status = 0001 for approve and 0002 for reject. Output: status = RELS in the export parameter
    5.     SAP_WAPI_WORKITEM_COMPLETE u2013 to complete the work-item and remove it from the useru2019s worklist. Input u2013 work item id. Output : Status completed
    The issue is that, once the above FMu2019s are executed in sequence, the shopping cart gets approved and the work item is removed from the approveru2019s worklist but the workflow doesnu2019t complete. The workflow log indicates that the subworkflow - N-step parallel  approval of shopping cart (WS14000014) is looping for second time looking for next level of approval. The subsequent PO is also not being created.
    This issue occurs only when we are approving the SC using the BAPI. The workflow completes smoothly along with successful creation of the PO when the SC approval is done via the approvers UWL in portal.
    Can someone help us identify whatu2019s wrong and fix the issue?

    Hi Vishal,
    Try this:
    Execute SAP_WAPI_WORKITEM_COMPLETE to complete the work-item and remove it from the users worklist. Input - work item id
    Output - Status completed
    Thanks
    Punit

  • SRM shopping cart screen flickers

    Shopping cart screen for SRM flickers and does not load up. No short dump in backend system and no errors in portal log.
       This issue get's resolved after restarting the SRM backend system. Same issue and resolution used for eRecruit however not able to determine exact cause of the error.
      Does anyone has idea as why this is happening?

    Hi Tanmay,
    I faced a similar issue while integrating WDA application in Portal.
    Check out the following SAP note that corrects this issue:
    1230506 - Endless loop when starting Web Dynpro ABAP
    Hope this solves your problem!
    Thanks.
    Chitrali

  • SRM Shopping cart pop up not appearing in EP 6 portal

    Hello
    I have set up the SRM business package in the EP6 SP13 portal. If I create a Shopping Cart via the ITS then leave the transaction (say by clicking on another transaction a popup would come up and warn me that I have not saved the shopping cart and would lose my work.
    However via the portal, this message doesn't appear.
    Does anyone have any ideas how to get this pop up to appear on the portal iview?
    Thanks
    Rebecca

    Hi!
    As Detlev suggested the only "standard" solution is to use Portal's EPCF dirty flag.
    In SRM transactions when you are in change (or similar) mode in the HTML source code of the SRM transaction there is a flag (JavaScript variable) that refers to this state.
    You have to check this Mode flag, and set the Portal's EPCF flag accordingly.
    There are many ways you can achive this little trick.
    E.g.
    -In every SRM transaction the WPINTEGRATION.JS file is included, so you can put sour code here.
    -Or you implement SRM transactions via a proxy html page (stroing it e.g. at the Portal KM), which is called via an URL iview.
    Once you made this Portal will not let you close an SRM transaction when it is in change/create mode without a warning.
    Hope this little overview gives you enough to start with.
    BR.
    Richard

  • Workflow - SRM Shopping Cart

    Hi,
    Am new at Workflow. Is there a way to have different WF per line item of the Shopping Cart? As per standard transaction, the WF approval is according to the total amount of the Ordered items.
    thank you

    Check if the following helps...
    SRM 7.0 BADI Define Agents--> How to use type /sapsrm/t_wf_area_entity
    Regards,
    PR.

  • Custom field display as a checkbox in SRM - Shopping Cart

    Hi Friends,
    I added a new field on SRM Screen.
    Field details are as follows
    Field Name : ZZPCARD_ORDER
    Domain     : char_x (<b>Checkbox</b>)
    When I see BASIC DATA screen on Shopping Cart, I am getting this field as a simple character field but <b>NOT</b> as a <b>CHECKBOX</b>. Can anyone help me to display this as CHECKBOX ? FYI,I have tried with different data elements / domain available as checkbox. Customer fields are displayed dynamically in subscreen so it is bit difficult to find field attributes.
    Thanks and Warm Regards.
    Pras Durafe

    Hi
    Pls refer to the following thread for more details
    Custom fields not display in SRM5.5 Basic Data Frame
    Hope it helps.
    Pls reward suitable points.
    Regards
    - Atul

  • SRM Shopping Cart - how do you clear out custom fields on a SC create

    We have added custom fields to the Shopping cart header.  now when we use an existing shopping cart to create a new one (do a copy from within SRM UI) the data in these custom fields on the existing shopping cart is copied tothe new shopping cart.  We doNOT want this to happen but we can't find a place to add code to clear them out.

    we ended up putting code in this method and solved the problem  IF_EX_BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE

  • Unable to find Shopping Cart Preview Option in SRM Shopping cart Applicatio

    Hi Guys,
            I am a testing some scenarios in SRM-MDM Catalog and SRM Shoppincart where i have to add some items from SRM-MDM Catalog to Shopping cart preview but i dont find any Shopping Cart preview option. Can any one make me clear how to know which SRM Portal User has privelege to see that Shopping Cart Preview option.
    Thanks
    Ravi

    Hi Ravi,
    Can any one make me clear how to know which SRM Portal User has privelege to see that Shopping Cart Preview option.
    This totally depends on the settings made for that User in Configuration UI.
    When you open your Configuration UI with User Master and password Blank (empty), you will get screen as shown in page 24/28 Configuration view. Here you will select User e.g. User1 not Default User to whom do you want to assign Shopping Cart Preview Option by clicking on radio button Cart Preview in shopping options under General tab. Then the same user you will define in External webservice.
    Please refer Page 24/28 of this below article:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/806f3d56-0d29-2d10-9abf-c0df6f0fdfe8?quicklink=index&overridelayout=true
    Kindly revert with result.
    Regards,
    Mandeep Saini

Maybe you are looking for