New buttons in report

I want to add some buttons in my standard report (ZREPORT) so I have added buttons to my gui status. When I press the Execute button the start-of-selection is triggered, what did I have to do to trigger the start-of-selection with my own buttons.
Regards,
Daniel Cantin

You can either write your logic in AT SELECTION-SCREEN (filtering via sscrfields-ucomm, ideal for non list processing ), or use something similar to this.
REPORT  ZTESTREPORT_PRBA.
INCLUDE <ICON>.
DATA functxt TYPE smp_dyntxt.
TABLES sscrfields.
SELECTION-SCREEN BEGIN OF SCREEN 1100.
PARAMETERS: P_CARRID TYPE S_CARRID.
selection-screen function key 1.
selection-screen function key 2.
SELECTION-SCREEN END OF SCREEN 1100.
INITIALIZATION.
  functxt-icon_id   = icon_ws_plane.
  functxt-quickinfo = 'Preselected Carrier'.
  functxt-icon_text = 'LH'.
  sscrfields-functxt_01 = functxt.
  functxt-icon_text = 'UA'.
  sscrfields-functxt_02 = functxt.
AT SELECTION-SCREEN.
  case sscrfields-ucomm.
    WHEN 'FC01'.
     "  do FC01
     "execute (invoke START-OF-SELECTION)
     sscrfields-ucomm = 'ONLI'.
WHEN 'FC02'.
    "      do FC01
   "execute (invoke START-OF-SELECTION)
       sscrfields-ucomm = 'ONLI'.
  endcase.
  START-OF-SELECTION.
*do selection

