Help Debugging a CRM BSP...

I need to be pointed in a direction on how to best troubleshoot a CRM BSP application. The application is a Portal Iview that call the CRM Application called CRMD_WF (Workflow).
I understand BSPs and ABAP and web programming, just looking for some good tips, transactions in CRM to review this.
Regards,
Tom

just place a HTTP break point in your BSP application, when the same is called from portal a new GUI debugger session will open up when the process reaches the break point.
Aother options would be to set the trace for your BSP application and from SICF.
Regards
Raja

Similar Messages

  • Using CRM BSPs in Mozilla -- getting Design2002 error

    Hi there,
    we're trying to integrate the BSPs of CRM 4.0 to our NW04-Portal. On the WAS 6.20 of the CRM system SP49 is installed. For example we're calling http://fqdn:8005/sap/bc/bsp/sap/crm_bsp_frame/entrypoint.so?appl=CRMD_BUS2000126 (to maintain activities in CRM).
    Now when we call the BSPs from Mozilla 1.7.5 we get the message, that just IE >5.50 and NN>6.20 are supported by Design2002.
    I'm not a developer. So how can I make the CRM BSPs work with Design2003 that is also supported by Mozilla/Firefox.
    Is it possible to switch to Design2003 and can somebody tell me step-by-step, what to do???
    We tried using the URL-parameter sap-htmlb-design=Design2003, but this wasn't the solution.
    Any help appreciated
    Marko

    The CRM PCUI framework 4.0 only supports DESIGN2002. CRM uses in combination with our design2002 a lot of additional custom rendering, which does not match the HTML outputed by design2003. It will not be possible to have CRM 4.0 support Mozilla. (As far as I know, CRM only supports IE with the 4.0 version. You should check their release documents.)
    This thread is moved to CRM forum.

  • How to call CRM BSP for F4 (CRMM_BUPA_SEARCH) from BIW BSP

    Hi,
    we have a BIW BSP showing:
    - query results using a web template and
    - an input field for business partner no (bp) to process.
    Now we would like to call the F4 value help for bp CRMM_BUPA_SEARCH in a popup from the connected CRM system, which is reachable with CRM BSP CRM_BSP_FRAME.
    How can i populate the value selected in the result list of the bp value help in the popup into the the input field in BW BSP?
    Can anyone give some advice?
    Thanks and kind regards,
    Peter

    >I found your blogs, but this seems to be very complicated?!
    Complicated to implement the extension element -> yes unfortunetely that probably is the case.  Hopefully once you have the extension element in your system though, you would find that it is easy to use in applications.
    Any type of highly generic programming (as is necessary to support complex search helps) is going to be somewhat complicated by necessity.  I tried to hide this complexity from the consumer of the element, but someone has to get the element into your system in the first place.
    We are going to ship an enhanced version of the search help on a CD with the upcomming release of the BSP Book for SAP Press.
    <a href="http://www.sap-press.com/product.cfm?account=&product=H1903">Advanced BSP Programming</a>
    We include a transport file if you just want to import it into your system or text files/screen shots if you want to implement it manually.  There are also example and test applications to help you use the extension.

  • Cannot open PDF link in CRM BSP application

    Hi There,
    I am using CRM BSP application. While I am on the CRM Webpage and I choose a tab like ‘Processing Sale’. I go to ‘attachments’ and there is a link to open the PDF file. On the Development environment if I click the link, the PDF file opens but in the Production environment if I click the PDF link, the file does not open.
    What sort of settings do I need to change in the config i.e. in the transaction SICF to be able to open the PDF file. The difference that I found in the environments was that in TCode SICF, default_host->sap->bc->contentserver. There was no user setup in the Production environment but in Development there was one. But I created a similar user but still the problem not solved. Any suggestion would be appreciated.
    Thanks in advance !

    Hello,
    We are facing the same problem actually and oss ask us to check the following :
    635049 CRM Content Management:Word integration in People-C
    606745 CRM Content Mgmt.: Document does not open
    646177 CRM Content Management: Error/no response in the to
    Also check if the logon data is maintained for the service
    /default_host/sap/bc/contentserver in the transaction sicf.
    Maybe it can help you.
    Regards,
    Frédéric

  • List of CRM BSP Applications

    Hi All
    Can any body please send the list of CRM BSP applications.
    I have done E-Recruitment BSP changes.
    Now my requirement is to change CRM BSP pages.
    Is there any difference in normal BSP and CRM BSPs?
    as I am seeing some PCUI layout and others.
    Thank you in advance.
    Ravi..
    [email protected]

    Hi,
       CRM BSP applications normally refer to BSP applications based on PCUI framework. While BSP applications can be any *.htm pages with embedded ABAP code.
    You can see a list of all the CRM BSP applications (PCUI applns.) as follows :
    1. Go to SE80.
    2. Open BSP application
    CRM_BSP_FRAME
    in the repository browser.
    3. Right-click on the application name and TEST.
    4. Select
    select.htm
    from the pop-up.
    You will find the full list of the latest versions of PCUI applications.
    Please reward if helpful!
    Thanks,
    Sudipta.

  • Help Debugging method

    Hi:
    Can someone help me debug and correct following program?
    The error message I receive is Exception in thread "main" java.lang.StringIndexOutOfBoundsException:
    String index out of range: 1
    at java.lang.String.charAt(String.java, Compiled Code)
    at RemoveDuplicates.key(RemoveDuplicates.java, Compiled Code)
    at RemoveDuplicates.main(RemoveDuplicates.java:12)
    The code is as follows:
    class RemoveDuplicates
    public static void main(String args[])
    String keyword = args[0];
    System.out.println(key(keyword));
    public static String key(String keyword)
    {String temp = "";
       for(int i = keyword.length()-1; i > -1 ; i--)
       if(i == keyword.indexOf(keyword.charAt(i)))
        temp = keyword.charAt(i)+ temp;
        keyword = temp;
    return keyword;
    If I change the code as follows it will run without error but I need to put the code in a method as part of a larger program.
    class RemoveDuplicates
    public static void main(String args[])
    String temp = "";
    String keyword = args[0];
    for(int i = keyword.length()-1; i > -1 ; i--)
    if(i == keyword.indexOf(keyword.charAt(i)))
    temp = keyword.charAt(i)+temp;
    keyword = temp;
    System.out.println(keyword);

A: Help Debugging method

Here's your method corrected - albeit with some renamed variables, a variable addition and some reformatting...
  public static String removeDuplicates(String s)
    String temp = "";
    for(int i = s.length()-1; i >= 0 ; i--)
      char c = s.charAt(i);
      if(i == s.indexOf(c))
        temp = c + temp;
    return temp;
  }The only functional change is the removal of the line in the if statement body of "s = temp"... This would cause the StringIndexOutOfBounds and would also lose the as yet unprocessed characters.
