SRM - Shopping Cart - how to debug BADI BBP_CREATE_BE_RS_NEW in ECC system

Hi,
We are using BADI BBP_CREATE_BE_RS_NEW (ECC system).
We put external breakpoint on this BADI.   Made sure also that the BADI is activated.
Our problem is it didnu2019t stop on our breakpoint.  Authorizations to debug/etc are there.
When it was not possible to debug when shopping cart is created in internet link (SRM), we used tcode BBPSC01 (ECC system) to see if we can go to the BADI and debug it.  However still the program did not stop at break point at the ECC side.
(SRM Module shopping cart)
How do we debug this BADI in ECC?  Anything to set up or ?????
SRM_SERVER   550   0013    SAPKIBKT13   SRM_SERVER 550: Add-on installation
SRM add on to ECC 6.0
Looking forward to hearing from you as soon as possible.
Thanks.

Hello,
User calling BAdI in ECC must be a dialog one in order to be able to debug with.
Check whom user is called in R/3 by having a look at RFC transactional assigned to your R/3 backend in SRM SM59 transaction.
Then, in R/3, modify this user as a dialog one (type 'B') then put an external break-point for this user.
Regards.
Laurent

Similar Messages

  • 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

  • BADI BBP_CREATE_BE_RS_NEW  - how to debug in ECC (SRM shopping cart)

    Hi,
    We are using BADI BBP_CREATE_BE_RS_NEW (ECC system).
    We put external breakpoint on this BADI.   Made sure also that the BADI is activated.
    Our problem is it didnu2019t stop on our breakpoint.  Authorizations to debug/etc are there.
    When it was not possible to debug when shopping cart is created in internet link (SRM), we used tcode BBPSC01 (ECC system) to see if we can go to the BADI and debug it.  However still the program did not stop at break point at the ECC side.
    (SRM Module shopping cart)
    How do we debug this BADI in ECC?  Anything to set up or ?????
    SRM_SERVER   550   0013    SAPKIBKT13   SRM_SERVER 550: Add-on installation
    SRM add on to ECC 6.0
    Looking forward to hearing from you <removed by moderator>.
    Thanks.
    Edited by: Thomas Zloch on Sep 30, 2011 4:01 PM

    1) If your debugging in our Development system.
    You can use the DO , ENDDO loop.
    Copy and paste the below code in your BADI code where you want to start debugging.
    Create the shopping cart in SRM then the screen will be in processing mode.
    Go to ECC system transaction code SM50
    execute the transaction you will see an ALV report with all processeor running.
    You will find one line with your BADI name .
    Select that line and GOTO -> Program/Session menu option -> Program -> Debugging.
    After the above action Debugger will start and the curser will be at DO , ENDDO loop.
    make the FLAG value = 'X" in the debugging and from there you can debug the BADI.
    DATA : FLAG.
    DO.
    IF FLAG = 'X'.
       EXIT.
    ENDIF.
    ENDDO.
    Once your debugging is over make sure that the above code is deleted.
    Let me know if there are any concerns.
    2) If you want to debug in the Testing or production environment then you have to login to ECC system with your RFC user name and put the external break point.
    When you create the Shopping cart the RFC user will run the ECC logic thats why we ned to login with the RFC user.
    We can request BASIS people to give the access for some time to debug the application with RFC user.
    This you can do in Development also.
    Thanks
    Naresh
    Edited by: Naresh Nelapatla on Oct 26, 2011 1:54 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

  • SRM – Shopping Cart approvers in parallel

    Hi all,
    I’m looking for a function to get all approvers of my shopping cart during the creation. I want to get them all for a WorkFlow approval in parallel and not in sequential.
    Actually, I implemented a Badi (/SAPSRM/BD_WF_RESP_RESOLVER) for agent determination in the WF. It works fine to determine the good agent but … only one. If I add others agents, they’ll be in sequential approval.
    Do you know how I can change the level of approval from sequential to parallel? And during the creation of a shopping cart, how get all approvers?
    Thanks by advance and sorry for my English

    Hi,
    From SRM 701 it is possible to have parallel approval process with the feature Parallel Approval with Overlapping Responsibility
    activate the Customizing switch Parallel Approval with Overlapping Responsibility (SRM_701_APF_IN_PARALLEL) in Customizing for SAP Supplier Relationship Management under:SRM Server -Cross-Application Basic Settings-Business Workflow -Activate Parallel Approval with Overlapping Responsibility
    Regards,
    kiran

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

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

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

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

  • ECC PO Realese Stratagy details need to be populated in SRM Shopping Cart

    FOLKS,
    We are configuring SRM7.0 with ECC6 ( Ehp4) having Classic Scenario
    We don't want to use Approval process for Shopping Cart, since it will be in ECC PO. The ECC PO in relevant document tab page as a follow on document in Shopping Cart shows only  some key fields like Qty, Supplier, Price..etc.
    But Requester ( Shopping Cart creater ) want to see in the  the Release Status of ECC PO and to whom it is pending in the SHOPPING CART ITSELF (along with other fields of ECC PO in relevant document tab page) .
    Can anyone please suggest/confirm me, whether it is possible or not ? If yes , which BADI..or enhancement ?
    Thanks
    Regards
    NAP

    Hi,
    Yes. You can enhance WebDynpro UI.
    Here is some basic references.
    6 series on User Interface flexibility in WebDynpro ABAP.
    http://www.sdn.sap.com/irj/scn/advancedsearch?query=%22abapUIFlexibility%22
    ABAP UI Flexibility Part 1: Demo Overview
    ABAP UI Flexibility Part 2: Floorplan Manager
    ABAP UI Flexibility Part 3: Feeder Classes
    ABAP UI Flexibility Part 4: BADIs
    ABAP UI Flexibility Part 5: BRF+
    ABAP UI Flexibility Part 6: Looking Ahead to 7.02
    Regards,
    Masa

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

  • SRM - Shopping Cart - UoM is being defaulted to EA automatically

    Hi,
    We are creating a shopping cart in SRM, and when we transfer items from the catalog to the shopping cart, the UOM is being defaulted to EA.
    The product in question has a UOM in the catalog of Ctn3 (Carton 3), and this UOM is not available in the SRM system. We want the system to throw an error saying that the UOM is not found, but even after debugging we have failed to find a point where the UOM from catalog (Ctn3) is available in the system. It gets defaulted automatically to EA, and then there is no way of knowing whether the UOM from catalog was allowed or not. We found in the debugger stack that a kernel method in the class SRMNXP/CL_OCI_INBOUND_HDLR is being called first, through which the BADI BBP_CATALOG_TRANSFER is called, which we are implementing.
    We think this might be due to some configuration, which is defaulting the UOM to EA, but have been unable to find one.
    Any suggestions? Or any way of debugging it further?
    Thanks and regards.

    Hi,
    I guess this is just the default value of SRM for every line. Please take a look at implementing BADI /SRMNXP/BD_CHANGE_DATA in there you can change default data.
    As the UI5 is still quite new, also take a look on OSS or raise a message with SAP to confirm the behaviour.
    Regards,
    Robin

  • 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

  • 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