Similar Messages

  • Interactive report search region new buttons problem (theme 25)

    Hello!
    When I add new buttons in position "Interactive report search bar" I have a problem like this: [http://files.mail.ru/1AFHY6?t=1|http://files.mail.ru/1AFHY6?t=1]
    On different dimensions and also on iPad2 the situation is bad.
    How can I fix it?
    Apex 4.2 - theme 25 (also 24 and 26)

    any ideas?
    Edited by: ElectroD on Nov 27, 2012 7:56 AM

  • FI Report Painter (FGI1) - add new button in output screen

    Hi all,
    I have a report created by tcode FGI1 (Create Drill-down Report) which bases on form 0SAPBSPL-01 (Fin. Statement: Actual/Actual Comparison). I wanna know if there are any ways to add a new button in output screen after report execution (i.e to print the content into smartforms).
    Thanks in advance.
    Solaris.

    Instead of creating after the output you can add the button to create the form on the main screen itself i.e. program SAPMKCEE screen1125. Either on the application tool bar or on the screen 1125.

  • Creation of new button on same page after insert command

    Hello All,
    I have an application running on apex.oracle.com where my workspace name is shruti_work,username is [email protected] and password is buwigi. The application name inside this is "app2"
    I am trying to achieve one functionality there but unable to get it so felt like seeking an help from experts here. I have two forms there one page1 form which is simplly made on an html region with go button which is navigating the page 1 items value to page 2 but simply passing their address witout updting the database table.
    In Page 2 i created page on a table or view, which made some extra buttons which i dont want like applychanges ,delete button, cancel button. I created a create button even which is updating my database with insert sql command. What i am seeing is after my create button is pressed i got navigated to same page 2 which i want to but the applychange button, cancel and delete button got appeared. I dont get the idea why it is so. i have checked the buttons even i didnt found anything there.
    All i want is when i press create button in page 2, my database get update and at the same page (2) a new button get appears which i have to use for other things. Approaching to this solution i created a button with giving databse action update and condition to this button "value of item in expression 1 is not null" and in expression 1 i passed p2_id...... but my new button is not getting created.
    Any help on this?

    Hi Jeff,
    I dont want applychanges button and delete button in my page 2. But when i created form on a table or view this but got created and i cannot delete it even. When i am navigating my page from page 1 to page 2 and filling the fields in page 2 and clicking create button, at that time i want after updating my table and running my plsql process which i have created which you can see in page processing, my button at same page get generate which i will use to navigate to other form. This button which i want to generate after clicking my create button will be meaningful only if my record get inserted in table. so that is why i want it at that time.
    I dont want any report so i am not creating form on a table or view

  • New to oracle report builder

    Dear all;
    Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
    create or replace package test1 is
    type r_cursor is ref cursor;
    function report(company_name in varchar2) return r_cursor;
    end test1;
    create or replace package body test1 is
    function report(company_name in varchar2) return r_cursor as
    my_r_cursor r_cursor;
    begin
    if(company_name = 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t;
    return my_r_cursor;
    elsif(company_name != 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t
    where t.t_id = company_name;
    return my_r_cursor;
    end if;
    end;
    end test1;
    create table t1
    t_id varchar2(200) not null,
    t_description varchar2(250),
    primary key(t_id)
    insert into t1
      (t_id, t_description)
    values
      ('CITI', 'PROFIT: 2.2Billion');
    insert into t1
      (t_id, t_description)
    values
      ('GE', 'PROFIT: 1Billion');
    insert into t1
      (t_id, t_description)
    values
      ('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.

    Hi,
    first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
    so first you create your package
    create or replace package test1
    as
    TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
    , company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
    TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
    end test1;
    show errors
    create or replace package body test1
    is
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
    is
    my_r_cursor T_REF_CURSOR;
    begin
    if(company_name = '1')
    THEN
    open my_r_cursor for
    select 1 as t_id, 'description' ast_description from dual
    else
    open my_r_cursor for
    select 2 as t_id, 'description2' as t_description from dual
    end if;
    end;
    end test1;
    show errors
    then, in your report you create a ref cursor query :
    function QR_1RefCurDS
    return test1.t_ref_cursor
    is
    C_return test1.t_ref_cursor;
    begin
         test1.report(1,C_return);
    RETURN(C_return) ;
    end;
    hope this helps you !
    E

  • Create a new button in Financial Planning of the bucket

    Dear experts,
    We need to create a new button in the bucket financial information in order to when a user click on it, a report is executed, Does anyone know the steps needed to create the button and be showed in the bucket financial information?
    Thanks,
    Sara

    Hi Amit,
    Thank you ver much for your help. I tried this option and it works. The problem is this button is already configured at item level and we have no idea where is configured . We would like to retrieve it to copy in the bucket.
    It is not configured in the launchpad and it is not configured in the webdynpro, if it is not there where can be configured/developed?
    Is there any list of all buttons of the system?
    Thanks again for your help,
    Sara

  • How to add new column in report painter

    Hi Experts,
    I want to add new column in report painter which as to calculate the previous column . value in the new column should be the precentage of previous column existing on left side...

    HI  Pradeep,
    Goto the transaction code (Change Report) GR32.
    Give you library name and report name
    And click on the column (application tool bar or F7) button then place the curser on the screen where you want column (please note you have to keep curser on the header section u2013Red column text) right click and insert element. Then you select formula as selection element  and enter. You will get the enter formula box. Then you can type your formula and continue. This will add new column to the report.
    How to enter formula: you can see the formula components in that id and description.
    Id is columns that are present and description indicates explanation of that column.
    Enter formula according your requirement.
    Examples:
    Enter formula screen:
    ID :    des
    X001  amount
    X002  pt000
    X003  test
    1. Enter formula as: ( X001 u2013 X002)
    The above formula is for fist column u2013 second column.
    2. ( ( X001 u2013 X002) / X003) * 100
    First column u2013 second column and devide by third column after that multiple with 100.
    Hope this will help you
    Regards
    Manohar

  • Extremely slow when clicking the Specified Order - New button.

    Post Author: cavenger
    CA Forum: Charts and Graphs
    I often use the specified order option on charts to group pieces of information together. When I click the New button for a new specitied order or if I try to edit an existing specified order, it takes forever for the dialog to come up. I have experienced this problem in both Crystal 9 and 10 installed on different machines. Is there some sort of option I am missing? Maybe something that tells it to query the database. I have no idea why it would do a query at that point, it is not like I am using a select list of options from a drop down where it would need to retrieve the values. The reason this is a problem is that it takes me forever to run reports when I am asked to an add hoc report that requires this sort of customization. VERY frustrating....TIA for all help.

    Post Author: RichardN
    CA Forum: Charts and Graphs
    I'm having the exact same problem.  I think what's most infuriating about this is after waiting several minutes for the "Specified Order" Tab to display, I have to wait several more minutes after I click on the New button.  This happens everytime I click the New button, and I have eight groups to create. 
    I'm using Crystal Report XI Release 2 on Vista with 2 GB of RAM trying to access a Progress database using an ODBC connection. 
    Is there ANYTHING I can do to speed this up?  Is it possible to use the "Formula Editor" to essentially write out the information the Group Options window is creating?
    Thank you,
    R

  • How to add new row in report

    Hi,
    I need to add a new record through report, I have a Add new button clicking on which report should add and editable row with textboxes to add new column values.
    Please help. Thanks.

    Hello User.
    Please change your name from the default #'s to your name, or a nickname etc.
    It makes things easier for everyone to communicate.
    Can you please provide some more details of your problem?
    Can you rewrite your question. I don't understand what your problem is...
    Which version of Apex are you using?
    Have you read and looked at the online instruction manuals?
    Here's a link.
    http://www.oracle.com/technology/products/database/application_express/index.html
    http://download-west.oracle.com/docs/cd/B31036_01/doc/nav/portal_booklist.htm

  • Enhancement- adding new buttons in IH01

    Hi Experts,
    Basically IH01 is a report program, my requirement is to add 2 buttons on IH01 screen.
    Can some one tell me what are the possible ways to add the new buttons?
    Regards,
    Abhishek.....

    Hi,
    We do not maintain any 'functional location' in our company so i can go into the transaction and check anything more for you.
    By the way, what are you trying do with PF-STATUS.
    Regards,
    RS

  • ADDING RADIO BUTTONS IN REPORT NEAR MISS (EHSM-NWBC)

    Hi Experts,
    I am new to this EHSM Enhancements , I have a requirement to add 3 radio buttons in Report Near Miss ( EHSM-NWBC ), I am not understanding this BOPF firm Enhancement .So please provided me the required information .
    Thanks & Regards.
    Bhushan K.   

    Hi Bhushan,
    If you want to add 3 radio buttons, then first of all you have to append one field in EHHSSS_INC_BASIC_INFO_ALL_D structure with Fixed Domain values.
    Then you need to enhance EHHSS_INC_REC_NRM_QAF_V3_BSCI component Configuration.
    In that Configuration you need to add field with display type Radio Button Group, with column count 3.
    Kindly refer the following snap for the same.
    Thanks and regards,
    Chetan P. Patil

  • Enhancement request: Buttons in report regions

    Buttons in Report regions (usually) operate upon the data shown in the report using form input elements like checkboxes, radiobuttons, etc.
    When the report returns no rows, the buttons look silly in an empty report region. Clicking them might also do some harm depending on what the after-submit processes do.
    IMHO it seems like a worthwhile enhancement for Apex to automatically suppress the rendering of the buttons if the report returns no data (it could piggyback upon the 'No Data Found' message under Report Attributes).
    Thanks

    Or maybe conditionally? I can think of a case where I get no data back and I want to do something with those buttons, such as "create a new record". I often use form input elements there as filters, so it's possible for our users to come up with a combination of filters that comes back with "no data found" and they need a way (mmmmmm, buttons) to reset the filters and get back to something meaningful.
    But the ability to condition the buttons (and other stuff) based on whether or not the report returns data? That could be useful, especially for the situation you describe where clicking them might do harm. The ability to disable the buttons on "no data found" (while still displaying them) could also be nice. That way I could display the buttons and keep the same layout, but they wouldn't be clickable.

  • New button under Sales doc menu under "Environment"

    Hello,
    We have a requirement to add a new custom button under Sales document menu. Under "Enviornment" menu we have a standard button as "Changes". We want to add a custom button below this, to call a custom report. Is there a way to add a new button over there?
    Thanks & Rgeards,
    Amit

    Hi Murali,
       Where happening it ?
       If you go to: Content Administration->km content->choose a folder and try to upload a document, can you do it ?
       Which layout set are you using ?
       Have you enable debugging setting to see rendering information  (System Administrator->System Configuration->CM-KM->User interface->Advanced options) ?
    Patricio.

  • Can we add a new column in report which is not in table.

    Hi All,
    Can we create a new column in report which is not in table.
    I have two columns in my table completion_date, manufacture_date. If the difference between the completion_date and manufacture_date is 0, -1, 1 then the new column of the report will say on time against each record or else will display late. Any suggestion how to proceed on this
    Regards
    Edited by: User_Apex on May 16, 2011 5:54 AM

    Standard report then, NOT an interactive report (which if you were using, you could build a computation and report on that)..
    Then the adding a column in the query would be your best best...
    Thank you,
    Tony Miller
    Webster, TX
    There are two kinds of pedestrians -- the quick and the dead.
    If this question is answered, please mark the thread as closed and assign points where earned..

  • New button in lightbox?

    I am trying to add a button inside Lightbox to link to a PDF i created  and the link name would have [PDF Version] so when the button is clciked it would open a new window that would have the PDF in it.
    What i am trying to do as an overall objective is to create a lighbox style menu for the Website i am creating so when the Breakfast link is clicked on it opens a Lightbox group of images. Now i have already gotten Lightbox up i just need to put a link or new button linking to a PDF of the same page but something people can download i would prefer to have a Icon style custome button in the lower center of the lightbox kind of like this
    http://i1114.photobucket.com/albums/k528/jeepsguy/WildBoar_Sample.jpg
    The website i am working on is
    http://creationsmh.com/
    that is an old version of it,  but when u hover over the menu button u see breakfast lunch and drink links when each is clicked on right now they open up a Lightbox gallery with the abover format.
    Please help?

    Hello Kevin
    Two ideas come into my mind:
    (1) You have not selected any node in your ALV tree yet the toolbar function expects at least (exactly?) one node to be selected (NOTE: You may have selected an ITEM but not the node)
    (2) Perhaps you have used NODE_SELECTION_MODE = ..._MULTIPLE in the CONSTRUCTOR method and the control expects NODE_SEL_MODE_SINGLE
    Regards
      Uwe

Maybe you are looking for

  • I can't boot with usb in windows 7 for setup win8.1

    please help me very fast...I have a iso file of win8.1 that i copied it in my usb disk.and i set the priority of boot in usb.but when i power on and select boot menu and then select usb...the windows 7 start normally.(my laptop:G500).what's the probl

  • How to use DBMS_RANDOM

    I use The ORACLE version is 8.05 and the OS is win2000 server. I want to know execute DBMS_RANDOM, it must be installed what associated packages? And before this i run the script dbmsoctk.sql and dbmsrand.sql and grant execute privilege to the user,

  • BAPI for IQ01

    Hi All, Any one can tell me the BAPI for t.code IQ01 and also how to find BAPI in SAP-ISU system Thanks, aMIt Ranjan

  • Why CE 510085 needs CO Object & CE 510000 does not

    Hello all, I am trying to learn how to set up some cost elements and GL accounts for two consumption activities.  I think I created them the same but I get an error message on one but not the other.  "Account 510085 needs assignment to a CO object".

  • Importing I-Phone Video

    Has anyone tried hooking up their new Video 3 Gs I-Phone and seeing if I-Movie 09 sees it and downloads video from the phone? My 08 Version doesn't, along with Final Cut Express...which also doesn't see it. I'd like to bring video directly into I Mov