Here also is a version which trades off a higher memory usage to avoid creating a lot of Strings and rescanning the original String...
  public static String removeDuplicates(String s)
    boolean[] foundChars = new boolean[Character.MAX_VALUE+1];
    StringBuffer sb = new StringBuffer(s.length());
    for(int i = 0, j = s.length(); i < j; i++)
      char c = s.charAt(i);
      if(!foundChars[c])
        foundChars[c] = true;
        sb.append(c);
    return sb.toString();
  }Hopefully these both work...
Talden
PS: Don't forget those dukes...

Here's your method corrected - albeit with some renamed variables, a variable addition and some reformatting...
  public static String removeDuplicates(String s)
    String temp = "";
    for(int i = s.length()-1; i >= 0 ; i--)
      char c = s.charAt(i);
      if(i == s.indexOf(c))
        temp = c + temp;
    return temp;
  }The only functional change is the removal of the line in the if statement body of "s = temp"... This would cause the StringIndexOutOfBounds and would also lose the as yet unprocessed characters.
Here also is a version which trades off a higher memory usage to avoid creating a lot of Strings and rescanning the original String...
  public static String removeDuplicates(String s)
    boolean[] foundChars = new boolean[Character.MAX_VALUE+1];
    StringBuffer sb = new StringBuffer(s.length());
    for(int i = 0, j = s.length(); i < j; i++)
      char c = s.charAt(i);
      if(!foundChars[c])
        foundChars[c] = true;
        sb.append(c);
    return sb.toString();
  }Hopefully these both work...
