Launching a logical link thru code

Hi all,
I manage to launch a logical link using the below in my code:
lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
CHECK lr_navigation IS BOUND.
lr_navigation->navigate( iv_link_id = 'Logical Link Id' ).
But i notice that it only works if the logical link appear in the nav bar. Is that true? Any work around for this because the client do not want the link to appear at the nav bar.
Do give any suggestion.

You could make use of the generic OP mapping. Any logical link will have a target ID attached to it, this way you do not have to have the link in the navbar.
cheers Carsten

Similar Messages

  • MVC-BSP as a logical link

    Hi All,
    I have a MVC-BSP and Iu2019m looking for the information how can I link this BSP (like a logical link) in the crm2007.
    Can anybody help me?
    Thanks & Regards

    Hi,
    According to ur requirement u need to create a transaction launcher for ur BSP-MVC . Follow the bellow steps.
    1. Define URL parameters for transaction launcher for ur BSP application and pass ur main controller name and main page name like
    Application - MAIN.Do
    Page         - MAIN.HTM
    2. Create a transaction launcher of URL type and pass URL parameter id over there.
    3. After follow all steps for transaction launcher like logical link, assign logical link id to direct link group  and assign to navigation bar profile.
    4. In ur business role check the checkbox for this logical link from visible direct link.
    Now test ur transaction launcher. It will work.
    Regards
    Gaurav

  • How to find tcode of  a logical link id attached to a transaction launcher

    dear all ,
    In crm 2007 we have used transaction launcher to call transactions of is utilities system .
    i can see the transaction logical link ids in SPRO but how to find the transaction associated with this logical id .
    Thanks & Regards

    hi Anit,
    goto->Customer Relationship Management->UI Framework->Technical Role Definition->Define Navigation Bar Profile
    Open your logical link. Check parameter of your logical link. Suppose it is zxyz.
    then goto
    Customer Relationship Management->UI Framework->Technical Role Definition->Transaction Launcher->Copy/Delete Launch Transactions
    Goto Launch Transactions select your tx and open Import Parameters. Check parameter field. you will find the required information.
    Good Luck.
    Pankaj Kumar

  • Logical link / Work center for directly accessing "Business Activities"

    Hi All,
    We are upgrading from CRM 5.0 to CRM 2007. One unique challenge that I have encountered is the access to search, change or create - BUSINESS ACTIVITIES (Leading Transaction category: BUS2000126) in the CRM Web UI. We would like to directly access Business activities through a work center -> Logical link or a Logical link, in the SALESPRO business role.
    This is available in the IC_AGENT business role. But you need to create a preceding Interaction record and then create a followup activity -> Business activity. We do not want to do this. We want to be able to access the business activites directly. For example, Leads and Opportunities can be accessed directly through the work Center: "Sales Cycle".
    Does anyone know if there is a work center that I can use in SALESPRO business role that will give me direct access to Business Activities . I can use the transaction launcher to access the HTML version of the winclient transaction (T Code: (CRMD_BUS2000126) but I do not want to use the transaction launcher. Any ideas?

    Well I am pretty Serious?!!!
    The standard SAP delivered "ACTIVITIES" WORK CENTER has the following Logical links for CREATE:
    Activity
    Activity Scheduling
    Activity Template
    Appointment
    E-Mail
    Interaction Log
    Task
    Visit Plan
    And when you use the Activity create - you ONLY have the option to create:
    Interaction log - Channel report
    Interaction log - Partner report
    Task - Approve
    Task - Recurring Task
    I would expect to see more than this. There are other BUS2000126 Business Activity transaction types which are enable to be maintained online in SPRO. But they do not show up here. I can use the Search - Activity logical link and then use Activity Type to find the other Transaction types. But not in Create. I can control the transaction types that can be displayed for Leads and Opportunities. It doesn't seem to work for Activities!!!!
    Is this part of standard CRM 2007 SALESPRO delivered role functionality??? I have SAP_ALL and SAP_NEW and have access to the other Business activities in my security role. My Ophthamologist did confirm that my eyes are doing fine so far. So this has something to do with the way this 'Work Center' has been designed. Apart physiological/anatomical impediments what am I missing???
    Thanks,
    Ramesh

  • Call logical link from action

    Hi experts
    I need to call a logical link (like transaction launcher) from an action,
    and i need to pass the order id at the transaction called....
    anybody can hal me?how to code??
    thanks in advance
    Marco

    Hi Marco,
    I can provide code for navigation, maybe this will solve part of your problem?
    data: lo_nav       TYPE REF TO if_crm_ui_navigation_service.
    * get service for navigation
      lo_nav = cl_crm_ui_navigation_service=>get_instance( ).
    CHECK lo_nav IS BOUND.
    * navigate to destination
      lo_nav->navigate( iv_link_id = iv_link_id ).
    if you want to support a parameter, so use additionally this to create entitiy
    data: lo_link      TYPE REF TO if_bol_bo_property_access.
    lo_link ?=
                cl_crm_uiu_bt_param_create=>if_ui_link_parameter_class~create_parameter_object(
                                            iv_link_id   = iv_link_id
                                            iv_parameter = iv_parameter ).
    Put this entity lo_link into a new data_collection and call
    lo_nav->navigate( iv_link_id = iv_link_id
                              iv_data_collection = data_collection ).
    Best wishes,
    Hakan

  • Need correct Target Id for report logical links

    Dear Experts,
    I have the following requirement where I need to have 5 Trade Funds related reports to be displayed when I click on the 'xyz' workcenter of my business role.
    The standard Group Id (Work Center Link Groups) for the reports is FM-ALL-RE.
    The logical links for the 5 reports included in the above Group Id are:
    FM-MC13-1
    FM-MC13-2
    FM-MC13-3
    FM-MC13-4
    FM-MC14-1
    So I did the following:
    1. Created a custom workcenter e.g. xyz.
    2. In workcenter definition, the Logical Link ID is abc (custom).
    3. In logical link definition, abc is assigned to Target ID TSLSDASHWC.
    4. Group Id FM-ALL-RE is assigned to workcenter xyz.
    5. Workcenter assignment to Navigation Bar Profile and Business Role is done as usual.
    But I am not getting the links for the 5 reports when I login using the business role and click on Workcenter xyz.
    I have analyzed and found that the issue is happening because of step 3, where it seems the wrong Target Id is assigned.
    Can anyone please guide as to which should be the correct Target Id which can solve this issue.
    I tried to go through various standard SAP business roles but none of them had any link to my above 5 reports.
    regards
    Animesh

    Hi Animesh,
    I have got the feeling that you are correct concerning the SWITCH_ID field.
    You have multiple possibilities to check if it is the reason. One would be to:
    Set a breakpoint in method CL_CRM_UI_NAVBAR_SRV->TRAVERSE_WC_DEFINITION() for the following code
    * remove entries with inactive switch id
      IF iv_ignore_switches EQ abap_false.
        LOOP AT lt_wc_infos ASSIGNING <wc_infos> WHERE switch_id_wc_a   IS NOT INITIAL OR
                                                       switch_id_wclg_a IS NOT INITIAL.
          lv_tabix = sy-tabix.
          IF cl_webcuif_switch=>is_switch_active( iv_switch_id = <wc_infos>-switch_id_wc_a ) EQ abap_false OR
             cl_webcuif_switch=>is_switch_active( iv_switch_id = <wc_infos>-switch_id_wclg_a ) EQ abap_false.
            DELETE lt_wc_infos INDEX lv_tabix.
            CONTINUE.
          ENDIF.
        ENDLOOP.
      ENDIF.
    Then either just jump over the LOOP whenever it is hit or check the contents of LT_WC_INFOS
    Now check in WebClient if your links show up
    The solution to your problem is afterwards to activate the switch to ensure correct display and (more important) data content.
    cheers Carsten

  • Base64 algorithm logic in TOOL Code

    Has anybody out there written a base64 algorithm logic in TOOL code and are
    willing to share some code?

    Hi Smitha,
    Go to SPRO>Logistics Execution> Direct Store Delivery.
    Where it has to be configured and the configuration guide is available in the below link:
    http://help.sap.com/bp_bblibrary/500/BBlibrary_start.htm
    after going to this link take Wholesale Distribution and Country as US. Then take the building block G70 & G76
    Hope it will be useful and if so mention.
    Regards,
    Elanchezhian. K.C.

  • Logical link for link to internal server

    Hi Experts,
    Is it possible to create a logical link which refers to a link to the internal server.
    I need to create a work centre which will refer to the intenal server link. Can anyone tell me the settings for the same. I have configured the transaction launcher but I am confused as to what is the inbound plug target id I have to mention.
    Please let me know the settings. Thanks.
    Regards
    Yogesh

    Hi,
    I was making a mistake in the URL region when calling the address, I was calling the value of a link but forgot to put it between &ITEM., thats why it returned me that error.
    Now i can see the page result altough I cannot retrive the file yet, but I think it is some php parameter I'm not passing correctly in the URL.
    Thanks a lot for the help, it solved my problem.
    Just another thing is it possible to call that link and close the new page right away? Itś a bit awkward for a user to click a download link and be redirected to a page where it will only present the download and after that he need to return to the previous page...
    Thanks,
    Alexandre.

  • Create Logical Link to ABAP Web Dynpro

    Hello,
    Within my Direct Link Group, I would like to create a Logical Link to a custom ABAP Web Dynpro.
    Is this possible?  If so, does anyone know how I can accomplish this?
    Thanks,
    Matt

    Hi Matt,
          Please follow the following steps.
    1. find out the URL for the launching BSP Webdynpro application
    2. create a URL in the spro.
    SPRO->CRM->UI framework->Technical Role Definition->Transaction launcher->Define URLs and parameters
    create a new entry and give the following entries.
    a) give the url id
    b)request method -> GET ( select from Drop down )
    c)  click on the 'Non-BSP' URL
    click the checkbox 'Determine Host/Port'  ( it will determine automatically clent and system when launch )
    Mapped LogSys - 'OWNLOGSYS'
    URL = 'sap/bc/webdynpro/sap/XXXXXX'    XXXXXX = ur webdynpro application name
    save the URL.
    3. Create a Transaction launcher and give the above created URL id in step 'Further Technical Details'
    select Transaction Type as 'URL Transaction' and enter the ID.
    4. Create a logical link and assign the transaction launcher id to it.
    5. assign the logical link to direct logical link.
    6. assign direct link to nav bar profile
    7. assign nav bar profile to Business role
    Hope this helps.
    Regards,
    Sandeep

  • Adding logical link from a different Business Role

    Hi Gurus
    I want to add the second-level entry(complaints search page) of the Complaints & Returns work center of the standard Servicepro business role as a Navigation Bar link to an already customized IC Agent Business role. How would I achieve this in CRM 7.0?
    Thanks in advance.

    Hi Amar
    Thank you very much for your valuable inputs. I had some doubts and am explaining the detailed process below so that I'm clear as to how I can fix this.
    I selected the SRV-PRO NavBar Profile and double-clicked on Define Work Center. On the Define Work Center Overview Screen, I found the Work Center SRV-COMPL, which has the description as Complaints & Returns and LogLinkID as SRV-CPL-WC. Then, I selected SRV_COMPL and double-clicked on Define Logical Links and looked for description as Complaints: Search. I found the LogLinkID SRV-COM-SR link with the corresponding Target ID as TBT120MISC.
    Now,I copied the customized IC Agent NavBar Profile which we currently have and created a new work center by copying SRV_COMPL. On Assign Groups, I kept the SRV-CMP-SR group ID and deleted all others. Then, I assigned the newly created WorkCenter to the new copied IC Agent NavBar Profile. I'm now able to view the new work center and it launches the workcenter page, but the link to open the complaint search is not available. Is there any step that I'm missing?
    Thank you again for your help.

  • Obtaining Logical Link ID

    Hi All,
    I have a requirement wherein I need to access the logical link id of the current view that is displayed on the screen. The logical link actually points to my ZComponent. I have several Logical links like these,hence when i open a view i want to know exactly the logical link that was accessed at runtime.
    Based on the logical link id i want to default a particular field in the view.
    Any kind of code help would be really greatful.
    Best Regards
    Uma Thirugnanam

    Hi Uma,
    you could register on event if_crm_ui_cross_comp_nav_req~add_navigation_data. It is thrown by class CL_CRM_UI_F_CUCONAVIGATIO_IMPL which should be singleton.
    My debugging showed that it only works for cross component navigation. As these seem to be the only cases where "real" logical links are used.
    Do not know if there is something similar for the "Navigational Links" defined inside one component.
    Put a breakpoint in method CL_BSP_WD_WINDOW->PUBLISH_NEXT_NAVIGATION_STEP( ).
    Hope it helps. Could come in handy for me as well, some time in the future.
    cheers Carsten

  • How to read Logical Link

    Hello ,
    Can somebody send code snippet to read logical link .
    When i click on 'Account & Contact'-> Account     I want to know the Logical link for 'Account'.
    Regards
    Dinesh

    Hello,
    do you mean this:
      DATA: lref_entity   TYPE REF TO cl_bsp_wd_value_node,
            lref_bo_coll  TYPE REF TO if_bol_bo_col,
            lr_nav_descr  TYPE REF TO if_bol_bo_property_access.
         cl_crm_ui_descriptor_obj_srv=>create_ui_object_based( EXPORTING iv_ui_object_type   = 'BP_ACCOUNT'
                                                                        iv_ui_object_action = 'A' "search
                                                              RECEIVING rr_result           = lr_nav_descr ).
        lref_bo_coll->insert( iv_bo    = lr_nav_descr
                               iv_index = 1 ).
    A    Search
    B    Display
    C    Edit
    D    Create
    E    Print
    F    Execute
    G    Delete
    H    Simple Search
      lr_window = me->view_manager->get_window_controller( ).
      lr_window->call_outbound_plug( iv_outbound_plug   = 'NAVIGATE_DISPLAY'
                                     iv_data_collection = iv_data_collection ).
    Jiri

  • Read Logical Link id for navigation link...

    Hi all,
    By coding I need to read Logical Link Id for any Navigation link.
    As per my requirement I need to read logical link id for my Transaction Launcher which are available on screen as Navigation link.
    I know how to navigate on particular logical link by using CL_CRM_UI_NAVIGATION_SERVICE class but which class will return or how to read this logical link id when I click on my navigation link.
    Thanks in advance.
    Gaurav
    Hi Guy's,
    Any clue for my query??
    Edited by: Gaurav Mehta on Jul 29, 2010 9:20 AM

    thanks.

  • How to create logical link for report and make that available in webui

    Hi All,
    Please  mention the steps to creae logical link for standard report(BI) or customized report and assiging it to work center,
    Thanks,
    priya

    There is a good guide available from SAP: service.sap.com/crm-inst
    It goes into most details you would want to know on including BI reports.
    The path is SAP CRM > SAP CRM 2007 > CRM WebClient UI
    cheers Carsten

  • How to make use of 'Icon Name' in Logical link?

    I see the option 'Icon name' in 'define logical links' in SPRO. It does not however has an F4. I tried giving the name of image in the relevant skin. But no image appears besides the logical link. Is there something else that needs to be done to get an image besides workcenter link? How to make use of this 'Icon Name' in logical link?

    Hi,
    i guess this icon_name is not possible for every skin in CRM70.
    We use nova skin - here it is not possible.
    With default skin i saw icons for example on the salespro startpage.
    Kind regards
    Manfred

Maybe you are looking for

  • Can not view movies that are in itunes on Apple TV

    Not all movies that are listed in my itunes are visble on my Appkle Tv. They all [lay on itines ok ??? I have resynched to no avail ? why ? help

  • Match code custom in dympro

    Good morning, i have to develop a matchcode custom in a dynpro of a module pool, because i have some custom data fields in different format (YYMM) (DDMMYY) and i haven't declared the fields DATS but CHAR. I wanto to call the function F4_DATE on match

  • Still image file confusion.

    Got an unusual problem... Importing folders of JPG still images into CS5 to product a slide show..... On random occasions Premier confuses individual image file names and replaces them with alternate files from within folders imported on the time lin

  • T-minus Countdown in Motion???

    Hey Guys Can anyone tell me if there is an easy way to create a T-minus style countdown timer in motioin. It has to countdown from 3:00:00 (m:ss:ff)to 0:00:00. I mean I could painstakingly key frame hundreds of frames and change the text in a text fi

  • Property metadata

    In Global services, I've created a group in property metadata. Then I clicked on the property option, and created a property with: Namespace alias-default Type-String Group-"The one I created above" Allowed values csv-a, b, c documents/<The folder in