SAP CRM Navigate from custom search page to email component

Hello Experts,
I implemented my own search page and added a link on every row of the returned query that should direct me to the email component eg. CRMCMP_CCS_EMLV.
I did something similar with Business partners and Task and it works. For BPs and tasks I managed to identify the object type and name associated to each of them and then I dynamically navigate to the components required.
The way I did it for tasks for instance is:
DATA:  lr_entity TYPE REF TO cl_crm_bol_entity,
lr_col TYPE REF TO cl_crm_bol_bo_col.
DATA:  lr_nav_descr      TYPE REF TO if_bol_bo_property_access,
             lr_nav_serv       TYPE REF TO if_crm_ui_navigation_service.
lr_entity = lr_core->get_root_entity( iv_object_name = 'BTOrder' iv_object_guid = lv_guid ).
CREATE OBJECT lr_col.
lr_col->if_bol_bo_col~add( iv_entity = lr_entity iv_set_focus = abap_true ).
CALL METHOD cl_crm_ui_descriptor_obj_srv=>create_ui_object_based
  EXPORTING
    iv_ui_object_type   = 'BT126_CALL'
    iv_ui_object_action = 'B'
  RECEIVING
    rr_result           = lr_nav_descr.
lr_nav_serv = cl_crm_ui_navigation_service=>get_instance( ).
lr_col->if_bol_bo_col~insert( iv_bo    = lr_nav_descr iv_index = 1 ).
*   start the navigatiostart the navigation
lr_nav_serv->navigate_dynamically( iv_data_collection = lr_col ).
My question is whether doing the same for emails is possible and if yes can someone please share his/hers knowledge?
I guess that there should be a root object associate with emails like there is BTOrder for tasks.
Once the correct root object is identified I will need the object type (like BT126_CALL for tasks) to create the ui_object_based
Thank you for you help,
K

Hi mimimaker,
According to your description, I think the function that you want to achieve is navigation rather then Seach in SharePoint 2010.
For achieving navigation in the current site, you can do as the followings:
Activate SharePoint Server Publishing Infrastructure feature at site collection level (Site settigs->Site collection features).
Go to a subsite, activate SharePoint Server Publishing feature at site level(Site settings->Manage site features).
Then go to Site setttings->Navigation under Look and Feel.
On the Global Navigation section, select “Display the navigation items below the current site”, and un-select “Show pages”.
On Navigation Editing and Sorting section, click Global Navigation
Then click “Add link…”
Type a title, and browse and select the page that you want to use in the navigation
Click Ok
Then the title will display on current site global navigation, you click it, it will automatically go to the page.
Repeat the step 2-9 for each subsite.
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support

