Possibility of calling ALV report

hi experts,
i have a requirement that i have to design an entry screen whcih contain pushbuttons (SAVE, CLEAR ,DISPLAY).
whenever user pressed DISPLAY, he wants to call the selection screen of an alv report which is already exists.
is that possible to call an alv report selection screen and execute it.
any suggestions pls.
thanks&regards
maheshlap.
Edited by: Thomas Zloch on Dec 17, 2011 11:07 PM

Hi,
Follow this code,
*DISPLAY DYNAMIC PUSHBUTTON ON APP TOOLBAR ON USER CLICKS
SELECTION-SCREEN: FUNCTION KEY 1,
                  FUNCTION KEY 2,
                  FUNCTION KEY 3.
**EVENT ON SELECTION SCREEN FOR OUTPUT DISPLAY
AT SELECTION-SCREEN OUTPUT.
*CLICK OF FIRST RADIO BUTTON
  IF pa = 'X'.
    sscrfields-functxt_01 = 'Materials Management'.
    WRITE icon_plant AS ICON TO text_001.
*CODE TO GET DYNAMICS BASED ON THE SELECTED RADIO
    LOOP AT SCREEN.
      IF screen-group1 = 'MOD'.
        screen-intensified = '1'.
        screen-active = 1.
        screen-display_3d = '1'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'RAD'.
        screen-intensified = '0'.
        screen-active = 0.
        screen-display_3d = '0'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'CAD'.
        screen-intensified = '0'.
        screen-active = 0.
        screen-display_3d = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*CLICK OF SECOND RADIO
  IF pb = 'X'.
    sscrfields-functxt_02 = 'Sales And Distribution'.
    WRITE icon_ws_ship AS ICON TO text_001.
    LOOP AT SCREEN.
      IF screen-group1 = 'RAD'.
        screen-intensified = '1'.
        screen-active = 1.
        screen-display_3d = '1'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'MOD'.
        screen-intensified = '0'.
        screen-active = 0.
        screen-display_3d = '0'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'CAD'.
        screen-intensified = '0'.
        screen-active = 0.
        screen-display_3d = '0'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*CLICK OF THIRD RADIO
  IF pc = 'X'.
    sscrfields-functxt_03 = 'Human Resources'.
    WRITE icon_new_employee AS ICON TO text_001.
    LOOP AT SCREEN.
      IF screen-group1 = 'RAD'.
        screen-intensified = '0'.
        screen-active = 0.
        screen-display_3d = '0'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'MOD'.
        screen-intensified = '0'.
        screen-active = 0.
        screen-display_3d = '0'.
        MODIFY SCREEN.
      ENDIF.
      IF screen-group1 = 'CAD'.
        screen-intensified = '1'.
        screen-active = 1.
        screen-display_3d = '1'.
        MODIFY SCREEN.
      ENDIF.
    ENDLOOP.
  ENDIF.
*CUSTOMISING THE TOOLBARS OF THE SELECTION SCREEN
*WITH F8 BUTTON DISABLED
  APPEND :  'PRIN' TO it_ucomm,
            'SPOS' TO it_ucomm,
            'ONLI' TO it_ucomm.
  CALL FUNCTION 'RS_SET_SELSCREEN_STATUS'
    EXPORTING
      p_status  = sy-pfkey
    TABLES
      p_exclude = it_ucomm.
Warm Regards,
PavanKumar.G

