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.

Similar Messages

  • How to call a particular mathod

    the problem is with my method for the binary search i believe its coded properly but i'm not sure how too call it at the bottom of the program.[b[]
    here's the error i'm receiving
    Binary (int[],int) cannot be applied to ()
    how should i call it then? the binary search is marked with a comment
    import java.io.*;
    import java.util.Random;
    public class ArraySort{
         int[] myArray, tobesaved;
         int myArraySize, myArrayHigh, findthis;
         long timeBegin, timeEnd;
         public ArraySort(){
         public int[] createIntegerArray(){
              System.out.print("\nEnter how large the array should be: ");
              BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
              try {
                   String theinput = br.readLine();
                   try {
                        myArraySize = Integer.parseInt(theinput);
                        if(myArraySize<=0){
                             System.out.println("The size of the array must be positive");
                             createIntegerArray();
                   catch(NumberFormatException e){
                        System.out.println("Size of the array must be a number");
                        createIntegerArray();
              catch(IOException e){
                   System.out.println("Input Error");
                   System.exit(0);
              return new int[myArraySize];
         public int promptArrayHigh(){
              System.out.print("Enter the high range of the array: ");
              BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
              try {
                   String theinput = br.readLine();
                   return Integer.parseInt(theinput);
              catch(IOException e){
                   System.out.println("Input Error"); System.exit(0);
              return 0;
         public void propagateArray(){
              tobesaved = new int[myArraySize];
              Random r = new Random();
              for(int i=0;i<myArraySize;i++){
                   myArray[i] = Math.abs(r.nextInt()) % myArrayHigh;
                   tobesaved[i] = myArray;
              System.out.print("Original Array: "+myArray[i]);
         public void displayStatus(){
              for(int i=0;i<myArray.length;i++){
                   System.out.print(myArray[i]+" ");
              System.out.println("");
         public void sCounter(){
              timeBegin = System.currentTimeMillis();
         public void eCounter(){
              timeEnd = System.currentTimeMillis();
         public void displayTimeDifference(String what){
              System.out.println(what+" took: "+(timeEnd-timeBegin)+" milliseconds");
         public int getInteger(String prompt){
              String word = null;
              int returnint = 0;
              System.out.print(prompt);
              BufferedReader intbuffer = new BufferedReader(new InputStreamReader(System.in));
              try {
                   word = intbuffer.readLine();
              catch(IOException ioe){
                   System.out.println("Error");
                   getInteger(prompt);
                   System.exit(1);
              try{
                   returnint = Integer.parseInt(word);
                   if(returnint<=0){
                        System.out.println("Must be positive.");
                        getInteger(prompt);
                        return returnint;
                   else {
                        return returnint;
              catch(NumberFormatException e){
                   System.out.println("Must be a number.");
                   getInteger(prompt);
                   return returnint;
    //Bubble Sort
         public void Bubble(){
              boolean swapoccured = true;
              int temp = 0;
              while(swapoccured){
                   swapoccured = false;
                   for(int i=0;i<(myArray.length-1);i++){
                        if(myArray[i]>myArray[i+1]){
                             temp = myArray[i];
                             myArray[i] = myArray[i+1];
                             myArray[i+1] = temp;
                             swapoccured = true;
    //Selection Sort
         public void Selection(){
              int temp = 0;
              int minposition = 0;
              for(int i=0;i<myArray.length;i++){
                   minposition = i;
                   for(int j=i;j<myArray.length;j++){
                        if(myArray[j]<myArray[minposition]){
                             minposition = j;
                   temp = myArray[i];
                   myArray[i] = myArray[minposition];
                   myArray[minposition] = temp;
    //Insertion Sort
         public void Insertion(){
              int value = 0;
              for(int i=1;i<myArray.length;i++){
                   value = myArray[i];
                   int j;
                   for(j=i-1;(j>=0) && (myArray[j]>value);j--){
                        myArray[j+1] = myArray[j];
                   myArray[j+1] = value;
    //Merge Sort
         public void Merge(int low, int high){
              if(low == high){
                   return;
              int length = high-low+1;
              int pivot = (low+high)/2;
              Merge(low, pivot);
              Merge(pivot+1, high);
              int working[] = new int[length];
              for(int i = 0; i < length; i++){
                   working[i] = myArray[low+i];
              int m1 = 0;
              int m2 = pivot-low+1;
              for(int i = 0; i < length; i++){
                   if(m2 <= high-low){
                        if(m1 <= pivot-low){
                             if(working[m1] > working[m2]){
                                  myArray[i+low] = working[m2++];
                             else {
                                  myArray[i+low] = working[m1++];
                        else {
                             myArray[i+low] = working[m2++];
                   else {
                        myArray[i+low] = working[m1++];
    //Shell Sort
    void Shell(){
         int h = 1;
    while ((h * 3 + 1) < myArray.length) {
         h = 3 * h + 1;
    while( h > 0 ) {
    for (int i = h - 1; i < myArray.length; i++) {
    int B = myArray[i];
    int j = i;
    for( j = i; (j >= h) && (myArray[j-h] > B); j -= h) {
    myArray[j] = myArray[j-h];
    myArray[j] = B;
    h = h / 3;
    //search of my choice
         public void search(){
              int counter = 0;
              findthis = getInteger("Seach for: ");
              for(int i=0;i<myArraySize;i++){
                   if(myArray[i]==findthis){
                        counter+=1;;
              System.out.println(findthis+" occurs "+counter+" times in the array");
         public void Linear(){
              int counter=0;
              int findthis1 = getInteger("Linear Search for: ");
              for(int index=0;index<myArray.length; index++)
              if(myArray[index]>findthis1)
                   break;
              if(myArray[index]==findthis1)
                   counter+=1;
              System.out.println(findthis1+" occurs " counter" times in the array");
         //***Here's part of the problem*****
         public int Binary(int[]myArray,int x){
                   int findthis2 = getInteger("Binary Search for: ");
              int left=0, right=myArray.length-1,mid;
              if(myArray.length==0 || x<myArray[0])return -1;
              if(x>myArray[right])return myArray.length;
              while (left<right)
                   mid=(left+right)/2;
                   if (x<myArray[mid])
                   right=mid-1;
                   else
                   left=mid+1;
                   System.out.println(myArray.length);
                   if (x==myArray[left])return left;
                   else return-1;
         public void setOriginal(){
              for(int i=0;i<myArraySize;i++){
                   myArray[i] = tobesaved[i];
         public static void main(String[] args){
              // INSTANTIATE OBJECT, CREATE ARRAY WITH HIGH VALUE, FILL WITH RANDOM VALUES
                   ArraySort as = new ArraySort();
    as.myArray = as.createIntegerArray();
                   as.myArrayHigh = as.promptArrayHigh();
                   System.out.println("");
                   as.propagateArray();
    //               as.displayStatus(); System.out.println("");
              // BUBBLE SORT
                   as.sCounter();
                   as.Bubble();
                   as.eCounter();
    //               as.displayStatus();
                   as.displayTimeDifference("Bubble Sort");
                   as.setOriginal();
              // SELECTION SORT
                   as.sCounter();
                   as.Selection();
                   as.eCounter();
    //               as.displayStatus();
                   as.displayTimeDifference("Selection Sort");
                   as.setOriginal();
              // INSERTION SORT
                   as.sCounter();
                   as.Insertion();
                   as.eCounter();
    //               as.displayStatus();
                   as.displayTimeDifference("Insertion Sort");
                   as.setOriginal();
              // MERGE SORT
                   as.sCounter();
                   as.Merge(0,(as.myArraySize-1));
                   as.eCounter();
    //               as.displayStatus();
                   as.displayTimeDifference("Merge Sort");
                   as.setOriginal();
              // SHELL SORT
                   as.sCounter();
                   as.Shell();
                   as.eCounter();
    //               as.displayStatus();
                   as.displayTimeDifference("Shell Sort");
    //search
                   as.search();
    //Linear
    as.Linear();
    //****Here's the problem****
    // as.Binary();

    here's the error i'm receiving
    Binary (int[],int) cannot be applied to ()
    how should i call it then? the binary search is
    marked with a commentThe error message is pretty straightforward: Binary (is that a constructor or a method? If it's a method, begin the method name with a lowercase "b".) needs an array of int and an int as arguments. They have some meaning to that method. You need to provide them.
    What they mean is something that you should know and that really has nothing to do with Java programming. It's like trying to call authorizeCreditCard(String cardNumber) without actually passing it a card number. You need to understand what Binary(...) does and why it needs those arguments. Once you understand that, you should know how to provide them.

  • How to call a function/event after a Remote Object's data is loaded?

    I'm making a call to a remote object that is loading a good
    amount of data. I've set up a "please wait" label that is supposed
    to display while the data is being loaded and then clear the label
    when the data finishes loading.
    At the moment I've got it set up like so...
    label = 'Loading data, please wait..."
    remoteObj.read.send();
    label = ''
    The problem with this is that the 'please wait' label doesn't
    even display because the actual call to the remote object I'm
    making finishes so quickly even though the data load does not. So
    what I need is possibly an IF statement to check if the data has
    finished loading. If it hasn't finished loading, the label stays in
    the "please wait" status, or if the data does finish loading, then
    the label clears out.
    What would be ideal is...
    remoteObj.read.send(); // gets the data
    if(data is loaded){
    label = '';
    }else{
    label = 'Please wait'
    I just don't know how to form the statement for the data
    loading in the IF statement.

    You are seeing the difference between data loading and UI
    rendereing.
    Reasonable amounts of data load very fast, expecially with
    RemoteObject. Bur rendering the UI is almost always the bottleneck,
    event with AS3 FP8+, which is about 30 percent faster than AS2!
    I have not found a perfect solution for this myself, but i
    think you will want to look into the component data events, to find
    one that fires after the component is actually rendered.
    Tracy

  • How to call a Particular View from a View of Current Component

    Hi Experts,
    Pls let me get a solution for my small issue..
    I do have 2 components cur_component and old_component which contain 2 Views each say, cur_vew1 & cur_view2 and old_view1 & old_view2 respectively.
    Now, When i click a button in cur_view1 then it should call the view - old_view1 of old_component and when i click a button in cur_view2 then it should call the view - old_view2 of old_component.
    When i tried, its calling the default view of the old_component. but i want to call the views of the old_component dynamically...
    hope am clear enough about my issue..
    Kindly help on me on this to solve this..
    With Thanks in advance,
    Amala

    hi ,
    have u done component usage to reuse ur old component in ur new component .
    refer this article on component usage :
    http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/2e71ce83-0b01-0010-11a4-98c28a33195f
    to know , how to set the context attribute for visibility , u wud also like to go to this thread :
    Re: How to SET a value to an attribute usibng WIZARD?
    refer to Uday's reply in this thread as well  :
    Call view of another WDA Component and pass the value to it
    1) When you create your context at component controller level in component MAIN you have a property for the node which says as: "Interface Node" Just checkmark this checkbox. When you do this you would be able to share the data within your context nodes across other components.
    2) Specify a default value of AA in the "Default Value" property of the attribute in component MAIN
    3) Now go to your other component SUB which you would like to also get initialised. Define a usage of your component MAIN within this component.
    4) Go to your component controller & create your context node & attribute with exactly the same names as how you had created in your MAIN component.
    5) Do a mapping between the interface controller of your MAIN component & the component controller of your SUB component
    6) You would be able to see that the appearance of the node has changed to an interface node. This means that your SUB component now has an exact replica of your MAIN components context data.
    regards,
    amit
    Edited by: amit saini on Oct 13, 2009 2:47 PM

  • How to call parent view event or method from popup in java webdynpro

    Hi ,
    I have  view  in my webdynpro component. I created a  button, when i click i am opening  a popup window.
    In side  popup window i am doing some search criteria. I want call a parent view method from popup window and populate search results in parent view table control.I can able to pass the data through context mapping. But i want  a  custom method where i want  to write a code to populate the table control ( i don;t want  to use the wdDoModifyView() method).
    Please help me.
    Thanks
    Aravinda

    Hi,
         The methods in a view are only accessible inside same view. you cannot call it outside the view or
         in any other view although its in same component.
         If you want to have a method in both views, then create the method in component controller and
         from there you can access the method any where in whole component.

  • How to call a particular Customer through form Personalization

    Hi,
    Environment :- R12
    I have a requirement, to search a Customer info based on Sales Order form.
    Requirement:
    1. Open the Sales Order form, Query any order
    Now the user wants to pull the XBC Cusotmer information which was in the Customer Field.
    Naturally we can do by form personalization but here the Customer window is web based one. Can anybody have a hands-on on this. Please let me know.
    Thanks,
    ABR

    Pl see if the steps in MOS Doc 856139.1 ((Pics) How To Create Personalized Views For All Users In Professional Buyer Work Center) can help.
    HTH
    Srini

  • How to call specific view of used component

    Hi All,
    I have the following problem:
    I have component 1 which have two views: 1A and 1B. They are included in one window. Default view is 1A.
      Navigation between view 1A and 1B it made with buttons and plugs ("go to 1A", "go to 1B").
    I have main component 2 which uses component 1 (used component). Component 2 has view 2A and 2B. I have button "Z" in view 2A which calls method of component 1 and navigates to view 2B (where used component 1 is embedded).
    First time I press button I navigate to view 1A, its correct. Then I navigate to view 1B (within used component 1).
    when I go back (in main component 2) and press button "Z" again, the used component 1 is open with view 1B, not 1A (which is default). That is, used component 1 remember which view the navigation stayed on.
    I nee to always see view 1A first when I navigate with button "Z" (open used component).
    How I can do that?

    hi ,
    u must be using component usage ..
    in ur component2 , place the view 1B of ur used component in separate window
    pls refer this thread as well :
    How to call a Particular View from a View of Current Component
    regards,
    amit

  • How to call variable SlideID

    Hi all,
    I recently started using the export function for captions for translating purpose. That´s when I first saw the variable "Slide ID". It´s apparantly not a default user or system variable but I would like to use the Slide ID as reference for bigger projects as it´s unique and doesn´t change unlike slide number. I´ve tried messing around with the available system variables, adding SlideID instead of SlideNumber and stuff like but no luck so far. Does anyone know how to call that particular variable?
    Any help is appreciated.
    Thanks,
    goldmundig

    Aside from using AS3 in a widget, I'm not sure how you could accomplish it.  If you're using AS3, you can access the movieXML variable off of the maintimeline and that XML has unique identifiers for the slides as well.  But that only helps you in widget scenarios.  Maybe you could concatenate the slide label with some static text for a meaningful unique ID?  Possibly create a variable for each slide and assign the value on slide entry?... probably more work than it's worth.  It would be nice to have the Slide ID exposed...
    Jim Leichliter

  • 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 TreeCell

    How 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

  • I was deleting particular events in my iCal but now all of the events in that category have gone from iCloud and all of my devices.  How do I get them back?

    How do I restore events in my iCal and iCloud?  I was deleting particular events that weren't relevant to that week and then all of the events in that category have disappeared.  I want them back.  How do I do this?

    did you ever get an answer?  The same thing just happened to me!

  • Z-Button - How to call a Action Profile to Open a PDF-Doc. within an Event?

    Hi Experts,
    we have created a Z-Button that afterwards creates an event. In the coding for the event an Action Profile should be called and a PDF-Document should be opened. We have copied the coding from the standard button 'Print Preview' which is calling the standard event: EH_ONPRINT_PREVIEW.
    We have also defined a Z Action Profile which is a copie of SERVICE_CONFIRMATION. Our problem is we don't know how why our Z-Action Prodile is not called? What is the class lr_actioncontext (TYPE REF TO cl_crm_bol_entity)?
    DATA: lr_cn               TYPE REF TO cl_bsp_wd_context_node,
            lr_adminh           TYPE REF TO cl_crm_bol_entity,
            lr_actioncontext    TYPE REF TO cl_crm_bol_entity,
            lv_adminh_guid      TYPE string,
            lv_url              TYPE string,
            lc_head_context     TYPE REF TO cl_doc_context_crm_order,
            lt_item_context     TYPE ppftctxpos,
            iv_header_guid      TYPE crmt_object_guid,
            lif_decision_pop    TYPE REF TO if_bsp_wd_popup,
            lv_string           TYPE string.
      CHECK gv_print_preview_enabled = abap_true.
      lr_cn = me->get_context_node( gc_cn_btadminh ).
      CHECK lr_cn IS BOUND.
      lr_adminh ?= lr_cn->collection_wrapper->get_current( ).
      CHECK lr_adminh IS BOUND.
      lv_adminh_guid   =  lr_adminh->get_property_as_string( iv_attr_name = 'GUID' ).
      lr_actioncontext = lr_adminh->get_related_entity( iv_relation_name = 'BTHeaderAction' ). "#EC NOTEXT
      CLEAR gt_print_actions.
      CLEAR gr_action_popup.
      iv_header_guid = lv_adminh_guid.
      CALL METHOD cl_crm_uiu_actions_tools=>get_action_definition
        RECEIVING
          rv_action_def = lv_string.
      CALL METHOD cl_crm_uiu_actions_tools=>show_print_actions_popup
        EXPORTING
          ir_action_context       = lr_actioncontext
          ir_parent_node          = lr_adminh
          ir_view_controller      = me
          ir_component_controller = comp_controller
          iv_event_name           = gc_ev_print_preview_closed
          iv_for_preview          = abap_true
          iv_appl_guid            = lv_adminh_guid
        IMPORTING
          et_actions              = gt_print_actions
          ev_url                  = lv_url
        CHANGING
          cr_decision_popup       = gr_action_popup.
      IF lv_url IS NOT INITIAL.
        call_print_preview_popup( lv_url ).
      ENDIF.
    Best Regards

    Closed. No answers.

  • How can I view the size of a particular event in iPhoto '11?

    How can I view the size of a particular event in iPhoto '11? The 'Get Info' option is not displaying the size of the event like it used to in iPhoto 8.

    But the event does not really have a size - you can export the photos and make the size pretty much what you want - while it is in iPhoto it is an event
    I guess that iPhoto could report the size of the original photos as imported - or the size of the modified photos if exported as JPEGs - or the size of the modified photos if exported with a maximum dimension of 1080 - but the event simply is photos and does not have a "size" until you export it
    Obviously you want to know the size but the question was
    what is your puprose for knowing the size?
    WIth that information maybe there is a way to get you what you want
    But the basic answer is simply that an event does not have a size - an event is a collection of photos and each photo has either two or three versions in the iPhoto library and each photo can be exported for outside use in several formats and at any size
    LN

  • 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.
    Ralph

    Hi,
    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 ?
    thanks

    Please review the following thread:
    ADF Faces call javascript
    Luis.

  • 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
    Santhosh

    hi,
    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

Maybe you are looking for

  • Please help! ReferenceError: Error #1065: Variable tracker is not defined.

    Hi guys im tearing my hair out over this, sorry if its an extreme noob question but i know its quite a common problem and im sure someone on here must be able to help. After debugging my project here is the error message - ReferenceError: Error #1065

  • Not reading DVD+R?

    OK, so this may be a "newbie" question, but I am copying my old VHS tapes to DVD. I burned them on a machine that dubs the VHS to the DVD, and used DVD+R disks, but when I insert them in to the super drive, it reads the disks as blank. When I use the

  • Media encoder didn't export my yellow background from AE in black

    I have a composition in After Effects CC with a background color yellow. If I make a rendering in AE with AVI format, all is ok but the file is very heavy. But if I use Media Encoder CC and I export in any format, my yellow background become black !!

  • Starting and stoping SAP J2EE engine without using SAPMMC

    Hi All, How can we start SAP J2EE engine without using SAPMMC. My SAP J2EE version is 6.40. Kindly, help. Regards, Devender V

  • Itunes store never connects. Why is this?

    I have connected to this part of itunes without a problem (same user name and ID for itunes store) but cannot connect to itunes at all. This has been the same for months. I have changed phones since I originally signed up. Any ideas?.