Similar Messages

  • Navigate from custom webdynpro iview to ESS-iview

    Hi
    I Want to navigate from custom webdynpro to ESS Iview (working time)
    I did
    WDPortalNavigation.navigateAbsolute("ROLES://portal_content/com.sap.pct/line_manager/com.sap.pct.erp.mss.bp_folder/com.sap.pct.erp.mss.iviews/com.sap.pct.erp.mss.hcm/com.sap.pct.erp.mss.generalinfo_personaldata", WDPortalNavigationMode.SHOW_INPLACE, (String)null, (String)null, WDPortalNavigationHistoryMode.NO_DUPLICATIONS, "Called iView Name", (String)null, (String)null);
    but the ESS ivew can't recognize the employee
    i get the message To display data, first select an employee
    I don't use with NWDI so I  can't import the ESS IView
    do you have any solution?
    Thanks
    Yossi

    Hi,
    I am having the same problem to navigate from a custimized GeneralData iView to the Organizational Assignments ESS Iview.
    I have also tried to fire events after the navigation sentence but with no chance (maybe the event I have used is not the correct one)
    do you have any solution?
    Thanks

  • Remove Max. hits from UI Search page

    Hi All,
    I want to remove max. hits from UI search page.Can anyone guide me on this.Points rewarded for useful answers.
    Thanks and Regards,
    Srividya

    In CRM 5.0, t-code CRMC_IC_AUI_PROFILE is used but the maximum value is 2147483647 hopefully that would suffice.
    Entered value is too large (Max = 2147483647)
    Message no. 00087

  • Upload/Read Documents from SAP-CRM to/from SharePoint

    Hello ,
    We have a requirement to upload documents from SAP CRM to share point(select the document from the desktop and pass the data to sharepoint server) , the user should also be able to view the documents located in Sharepoint.
    There are web methods in SharePoint already developed which will allow the uploading of the documents and passing the location of the stored documents as URL back to CRM.
    Could any one please help me in the follwoing
    1. Configurations to do on SAP side for Calling the methods developed in Sharepoint.
    2. Configuration to pass the document from SAP CRM(Uploaded from desktop) to sharepoint.
    Thanks in advance

    Hi Ravi,
    We also have a similar requirement in which we need to read the document stored in an external server from SAP CRM. Can you please let me know know how you achieved this. I will know the exact path (URL) of the document. Using this is it possible to retrieve the content of the document.
    Regards,
    Sudha.

  • Opening a seeded OAF page from custom JSP page.

    Hi All,
    We have requirement to open a seeded OAF page from custom JSP page.
    When we try to open URL of an OAF page after passing URL input parameters, we are always getting following error:
    'You have insufficient privileges for the current operation. Please contact your System Administrator.'
    On directly accessing the seeded OAF page, its encoding all the input parameters passed in URL. Also some more encoded parameters are getting added to the URL dynamically.
    Is there any standard way exists to invoke seeded OAF pages without passing encrypted parameters to it? Also where can we get more details about
    encrypting OAF URL parameters.
    Any pointers would be appreciated.
    Thanks in advance!
    Saurabh

    Have you duplicated entire Customer Service module's menu in your responsibility?
    or Also ping me the menu name..
    --Prasanna                                                                                                                                                                                                                                                               

  • How to navigate from custom store to library?

    Is there any way to navigate from custom HTML store or any other web views to either Default Library or Custom Library?

    There is a workaround. If you specify a URL Scheme for your app, creating a link to that scheme displays the library. There is an example of this method in the Advanced Linking article in the DPS Tips app.

  • How to create a custom search page

    Hi,
    i would like to create a custom search page. I need to have a textbox for the text where i would like to search and a set of refiners, but in form of DropDown Lists. Under these elements i would like to have the search results.
    Is this possible?
    Where can i begin and for what do i have to look for?
    Best Regards
    Bog
    Developers Field Notes | www.bog1.de

    Hi,
    start with those articles
    http://msdn.microsoft.com/en-us/library/office/ms551453(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/hh144966(v=office.14).aspx
    http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2009/03/09/how-to-build-a-custom-advanced-search-control-for-enterprise-search.aspx
    Kind Regards, John Naguib Technical Consultant/Architect MCITP, MCPD, MCTS, MCT, TOGAF 9 Foundation

  • Creat Custom Search Page

    Hi All,
    I need to Create a Custom search and result page to search business partner in SAP CRM 2007.
    Please help me to creat the same.. 
    I have created my own Z Component need help to proceed further.
    THanks,
    Vandna

    Now call your z component as a work center area link in the navigation bar. You can handle this requirement mostly with configuration in 'Define Workarea componnet repository' and 'Define UI object types' in 'Technical Role definition' and 'UI Framework Definition' respectively. Refer these wikis - 1 & 2 .

  • Executing SAP GUI Script From a Web Page

    I have an issue when trying to execute some javascript (sap gui script) from a webpage. 
    When the javascript is executed I get the message:
    automation server unable to create object. 
    However, this exact same javascript when placed in a text file and double-clicked executes just fine through the windows scripting host. 
    Does anyone have an example of gui script code executing from a webpage?  Or any ideas on why it isn't working from the webpage?  Both scenarios should be executing the code on the local machine through WSH.
    Below is the javascript as well as the webpage executing the javascript:
    SAPGUI SCRIPT
    if (typeof(application) == "undefined")
       sapgui      = GetObject("SAPGUI");
       application = sapgui.GetScriptingEngine;
    if (typeof(connection) == "undefined")
       connection = application.children(0);
    if (typeof(session) == "undefined")
       session = connection.children(0);
    if (typeof(WScript) != "undefined")
       WScript.connectObject(session, "on");
       WScript.connectObject(application, "on");
    session.findById("wnd[0]").maximize();
    session.findById("wnd[0]/tbar[0]/okcd").text = "/nzsd1067";
    session.findById("wnd[0]").sendVKey(0);
    session.findById("wnd[0]/usr/ctxtVBAK-KUNNR").text = "6343";
    session.findById("wnd[0]").sendVKey(0);
    WEBPAGE
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    <html>
         <head>
              <title></title>
              <meta name="GENERATOR" content="Microsoft Visual Studio .NET 7.1">
              <meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
              <! INPUT PARAMETER SETTINGS:
              To Push data to Siebel or SAP the appropriate
              field below must be set = TRUE.
              Pop_SAP
              Pop_Siebel
              SIEBEL INPUT PARAMETER: When
              Pushing data to a Siebel screen the Query_Type should be set based on the type
              of lookup that is requested.
              Query_Type = 'SAP' -presents a screen based on a customer SAP Id.
              Query_Type = 'SR' -presents a screen based on a Service Request.
              Query_Type = '' or null -presents a search screen to locate the proper contact in Siebel
              APP_SAP_ID -SAP customer Id
              APP_SR_NUM -Siebel Service Request Number
              >
    <SCRIPT LANGUAGE="VBScript">
    Sub LoadContact()
            'Siebel Application Object
            Dim siebApp 'As SIEBELHTMLLib.ISiebelHTMLApplication
            Dim siebSvcs 'As SIEBELHTMLLib.ISiebelService
            Dim siebOutputPropSet 'As SIEBELHTMLLib.ISiebelPropertySet
            Dim siebInputPropSet 'As SIEBELHTMLLib.ISiebelPropertySet
            Dim bool 'As Boolean
            Dim errCode 'As Integer
            Dim errText 'As String
            Dim QueryType 'As String
         Dim PopSAP 'As String
         PopSiebel = "TRUE"
         If PopSiebel = "TRUE" Then
              QueryType = "SAP"
              If QueryType = "null" Then
                   QueryType = ""
              End If
                 'Create The SiebelHTML Object      
                 set siebApp = CreateObject("SiebelHTML.SiebelHTMLApplication.1")  
                 If Not siebApp Is Nothing Then
                     'Create A New Property Set
                     set siebInputPropSet = siebApp.NewPropertySet
                     set siebOutputPropSet = siebApp.NewPropertySet
                     If Not siebInputPropSet Is Nothing Then
                         siebInputPropSet.SetProperty "ANI", "9738986011"
                         siebInputPropSet.SetProperty "SAP_ID", "0000516616"
                         siebInputPropSet.SetProperty "SR_NUM", "null"
                         siebInputPropSet.SetProperty "Interaction_ID", "168608840053"
                         siebInputPropSet.SetProperty "Query_Type", QueryType
                     Else
                         errCode = siebApp.GetLastErrCode
                         errText = siebApp.GetLastErrText
                             MsgBox "Could not Create Siebel Property Set: " & errCode & "::" & errText
                     End If
                     'Get A Siebel Service
                     set siebSvcs = siebApp.GetService ("TAWBS")
                     If Not siebSvcs Is Nothing Then
                         siebSvcs.InvokeMethod "TAWPresentAccount", siebInputPropSet, siebOutputPropSet
                  Else
                         errCode = siebApp.GetLastErrCode
                         errText = siebApp.GetLastErrText
                   MsgBox "Could not Get Siebel Service: " & errCode & "::" & errText
                         End If
                     set siebApp = Nothing
                 End If
                 set siebInputPropSet = Nothing
                 set siebOutputPropSet = Nothing
                 set siebSvcs = Nothing
         End If 
    End Sub
    </SCRIPT>
    <SCRIPT LANGUAGE="javascript">
    function loadSAP()
         if (typeof(application) == "undefined")
              sapgui      = GetObject("SAPGUI");
              application = sapgui.GetScriptingEngine;
         if (typeof(connection) == "undefined")
              connection = application.children(0);
         if (typeof(session) == "undefined")
              session = connection.children(0);
         if (typeof(WScript) != "undefined")
              WScript.connectObject(session, "on");
              WScript.connectObject(application, "on");
         session.findById("wnd[0]").maximize();
         session.findById("wnd[0]/tbar[0]/okcd").text = "/nzsd1067";
         session.findById("wnd[0]").sendVKey(0);
         session.findById("wnd[0]/usr/ctxtVBAK-KUNNR").text = "0000516616";
         session.findById("wnd[0]").sendVKey(0);
    } // end
    </SCRIPT>
    </head>
         <body onload="loadSAP()">
              <H3><FONT face="Arial" size="5">Raytheon Integration Screen</FONT></H3>
              <HR style="WIDTH: 882px; HEIGHT: 8px" color="#3366cc" SIZE="8">
              <form id="ValidForm" onsubmit="LoadContact(); return false;" language="jscript">
                   <FONT face="Arial">Load Siebel Screen</FONT> <! <input name="Text1" TYPE="TEXT"
                   SIZE="10" ID="Text1"> <input name="Submit" TYPE="submit" VALUE="Submit" ID="Submit1">
              </form>
              <form id="Form1" onsubmit="loadSAP(); return false;" language="javascript">
                   <FONT face="Arial">Load SAP Screen</FONT>    <! <input
                   name="Text2" TYPE="TEXT" SIZE="10" ID="Text2"> <input name="Submit" TYPE="submit" VALUE="Submit" ID="Submit2">
              </form>
         </body>
    </html>

    Hi Bernd,
    the following code works in VBS. If you run saplogon.exe you'll get a message box saying '/app'.
    Set Wrp = CreateObject ("SapROTWr.SapROTWrapper")
    Set SapGui = Wrp.GetROTEntry ("SAPGUI")
    Set application = sapgui.GetScriptingEngine
    MsgBox application.id
    I haven't tried it on a web page, but I don't see why it shouldn't work there. Ok, maybe the MsgBox is command is not available.
    Best regards,
    Christian

  • Calling Web PL/SQL page from Employee Search Page

    Hello,
    I have a requirement where in I have to call a custom Web PL/SQL self service page from the Employee Search page (this is a page where managers search employees giving criteria as First Name, Last Name, Assignment number etc. which is a OA Framework page supplied by Oracle)
    Now situation is after search when I will click on Details button on the search results table the custom Web PL/SQL page should be called.
    But I am not able to figure out how to do it. Could anybody be able to help me on this ?

    You have to set the destination property of the button to call your WebPL/SQL page.

  • Export from OA search page

    Hi,
    I have a search page from which I want to export data to a CSV file.
    1. I would like to have the flexibility to select the rows that I want to export (using a checkbox).
    2. My application allows a user to configure 11 different kinds of models. The data required for all these models is different, so I have 11 tables to capture that information, and 1 table to store common information (such as contact details, delivery details etc.). These tables (model-specific and common) are linked by a PK-FK relation (config_id). My search page is built on 6 fields of the common table. But when I export the data for some selected configurations, I would like to capture data from the details table as well. I understand that I would need to create 11 VO’s and call them during the export process. But I am not very sure of this. Can anyone guide me through this?
    Hope I have made my problem clear.
    Thanks,
    Ashish

    Has anybody answered regarding a link to create a csv file?
    Thanks,
    Bob N

  • Connecting sap crm database from java | platform used NWDS

    I need to get some values from one of the SAP CRM 2007 database table and display it in one jsp file. I am working on a e commerce webshop in NWDS. I am new to NWDS. Can you give some sample code showing how to make connection to crm database and to do a select query on a table.

    I have only worked with CRM 3.0/4.0 but I have worked some with other WDP applications.
    So you want to access some data in a table in the CRM backend (R/3)?
    To do that from Java you need to call a BAPI in the CRM system. The BAPI does the acctuall lookup in the table and returns the value to the Java side. To do that in a WDP environment you need to set up Java Connectors (jCo) in your Java server. In some cases you can use a "normal" BAPI call, that is the way CRM ISA 3.0 and 4.0 works. See: http://help.sap.com/saphelp_crm30/helpdata/en/b6/97f8378f975450e10000009b38f8cf/frameset.htm
    and here:
    https://websmp108.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700000633682005E
    Here is how to access ABAP functions from WDP: http://help.sap.com/saphelp_webas630/helpdata/en/c3/76b45d9688e04abe1a1070410ddc1e/frameset.htm

  • How hide ribbon bar for read only users from custom master page.

    Hi,
    I want to hide the ribbon bar for read only users, on my custom master page I put inside of a SharePoint:SPSecurityTrimmedControl this div: <div id="ms-designer-ribbon">, but when I  save the changes the master page does not work
    anymore.
    <!--MS:<SharePoint:SPSecurityTrimmedControl runat="server" AuthenticationRestrictions="AddAndCustomizePages">-->
    <div id="ms-designer-ribbon">
    <!--SID:02 {Ribbon}-->
    <!--PS: Start of READ-ONLY PREVIEW (do not modify) --><div class="DefaultContentBlock" style="background:rgb(0, 114, 198); color:white; width:100%; padding:8px; height:64px; ">The SharePoint ribbon will be here when your file is either previewed on or applied to your site.</div><!--PE: End of READ-ONLY PREVIEW -->
    </div>
    <!--ME:</SharePoint:SPSecurityTrimmedControl>-->
    I'll appreciate any suggestions in order to solve this.
    Regards.

    did you close browse and open a fresh session?
    also authericationrestrictions for add & customize people so its more than read...
    check this one
    http://msdn.microsoft.com/en-us/library/jj822366.aspx
    another blog for same stuff:http://spgurunet00.web707.discountasp.net/post/2012/12/13/Hiding-SharePoint-2013-Ribbon-from-Anonymous-Users.aspx
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • Custom Search Page

    Dear,
    I am trying to customize the search page by using URL based search option.
    http://ABCD.EFGHIJ.com:50100/irj/servlet/prt/portal/prtroot/pcd!3aportal_content!2fevery_user!2fgeneral!2feu_role!2fcom.sap.km.home_ws!2fcom.sap.km.hidden!2fcom.sap.km.urlaccess!2fcom.sap.km.basicsearch?layoutSetMode=exclusive&ResourceListType=com.sapportals.wcm.SearchResultList&SearchType=quick&SearchVisible=false&SelectedSearchIndices=<INDEX1 & INDEX2>&EnableSearchIndexes=true&SelectedSearchIn=INDEXES&QueryString=CompanyName
    The above is the URL through which i would like to get my search result. Here search is working for a single Index.
    However, I would like to search for multiple indexes using single URL. Below is my value for single index search.
    SelectedSearchIndices=SAP_INDEX
    Can any one help me to get the value for multiple index selection? Can you please tell me what would be the index separater?
    SelectedSearchIndices=SAP_INDEX<Index Separater>SAP_INDEX_2
    Thanks in advance.
    Best Regards,
    Kabali

    Hi Kabali,
    Use a comma:
    SelectedSearchIndices=SAP_INDEX,SAP_INDEX_2

  • Customize customer search page

    Is there any way that we can customize customer search form with a DFF attribute on hz_parties?
    Any help would be greatly appreciated.
    Thanks,

    Hi Ravi,
    You can redirect from jsp to OAF and from OAF to Oracle form
    public void processRequest(OAPageContext pageContext, OAWebBean webBean)
    super.processFormRequest(pageContext, webBean);
    String destination =
    "form:SYSADMIN:SYSTEM_ADMINISTRATOR:STANDARD:FND_FNDMNMNU";
    pageContext.forwardImmediatelyToForm(destination);
    URL should be in form form:responsibilityApplicationShortName:responsibilityKey:securityGroupKey:functionName:param1=
    value1 param2=value2 param3=value3
    Hope this will help.
    Regards,
    Reetesh Sharma
    Edited by: Reetesh Sharma on May 17, 2010 9:51 PM

Maybe you are looking for