Talden
PS: Don't forget those dukes...

  • Help debugging an Apache module compile

    Has anyone every had any experience adding in modules to apache that use openssl?
    We have had great luck installing this module in particular "mod_cosign" with Apache 1.3 standalone but we are having a heck of a time compiling it with OHS.
    The module we are using is from:
    http://webapps.itcs.umich.edu/cosign/index.php/Cosign_Wiki:Test_install_HOWTO#Compilation_and_Installation
    We are compiling this with openssl-0.9.7e
    And here is the error we get when we try to start apache
    .../Apache/Apache/bin/apachectl startssl: execing httpd
    Syntax error on line 245 of .../Apache/Apache/conf/httpd.conf:
    Cannot load .../Apache/Apache/libexec/mod_cosign.so into server: ld.so.1: .../Apac
    he/Apache/bin/httpd: fatal: relocation error: file .../Apache/Apache/libexec/mod_cosign.so: symbol RAND_bytes: referenc
    ed symbol not found
    I'm not sure what it is truly missing and why the "RAND_bytes" is missing. I know this is specific issue but I was hoping maybe somebody has some experience with other modules being compiled and help debugging them.
    Thanks,
    Justin

    You should try with the latest apache 1.3.x version rather than with the 2.x version. The mobile server module that has been shipped has been tested with 1.3.x version. Hi! Summit,
    Thanks for your good observation.
    I already figured that and tried on
    apache_1.3.27
    I went through all te trouble to compile a EAPI enabled
    Apache to fix the 'Symbol resolving problem'
    Now I have the EAPI enabled ( pretty much ssl enabled ) Apache_1.3.27
    Now when I load the module 'libwtgapach.so'
    I get the following log ERRO entry in Apache and it never comes up.
    Here is my ewrror log says.
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    [Thu Nov  7 16:15:41 2002] [notice] Apache/1.3.27 (Unix) configured -- resuming normal operations
    [Thu Nov  7 16:15:41 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
    [Thu Nov  7 16:16:07 2002] [notice] caught SIGTERM, shutting down
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    OUCH: nested memory code, to 1 levels.
    This could still be due to a problem in the Shared Object 'libwtgapach.so' as without it the EAPI enaled Apache works fine.
    This is very criutical for me to get the 'Mobile' project we are researching on to get going.
    Any help is deeply appreciated, I am trying ORACLE with not much help.
    One thing strange though, the olite_50200_linux.cpio distribution from ORACLE download page installation documentation does not even mention about the Apache Module Configuration detalis.
    I presume it is implied as trivial.
    OR
    IS IT REALY SUPPORTED ?
    -- ajith

  • CRM - BSP applications - Getting started

    Hi Experts ,
    I have a knowledge of BSPs used in R/3.
    and for my project requirement now i am asked to study CRM BSPs.
    And i am not aware of the CRM BSP applications at all.
    what is the difference between BSPs and CRM BSPs ??
    Can anybody give me a Document containing overview of CRM BSP applications?
    Also for this do i need the knowledge of CRM functional areas?
    Regards,
    Ashish Shah

    Hi Ashish,
      CRM BSPs and R/3 BSP are similar. They are similar, if you are designing custom BSPs.
      In CRM we have SAP standard BSP applications which were develped on MVC architecture. They are 1) CRM_IC ( CRM Interaction Center) 2) CRM PCUI
    These are standard SAP developed BSP application which are ready to work.
    Each customer using CRM system, may need some customization in these Applications.
    So in CRM we will work on These standard BSP applications as well on Custom build applications, depending on customer needs.
    Thanks,
    Babu

  • CRM BSP's

    Hi All,
    I am learning BSP's.I have practiced some of examples which is provided by SAP like Slight example like that.
    Can anybody please provide some relatime examples on CRM BSP's.So that i will get little bit real time experience in BSP's.
    Thanks,
    Taragini

    And how do you think they can be delivered?
    CRM BSP's tend to be quite complicated, with all of its views, controllers, application classes etc. etc. Bottom line, this is hardly feasible and the 'only' way would be to get access to a CRM system.
    But I guess that any other BSP will do for that matter, so if you have access to an arbitrary R/3 system, they to have a lot of real time BSP's.

  • Volunteer needed to help debug a Boost library in Sun Studio

    Hello,
    I've recently added a new Boost library called Boost.Flyweight to this project's
    internal repository
    [http://svn.boost.org/svn/boost/trunk/libs/flyweight/doc/index.html]
    and found out that Sun Studio (versions 5.7 thru 5.9) have runtime problems with
    a particular library test, as described in
    [http://lists.boost.org/boost-testing/2008/12/6048.php]
    My requests for help at the Boost mailing lists have met no response, so I'm
    looking here for volunteers to help debug this problem. Basically I need someone
    with access to Sun Studio and some C++ fluency (and familiarity with
    Boost is a plus, too). I'd be trying to provide as much support as possible
    during the process. In return the kind volunteer will receive my eternal gratitude
    and an entry in the lib's acknowledgements section.
    If you're interested please drop me an email to joaquin at tid.es
    Thank you very much,
    Joaquín M López Muñoz
    Telefónica, Investigación y Desarrollo

    The problem has been identified as a compiler bug, and bug number 6782987 has been filed for it.
    The bug report will be visible at bugs.sun.com in a day or two.
    Compiler versions earlier than 5.9 (Sun Studio 12) are not very good a compiling BOOST, but this particular bug exists in the latest development compiler. One of our engineers is looking for a workaround, and he will post something here if he finds one.
    A fix for this bug should show up in a future patch to Sun Studio 12. If you have a service contract with Sun, you can escalate this bug for faster service, and get a pre-release version of the compiler patch.

  • Need some help in SAP CRM ISA.

    hi ,
    I am very new to the SAP CRM ISA environment .So please suggest me some documents ,books name etc.
    To develope ISA applications what java skills we should have.
    Please help me ...
    Thanks in advance to all of you..
    With regards
    shanto aloor

    Hello Shanto,
    You need a couple of months of time to attend the following courses and couple of more years for really working in few projects to understand Well that is for people like me.
    CR010 - CRM Basics,
    CR100 - CRM Overview,
    CR300 - CRM Sales,
    CR800 - E-Commerce with CRM and
    CR850 - E-Commerce with R/3
    Okay, for the programming skills, you need very good Java / Web Application development experience. The application (ISA) is a simple Java based Web application (not a J2EE application) built on Struts framework. So, a good knowledge / experience of Struts is a big plus.
    The [E-Commerce Enhancement / modification guide|https://websmp210.sap-ag.de/sapdownload/011000358700000469462006E/] is THE reference for ISA enhancements. I can not emphasize more on this. Every page, sentence is a must read in this document. This next document has [Examples and Tutorials |http://service.sap.com/sapdownload/011000358700006120622006E/]that go with the first document.
    It is also good to have ABAP development and debugging knowledge to do good development. Basic understanding of the request - response cycle - the Java to ABAP integration are all good topics to focus and learn.
    You must also know the Java development process in the NetWeaver (NW). You need to know the concepts of NW Development Infrastructure (NWDI). The enhancement guide has some information relevant to ISA development.
    If you really go through the enhancement guide thoroughly, you will know what more you should know!
    Easwar Ram
    http://www.parxlns.com

  • CRM BSP customization

    Hi Gurus,
    we have upgrading our CRM 3.0 system to CRM 4.0(Mobile sales). initially we have VB front end for our mobile clients. Now we want to migrate all applications to SAP Portals. In this process we need some customization in our existing BSPs. I am new to ABAP development. 1) How much ABAP skills we need to customize the existing BSPs.
    2) Any steps I can follow to customize the BSP applications would be helpful?
    Advance thanks to You all
    Murthy

    Hi Murthy,
    You can activate (invoke) the CRM Designer by doing the following
    1) Install the CRM Designer on the local machine - from where you will do the modification.
    2) Call the Blueprint Application Builder (Transaction CRMC_EXEC_BAB_C or through IMG)
    3) In Application dropdown - select the Application which you want to do design changes
    4) In View dropdown - select the View which you want to design (leave empty if you haven't yet created a new view for that application. Its recommened to have a view assigned to the application)
    5) Expand the Save button
    6) Create Transport Request
    7) Select the screen area which you want to Design
    8) Click on designer and the CRM Designer will open as a seperate application.
    Thanks
    Harsh

  • Help Required : Error in BSP (hrrcf_cand_reg) for E-Recruiting

    Hi All,
    I needed help on BSP. I am getting an error ["Internal Error" - An internal error occured please try again later.] I have done a lot of debugging on this. This error occurs when i am using the BSP Application (hrrcf_cand_reg) which is used for registeration of an external candidate in E-Recruiting 3.0. I am also checking the error in Display Logs. It states the following <b>The system detects a technical inconsistency</b>.An attempt was made to start the E-Recruiting application with a user that is not assigned a candidate or an employee. But in this case the new person is getting added in my SAP Db as well. So i am wondering what the error could be? Please help and advice at the earliest.

    HI Samir,
    I am getting the similar problem.Will you pl let me know how you have solved this issue.You may pl send the info [email protected]
    Thanks
    Uday

  • Restricting the drop down menu contents in CRM BSP application for portal

    Dear All,
    I have a problem with CRM BP where I am accessing a BSP application for ACTIVITIES - SEARCH "CRMD_BUS2000126_F4" as an iview. This iview has been assigned to a user who is an external employee of the organization. This contains a drop-down menu to search for ACTIVITIES based on user's choice(ME, MY DEPT, MY GROUP..etc). My problem is to restrict the choices in the DROP-DOWN menu to only ME and remove all others.
    How do i do that???
    rgds
    Chan

    Hi Chan,
    u r on right track.
    Save the changes that you make to the field group (entering a default value and tick 'read-only')
    I hope you are changing the field-group in CRMC_BLUEPRINT_C.
    after u have saved the canges to the fieldgroup, you need to re-gerenate the layout.
    Layout of User Interface (People-Centric UI) -> Application Element -> Field Group -> Layout Generation.
    Enter the name of the fieldgroup that u just changed.
    First run it as it is (with the "Only Check Field-Groups" ) to see if it is running into any errors.
    If there are no errors, Make sure that you remove the "Only Check Field-Groups" option and then execute.
    The layout will b generated and you should see the desired changed now.
    Hope this helps. / reward points if helpful..
    Regards,
    Raviraj

  • Direkt link from a web dynpro (non crm system) to the crm bsp page from sap

    Hello,
    we are trying to call the bsp page like opportunities details edit in edit mode with a parameter that discriebes the opportunity. AT the moment we can the page but don't know how to tell the system what opportunity should be displayed and in edit mode or not .  Any hints ? or documentations ?
    thanks
    Juergen
    http://rxxxx.com:8080/sap(ZT1yOFhyMTZmamJ1am1PX01yOHlUMENRLS12Y1VwVHlKUElWckR4X25DZDRxeVJnLS0=)/bc/bsp/sap/CRM_UI_PORTAL/BSPWDApplication.do?sap-syscmd=nocookie&sap-client=900&sap-language=en&sap-accessibility=&sap-ep-version=7.00.200711172137&sap_ep_version=7.00.200711172137&sap_ep_baseurl=http%3A%2F%2Fsi0bos49.boschrexroth.com%3A50100%2Firj%2Fportal&NavPathUpdate=false&buildTree=false&crm-portal-theme=BRCOMPASS_LIGHT_STD&crm-portal-role=portal_content%2Fbr%2Fcom.br.fICM%2FCRM%2FSALESPRO%2FSALESPRO&saprole=SALESPRO&crm-logical-link=SLS-OPP-SR

    Hi, the central class which is used for external navigation to a component, is CL_CRM_UI_EXT_NAV_SERVICE.
    In the URL of the Web Client, you can specify 4 different parameters:
    1. Object type : crm-object-type
    2. Object action: crm-object-action (A for search, B for Display, C for Edit and D for Create) -> see details in "Define Navigation Profile" and in Define generic OP mapping.
    3. Object value (optional) : crm-object-value
    4. Object key name (optional): crm-object-keyname
    If you use option 3 and 4, then you also need to define a mapper class in customizing to create a BOL entity based on the key name and value. See for example class CL_CRM_UIU_BT_OBJ_MAPPER and method IF_CRM_UI_OBJ_MAPPER~GET_ENTITY_FROM_UI_OBJECT. This is done in "Define Object Mapping". Fro example, for BuilHeader BOL object which is linked to Object type BP_ACCOUNT, you could use the class CL_CRM_BUPA_UIU_OBJ_MAPPER as an example.
    Example of an URL:
    http://<server_name>/sap/crm/crm_logon/default.htm?sap-client=100&crm-object-type=BP_ACCOUNT&crm-object-action=B&crm-object-value=110&crm-object-keyname=PARTNER
    Hope this helps,
    Xavier

  • Maybe you are looking for

    • User Decision step- Upon reject, auto-popup text for reason

      In a user decision step, when the user clicks the reject button, open text for rejection reason within the workitem. i have done the following 1) Create a new step 2) Create a task based on SOFM.CREATE 3) Binded  WIOBJECT_ID => (append table) ADHOCOB

    • Messages per day in XI

      HI, Is there any transaction code where I can get the Statistics of Messages exchanged in XI on daily basis, for a month or more.          We have more than 50,000 messages being exchanged daily. Its hard to find the statistics in SXMB_MONI...So look

    • Chinese input method???? need help!!

      I just found in the HELP on my 8530, the "typing" section, it says "find more information about typing in other languages" i followed the link but found nothing at all about that... can somebody help me, please??? thanks!!

    • Getting Adobe Elements 10 to OPEN on my computer

      I installed my purchased Adobe Elements 10 onto my external HD.  I can't get it to open.  What now?

    • Folders for iPage documents

      how can I create folders for iPages documents?