How to call Event ?
How to call an event when any record is changed (Bussiness object 'Record') in Record management System ?
Hi,
Check the below links. It gives a fair idea on calling the BOR method and events through reports.
how to call BOR object-> method in custom program
http://help.sap.com/saphelp_40b/helpdata/en/c5/e4b198453d11d189430000e829fbbd/content.htm
Rgds,
stck
Similar Messages
-
How to Call Event Handler Method in Another view
Hi Experts,
Can anybody tell me how to call Event handler Method which is declared in View A ,it Should be Called in
view B,Thanks in Advance.
Thanks & Regards
Santhoshhi,
1) You can make the method EH_ONSELECT as public and static and call this method in viewGS_CM/ADDDOC using syntax
impl class name of view GS_CM/DOCTREE=>EH_ONSELECT "method name.
or
2)The view GS_CM/ADDDOC which contains EH_ONSELECT method has been already enhanced, so I can't execute such kind of operation one more time.
or
3)If both views or viewarea containing that view are under same window , then you can get the instance ofGS_CM/DOCTREE from view GS_CM/ADDDOC through the main window controller.
lr_window = me->view_manager->get_window_controller( ).
lv_viewname = 'GS_CM/DOCTREE '.
lr_viewctrl ?= lr_window ->get_subcontroller_by_viewname( lv_viewname ).
Now you can access the method of view GS_CM/DOCTREE .
Let me know in case you face any issues.
Message was edited by: Laure Cetin
Please do not ask for points, this is against the Rules of Engagement: http://scn.sap.com/docs/DOC-18590 -
hello,
I would like to know how to call event from another,
I have for the moment 5 individuals actions (manage with event structure) A B C D and E and
i need in somecase that A want to call E, B to call E or B to call E then quit on quit button.
is there a way to call ( simulate) an event call at end of first really called (by user) ?
can i use flag, event register ? i don't kow what is best solution
Best regards
Tinnitus
CLAD / Labview 2011, Win Xp
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail
Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
Attachments:
eventcall.vi 14 KBYes but it send me an error
see attachement
CLAD / Labview 2011, Win Xp
Mission d'une semaine- à plusieurs mois laissez moi un MP...
RP et Midi-pyrénées .Km+++ si possibilité de télétravail
Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
Don't forget to valid a good answer / pensez à valider une réponse correcte
Attachments:
eventcall2.vi 19 KB -
How to call a bean method from javascript event
Hi,
I could not find material on how to call a bean method from javascript, any help would be appreciated.
RalphHi,
Basically, I would like to call a method that I have written in the page java bean, or in the session bean, or application bean, or an external bean, from the javascript events (mouseover, on click, etc...) of a ui jsf component. I.e., I would like to take an action when a user clicks in a column in a datatable.
Cheers,
Ralph -
How to call a Javascript function from backing bean without any event
Hi,
Someone knows how to call a Javascript function from backing bean without any event ?
thanksPlease review the following thread:
ADF Faces call javascript
Luis. -
***How to call BSP App when custom button event fired from toolbar group***
Dear PCUI Experts,
I have created one custom button for the transaction CRMD_BUS2000116.
And my urgnet requirement is , I need to call BSP application which is used to take data from custom fields and stores into BP table.
How to call the BSP App. when i clicks on the button.
Please help me..
I will reward with great points.
Regards,
Stella.Hi Purushothaman,
I have created a button in CRRM_ACCOUNT application.
Now i want to call a custom bsp application by clicking on that button.I have followed step given in this blog
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1646. [original link is broken] [original link is broken] [original link is broken] [original link is broken]
But the event is not triggered.Do I have to create an iview for my bsp application?
How to do that?Plz help.
Regards,
Ruby. -
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 -
How to call a particular event?
Hello All,
How to call a particular event like handle_data_changed after you press a button which is created in ALV.
Regards,
Lisa.ALV (Abap List Viewer)
We can easily implement basic features of reports like Sort, Allign, Filtering, Totals-Subtotals etc... by using ALV. Three types of reports we can do by ALV as 1. Simple Report, 2. Block Reprot and 3. Hierarchical Sequential Report.
alv grid types
1) list/ grid
these are having rows and columns
function modules for this type are
REUSE_ALV_LIST_DISPLAY
REUSE_ALV_GRID_DISPLAY2)
2) HIERARCHY
this will have header and line items
function module for this type
REUSE_ALV_HIERSEQ_LIST_DISPLAY
3) tree
this will nodes and child type structure
function module for this type
REUSE_ALV_TREE_DISPLAY
4) APPEND
this can append all the different types of lists where each list has different number of columns
events associated with alvs
1) top of page
2) end of page
3) top of list
4) end of list
5) on double click
6) on link click
7) on user command
some useful links:
http://www.sapdevelopment.co.uk/reporting/alvhome.htm
http://help.sap.com/saphelp_nw04/helpdata/en/99/49b844d61911d2b469006094192fe3/frameset.htm
Examples:
REPORT Z_ALV__ITEM .
TYPE-POOLS : slis.
Data
DATA : BEGIN OF itab OCCURS 0.
INCLUDE STRUCTURE t001.
DATA : flag tyPE c,
END OF itab.
*DATA: itab like t001 occurs 0 with header line.
DATA : alvfc TYPE slis_t_fieldcat_alv.
DATA : alvly TYPE slis_layout_alv.
data v_repid like sy-repid.
Select Data
v_repid = sy-repid.
SELECT * FROM t001 INTO TABLE itab.
*------- Field Catalogue
call function 'REUSE_ALV_FIELDCATALOG_MERGE'
exporting
i_program_name = v_repid
i_internal_tabname = 'ITAB'
I_STRUCTURE_NAME =
I_CLIENT_NEVER_DISPLAY = 'X'
i_inclname = v_repid
I_BYPASSING_BUFFER =
I_BUFFER_ACTIVE =
changing
ct_fieldcat = alvfc[] .
Display
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
it_fieldcat = alvfc[]
i_callback_program = v_repid
is_layout = alvly
TABLES
t_outtab = itab
EXCEPTIONS
program_error = 1
OTHERS = 2.
In very detail it's not easy, i believe it's better for you to test the function modules to work with ALV :
REUSE_ALV_FIELDCATALOG_MERGE to create the fieldcatalogue
REUSE_ALV_GRID_DISPLAY - to display the ALV in grid format
REUSE_ALV_LIST_DISPLAY - to display the ALV in list format
Anyone, here's one exemple of creating ALV reports :
REPORT ZALV_SLAS_GDF .
Declaração de Dados
TABLES: ZSLA_NIV_SAT.
selection-screen begin of block b1 with frame title text-001.
select-options DATA for ZSLA_NIV_SAT-DATA. " Data
select-options LIFNR for ZSLA_NIV_SAT-LIFNR. " Nº de conta fornecedor
select-options WERKS for ZSLA_NIV_SAT-WERKS. " Centro
select-options EBELN for ZSLA_NIV_SAT-EBELN. " Nº contrato
selection-screen end of block b1.
DATA: BEGIN OF itab1 OCCURS 100.
include structure ZSLA_NIV_SAT.
data: END OF itab1.
Outros dados necessários:
Campo para guardar o nome do report
DATA: i_repid LIKE sy-repid.
Campo para verificar o tamanho da tabela
DATA: i_lines LIKE sy-tabix.
Dados para mostrar o ALV
TYPE-POOLS: SLIS.
*DATA: int_fcat type SLIS_T_FIELDCAT_ALV with header line.
DATA: int_fcat type SLIS_T_FIELDCAT_ALV.
DATA: l_key TYPE slis_keyinfo_alv.
START-OF-SELECTION.
Ler dados para dentro da tabela imat
SELECT * FROM ZSLA_NIV_SAT
INTO CORRESPONDING FIELDS OF TABLE itab1
WHERE data in data
and lifnr in lifnr
and ebeln in ebeln
and werks in werks.
CLEAR: i_lines.
DESCRIBE TABLE itab1 LINES i_lines.
IF i_lines lt 1.
WRITE: / 'Não foram seleccionadas entradas.'.
EXIT.
ENDIF.
END-OF-SELECTION.
Agora, começa-se o ALV
Para usar o ALV, nós precisamos de uma estrutura do dicionário de
*dados DDIC ou de uma coisa chamada Fieldcatalogue.
Existe 2 maneiras de preencher a coisa referida acima:
*Automaticamente e Manualmente
Como preencher Automaticamente?
O fieldcatalouge pode ser gerado pela Função
*'REUSE_ALV_FIELDCATALOG_MERGE' a partir de uma tabela de qualquer fonte
Para que se possa utilizar esta função tabela tem que ter campos do
*dicionário de dados, como é o caso da tabela ITAB1
Guardar o nome do programa
i_repid = sy-repid.
Create Fieldcatalogue from internal table
CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
EXPORTING
I_PROGRAM_NAME =
i_repid
I_INTERNAL_TABNAME =
'ITAB1' "LETRAS GRANDES
I_INCLNAME =
i_repid
CHANGING
CT_FIELDCAT =
int_fcat[]
EXCEPTIONS
INCONSISTENT_INTERFACE =
1
PROGRAM_ERROR =
2
OTHERS =
3.
IF SY-SUBRC <> 0.
WRITE: / 'Returncode', sy-subrc,
'from FUNCTION REUSE_ALV_FIELDCATALOG_MERGE'.
ENDIF.
*Isto era o Fieldcatalogue
E agora estamos preparados para executar o ALV
Chama o ALV
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
EXPORTING
I_CALLBACK_PROGRAM = i_repid
IT_FIELDCAT = int_fcat[]
I_DEFAULT = ' '
I_SAVE = ' ' "'A'
TABLES
T_OUTTAB = itab1
EXCEPTIONS
PROGRAM_ERROR = 1
OTHERS = 2.
IF SY-SUBRC <> 0.
WRITE: /
'Returncode', sy-subrc, 'from FUNCTION REUSE_ALV_GRID_DISPLAY'.
ENDIF.
Please reward the helpful entries. -
How to call a default procedure from event handling...
Hello All,
I am new to Oracle Application Server Portal. I have created a form and I want to update the table using custom update button. can any body tell me how to call the default doUpdate procedure from event handling..This should help:
- http://download.oracle.com/docs/cd/B14099_19/portal.1014/b14135/pdg_portletbuilder.htm#BABFIHIF
Cheers,
Mick. -
How to call mouse event on particular treecell
how to call a mouseevent on a particular Treecell of a Treeview
I have tried with setcellfactory but the effect is applied to the whole TreeView. How can i apply it to a particular TreeCellHow can it be? It seems not.
Please allow me to clarify my problem-
I have jcomponents on a layer of jlayeredpane.
Now I can use MouseListener on the layeredpane.
Like to get coordinates of the mouse and showing in a textfield -
private void jLayeredPane1MouseDragged(java.awt.event.MouseEvent evt) {
projectNameID.setText("Mouse dragged");
private void jLayeredPane1MouseEntered(java.awt.event.MouseEvent evt) {
projectNameID.setText("Mouse entered");
private void jLayeredPane1MouseExited(java.awt.event.MouseEvent evt) {
projectNameID.setText("Mouse exited");
private void jLayeredPane1MouseMoved(java.awt.event.MouseEvent evt) {
projectNameID.setText("Mouse moved");
private void jLayeredPane1MousePressed(java.awt.event.MouseEvent evt) {
projectNameID.setText("Mouse pressed");
currentPoint.setText("("+evt.getX()+" , "+evt.getY()+")");
} But when my mouse moves on the jcomponent created on a layer then the mouse events don't work.
That means I need to add mouse event for that component.
Now how can I do that?
Edited by: fireball003 on Feb 28, 2008 1:12 PM -
How to catch call events?
Hi, I'm trying to develop a java application for mobile devices (mobile phones) that should automatically Reject when somebody calls (based on some rules).
I don't know how to catch the "+call event+".
Can anyone help me ?Hi,
This is not possible using core Java ME (CLDC + MIDP). You can initiate a call in MIDP 2.0 by using platformRequest.
The optional JSR 253 makes it possible to do what you want do do, but I haven't seen any devices with this JSR implemented.
http://jcp.org/en/jsr/detail?id=253
-henrik -
How to call pragma autonomus_transation in repeated triggering event
How to call pragma autonomus_transation in repeated triggering event
eg :
create or replace trigger trg_1
after insert on aa
for each row
declare
PRAGMA AUTONOMOUS_TRANSACTION;
begin
insert into aa values(10);
end;
insert into aa values(20); ..... can u help me plWelcome to the forum.
How to call pragma autonomus_transation in repeated triggering event You don't, unless you want to corrupt your data.
Read:
http://asktom.oracle.com/pls/asktom/ASKTOM.download_file?p_file=6551198119097816936
http://www.oracle-base.com/articles/9i/MutatingTableExceptions.php
http://www.oracle-base.com/articles/misc/AutonomousTransactions.php -
How to catch ALL call events with JTAPI
Hi,
I have my JTAPI application witch is listening for ALL calls that are placed on CUCM system. Based on this information this software is making some routing decisions. At present getting the information about all calls is very inconvenient - I have to track all events from all phones, so my CTI user has to have ALL phones on its Controlled Devices List.
Is there more intelligent way of getting all call events without controlling every single device? I am interested in any version of CM or CUCM.
Regards,
Andrius Kislas
CCIE #18338 VoiceAccording to the documentation, lineMonitorTones should be available (though that's the 7.0 documentation I'm looking at) - going through a wrapper always add another place where things can go wrong. E.g. we're supposed to get device state events with the latest version but when I tried I still got nothing. If you can handle tapi browser you might want to try it and see if it works, and if so, get in touch with the developer of the lib (I did once... really nice and helpful guy).
Alternatively, there's no need to catch digits.. you may not even be able to terminate the call in the status you're looking at so you could just listen to call events and get the first one where the call actually starts (as in "all digits dialed") and terminate it then.. it probably won't make much of a difference either unless you want to prevent people from making certain calls and cut them off after a few digits.. but that is better done using partitions and css.. they are meant to prevent people from calling certain numbers and it would be ill advised to duplicate this functionality in your own software (which after all could fail every now and then.. or the app could lose the connection to the server, etc.) -
How to call a view from another
Hello Experts,
I have embedded a view (let us call this view 'A') in standard homepage. This works fine. Now on click of a button on this embedded view I want to launch another view that is also created by me, in the same component in which I had created view A. But I do not know how to launch this second view
Could you please tell me how to call/launch a view from another on click of a button?
Regards,
PraffulHello Prafful,
I guess by launching you mean substituting one view by another. It can be achieved by declaring a navigational link in the runtime repository from one view to another. You have to create an event handler on the button and outbound plug in your view using the wizard. Then, on the event handler you call an outbound plug where you trigger a navigation using this navigational link and the view A will be replaced by view B.
A code which needs to be done in outbound plug:
me->view_manager->navigate(
source_rep_view = me->rep_view
outbound_plug = 'NAVLINKNAME'
data_collection = iv_data_collection ).
Best Regards,
Yevgen -
How to call a WD4A Application of another system
Hi,
I have the need to call a WebDynpro Application of another system via a URL call, thet the application should be opend in the CRM WebUI Window (statefull ) .
Calling the application via a button event & transaction launcher works fine, but i need to call it from a BSP page. So my idea was to create an iframe, but this obviously opens a new window:
<html>
<head>
<title>IFrames - Webdynpro Test</title>
</head>
<body>
<iframe src=<%= lv_url_route %>"
width="100%" height="500" scrolling="auto" frameborder="1" transparency>
</iframe>
</body>
<html>
Can anybody help?!?!
Thanx & best regards,
Oliver
Edited by: Oliver Pregler on Jul 28, 2008 3:26 PMHi Oliver,
unfortunately I know nothing about BSP-Applications, but this is how I call my WD4A-Application using a FM from CRM:
data: lr_empty_parent type ref to cl_gui_container,
lr_viewer type ref to cl_gui_html_viewer.
data: lv_url(200) type c.
lv_url = 'http://www.xyz.com'.
create object lr_viewer
exporting
parent = lr_empty_parent
exceptions
cntl_error = 1
cntl_install_error = 2
dp_install_error = 3
dp_error = 4
others = 5.
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
lr_viewer->detach_url_in_browser(
exporting
url = lv_url
exceptions
cntl_error = 1
dp_error_general = 2
others = 3 ).
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
endif.
cl_gui_cfw=>flush( ).
If it helps you - fine. If not - forget it
Best regards
Jörg Racz
Maybe you are looking for
-
How do I connect my iPhone 3GS to my laptop and then display on an external monitor?
-
Navigate report from detils level in hierarchy
HI, I have requirement that i want to have only one report. which is applied for drill down. Ex: Year, Measure Year-->Quarter-->Month--> Day when i drill from year to day and i have to applied navigate to another from day. Is it possible. Regards, Ma
-
This should be a quick one - I have just added in some links to the other countries on the page below. Basically all the links under the main Botswana image on the left hand side. Trouble is, that they have knocked the second row of lodges down to th
-
Dear All, How to create a dummy plant for keeping the useless stock : - What should be configured and what should not for the same???
-
I am receiving an exception error when launching ASDM. I have see on the web (and have experienced an issue similar to this before) where a reload resolves the issue. However, I did issue a reload and the error continues. Strange thing is, when I loo