Transaction Launcher to call custom transaction

Hi ,
I have a requirement where i need to call a custom transaction using transaction launcher. I am able to successfully launch the transaction. But i need to pass a value to the transaction.
For eg. If i am calling a custom report transaction which has a selection screen field 'FORMNAME' as a parameter i need to pass the name of the form to the transaction. I am not able to pass that value. Can any one help me onthis.
I have seen all the posts , but could not get any help on how to set the value for custom transaction. I can see how it is done for standard transaction.
Regards
Ansari

Hi Any help on this....I am still awaiting the response.
Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
Steps Performed:
I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
1) Defined logical system in tcode CRMS_IC_CROSS_SYS
-The logical link looks like this
http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
URL link here is
http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
-Note: My selection screen okcode os ONLI*
-The logical system ref is provided here
3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
5) Added this in the NAvlink/Bus Role etc
6) Now in the handler class of the TL the code looks like this:
IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
__gdc ?=
cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
__value
=
'ZC_TEST'.
add_parameter(
   iv_name =
'RS38M-PROGRAMM'
iv_value = __value ).
However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

Similar Messages

  • Using the transaction launcher to call a BOR method to display a PDF

    Hello gurus,
    I have created a PDF icon and an onclick action to open a pdf, that displays on every row of an assignment block in the actions column, but I do not know the technical process to determine how to get a PDF from the IXOS system from the line selected. (even if I know it depends on an ID attribute of that assignment block) I want to to call a transaction launcher with the url for the pdf in the IXOS that has an ID that identifies which line in the assignment block the user has clicked the pdf icon for (does that make sense?)
    In CRM 4, in the collection factsheet assignment block, the link was coded into an XSLT which is then displayed in the GUI and you would have a clickable link for a pdf file in a row in a table. That link would be as follows:
             <xsl:variable name="ev_key">SAPEVENT:?OBJTYPE=<xsl:value-of select="attributes/OBJTYPE"/>&amp;OBJKEY=<xsl:value-of select="@KEY"/>&amp;LOGSYS=<xsl:value-of select="attributes/LOGSYS"/></xsl:variable>
                 <a href="{$ev_key}"></a>
    This will get the file in IXOS and display it, in CRM 4. In CRM 7, the link is an icon in every line of an assignment block.
    Here are some questions I have now for the functional side in the meantime:
    1) Can we fetch the PDF in IXOS for each line of an assignment block and have it open? If so, how? Transaction launcher, function modules (like ARCHIVOBJECT_DISPLAY) in the OPTA package? (the package for all IXOS related function modules..)
    2) Which URL should I call with the transaction launcher? a URL link to the PDF on the IXOS system?? or sapevent:xxx?
    3) Do we have to configure a transaction in the IMG to be launched with the attributes listed there? Do we have to link it to any classes/ objects?
    4) Do we have to have the code to the logical link dynamically to call the right PDF for each table line? Is it right to put this code in my event handler?? Usually transaction launchers are just in the nav bar.....
    5) Are there any existing examples of this or a similar functionality/ logic that I could refer to, preferably in CRM 7 WebUI?
    6) Do you have any code to just display a PDF in a new window? Or prompt a download?
    One possible way I thought of would be for me to have a logical link defined in the IMG for the transaction launcher, and have the attributes defined for my BOR object that I would call, and pass it different attributes (eg. objtype, objkey, logsys...) and then return the PDF and display it in the UI in a new browser window by itself. (There is a BOR method for my BOR object named  'display_pdf'!!!!)
    What do you think would be the optimal solution here? Does my theory of calling a BOR object with a transaction launcher to display a PDF make ANY sense whatsoever???
    Please do not hesitate to propose any potential solution. Any partial answers/ links to wikis/ other threads, anything would be much appreciated.
    Thank you in advance.
    Best regards,
    Jonathan Laplante
    Edited by: Jonathan Laplante on Jul 2, 2011 4:50 AM

    Hi Any help on this....I am still awaiting the response.
    Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
    Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
    Steps Performed:
    I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
    1) Defined logical system in tcode CRMS_IC_CROSS_SYS
    -The logical link looks like this
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
    2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
    URL link here is
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
    -Note: My selection screen okcode os ONLI*
    -The logical system ref is provided here
    3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
    4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
    5) Added this in the NAvlink/Bus Role etc
    6) Now in the handler class of the TL the code looks like this:
    IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    __value
    =
    'ZC_TEST'.
    add_parameter(
       iv_name =
    'RS38M-PROGRAMM'
    iv_value = __value ).
    However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

  • Transaction launcher entry to call CRMD_ORDER (BUS2000115)...

    There are a number of good guides to call a transaction within ECC and also a website via the transaction launcher, but I am not able to find a guide on how to simply call a CRM transaction.
    I'm converting our Winclient IC action box details into Webclient transaction launcher details. The table CRMC_PROC_TYPE displays all the details for the action boxes as used by the Winclient IC.
    The main fields in this table are object_type (eg. BUS2000115) and the text/partner determination/user status procedure names. I know that business object BUS20000115 is Sales and that BUS2000126 is a business activity. What I know need to do is to enter these details into the transaction launcher so that the same transaction details are displayed as they are in Winclient IC.
    At present if I enter transaction CRMD_ORDER I do not see the exact same screen as shown in the Winclient IC, even though it's an order screen (BUS2000115) that is being displayed. This is probably because of the other procedure fields which are being used by the Winclient IC Action boxes. So I need to identify how these details can be used in the transaction launcher.
    Any advice would be welcome.  If there's a guide for setting up the transaction launcher for calling CRM transactions or object types  then this would be really helpful.
    Jason

    I'm still searching for a guide to show the transaction launcher being used to call a CRM transaction/business object.
    I'm pretty sure I can get it to call a business obejct, like BUS2000115 (sales ) to display an order, but I can't get it to show the same transaction screen as displayed by the Winiclient IC action box. The configuration of the action box seems to identify and process type which has it's details shown in the CRMC_PROC_TYPE table, but there seems to be no equivalent when setting up the transaction launcher for the Webclient IC use.
    Any comments would be greatly appreciated.
    Jason

  • TRANSACTION LAUNCHER--CALLING CRM Z TRANSACTION THROUGH WEB UI

    As per the requirement, we are trying to call CRM  Z transaction through web UI. We have used the Object TSTC and created a replica of the object ZTSTC and used the method execute. Made the necessary config for navigation bar and Business role. We could see the link in the Navigation bar but the link could not call the transaction. Pls suggest.Do we need to take the object of the Transaction or copy TSTC and proceed. Thanks in advance.Points will be awarded

    PLS FIND THE DETAILS TO PROVIDE THE INPUTS
    Configure Transaction Launcher TO CALL T.CODE ZEGNM_IMG FROM CRM THROUGH WEB UI USING TRANSACTION LAUNCHER
    USED THE OBJECT ZTSTC BY COPYING TSTC OBJECT AND BY RELEASING THE OBJECT WITH METHOD EXECUTE
    PROVIDED THE T.CODE ZEGNM_IMG IN THE VALUE FIELD IN THE ABOVE SCREEN
    CREATED THE DIRECT LINK ZEGNM_K
    CREATED THE DIRECT LINK GROUP ZEGNM_K
    ASSIGN THE DIRECT LINK TO THE DIRECT LINK GROUP
    ASSIGN THE DIRECT LINK GROUP TO THE PROFILE TMFLEASING WITH POSITION 80
    IN THE BUSINESS ROLE CUSTOMIZING MADE THE DIRECT LINK GROUP VISIBLE
    AFTER MAKING THE ABOVE CONFIGURATION WE HAVE LAUNCHED THE WEB UI AND THE FOLLOWING ERROR IS SHOWING UP
    PLS FOLLOW THE ABOVE SCREENSHOTS AND PLS PROVIDE YOUR INPUTS TO ACHIEVE THE OBJECTIVE OF LAUCHING THE Z CRM GUI TRANSACTIONS USING TRANSACTION LAUCHER
    ALSO PLS FIND THE SCREENSHOT OF ITS
    URL OF ITS USED
    u201Chttp://crd.tmf.com:8003/sap/bc/bsp/sap/its/webgui?transaction=IC_LTX&okcode=ICEXECUTEu201D

  • Search help is not working at Transaction Launcher

    Hi gurus,
    I create a transaction launch that calls a ZXXX t.code from same CRM system.
    T.code ZXXX is used to execute a custom report in order to create document from excel file.
    Everything is ok, but search help button is not working on web ui.
    Search help will open "my computer" pop up. I guess this cause problem. Is there anyone who met this problem before?
    Regards
    Sadi

    Hi,
    Is the search help button part of custom report and is it working fine in GUI ?
    What popup will come when we open that search help in GUI
    Regards,
    Shobhit

  • Open report using transaction launcher

    Hi experts,
    Can anyone guide me on how to open a report ( SE38 ) onto WEB UI using transaction launcher ??
    Thanks,
    Suchita

    Hi Suchita,
    The transaction Launcher can be used to launch URLs and BSPs / BOR transactions from other systems.
    To launch a GUI transaction a BOR object type with a method EXECUTE, that supports synchronous calls is required.
    1. A mapping of the logical systems is required: Transaction: CRMS_IC_CROSS_SYS
    2. To launch a GUI transaction a BOR object type with a method EXECUTE, that supports synchronous calls is required.Transaction: SE80 > Workbench > Edit object
    Copy BOR object type TSTC to ZTSTC
    3. Set in the method EXECUTE the flag 'Synchronousu2018
    4. Generate the object
    5. Following steps are for the Transaction launcher wizard :
    IMG:Customer Relationship Management > UI Framework > > Technical Role Definition > Configure Transaction Launcher
    or transaction: CRMC_UI_ACTIONWZ
    Enter an ID (donu2018t use the F4-help)
    Enter a description
    Enter a class name (donu2018t use the F4-help): ZCL_<name>
    Flag u201AStatefulu2018, if the URL should be launched in a new window
    Choose Transaction Type = BOR Transaction
    Choose the BOR Object type you created
    Choose EXECUTE
    ChooseParameter: Object Key
    Value: <transaction code>
    IMG: Customer Relationship Management > UI Framework > Technical Role Definition >  Define Navigation Bar Profile
    Create an new Logical Link
    Type: C Launch Transaction
    Target ID: EXECLTX
    Parameter class: CL_CRM_UI_LTX_NAVBAR_PARAM
    IMG: Customer Relationship Management > UI Framework > Technical Role Definition >  Define Navigation Bar Profile
    Create a new Direct Link Group and assign the logical link to it
    Assign the Direct Link Group to your Navigation Bar Profile
    IMG: Customer Relationship Management > Business Role > Define Business Role > Set the link to visible
    Hope this answers your question.
    Regards,
    Kapil

  • Problems with transaction launcher

    Hi all,
    I need to launch a BOR object, using Transaction Launcher, from a custom button into account activities view on the CRM UI. These are the steps that I have done:
    - create a new Transaction Launcher object
    - associate this obiect to a Logical Link in transaction CRMC_UI_NBLINKS
    - add a new button, with EH code:
      op_todisporders( ).
    - add a new OP into the view, with code:
      CALL METHOD cl_crm_ui_descriptor_obj_srv=>create_bor_based
        EXPORTING
          iv_bor_object_type  = 'BUS2032'
          iv_bor_object_key   = '440000000003'
          iv_logical_system   = 'TECCLNT500'
          iv_ui_object_type   = 'ZWRAPPED_BUS2032'
          iv_ui_object_action = 'B'
        RECEIVING
          rr_result           = lv_descriptor_object.
      CREATE OBJECT lv_data_collection TYPE cl_crm_bol_bo_col.
      lv_data_collection->add( lv_descriptor_object ).
      lr_window ?= me->view_manager->get_window_controller( ).
      lr_window->call_outbound_plug(
      iv_outbound_plug = 'TODISPORDERS'
      iv_data_collection = lv_data_collection ).
    - add the outbound plug to the window, with code:
      fire_outbound_plug(
      iv_outbound_plug = 'TODISPORDERS'
      iv_data_collection = iv_data_collection ).
    - add the OP into the window runtime repository, and into the view component interface
    - add OP mapping into CRMC_UI_NBLINKS, calling the previously created logical link
    - add my component BP_BPBT into transaction CRMS_UI_TLINK (my new outbound plug does not appear, so I added it manually)
    When I click on the button, the following exception appear:
    CX_BSP_WD_INCORRECT_IMPLEMENT - Define NavigationalLink TODISPORDERS for source view BP_BPBT.AccountActivities
    For what I know, I don't have to define any logical link....
    Can you help me to solve this issue?
    Points will be awarded.
    Thanks, regards
    Fabio

    In the window's outbound plug, I called FIRE_OUTBOUND_PLUG instead of NAVIGATE. Then I got an exception, asking me to create a navigation link in BP_CONT_MAIN. I created. Now it is working.

  • Passing Data from webclient to R/3 transaction through Transaction Launcher

    Hi All,
    We are implementing webclinet 5.0 for one our your client. We have configured Transaction Launcher for
    calling some R/3 transaction. Now we want to pass some data from webclinet to R/3 transactions.We
    have deployed custom BOR object in Transaction Launcher.
    Can you please guide me what excatly code or logic need to be
    written in 'IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW' method which is generated will
    creating our custom class during configuration of Transaction Launcher.
    Regards
    gmd

    If i understood your requirement, you want to send Dynamic parameter to Transaction iview from WD Application.
    1) Create a Transaction iview with a application parameter with 'RF02k-LIFN='
    2) Calling Transactional iview from Web Dynpro Application.
    WDPortalNavigation.navigateAbsolute(
                             "ROLES://portal_content/com.accenture.hpb.HPBProject/com.accenture.iViews/com.accenture.hpb.FTDGUIConfirmation",
    WDPortalNavigationMode.SHOW_EXTERNAL,
    (String) null,
    (String) null,
    WDPortalNavigationHistoryMode.NO_DUPLICATIONS,
    (String) null,
    (String) null,
      // get the dynamic value like  valuewdContext.currentValueNodeElement().getVaContractDocumentNo()
    write me back, if you are not clear with answer.
    Regards,
    Sridhar

  • 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 System for Transaction Launcher??

    Dear all,
    Should we define logical system for Transaction Launcher to call transactions from back end ECC system. If yes, why we do this and where we maintain the logical systems?
    Can we use existing ECC logical system, whcih mapped with SAP CRM system?
    Where can we define the logical system for Transaction Launcher?
    Please clarify my doubts to complete this process successfully, your suggestions will be highly appreciated.
    Thank you
    Raghu ram.

    Hi Raghu Ram
    In order to call an transaction from ECC, you should choose the logical system of the ECC System itself. You will get the information regarding the logical name assigned to your ECC System using the tcode SM59. The logical system must have been defined for the ECC System before you integrated CRM to backend ECC.
    Check the tcode SM59 and you will find logical name of your ECC System there.
    And yes, you are suppose to use the existing ECC logical system, which is mapped with SAP CRM system.
    Hope this helps
    Regards
    Rekha Dadwal

  • Transaction Launcher: Logical System in Production System does not change

    Hi,
    I created a transaction launcher in the CRM development system (CRD) to launch the transaction IL02 in the ECC 6.0 system (ECD). Then I transported the changes from CRD to the CRM production system CRP. I also transported the changes from ECD to ECC production system ECP.
    However, when I see the transaction launcher in CRP system, it is still configured for the URL of ECD. I want the transaction launcher to connect to ECP. One option I have is to change the class name in the CRP system. However, I am not allowed to create a new ABAP class in the production system. Is there any other way to change the target system automatically in production system?
    Thanks,
    Rohan.

    Thanks Piyush. Could you be a bit more specific? I followed these steps:
    1. In transaction CRMS_IC_CROSS_SYS, created a logical system URL for production system
    2. In customizing setting Copy/Delete Launch Transactions, deleted the transaction launcher id.
    3. In customizing setting Configure Transaction Launcher, created the same transaction launcher id newly.
    I still am not able to change the logical system. However, I can do it if I change the class name.
    While deleting the transaction launcher id, should I be deleting all dependencies?
    Regards,
    Rohan.

  • Navigation back to Interaction View from transaction launcher

    Hi Experts,
         Please help me with this query.
    We are using IC WebClient for CRM 5.0, in one of the profiles, we have service ticket view (not showing the interaction record) - using the view SrvTHead of the CRM_IC application. We are navigating from this to ECC transaction using transaction launcher (creating IS-U transaction), which is working fine. 
       Also,when we click on back (either back button in ECC transaction or Back button on breadcrums bar of CRM), it takes us back to the Service Ticket View properly, as we are hardcoding the navigation link name in return data flow method of transan launcher class,
      But once it is done, then when through the document flow/Business context we navigate to the ECC transaction and then click on back, it goes back to Interaction record view instead of service ticket view.
       We are trying to check profile entries for activity clipboard, but haven't got any success regarding the behaviour yet.
    Is this standard behaviour to always go back to interaction record, is there a way to modify that?
    Thanks and Regards,
    Rohit Khetarpal
    Edited by: Rohit Khetarpal on May 10, 2010 6:07 PM

    Hi Rohit,
    This behaviour is steered by the runtime repository xml page of BSP CRM_IC_RT_REP (se80).
    I do not have any CRM 5.0 system available to check in detail, but I know we corrected that also in our project some time ago.
    You will need to correct an XML entry indicating Docflow as source and interaction record as target. Actually this is not a correction, but a redefinition of BSP CRM_IC_RT_REP into a custom one, e.g. ZCRM_IC..., according to cookbook.
    To find which XML entry must be "redefined", set a break-point in method CL_BSP_WD_WINDOW->IF_BSP_WD_NAVIGATION~NAVIGATE, ideally just before you click onto back navigation. Check that external break-points are immediately active. In the debugger, you can see both source and target view (may require some explosion of object variables).
    This should solve your problem
    Best regards
    Walter

  • How to pass values to select options of custom transactions?

    I have to call custom transaction-ZMM_POST  from my custom report.
    I have to pass values to select options(Not to parameters) of ZMM_POST  from my report only.
    Please tell me how to pass values to select options of custom transactions?

    Have you tried this?
    DATA: T_RSPARAMS TYPE STANDARD TABLE OF RSPARAMS WITH HEADER LINE.
    T_RSPARAMS-SELNAME = "S_BUKRS".
    T_RSPARAMS-KIND = "S".
    T_RSPARAMS-SIGN = "I".
    T_RSPARAMS-OPTION = "BT".
    T_RSPARAMS-LOW = "100".
    T_RSPARAMS-HIGH = "300"
    APPEND T_RSPARAMS.
    SUBMIT Z_DUMMY WITH SELECTION-TABLE  T_RSPARAMS.
    Greetings,
    Blag.

  • Transaction Launcher problems: Significance of IC_LTX

    Hi all,
    We are on CRM 5.0 and ECC 6.0.
    I am facing some problems using the transaction launcher when I use the Webgui service.
    I looked into the note 888931 which asks us to use the Webgui service and the below URLs for the logical system.
    http://<host>:<port>/scripts/wgate/webgui/!?transaction=IC_LTX&okcode=ICEXECUTE
    OR
    http://<host>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTX&okcode=ICEXECUTE
    The first one does not work in our system and 2nd one returns a grid kind of blank screen although I configured the transaction launcher to pull the transaction 'BP'.
    Can anyone please let me know what could be the problem? and also what is the significance/use of the Transaction/function group IC_LTX ?
    Best Regards,
    Nag

    Hello Glenn,
    Thanks for your reply.
    I've tried with passing the parameters also but still that does not work.
    But if I change the URL to use the CRM_CIC_RABOX it works fine. But we have some display issues with this.
    So we are trying with WEBGUI service as per the note 888931.
    Regards,
    Nag

  • How to create custom Transaction iview

    Hi all,
    Can any one tell me how to create an Transaction iview for the custom transaction.
    Is it different from creating an Transaction iview for standard transaction?
    I tried to create in the same manner as of standard transaction but it is giving portal run time error.
    Thanks & Regards,
    Laxmi

    login to ur portal.....content Admin- -Right Click on portal content IView----Select Trans IVivews .
    also ..
    check if there are any *.err files in cluster\server0\apps\sap.com\irj\servlet_jsp\irj\root\WEB-INF\deployment\pcd\
    If this is not the case, please have a look at Note 1086644 - Checking database consistency for the PCD

Maybe you are looking for