Similar Messages

  • Calling ALV report in BAPI

    Hi All There ,
    I am calling ALV report in my bapi but it is not gettin called it is not giving screen of parameter selection derectly selectin all parameter
    coding is as below
    points assured.
    Data: MTAB_REPORT_HTML type standard table of W3HTML WITH HEADER LINE.
    Submit ZSDRUSHORDERSRPT with SELECTION-TABLE SELTAB
            exporting list to Memory and return.
    CALL FUNCTION 'LIST_FROM_MEMORY'
      TABLES
        listobject = list_tab
      EXCEPTIONS
        not_found  = 1
        OTHERS     = 2.
    CALL FUNCTION 'WWW_HTML_FROM_LISTOBJECT'
    EXPORTING
       TEMPLATE_NAME       = 'WEBREPORTING_REPORT'
      CHARSET             = 'UTF8'
      TABLES
        html                = MTAB_REPORT_HTML
        listobject          = list_tab.
    FREE MEMORY.
    CLEAR LIST_TAB[].
    loop at MTAB_REPORT_HTML.
      concatenate htmlstring
                 MTAB_REPORT_HTML-LINE into htmlstring.
    endloop.

    No, It is not specific to ALV. If you can give the example of that SUBMIT then it can be analyzed. It can be for other additions that is used in the submit statement.
    Like:
    1. ... USING SELECTION-SCREEN dynnr
    2. ... VIA SELECTION-SCREEN
    Effect
    The addition USING SELECTION-SCREEN specifies the selection screen, VIA SELECTION-SCREEN specifies whether it is displayed. The additions selscreen_parameters provide values for the parameters, selection criteria, and the free selection of the called selection screen.
    The values are transferred to the selection screen between the events INITIALIZATION and AT SELECTION-SCREEN OUTPUT The following hierarchy applies for transferring values:
    1.     First, the variant of the addition USING SELECTION-SET is transferred, which sets all parameters and selection criteria to the values of the variant. The values previously set in the called program are overwritten.
    2.     The values of the table of the addition WITH SELECTION-TABLE are then transferred. All parameters and selection criteria specified there are overwritten accordingly.
    3.     Finally, the values of the additions WITH sel value are transferred. All parameters and selection criteria are overwritten accordingly. If the addition WITH sel value is used more than once for the same parameter, this is overwritten with the last specified value. If the addition WITH sel value is used more than once for the same selection criterion, a selection table with the corresponding number of lines is transferred.
    Providing values for free selections is independent of this hierarchy.
    Notes
    •     The options for parameter transfer enable a selection screen to be viewed as a parameter interface of an executable program. This applies particularly for background selection screen processing and for parameters and selection criteria that are defined without screen elements using the addition NO-DISPLAY
    •     When transferring data, note that any adjustments made to the screen format, such as abbreviations or the execution of conversion routines, are not executed for fields for which there are no screen elements on the selection screen. This applies for all parameters and selection criteria defined with NO DISPLAY. It also applies for all lines of a selection table with the exception of the first line.
    •     The additions selscreen_parameters only work the first time the called program is executed. If a selection screen is displayed in the called program, the runtime environment calls the program again after it is finished, thereby replacing the values specified in selscreen_parameters with the previous input values.
    Addition 1
    ... USING SELECTION-SCREEN dynnr
    Effect
    This addition specifies which selection screen is called. dynnr is a data object that must contain the screen number of a selection screen defined in the called program when the SUBMIT statement is called.
    •     If the addition USING SELECTION-SCREEN is omitted or the screen number 1000 is entered, the standard selection screen is called. If no standard selection screen is defined in the called program, no selection screen is called.
    •     If a screen number that is not 1000 is entered in the addition USING SELECTION-SCREEN, the corresponding independent selection screen is called. If no selection screen with this screen number is defined in the called program, this leads to an untreatable exception.
    Addition 2
    ... VIA SELECTION-SCREEN
    Effect
    If this addition is specified, the selection screen is displayed on the screen. Otherwise, background selection screen processing takes place. In background selection screen processing, the selection screen events are triggered without the selection screen being displayed.
    SUBMIT - selscreen_parameters
    Syntax
    ... [USING SELECTION-SET variant]
        [USING SELECTION-SETS OF PROGRAM prog]
        [WITH SELECTION-TABLE rspar]
        [WITH expr_syntax1 WITH expr_syntax2 ...]
        [WITH FREE SELECTIONS texpr] ... .
    Extras:
    1. ... USING SELECTION-SET variant
    2. ... USING SELECTION-SETS OF PROGRAM prog
    3. ... WITH SELECTION-TABLE rspar
    4. ... WITH expr_syntax1 WITH expr_syntax2 ...
    5. ... WITH FREE SELECTIONS texpr
    Effect
    USING-SELECTION-SET supplies all the selection screen components by means of a Variant variant. If you specify USING-SELECTION-SETS OF PROGRAM, you can use a variant from a different program; if you specify WITH SELECTION-TABLE, values for several selection screen components are transferred as the content of an internal table rspar; WITH expr_syntax supplies individual selection screen components with values. The addition WITH FREE SELECTIONS allows you to transfer free selections to the selection screen for alogical database.
    Addition 1
    ... USING SELECTION-SET variant
    Effect
    If you specify this edition, the parameters and selection criteria for the selection screen are supplied with values from a variant. For variant, you must specify a character-like data object that contains the name of a variant for the program accessed when the statement is executed. If the variant does not exist, the system sends an error message. If the variant belongs to a different selection screen, it is ignored.
    Note
    You can create and manage variants for every program in which selection screens are defined, either in the ABAP Workbench or during execution of the program by choosing Goto - Variants on a selection screen.
    Addition 2
    ... USING SELECTION-SETS OF PROGRAM prog
    Effect
    If you specify this addition, the variants of the program prog are used in the program accessed. For prog, you must specify a character-like data object that contains the name of a program when the statement is executed. The addition has the following effect:
    •     If a variant variant is specified with USING SELECTION-SET, the system searches for this variant in the program prog.
    •     If the selection screen is displayed with VIA SELECTION-SCREEN, all the functions that can be accessed by means of the menu path Goto - Variants affect the variants of the program prog. However, these functions are only active if prog is an executable program.
    Note
    The program prog should contain a selection screen that has the same parameters and selection criteria as the selection screen used in the program accessed.
    Addition 3
    ... WITH SELECTION-TABLE rspar
    Effect
    If you specify this addition, parameters and selection criteria on the selection screen are supplied from an internal table rspar. You must specify an internal table with the row type RSPARAMS for rspar. The structured data type RSPARAMS is defined in the ABAP Dictionary and has the following components, all of which are data type CHAR:
    •     SELNAME (length 8),
    •     KIND (length 1),
    •     SIGN (length 1),
    •     OPTION (length 2),
    •     LOW (length 45),
    •     HIGH (length 45).
    To supply parameters and selection criteria for the selection screen with specific values, the lines in the internal table rspar must contain the following values:
    •     SELNAME must contain the name of a parameter or selection criterion for the selection screen in block capitals
    •     KIND must contain the type of selection screen component (P for parameters, S for selection criteria)
    •     SIGN, OPTION, LOW, and HIGH must contain the values specified for the selection table columns that have the same names as the selection criteria; in the case of parameters, the value must be specified in LOW and all other components are ignored.
    If the name of a selection criterion is repeated in rspar, this defines a selection table containing several lines and passes it on to the selection criterion. If parameter names occur several times, the last value is passed on to the parameter.
    The contents of the parameters or selection tables for the current program can be entered in the table by the function module RS_REFRESH_FROM_SELECTOPTIONS.
    Notes
    In contrast to selection tables, the data types of the components LOW and HIGH in table rspar are always of type CHAR and are converted to the type of the parameter or selection criterion during transfer, if necessary.
    •     When entering values, you must ensure that these are entered in the internal format of the ABAP values, and not in the output format of the screen display.
    Addition 4
    ... WITH expr_syntax1 WITH expr_syntax2 ...
    Effect
    This addition supplies values to individual parameters or selection criteria for the selection screen. Parameters are supplied with single values and selection criteria with selection tables that overwrite values already specified in the program accessed. The selection table to be transferred is compiled from all the expr_syntax additions that address the same selection criterion sel. You can specify the following statements for expr_syntax, where you have to specify the name of a parameter or a selection criterion directly for sel:
    •     sel {EQ|NE|CP|NP|GT|GE|LT|LE} dobj [SIGN sign]
    Transfer of a single value.
    The operators before dobj correspond to the values specified for column OPTION for selection tables. For dobj, you must specify a data object whose data type can be converted to the data type of the selection screen component sel. For sign, you can specify a character-like field that must contain 'I' or 'E'. The standard value is 'I'.
    If sel is a selection criterion, the system appends a line in the selection table to be transferred, placing the operator in column OPTION, the content of dobj in column LOW, and the content of sign in column SIGN.
    If sel is a parameter, it is set to the value of dobj in the program accessed. The operator and the value of sign are not taken into account.
    •     sel [NOT] BETWEEN dobj1 AND dobj2 [SIGN sign]
    Transfer of an interval.
    In this case, sel must be a selection criterion. For dobj, you must specify data objects whose data type can be converted to that of the columns LOW and HIGH for the selection criterion sel. For sign, you can specify a character-like field that must contain 'I' or 'E'. The standard value is 'I'.
    A line is appended in the selection table to be transferred. If NOT is specified, the value 'NB' is placed in column OPTION; otherwise, the value entered is 'BT'. The content of the data objects dobj and sign is placed in the columns LOW, HIGH, and SIGN.
    •     sel IN rtab
    Transfer of a ranges table.
    In this case, sel must be a selection criterion. For rtab, you must specify an internal table that has the same structure as the selection table for selection criterion sel. A table of this type can be created using the addition RANGE OF to the statements TYPES and DATA.
    The lines in table rtab are appended to the selection table to be transferred.
    You can specify the addition expr_syntax more than once, and you can also specify the same selection screen component more than once.
    Notes:
    •     = or INCL can also be used instead of the operator EQ.
    •     When entering values, you must ensure that these have the internal format of the ABAP values, and not the output format of the screen display.
    Example
    The program report1 has a stand-alone selection screen with the screen number 1100. In the program report2, an internal table with row type RSPARAMS and a ranges table are filled for this selection screen. These are transferred at SUBMIT together with a single condition.
    Program accessed
    REPORT report1.
    DATA text TYPE c LENGTH 10.
    SELECTION-SCREEN BEGIN OF SCREEN 1100.
      SELECT-OPTIONS: selcrit1 FOR text,
                      selcrit2 FOR text.
    SELECTION-SCREEN END OF SCREEN 1100.
    Calling program
    REPORT report2.
    DATA: text       TYPE c LENGTH 10,
          rspar_tab  TYPE TABLE OF rsparams,
          rspar_line LIKE LINE OF rspar_tab,
          range_tab  LIKE RANGE OF text,
          range_line LIKE LINE OF range_tab.
    rspar_line-selname = 'SELCRIT1'.
    rspar_line-kind    = 'S'.
    rspar_line-sign    = 'I'.
    rspar_line-option  = 'EQ'.
    rspar_line-low     = 'ABAP'.
    APPEND rspar_line TO rspar_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'H'.
    APPEND range_line TO range_tab.
    range_line-sign   = 'E'.
    range_line-option = 'EQ'.
    range_line-low    = 'K'.
    APPEND range_line TO range_tab.
    SUBMIT report1 USING SELECTION-SCREEN '1100'
                   WITH SELECTION-TABLE rspar_tab
                   WITH selcrit2 BETWEEN 'H' AND 'K'
                   WITH selcrit2 IN range_tab
                   AND RETURN.
    Result
    After report1 has been accessed by report2, the selection tables for the selection criteria selcrit1 and selcrit2 in the program accessed contain the following entries:
    Addition 5
    ... WITH FREE SELECTIONS texpr
    Effect
    This addition supplies values to the dynamic selections for the selection screen for a logical database. The program accessed must be linked to a logical database that supports dynamic selections. texpr must be an internal table of the type RSDS_TEXPR from type group RSDS.
    In texpr, the selections for the dynamic selections are specified in an internal format (Reverse Polish Notation). You can use function modules FREE_SELECTIONS_INIT, FREE_SELECTIONS_DIALOG, and FREE_SELECTIONS_RANGE_2_EX from the function group SSEL to fill texpr in the calling program. While the first two function modules execute a user dialog, you can transfer ranges tables to FREE_SELECTIONS_RANGE_2_EX for each node in the dynamic selection in an internal table of the type RSDS_TRANGE. These are then converted to a table of the row type RSDS_TEXPR. If the calling program contains a selection screen with the same dynamic selections, you can transfer its content beforehand to a table of the type RSDS_TRANGE using the function module RS_REFRESH_FROM_DYNAMICAL_SEL.
    The lines in the internal table type RSDS_TRANGE contain a flat component TABLENAME for each node and a table-like component FRANGE_T of the type RSDS_FRANGE_T for the fields in the node. The lines in RSDS_FRANGE_T contain a flat component FIELDNAME for each field and a table-like component SELOPT_T of the row type RSDSSELOPT from the ABAP Dictionary. RSDSSELOPT contains the four components SIGN, OPTION, LOW, and HIGH and can include the ranges table.
    Example
    Program report1 is linked to the logical database F1S, which supports dynamic selections for the node SPFLI. Program report2 enters conditions in a nested internal table of the type rsds_trange with selection conditions for field CONNID in node SPFLI; this is then converted to a table of the type rsds_texpr, which is transferred at SUBMIT.
    Program accessed
    REPORT report1.
    NODES: spfli, sflight, sbook.
    Calling program
    REPORT report2.
    TYPE-POOLS rsds.
    DATA: trange TYPE rsds_trange,
          trange_line
            LIKE LINE OF trange,
          trange_frange_t_line
            LIKE LINE OF trange_line-frange_t,
          trange_frange_t_selopt_t_line
            LIKE LINE OF trange_frange_t_line-selopt_t,
          texpr TYPE rsds_texpr.
    trange_line-tablename = 'SPFLI'.
    trange_frange_t_line-fieldname = 'CONNID'.
    trange_frange_t_selopt_t_line-sign   = 'I'.
    trange_frange_t_selopt_t_line-option = 'BT'.
    trange_frange_t_selopt_t_line-low    = '0200'.
    trange_frange_t_selopt_t_line-high   = '0800'.
    APPEND trange_frange_t_selopt_t_line
      TO trange_frange_t_line-selopt_t.
    trange_frange_t_selopt_t_line-sign   = 'I'.
    trange_frange_t_selopt_t_line-option = 'NE'.
    trange_frange_t_selopt_t_line-low    = '0400'.
    APPEND trange_frange_t_selopt_t_line
      TO trange_frange_t_line-selopt_t.
    APPEND trange_frange_t_line TO trange_line-frange_t.
    APPEND trange_line TO trange.
    CALL FUNCTION 'FREE_SELECTIONS_RANGE_2_EX'
      EXPORTING
        field_ranges = trange
      IMPORTING
        expressions  = texpr.
    SUBMIT report1 VIA SELECTION-SCREEN
                   WITH FREE SELECTIONS texpr.

  • Is it possible to run ALV report in background if Yes how?

    is it possible to run ALV report in background if Yes how?

    Hi,
    Why not?Through se38 only you create ALV report. there you can give your report name and go to program on menu bar - click - execute buton- click-Background . You will get new screen there you can choose Execute immediate or schedule.
    <REMOVED BY MODERATOR>
    Cheers,
    Chandra Sekhar.
    Edited by: Alvaro Tejada Galindo on Mar 4, 2008 2:12 PM

  • How to call ALV Report and SMARTFORMS through Pushbutton

    hi,
    i have created a report.My task is to create two buttons:
    1)ALV Report.
    2)SMARTFROMS.
    Through these button i have to call ALV Report and SMARTFORMS. i have created both button and when i execute the program,
    it shows me the button but not working when i click on it.
    this is the coding i have used in my report for calling ALV Report.
    ''Tables sscrfields,
    DATA flag(1) Type c.
    selection-screen: begin of screen 500 AS WINDOW TITLE tit,
    BEGIN OF LINE,
    PUSHBUTTON 2(18) but1 USER-COMMAND cli1,
    end of line,
    BEGIN OF LINE,
    PUSHBUTTON 2(18) but2 USER-COMMAND cli2,
    end of line,
    end of screen 500.
    SET PF-STATUS 'STATUS_0100'.
    at selection-screen.
    case sscrfields.
    WHEN 'cli1'.
    flag = '1'.
    WHEN 'cli2'.
    flag = '2'.
    endcase.
    at USER-COMMAND.
    CASE SY-UCOMM.
    WHEN 'Detail'.
    select vbakkunnr VBakernam VBAkaudat vbakaufnr vbapKWMENG vbapmatnr vbap~ARKTX
    into but1
    from vbak inner join vbap
    on vbakvbeln = vbapvbeln.
    ENDSELECT.
    ENDCASE.
    START-OF-SELECTION.
    tit = 'Format'.
    but1 = 'ALV Report'.
    but2 = 'SMARTFORMS'.
    CALL SELECTION-SCREEN 500.
    and i also use in my report
    ''case sscrfields-ucomm'' and ''submit my_report'' but the still button doesn't show the result.
    Thanks & Regards,

    Hi,
             I  understood your requirement. What i found is,  you are creating screen 500 and call it after START-OF-SELECTION,
    at that time your AT USER-COMMAND doesn't work.
    So what i would suggest , u should create GUI STATUS named ' PFSTAT' 
    having one functional key 'EXIT'  that is standard u can just name it
    and
    other two u can assign in Freely assigned Function keys as 'BUT1' & 'BUT2'.  and than in Application Toolbar u jst have it in ITEM LIST by typing BUT1 and BUT2.
    For 'BUT1'  text would be 'ALV'  and 'BUT2' text would be 'SMARTFORMS'.
    Now in Program you can code,,,
    START-OF-SELECTION.
    SET PF-STATUS 'PFSTAT'.
    WRITE:/ 'TEST'.
    at user-command.
      case SY-UCOMM.
        WHEN 'BUT1'.
        WHEN 'BUT2'.
        WHEN 'EXIT'.
           LEAVE PROGRAM.
      endcase.
    In Program u set PF STATUS and use at user-command event, whcih gets triggered when u click on button . When u execute program you get two button in application tooldbar.
    Please do needful.
    Thanks,
    Saurin SHah

  • Is it possible to call diff  report queries when called from form

    hello all
    I want to know if it is possible to call different report queries when called from oracle 9i form .
    i tried to use he
    SET_REPORT_OBJECT_PROPERTY(REPORT_QUERY = 'q_diff' )
    option and actualy called the report name
    but it dint seem to work !!!
    also is it possible to chng the title of the browser at runtime

    Sandeep,
    this property is used with passing Record Groups as data parameters from Forms.
    Passing the query name indicates that the values contained in the record group substitutes the result of the named query. This may work in client/server Reports, but it definitively doesn't work on teh Web because you can't pass a Record Group as a data parameter in this environment.
    Te problem with changing a Reports query is that you must meet the same number of columns and column types as they exist in the Report. I didn't spend much time with XML based runtime customization in Reports. I think that you can change the Reports query through this feature. In Forms you would create the XML file using text_io and the merge it with an existing Reports. I never did this before. So it could be that all I am saying does not work in the end. Before following this idea, you may better ask in teh Reports forum on OTN if it is possible to use the runtime customization feature to modify the Reports query.
    Fran

  • Calling Alv Report From Mobile

    Hi All,
    I need some information to cal a alv report from mobile. I created one report ans can see the selection screen in gui after calling. Here the screen is really big i need to adjust the size because it may take more load and time if i call from a mobile . Is it possible to call the same from mobile or do i need any separate application to call this from mobile. Please *** you valuable suggestions.
    Regards
    Madhu.

    Hello Madhu,
    What is your system details?
    Kernel and BASIS?
    Device OS & Browser?
    What are the GUI Configuration settings of the ITSMobile Service?
    What ITSMobile Generation STYLE was used?
    Perhaps useful notes:
    1037715  ITSmobile: Supported screen elements
    1309633  ITSmobile: custom OMRT controls auto-recognized at runtime
    1312835 ITSmobile: page navigation in ALV Grid on Windows Mobile
    1668784 ITSmobile: new features for ALV Grid
    Regards,
    Oisin

  • Itz possible to call one report program into another program

    hi guys,
                i had a doubt that can i call a report program into another report program by declaring their name into the second program like as we calling Includes ,function modules and like class and their methods .
    if  anybody done this or know how to do this,  give me the details and explination about this  friends
    if it possible with screenshots and codings
    Thanks & Regards
    Saigijeo

    Please search before posting, do not ask basic questions here.
    Always do your own work before turning to the community with specific problems.
    Thread locked.
    Thomas
    [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers]

  • Is it possible to call a report whith Ñ character in it's file name

    Hi,
    We have a customer which is having problem when calling a report when the file name has Ñ character, for example: reportedeañonuevo.rdf
    when invoking the report it gets the following error:
    REP-110: File reportede¿. cannot be opened
    REP-1070: An error occurred while opening or saving a document
    REP-0110: File reportede¿. cannot be opened
    The customer has reports 11g 11.1.1.6 64bits
    Regards
    Carlos

    calling a report with Ñ character in it's file name is not possible ?I didn't say that. I just said: try B-) I have no environment to try it myself right now.
    Furthermore: how are you calling your report? Directly via URL, or via Forms run_report_object?
    It is a very usual situation that you have to escape special characters in a URL. So yes, that is normal.

  • Call alv report dynamically

    how to call 2 diff alv reports in 1 custom control dynamically

    Hi Naveen,
    REPORT ytest .
    * Based on: BCALV_GRID_DEMO.
    TYPE-POOLS: icon.
    TYPES: BEGIN OF ty_s_sflight.
    INCLUDE TYPE sflight.
    TYPES: button1 TYPE lvc_emphsz.
    TYPES: button2 TYPE lvc_emphsz.
    TYPES: button3 TYPE lvc_emphsz.
    TYPES: button4 TYPE lvc_emphsz.
    TYPES: END OF ty_s_sflight.
    DATA:
    gt_sflight TYPE STANDARD TABLE OF ty_s_sflight,
    gt_fcat TYPE lvc_t_fcat.
    DATA: ok_code LIKE sy-ucomm,
    * gt_sflight TYPE TABLE OF sflight,
    g_container TYPE scrfname VALUE ‘BCALV_GRID_DEMO_0100_CONT1′,
    grid1 TYPE REF TO cl_gui_alv_grid,
    g_custom_container TYPE REF TO cl_gui_custom_container.
    * CLASS lcl_eventhandler DEFINITION
    CLASS lcl_eventhandler DEFINITION.
    PUBLIC SECTION.
    CLASS-DATA:
    md_cnt TYPE i.
    CLASS-METHODS:
    handle_hotspot_click FOR EVENT hotspot_click OF cl_gui_alv_grid
    IMPORTING
    e_row_id
    e_column_id
    es_row_no
    sender.
    ENDCLASS. “lcl_eventhandler DEFINITION
    * CLASS lcl_eventhandler IMPLEMENTATION
    CLASS lcl_eventhandler IMPLEMENTATION.
    METHOD handle_hotspot_click.
    * define local data
    FIELD-SYMBOLS:
    TYPE ty_s_sflight,
    TYPE ANY.
    READ TABLE gt_sflight ASSIGNING INDEX es_row_no-row_id.
    CHECK ( IS ASSIGNED ).
    * Set all radio buttons “unselected”
    -button1 = ICON_CANCEL.
    -button2 = ICON_CANCEL.
    -button3 = ICON_CANCEL.
    -button4 = ICON_CANCEL.
    ASSIGN COMPONENT e_column_id-fieldname OF STRUCTURE
    TO .
    IF ( IS ASSIGNED ).
    * Set selected radio button “selected”.
    = ICON_OKAY.
    ENDIF.
    * Force PAI followed by refresh of table display in PBO
    CALL METHOD cl_gui_cfw=>set_new_ok_code
    EXPORTING
    new_code = ‘DUMMY’
    * IMPORTING
    * RC =
    ENDMETHOD. “handle_hotspot_click
    ENDCLASS. “lcl_eventhandler IMPLEMENTATION
    START-OF-SELECTION.
    * MAIN *
    PERFORM select_data.
    CALL SCREEN 100.
    * MODULE PBO OUTPUT *
    MODULE pbo OUTPUT.
    SET PF-STATUS ‘MAIN100′.
    IF g_custom_container IS INITIAL.
    CREATE OBJECT g_custom_container
    EXPORTING container_name = g_container.
    CREATE OBJECT grid1
    EXPORTING i_parent = g_custom_container.
    PERFORM build_fieldcatalog.
    CALL METHOD grid1->set_table_for_first_display
    * EXPORTING
    * i_structure_name = ‘SFLIGHT’
    CHANGING
    it_fieldcatalog = gt_fcat
    it_outtab = gt_sflight.
    * Set event handler for event TOOLBAR
    SET HANDLER:
    lcl_eventhandler=>handle_hotspot_click FOR grid1.
    else.
    CALL METHOD grid1->refresh_table_display
    * EXPORTING
    * IS_STABLE =
    * I_SOFT_REFRESH =
    EXCEPTIONS
    FINISHED = 1
    others = 2.
    IF sy-subrc 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    ENDIF.
    ENDMODULE. “PBO OUTPUT
    * MODULE PAI INPUT *
    MODULE pai INPUT.
    * to react on oi_custom_events:
    CALL METHOD cl_gui_cfw=>dispatch.
    * CASE ok_code.
    CASE sy-ucomm.
    WHEN ‘EXIT’.
    PERFORM exit_program.
    WHEN OTHERS.
    * do nothing
    ENDCASE.
    CLEAR ok_code.
    ENDMODULE. “PAI INPUT
    * FORM EXIT_PROGRAM *
    FORM exit_program.
    * CALL METHOD G_CUSTOM_CONTAINER->FREE.
    * CALL METHOD CL_GUI_CFW=>FLUSH.
    LEAVE PROGRAM.
    ENDFORM. “EXIT_PROGRAM
    *& Form BUILD_FIELDCATALOG
    * text
    * –> p1 text
    * 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    DELETE gt_fcat WHERE ( fieldname ‘EMPHASIZE’ ).
    CALL FUNCTION ‘LVC_FIELDCATALOG_MERGE’
    EXPORTING
    * I_BUFFER_ACTIVE =
    i_structure_name = ‘SFLIGHT’
    * I_CLIENT_NEVER_DISPLAY = ‘X’
    * I_BYPASSING_BUFFER =
    * I_INTERNAL_TABNAME =
    CHANGING
    ct_fieldcat = gt_fcat
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 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.
    READ TABLE gt_fcat INTO ls_fcat
    WITH KEY fieldname = ‘EMPHASIZE’.
    IF ( syst-subrc = 0 ).
    DELETE gt_fcat INDEX syst-tabix.
    ENDIF.
    ls_fcat-fieldname = ‘BUTTON4′.
    ls_fcat-icon = ‘X’.
    ls_fcat-hotspot = ‘X’.
    INSERT ls_fcat INTO gt_fcat INDEX 4.
    ls_fcat-fieldname = ‘BUTTON3′.
    INSERT ls_fcat INTO gt_fcat INDEX 4.
    ls_fcat-fieldname = ‘BUTTON2′.
    INSERT ls_fcat INTO gt_fcat INDEX 4.
    ls_fcat-fieldname = ‘BUTTON1′.
    INSERT ls_fcat INTO gt_fcat INDEX 4.
    LOOP AT gt_fcat INTO ls_fcat.
    ls_fcat-col_pos = syst-tabix.
    MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
    ENDLOOP.
    ENDFORM. ” BUILD_FIELDCATALOG
    *& Form SELECT_DATA
    * text
    * –> p1 text
    Reward pts if found usefull
    Regards
    Sathish

  • Is possible to change ALV report  which include ALE change ?

    I friends , i have developed an ALV report and now a new require ment has come , it is , the client wants to make it  ALE enable . I have no idea how to include ALE changes to it ? If any body of you have any idea please help me  from beginning?

    HI,
    for ALE enabling, you have create idoc's for the alv data and distribute them to the target server.
    for step by step implementation of ALE check this link.
    http://www.sappoint.com/abap.html
    Regards,
    Wasim Ahmed
    Message was edited by: Wasim Ahmed

  • Is it possible to call a report in VISUAL COMPOSER?

    Dear SDN,
    I have created two Queries in Query designer.
    As per the user requirement I did some cosmetic changes in report designer I have merged that two queries and created one report.
    Can I call report designer(report) in Visual composer?
    Please let me know if you need any more information.
    Thanks & Regards,
    Kiran

    Hi Kiran,
    Try the below links.
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
    /people/community.user/blog/2006/12/27/enterprise-reporting-query-and-analysis-an-overview-of-design-and-analysis-tools-for-business-intelligence-in-sap-netweaver-2004s
    Hope it helps...
    Regards
    Basheer

  • Is it possible to perform a submit after calling a report query in a branch

    I have a page which has a number of buttons, and a report on status records.
    Behind each button is some javascript which calls impromptu to force the user to enter a description via a modal text box.
    After the user has entered the text, the javascript submits the page setting the request to a status value.
    The page has a process which populates a number of collections and another process which inserts a status record.
    The page also has a number of branches, which call report queries (with individual layouts) depending upon the status of the request.
    I think the problem is because the branches call the report queries, the page is not refreshing and the user is not seeing the newly created status record.
    Possible solutions?
    1. Is it possible to call the report queries from javascript?
    2. Can the branch for the report query be forced to submit the page?
    Thanks
    Paul

    Hi Ravi,
    Thanks for your prompt response.
    Settings are as follows:
    POSITION MANAGEMENT  (STANDARD SETTINGS)
    3500 - MTM, FX trans, post to same components, Step Type 4, Procedure 1000 (MTM)
    4000 - Spot/Spot, FX trans Spot/spot, post to used components, Step Type 6, Procedure 1000
    Which is preferable?
    In my example, I am using 3500
    FOREIGN CURRENCY VALUATION PROCEDURE
    1000 - Mark to Market P + L
    Price/Rate Type = M
    Comp for valuation = Book value
    Write up rule = write up to MV/PV
    Write down to MV/PV
    Clear exchange rate gains/losses = NULL
    Many thanks for your assistance.
    Regards,
    Chris

  • Is it possible to call different queries in a report whn called from a form

    hello all
    I want to know if it is possible to call different report queries when called from oracle 9i form .
    i tried to use he
    SET_REPORT_OBJECT_PROPERTY(REPORT_QUERY = 'q_diff' )
    option and actualy called the report name
    but it dint seem to work !!!
    also is it possible to chng the title of the browser at runtime

    hello,
    not sure i understand what you are trying to achive. you can change the SQL statement at runtime by using e.g. lexicals in the SQL statement.
    w.r.t. changing the browser title, check the report level properties that define the pre- and post HTML code that is generated into the output.
    regards,
    philipp

  • Is it possible to call a Crystal Report from Oracle Forms.

    Hi Everybody,
    I got a Dout about Crystal Reports. Is it possible to call Crystal Reports from Oracle Forms.

    Hello,
    That depends are you running Forms via the WEB or client/server. I will assume you are running client/server since you are running crystal reports. The answer is yes. All you will have to do is use the HOST command or the win_api_shell to run the report. Look in the Forms manual for information on the commands and what else you may need.
    John

  • Saving ALV Report tree to pdf

    Is it possible to save ALV Report Tree to pdf for all versions (old & new) of SAP? If yes, then what is the way to save the ALV tree to pdf in different versions, which also includes BW & APO systems? The ALV tree also includes some hotspots, if that also matters in some way !!

    Hi
    call this function module
    CONCATENATE l_fullpath '.rtf' INTO l_fullpath.
    CALL FUNCTION 'GUI_DOWNLOAD'
    __EXPORTING
    ____filename = l_fullpath
    ____filetype = 'ASC'
    ____write_field_separator = 'X'
    __TABLES
    ____data_tab = lt_tree.
    Where lt_tree content looks like this :
    COL1__________COL2
    Parent1________(initial)
    (initial)_________child1_1
    (initial)_________child1_2
    Parent2________(initial)
    (initial)_________child2_1
    etc...

