Transaction Launcher in ICWC with Handler Class
Hi All,
I am in the process of creating new Transaction through Transaction Launcher (Wizard) in IC WebClient.
I wish to know more about the creation of Transaction Launcher Handler class (With super class) and SICF - Services.
Please help me to create a new CRM/ISU Transaction through IC WebClient.
Thanks and Regards
Nalinakumar
[email protected]
Hello Nalinakumar,
You need to define Transaction Launcher Logical systems and URL's in
IC->ICWebclient>Administration->System Parameters->Define Transaction Launcher Logical systems and URL.
You need to configure activities
CRM->IC Webclient->BasicFunctions-->Transaction Launcher->Define URL's and Parameters.
Configure Transaction Launcher.
regards,
Muralidhar Prasad Chatna
Similar Messages
-
Error in transaction Launcher handler class
Hello friends,
I am following the step from the CookBook for the creation of the Transaction Launcher
but in side the class method
IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
it is showing the error
CREATE_ENTITY is unknown or Protected or Private.
Its supper class is CL_CRM_IC_ABOX_ABSTRACT_BOR
and interface included is IF_CRM_IC_ACTION_HANDLER.
Will i have to make any change in side these class or there any other way to configure the transaction launcher.
Regards
Pulkit AgrawalHi Sudeep,
Thanks for the reply.
I am not sure about the EEWB extensions.
Initially I created a launch transaction using BOR method the path of the ECC logical system is given as below.
http://ssever:port/sap/bc/gui/sap/its/CRM_CIC_RABOX
But now I've changed the path as: http://ssever:port/sap/bc/gui/sap/its/CCMP_RABOX
and it is working now. I am able to pull the transaction from ECC although some other data flow issues are there.
So looks like there is some issue with the serivce CRM_CIC_RABOX in our system.
Thanks to all,
Nag -
Invoking Transaction Launcher in Event Handler
Hi,
My requirement is to invoke transaction launcher on click of a button. I am invoking transaction launcher using the following code in my event handler.
DATA : lr_navigation TYPE REF TO if_crm_ui_navigation_service,
lr_navigation = cl_crm_ui_navigation_service=>get_instance( me ).
CHECK lr_navigation IS BOUND.
lr_navigation->navigate( iv_link_id = 'LOGICAL_LINK_ID' ).
Now, the transaction launcher is invoked with click of a button. However, this requires me to assign logical link to navigation bar profile and make it visible to the business role I am using. Meaning that, this logical link will appear on the navigation bar which I dont want. If I make this invisible for the business role, then the above code does not work.
Is there any solution for this ?
RegardsHi,
If you are trying to launch an URL based Transaction using Tx launcher on button click. This code will help. You can write it in the Event handler of the button.
DATA: lr_data_collection TYPE REF TO if_bol_bo_col,
lr_ltx_val_node TYPE REF TO cl_bsp_wd_value_node,
lr_ltx_data TYPE REF TO crmt_ic_ltx_id_desc.
CREATE DATA lr_ltx_data.
CREATE OBJECT lr_ltx_val_node
EXPORTING
iv_data_ref = lr_ltx_data.
CREATE OBJECT lr_data_collection
TYPE
cl_crm_bol_bo_col.
lr_data_collection->add( lr_ltx_val_node ).
lr_ltx_val_node->if_bol_bo_property_access~set_property(
EXPORTING
iv_attr_name = 'LTX_ID'
iv_value = 'xxxx' ).
lr_ltx_val_node->if_bol_bo_property_access~set_property(
EXPORTING
iv_attr_name = 'DESCRIPTION'
iv_value = 'xxxxxx' ).
me->view_manager->navigate( source_rep_view = me->rep_view
data_collection = lr_data_collection
outbound_plug = 'xxx' ).
Before that you need to create a component usage of component UICMP_LTX and create a navigation link to be used to pass to the outbound plug.
Regards,
Masood Imrani S. -
How to call external application (transaction launcher) from event method
Hi all
Can somebody tell me which program lines to put into an event handler method in a view controller to get an external application called. I intend to define the link to the external application in the Transaction Launcher. But I cannot find any instructions on how to call the Transaction Launcher from my event handler method. I do not want to launch the application from the navigation bar, ONLY via a link in a list of invoices in a table view, and I want to press the invoice number to get an external application called to display the invoice. My event handler method gets called fine enough, but I have no clue which program lines to put into the method to pass on the call to the Transaction Launcher
Best regards
Arne Thage / MarchIT / Denmarkhi,
check class CL_CRM_UI_LTX_NAVBAR_PARAM.
call method : CREATE_PARAMETER_OBJECT with parameters
IV_LINK_ID Importing Type CRMT_UI_LOGICAL_LINK_ID Logical Link ID
IV_PARAMETER Importing Type CRMT_UI_LINK_PARAMETER Link Parameter
RV_RESULT Returning Type Ref To IF_BOL_BO_PROPERTY_ACCESS BO Attribute
I think it should work but have never done myself.
Best Regards
Pankaj Kumar -
Hi All,
I am trying to launch transaction BP using ICWC transaction Launcher
Following are the steps i have followed to launch the transaction
1.Swo1 => to copy TSTC
To ZZstc
Object name: Zexecute
2.Changed ZZstc to check Synchronous check box => save
3.Edit=> change release status => object type=> yo implemented=>to released
4. Transaction launcher wizard=>
Launch Trans id.: Zexecute
Design time repository: zcrm_icweb
repository page: crm_ic.xml
runtime framework Profile : Default
5.Class Name: Zcl_crm_transaction
Raise veto : checked
6.Transaction launcher Type :Mbor Transaction
Logical System :...ABC..
BOR Object Type: ZZSTC
Method Name : Execute
7. Parameter : Object type
value : BP
WIZARD complete
8. SPRO =>ICWC=>DEFINE NAVIGATION BAR PROFILE =>
Created new entry ZExecute
9.Define profile => Default
10. Assign entries to profile =>
New entry
Navbar enrtry id =Zexecute
Permanent entry checked
I am able to view Zexecute in the navigation area but when clicking on it message i am getting is "launch transaction about to start" but the transaction is not starting and the screen is blank
Please help me understand which step is wrong or is there another way to launch a transaction. My mail id is [email protected]
Thanks is advance
Regards
AmitHello Rekha,
I am trying to launch CRM_IC and facing same problem either ways - CRM GUI and through web browser URL. I get following message: "Loading" on the main window and additionally a small window pops up for a fraction of seconds with following message "Ending the user session.... <img width="1" height="1" src ="/sap/bc/bsp/sap/crm_ic/default.htm sap-sessioncmd=logoff">. After this additional window, session teminates with nothing happening on the first window and message remains as "Loading". Is there any way to get out of it? I need to launch IC webclient. Am I following the correct approach or there is some other approach to load BSP - CRM_IC ?
Do I need to have specific version of Java, do I need to have any specific settings on the browser?
Please let me know.
Thanks in advance,
Milind Nandedkar -
Accounts PCUI application in ICWC using Transaction Launcher
hi all,
I am trying to launch Accounts application (PCUI) in ICWC. But it gives the following error:
"Execution not possible; data flow errors"
What am I doing wrong?
Regards,
PriyaGo to Transaction launcher class and edit the method
IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
Insert the following line in between..
me->gv_data_flow_complete = abap_true.
Thanks,
Thirumala. -
Calling a custom BSP application in CRM2007 ICWC using transaction launche
Hi Experts,
I created a Z BSP application in se80 which is a statefull application.Now I created a direct link in ICWC for this Bsp application using transaction launcher.
Now my problem is that the session of this BSP remains active even if I click on some other link in the navigation bar.
I need a way to end the session as soon as we navigate to some other link on the navigation bar.
It would also be helpful if I just know the code for killing the session programatically.
Helpful Answers will be rewarded!!
Thanks,
Ashish.Hi,
I am not sure, but according to my understanding u can use CL_BSP_SERVER_SIDE_COOKIE class in ur BSP application to get refrence of ur BSP page.
When u r in Web UI by the help of this class u can check whether u r in BSP related view or in other then view. If u r in other view then u can set runtime->keep_context = 0.
Take help from this link for the class related info.
http://help.sap.com/saphelp_nw04/helpdata/en/e9/bb153aab4a0c0ee10000000a114084/frameset.htm
Regards
Gaurav -
Transaction Launcher issue with url with extension aspx
We have created a launch transaction to a web page. The web page is: https://www.pcaims.com/login.aspx
We can open the web page successfully directly from the internet, However, it will not open through the Transaction Launcher link. This is the first url we have had to create with a .aspx extension. Can CRM not handle this.
the error message is: The Web Server may be down, too busy, or experiencing other problems preventing it from responding to requests. You may wish to try again at a later time
As I said when I launch this directly in the internet I have success.
Any ideasWe have only one check box HTTPS in 6.0. There is no HTTP check box. By default it is HTTP.
Please let us know if it is HTTP or HTTPS that need to be selected? -
Transaction Launcher to R3 transaction with parameter
Hi everyone, I´m working in a new project where I want to excecute a Z transaction in R3 via transaction launcher in CRM. The thing is that I want to send the business partner that was identified in CRM during a call as parameter. I already work with transaction launchers and parameters but was with a BW URL report and the parameters are sent within the URL, but I don´t know if with R3 transactions it can be done, does anyone can tell me if this scenario is something that can be done with transaction launcher configuration or what kind of development do I need to do in CRM ? do I need to develop something in R3 in order to receive the parameter !?
Any advice will be appreciated.
Thanks !Hi Isaac,
Plz refer to below threads.
Almost Everything About Transaction Launcher - Part I
http://scn.sap.com/thread/3530582
http://scn.sap.com/thread/1464347
Thanks,
Faisal -
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
FabioIn 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.
-
ICWC: Transaction Launcher from a Navigational link
Hi All,
I have successfully created a new navigational bar navigational link and able to call an R/3 Transaction via BOR..
Now my question is:: <b>is it possible to call an R/3 Transaction via BOR from a simple navigational link ( not from navbar navigational link ).</b>
note: while creating a transaction launcher for an R/3 Transaction by wizard it will ask for the navbar id, for which the transaction is to be called.
Thank You,
sudeep..Hello Sudeep,
I am working on CRM 5.0 ( transaction launcher profile is attached to the navigation bar profile, unlike CRM 4.0 ). I want to launch a BOR transaction and have configured the transaction launcher accordingly. But still the understated error comes up: -
404 Not Found
SAP J2EE Engine/7.00
The requested resource does not exist.
Kindly throw some light on the matter. Also please do send across the steps you followed to successfully call an R/3 transaction via BOR.
My email id is : [email protected]
Your help would be greatly appreciated & rewarded.
Kindly do help.
Regards,
Khushboo -
Transaction Launcher - transport handler clas
Dear experts,
I've create an Z-transaction and want to start this in CRM WEB Ui. I've used the transaction launcher wizzard, and in the development system it works perfect.
But after the transport to the productive system the link does not work.
Is there an other way as to create the starttransaction in the productiv system again?
Thanks for help
MatthiasHello Matthias,
Do you have your problem solved? We detect the same symptoms, can you kindly share the solution if so?
Thank you,
Andy -
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"/>&OBJKEY=<xsl:value-of select="@KEY"/>&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 AMHi 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 in CRM Web IC
Hi,
We are trying to use transaction launcher in the WEB IC to call an R3 transaction. We have successfully managed in DEV and now we want to move across to QA for transport. But the handler class and config is done for DEV so far. In order to work this in QA, should we create/define the R3 QA system as logical system + RFC in our CRM Dev box and then transport ? Will it be required to be done for Prod as well then from dev? is there any other recommended way of doing this.
Regards,
VinTransaction Launcher handler class user mapped logical system to connect to R/3 environment.
I dont think you can transport Logical System,RFC Connections from Dev to QA or QA to Prod.
So before you start testing on QA,make sure that logical system for R/3 is already defined and RFC Connection is established.All you need to do is make sure that mapped logical system is created with the same name you have in DEV.To define the mapped logical system follow the path
Easy Access->Interaction Center->Interaction Center WebClient->Administration->System Parameters->Defined Tx Launcher Log Sys and URL's.This is the easy way without changing your code in Handler Class.
If you have already established a mapped logical system and you dont want to create another then you can do some code change in the below mentioned handler class methods
1. CONSTRUCTOR.
** In the Constructor methos replace the OWNLOGSYS with
** the available mapped logical system in your QA env
property-name =
cl_crm_ic_abox_constants=>mapped_logsys.
property-value = 'OWNLOGSYS'. "#EC NOTEXT
append property to gt_properties.
2. CLASS_CONSTRUCTOR .
** In the Constructor methos replace the OWNLOGSYS with
** the available mapped logical system in your QA env
gv_mappedlogsys =
'OWNLOGSYS'. "#EC NOTEXT
3.GET_ACTION_DEFINITION .
** In the Constructor methos replace the OWNLOGSYS with
**the available mapped logical system in your QA env
concatenate cl_crm_ic_abox_constants=>bor_action
'BUS1006005' "#EC NO_TEXT
'EDIT' "#EC NO_TEXT
'OWNLOGSYS' "#EC NO_TEXT
into rv_result.
The same applicable for QA to Prod too.
Hope this helps.
Thirumala. -
Navigation from transaction launcher
We have developed a bsp application runs through transaction launcher.
URL = «Z_URL» configured as BSP URL «Mapped LogSys» = CRM «Application» = BSP application «Page» = required page
Launch Transactions = «Z_TRAN» set «Definition 1» = Z_URL «Transac. Type»= B «Version»= 0 «Stateful» and «Raise Veto» not marked
Logical Link = «Z_LINK» «Type» = Launch Transaction «Target ID» = EXECLTX «Parameter» = Z_TRAN «Parameter Class» = CL_CRM_UI_LTX_NAVBAR_PARAM
In the BSP application is a button «tobp», which is supposed to go to BP overview. On click the button «tobp» navigate to a page tobp.htm with the code script language="Javascript":
function SAPICdomainrelax(){
<%
class cl_crm_ic_services definition load.
class cl_crm_ic_sysprop_constants definition load.
if not cl_crm_ic_services=>get_system_property( cl_crm_ic_sysprop_constants=>domain ) is initial.
%>
document.domain="<%= cl_crm_ic_services=>get_system_property( cl_crm_ic_sysprop_constants=>domain )%>";
<% else. %>
var liBehindFirstDot=location.hostname.indexOf(".")+1;
if (liBehindFirstDot>0)
document.domain=location.hostname.substr(liBehindFirstDot);
<% endif.%>
SAPICdomainrelax( );
parent.forwardCall( "handler", 'ZCL_TOOVERVIEW', "", "", "", "", "", "", "", "", "");
In the class ZCL_TOOVERVIEW made navigate to BP overview by logical link IC_BP_ACC.
This code works, but not always, sometimes processed class ZCL_TOOVERVIEW occur in the background process and the navigation is not realized.
How can I do to be processed is always in the same process?
Edited by: Zuev Alexander on Sep 8, 2010 10:56 AMNot an answer to your question (sorry), but for anyone wondering, this code block can be found in following include:
<%@include file="../ic_base/ICDomainRelaxing.htm" %>
Maybe you are looking for
-
problems with safari playing videos with one user login but not another.
-
How to set defaultPanel from XML
Hi Everyone, I'm using Spry Accordion as a menu and im loading the data from an xml file, the problem is if I try to set the defaultPanel to anything else besides "0" like the following <script type="text/javascript"> var Accordion1 = new Spry.Widget
-
ICloud details not currently available
Have anyone else received a message that iCloud details are not available recently? My Photo Stream is not working correctly, those are to display both in the camera roll on the device that took the image and in the Photo Stream, right? It startet a
-
DSO New data table rejects data
Dear SDNers, I have a critical issue. I am loading data into a DSO (which has end routine, lookup DSO of 2crore records in production) In development, it worked good. In Production it took very long time to load data. I initially thought it might be
-
"Error establishing socket" error on JDBC Receiver Channel.
Dear All, Scenario: Soap to JDBC. I m getting error on JDBC Receiver Channel. messages are processed succesfully on ABAP Stack and receiver channel is on below error: ERROR : Message processing failed. Cause: com.sap.aii.af.ra.ms.api.RecoverableExcep