Maybe you are looking for

  • Mac mini not connecting thru yamaha receiver

    Hi, first time Mac user and first time poster here! I unboxed my Mac mini today and first connected it via hdmi to my yamaha a/v receiver (RX-V667). This is how my tv and Blu Ray are connected as well, and then I have one single hdmi output to my tv.

  • Apple's Mail with disturbing info

    I recently switched from Entourage 2008 to Mail 2008 because I lost all contact and calendar sync ability. All went well until a few days ago. When I tab-alt to switch to another program and/or space, the Mail icon says that I have 780 emails. When I

  • Special purpose ledge and Account Payable-subledger mismatch

    Hi Experts, After linking both the SPL-Special purpose ledger data and the AP data record by record,  the Account Number in Group, Local Amount, Local Currency is different in SPL and AP for many records. They wanted to know why there is a difference

  • Append data to a nested table within structure

    I am trying to write some code (not really an ABAPer but helping out) and my code is not quite working. i have a structure that is made up of up three tables and a structure.  it is part of an DIMP add on. I have typed my tables and structures and ta

  • Change URL portal

    Hi experts, I have a problem, i want change the URL portal, from  http://<server>:<port>/irj/portal to http://>server>:<port>/myportal ; is it possible? How can do it? Thanks in advance, Regards,