How to parameter F4IF_INT_TABLE_VALUE_REQUEST?

Hi experts,
could u explain, what are the parameters in this function? I tried to parameter the function, but no value found and nothing was displayed.
  CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
       ddic_structure         = '
      retfield               = '  '
    PVALKEY                = ' '
    DYNPPROG               = ' '
    DYNPNR                 = ' '
    DYNPROFIELD            = ' '
    STEPL                  = 0
    WINDOW_TITLE           =
    VALUE                  = ' '
    VALUE_ORG              = 'C'
    MULTIPLE_CHOICE        = ' '
    DISPLAY                = ' '
    CALLBACK_PROGRAM       = ' '
    CALLBACK_FORM          = ' '
     TABLES
       value_tab              =
    FIELD_TAB              =
    RETURN_TAB             =
    DYNPFLD_MAPPING        =

hi,try this code
SELECT-OPTIONS: s_f4 for wa_tab-f1.
INITIALIZATION.
PERFORM get_search_hlp_values.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_f4-low.
PERFORM get_f4help CHANGING s_f4-low.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_f4-high.
PERFORM sub_get_f4help CHANGING s_f4-high.
FORM get_search_hlp_values.
fill itab with values here
ENDFORM. " sub_get_search_hlp_values
FORM sub_get_f4help_for_user CHANGING p_bname TYPE char10.
DATA: l_i_field TYPE STANDARD TABLE OF dfies INITIAL SIZE 0,
l_wa_field TYPE dfies,
l_i_return TYPE TABLE OF ddshretval,
l_wa_return TYPE ddshretval.
CONSTANTS: c_feild TYPE dfies-fieldname VALUE 'BNAME',
c_dynprg TYPE sy-repid VALUE 'RSSYSTBD',
c_dynpnr TYPE sy-dynnr VALUE '1000',
c_dynfeild TYPE help_info-dynprofld VALUE 'S_BNAME-LOW',
c_stepl TYPE sy-stepl VALUE '0',
c_valueorg TYPE ddbool_d VALUE 'C'.
Populate the Field table
l_wa_field-tabname = 'QMFE'.
l_wa_field-fieldname = 'FECOD'.
APPEND l_wa_field TO l_i_field.
IF NOT i_data[] IS INITIAL.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = c_feild
dynpprog = c_dynprg
dynpnr = c_dynpnr
stepl = c_stepl
value_org = c_valueorg
TABLES
value_tab = i_tab
field_tab = l_i_field
return_tab = l_i_return
EXCEPTIONS
parameter_error = 1
no_values_found = 2
OTHERS = 3.
READ TABLE l_i_return INTO l_wa_return
WITH KEY fieldname = 'FECOD'.
IF sy-subrc EQ 0.
p_bname = l_wa_return-fieldval.
ENDIF.
ENDIF.
ENDFORM. " get_F4help
thanks

Similar Messages

  • How give parameter to jasper report form sun studio

    hi master
    sir i use ireport that run well but sir how call that report with parameter
    how give parameter and datasource to japer report
    please give me idea
    thank's
    aamir

    Hello,
    THIS IS NOT WORKING ...SHOWING AN ERROR CANNOT FIND MENU ITEM .This error means you are not giving the correct menu name and item name.
    Open the menu and select the menu which you want to enable/disable dynamically then press F3 (for calling object navigator). You will find the menu name and item name (selected). Note that menu name and item name then use as below...
    SET_MENU_ITEM_PROPERTY('MENU_NAME.ITEM_NAME',ENABLED,PROPERTY_TRUE);-Ammad

  • How to use - F4IF_INT_TABLE_VALUE_REQUEST

    Hi,
    How I have to use the function module "F4IF_INT_TABLE_VALUE_REQUEST".  I am not getting any values in return.
    thanks,
    bsv.

    select kunnr name1
      from kna1
      into table it_valid.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
        exporting
          ddic_structure         = 'Z20S_KNA1'
          retfield               = 'CUSTNUM'
      PVALKEY                = ' '
          dynpprog               = 'SAPMZ20_CUSTDAY2'
          dynpnr                 = '706'
          dynprofield            = 'Z20T_KNA1-CUSTNUM'
      STEPL                  = 0
      WINDOW_TITLE           =
      VALUE                  = ' '
          value_org              = 'S'
      MULTIPLE_CHOICE        = ' '
      DISPLAY                = ' '
      CALLBACK_PROGRAM       = ' '
      CALLBACK_FORM          = ' '
      MARK_TAB               =
    IMPORTING
      USER_RESET             =
        tables
          value_tab              = it_valid
      FIELD_TAB              =
      RETURN_TAB             =
      DYNPFLD_MAPPING        =
    EXCEPTIONS
      PARAMETER_ERROR        = 1
      NO_VALUES_FOUND        = 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.

  • How to implement F4IF_INT_TABLE_VALUE_REQUEST in search help User Exit?

    Hi,
    I need to enhanse search help and add F4 functionality to display list of company codes when cursor is in PBUKR field. I put F4IF_INT_TABLE_VALUE_REQUEST
    into the user exit but nothing works.
    I get error that PROCESS is not defined. If I remove that line there is no error but nothing works.
    Can someone tell me what is wrong in the code below.
    Thank you.
    FUNCTION z_hr_shlp_wbs_element.
    ""Local interface:
    *"  TABLES
    *"      SHLP_TAB TYPE  SHLP_DESCR_TAB_T
    *"      RECORD_TAB STRUCTURE  SEAHLPRES
    *"  CHANGING
    *"     VALUE(SHLP) TYPE  SHLP_DESCR_T
    *"     VALUE(CALLCONTROL) LIKE  DDSHF4CTRL STRUCTURE  DDSHF4CTRL
      TABLES: prps.
      DATA: it_prps LIKE prps OCCURS 0 WITH HEADER LINE.
      DATA: status_tab LIKE jstat OCCURS 0 WITH HEADER LINE.
      DATA: l_posid LIKE prps-posid.
      DATA: l_subrc LIKE sy-subrc.
      DATA: l_pbukr LIKE prps-pbukr,   " Added by vr
            value TYPE DDSHIFACE-VALUE.
    EXIT immediately, if you do not want to handle this step
      IF callcontrol-step <> 'SELONE' AND
         callcontrol-step <> 'SELECT' AND
                                           " AND SO ON
         callcontrol-step <> 'DISP'.
        EXIT.
      ENDIF.
    ------------------------------------------------------ added by vr
    PROCESS ON VALUE-REQUEST.
    FIELD PRPS-PBUKR MODULE PBUKR.
      DATA: BEGIN OF VALUE_TAB OCCURS 0,
      LPBUKR LIKE PRPS-PBUKR,
      LPOSID LIKE PRPS-POSID,
      END OF VALUE_TAB.
    DATA: BEGIN OF RETURN_TAB OCCURS 0.
    INCLUDE STRUCTURE DDSHRETVAL.
    DATA END OF RETURN_TAB.
    SELECT PBUKR POSID FROM PRPS UP TO 20 ROWS
    INTO TABLE VALUE_TAB WHERE SLWID = 'QLT UDF'.
    CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
    EXPORTING
    RETFIELD = 'PBUKR'
    WINDOW_TITLE = 'Statusselektion'
    VALUE_ORG = 'S' "hierdurch kann die Struktur genommen werden
    TABLES
    VALUE_TAB = VALUE_TAB
    RETURN_TAB = RETURN_TAB
    EXCEPTIONS
    PARAMETER_ERROR = 1
    NO_VALUES_FOUND = 2
    OTHERS = 3.
    end of additions
    STEP SELONE  (Select one of the elementary searchhelps)
    This step is only called for collective searchhelps. It may be used
    to reduce the amount of elementary searchhelps given in SHLP_TAB.
    The compound searchhelp is given in SHLP.
    If you do not change CALLCONTROL-STEP, the next step is the
    dialog, to select one of the elementary searchhelps.
    If you want to skip this dialog, you have to return the selected
    elementary searchhelp in SHLP and to change CALLCONTROL-STEP to
    either to 'PRESEL' or to 'SELECT'.
      IF callcontrol-step = 'SELONE'.
      PERFORM SELONE .........
        EXIT.
      ENDIF.
    STEP PRESEL  (Enter selection conditions)
    This step allows you, to influence the selection conditions either
    before they are displayed or in order to skip the dialog completely.
    If you want to skip the dialog, you should change CALLCONTROL-STEP
    to 'SELECT'.
    Normaly only SHLP-SELOPT should be changed in this step.
      IF callcontrol-step = 'PRESEL'.
      PERFORM PRESEL ..........
        EXIT.
      ENDIF.
    STEP SELECT    (Select values)
    This step may be used to overtake the data selection completely.
    To skip the standard seletion, you should return 'DISP' as following
    step in CALLCONTROL-STEP.
    Normally RECORD_TAB should be filled after this step.
    Standard function module F4UT_RESULTS_MAP may be very helpfull in this
    step.
      IF callcontrol-step = 'SELECT'.
    Maximum records are set to 0 because the counter for Max records keeps
    running, even if you filter out certain records. This is a similar
    problem as described in OSS Note 148525.
    Feb 3, 2004 LS: devk907353
                    (maxrecords = 0 defaults to maxrecords 500)
                    As of release 4.7, it appears that maxrecords is
                    being considered on the read of the view, rather
                    than prior to presenting the selection list.
                    When only 500 records are passed into this exit,
                    the subsequent evaluation yields very few records
                    in the selection list.  By setting maxrecords to
                    8000, the entire contents of the view are passed
                    to this user exit, and therefor the search help
                    yields a reasonable selection list to the user
                    (as was the case in release 4.6b).
      callcontrol-maxrecords = 0.        " devk907353
        callcontrol-maxrecords = 8000.     " devk907353
      PERFORM STEP_SELECT TABLES RECORD_TAB SHLP_TAB
                          CHANGING SHLP CALLCONTROL RC.
      IF RC = 0.
        CALLCONTROL-STEP = 'DISP'.
      ELSE.
        CALLCONTROL-STEP = 'EXIT'.
      ENDIF.
        EXIT. "Don't process STEP DISP additionally in this call.
      ENDIF.
    Added by vr, Nov. 2007 ---------------------------
      CALL FUNCTION 'F4UT_PARAMETER_VALUE_GET'
      EXPORTING
        PARAMETER               = 'PBUKR' " Reference to search help parameter
      IMPORTING
        VALUE                   = value
      TABLES
        SHLP_TAB                = shlp_tab
        RECORD_TAB              = record_tab
      CHANGING
        SHLP                    = shlp
        CALLCONTROL             = callcontrol.
      l_pbukr = value.
    End of additions by vr ---------------------------
    STEP DISP     (Display values)
    This step is called, before the selected data is displayed.
    You can e.g. modify or reduce the data in RECORD_TAB
    according to the users authority.
    If you want to get the standard display dialog afterwards, you
    should not change CALLCONTROL-STEP.
    If you want to overtake the dialog on you own, you must return
    the following values in CALLCONTROL-STEP:
    - "RETURN" if one line was selected. The selected line must be
      the only record left in RECORD_TAB. The corresponding fields of
      this line are entered into the screen.
    - "EXIT" if the values request should be aborted
    - "PRESEL" if you want to return to the selection dialog
    Standard function modules F4UT_PARAMETER_VALUE_GET and
    F4UT_PARAMETER_RESULTS_PUT may be very helpfull in this step.
      IF callcontrol-step = 'DISP'.
    DEVK909420 Begin
      SELECT * FROM prps INTO TABLE it_prps
         WHERE belkz = 'X'.
    Changed by vr, Nov. 2007
      IF l_pbukr <> ''.
        SELECT * FROM prps INTO TABLE it_prps
           WHERE belkz =  'X'
             AND fkstl <> ''
             AND pbukr = l_pbukr.
        ELSE.
        SELECT * FROM prps INTO TABLE it_prps
           WHERE belkz =  'X'
             AND fkstl <> ''.
        ENDIF.
    End of changes
    DEVK909420 End
        SORT it_prps BY posid.
        LOOP AT record_tab.
          l_posid = record_tab+96(24).
          READ TABLE it_prps WITH KEY posid = l_posid.
          IF sy-subrc = 0.
            CALL FUNCTION 'STATUS_READ'
                 EXPORTING
                      objnr       = it_prps-objnr
                      only_active = 'X'
                 TABLES
                      status      = status_tab.
    DEVK909329 Begin
            read table status_tab with key inact = ''
                                           stat  = 'E0001'.
            if sy-subrc is initial.
              read table status_tab with key inact = ''         "DEVK909345
                                             stat  = 'I0002'.   "DEVK909345
            endif.
    DEVK909329 End
          ENDIF.
          IF sy-subrc NE 0.
            DELETE record_tab.
          ELSE.
           IF record_tab+114(1) EQ '.' AND
              record_tab+115(1) EQ '9'.
             DELETE record_tab.
           ELSE.
    DEVK909420 Begin
            IF record_tab+102(1) EQ '9'.
              DELETE record_tab.
            ELSEIF record_tab+104(1) EQ '9'.
              DELETE record_tab.
            ENDIF.
    DEVK909420 End
           ENDIF.
          ENDIF.
        ENDLOOP.
        EXIT.
      ENDIF.
    ENDFUNCTION.

    Hi Vitaly,
    Process on Value Request and search help exit is entirely two idea to display the f4 values.please remove the PROCESS ON VALUE REQUEST from the function module.write the required select statements after   CHECK callcontrol-step EQ 'SELECT' . and pass the value to the function module
    CALL FUNCTION 'F4UT_RESULTS_MAP'
          TABLES
            shlp_tab          = shlp_tab
            record_tab        = record_tab
            source_tab        = l_record
          CHANGING
            shlp              = shlp
            callcontrol       = callcontrol
          EXCEPTIONS
            illegal_structure = 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.
        IF ( sy-subrc = 0 AND l_record IS INITIAL ).
          MESSAGE 'No values found' TYPE 'S'.
        ENDIF.
        callcontrol-step = 'DISP'.
    Find the documentaion for this function module for further help
    message edited by
    shibu

  • How return parameter ref Cursor from procedure using dynamic SQL?

    I sorry, but i very need help.
    I using Oracle 8.0.6
    I need to return parameter of type ref Cursor from procedure.
    create or replace package PlanExp is
    type cursortype is ref cursor;
    procedure ShowPlan (cursorparam out
    cursortype.............);
    end PlanExp;
    create or replace package body PlanExp is
    procedure ShowPlan (cursorparam out cursortype,
    .............) Is
    sql_str varchar2(1000);
    sql_str_select varchar2(100);
    sql_str_from varchar2(100);
    sql_str_where varchar2(500);
    Return_Code integer;
    Num_Rows integer;
    cur_id_sel integer;
    tSum_Plan DBMS_SQL.NUMBER_TABLE;
    tSum_Plan_Ch DBMS_SQL.NUMBER_TABLE;
    tSum_Plan_Day DBMS_SQL.NUMBER_TABLE;
    begin
    /* calculating string variables ........... /*
    sql_str := 'select ' || sql_str_select ||
    'from ' || sql_str_from ||
    'where ' || sql_str_where ||
    'group by ' || sql_str_select;
    cur_id_sel := dbms_sql.open_cursor;
    dbms_sql.parse(cur_id_sel, sql_str, dbms_sql.native);
    dbms_sql.define_array(cur_id_sel, 1, tSum_Plan, 20, 1);
    dbms_sql.define_array(cur_id_sel, 2, tSum_Plan_Ch, 20, 1);
    dbms_sql.define_array(cur_id_sel, 3, tSum_Plan_Day, 20, 1);
    Return_Code := dbms_sql.execute(cur_id_sel);
    delete from TEMP_SHOWPLAN;
    Loop
    Num_Rows := dbms_sql.Fetch_Rows(cur_id_sel);
    dbms_sql.column_value(cur_id_sel, 1, tSum_Plan);
    dbms_sql.column_value(cur_id_sel, 2, tSum_Plan_Ch);
    dbms_sql.column_value(cur_id_sel, 3, tSum_Plan_Day);
    if Num_Rows = 0 then
    exit;
    end if;
    Exit When Num_Rows < 20;
    End Loop;
    dbms_sql.close_cursor(cur_id_sel);
    end;
    end PlanExp;
    How return cursor (cursorparam) from 3 dbms_sql.column_value-s ?

    I am using Oracle 8.1.7, so I don't know if this will work in
    8.0.6 or not:
    SQL> CREATE TABLE test
      2    (col1                    NUMBER,
      3     col2                    NUMBER,
      4     col3                    NUMBER)
      5  /
    Table created.
    SQL> INSERT INTO test
      2  VALUES (1,1,1)
      3  /
    1 row created.
    SQL> INSERT INTO test
      2  VALUES (2,2,2)
      3  /
    1 row created.
    SQL> INSERT INTO test
      2  VALUES (3,3,3)
      3  /
    1 row created.
    SQL> CREATE TABLE temp_showplan
      2    (tSum_Plan               NUMBER,
      3     tSum_Plan_Ch            NUMBER,
      4     tSum_Plan_Day           NUMBER)
      5  /
    Table created.
    SQL> EDIT planexp
    CREATE OR REPLACE PACKAGE PlanExp
    IS
      TYPE CursorType IS REF CURSOR;
      PROCEDURE ShowPlan
        (cursorparam    IN OUT CursorType,
         sql_str_select IN     VARCHAR2,
         sql_str_from   IN     VARCHAR2,
         sql_str_where  IN     VARCHAR2);
    END PlanExp;
    CREATE OR REPLACE PACKAGE BODY PlanExp
    IS
      PROCEDURE ShowPlan
        (cursorparam    IN OUT CursorType,
         sql_str_select IN     VARCHAR2,
         sql_str_from   IN     VARCHAR2,
         sql_str_where  IN     VARCHAR2)
      IS
        sql_str                VARCHAR2 (1000);
        cur_id_sel             INTEGER;
        return_code            INTEGER;
      BEGIN
        DELETE FROM temp_showplan;
        sql_str := 'INSERT INTO   temp_showplan '
               || ' SELECT '   || sql_str_select
               || ' FROM '     || sql_str_from
               || ' WHERE '    || sql_str_where;
        cur_id_sel := DBMS_SQL.OPEN_CURSOR;
        DBMS_SQL.PARSE (cur_id_sel, sql_str, DBMS_SQL.NATIVE);
        return_code := DBMS_SQL.EXECUTE (cur_id_sel);
        DBMS_SQL.CLOSE_CURSOR (cur_id_sel);
        OPEN cursorparam FOR SELECT * FROM temp_showplan;
      END ShowPlan;
    END PlanExp;
    SQL> START planexp
    Package created.
    Package body created.
    SQL> VARIABLE g_ref REFCURSOR
    SQL> EXEC PlanExp.ShowPlan (:g_ref, 'col1, col2,
    col3', 'test', ' 1 = 1 ')
    PL/SQL procedure successfully completed.
    SQL> PRINT g_ref
    TSUM_PLAN TSUM_PLAN_CH TSUM_PLAN_DAY
             1            1             1
             2            2             2
             3            3             3

  • Test Stand: How does parameter's value is passed as command line argument?

    Hi All,
    This is my 1st Q on this board.
    I'm using Test Stand Sequence to call a subsequence where I call an executable file and passing few arguments to it.
    SuperSequence.seq => SubSequence.seq
    In SuperSequence.seq I have 3 parameters and their values are specified
    Parameters
    Name      Type    Value
    ==============================
    Name      string    "Nirvana"
    Address  string    "London"
    Tel           Number "123456"
    In SubSeq.seq I call and EXE with following parameters
    Executable Path Name: myApp.exe
    Argument Expressxion:  "Parameters.Name  Parameters.Address  Parameters.Tel"
    In the application I receive parameter names instead of their values?
    E.g. I recevie Parameters.Name  Parameters.Address  Parameters.Tel in myApp.exe as arguments.
    How do I make the values to be passed to myApp.exe instaed of parameter names?
    Cheers
    Nirvana

    Hi,
    You have to make a string containing the arguments that you require
    Try the following expression
    Parameters.Name  + " " + Parameters.Address + " " +Str( Parameters.Tel)
    Regards
    Ray Farmer
    Regards
    Ray Farmer

  • How send parameter in prerender() function for query

    Sir I use requestbean for sending data to next page
    Because want use this parameter in query
    I get data as per this parameter
    But when I call next page not pass parameter value to next page and query use blank parameter
    I write code in prerender()
    See my code
    public void prerender() {
    try {
    getSessionBean1().getTripRowSet().setObject( 1, parameter1..getValue());
    tripDataProvider.refresh();
    } catch (Exception e) {
    error("Cannot switch to person " + &#8220;no record &#8220;);
    log("Cannot switch to person " + &#8220;no record , e);
    Please give me idea how I send my parameter in prerender() function for query
    Thank&#8217;s
    aamir

    sir i try SessionBean but same as result
    sir you see my full problem
    I use studio creator
    I create two page first for sending data to other page such as user login page
    I add property in SessionBean, RequestBean and bind to data with my user name textfield
    and in next page I bind to data with other textfield
    after this I try to use this textfield use in
    public void prerender() {  
    try {
    getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
    chartofaccDataProvider.refresh();
    } catch (Exception e) {
    error("Cannot switch to person " + �noooo�t);
    log("Cannot switch to person " + �noooo�, e);
    In this line I use that textfiled that bind to data form login page
    getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
    but sir this public void prerender() {   function t not get textfield1 value in this function textfield give me null value
    but when page complete run then show value in textfield
    it mean this public void prerender() { function run befor  SessionBean, RequestBean and not get SessionBean, RequestBean value
    please give me idea how I pass value in public void prerender() { function form other page and I use this value in query
    such as example
    getSessionBean1().getChartofaccRowSet().setObject(1, textfield1.getValue());
    this is my sessionbean query
    SELECT ALL FNET.CHARTOFACC.PARENT,
    FNET.CHARTOFACC.CHILD,
    FNET.CHARTOFACC.ACCID,
    FNET.CHARTOFACC.TITLE,
    FNET.CHARTOFACC.CAMPID,
    FNET.CHARTOFACC.ACTIVE,
    FNET.CHARTOFACC.FSTATUS,
    FNET.CHARTOFACC.COMHEADID,
    FNET.CHARTOFACC.FIX_VARIABLE,
    FNET.CHARTOFACC.VARI_PER
    FROM FNET.CHARTOFACC
    WHERE FNET.CHARTOFACC.CAMPID = ?
    please give me idea
    thank�s
    aamir
    SELECT ALL FNET.CHARTOFACC.PARENT,
    FNET.CHARTOFACC.CHILD,
    FNET.CHARTOFACC.ACCID,
    FNET.CHARTOFACC.TITLE,
    FNET.CHARTOFACC.CAMPID,
    FNET.CHARTOFACC.ACTIVE,
    FNET.CHARTOFACC.FSTATUS,
    FNET.CHARTOFACC.COMHEADID,
    FNET.CHARTOFACC.FIX_VARIABLE,
    FNET.CHARTOFACC.VARI_PER
    FROM FNET.CHARTOFACC
    WHERE FNET.CHARTOFACC.CAMPID = ?

  • How result_cache_max_size parameter works

    Can you please explain the result_cache_max_size parameter in oracle 11g. If we increase or decrease this paramater value what will be the result in terms of performance..
    sga is 3GB
    result_cache_max_size is 5mb
    result_cache_mode is manual
    OS is AIX5.3
    Oracle version is 11.2.0.1

    Our presnt size is 5mb and if we increased it to 250mb will it work, how to calculate the size? pls guide. it should work,by default it use below.
    When using the MEMORY_TARGET initialization parameter to specify the memory allocation, Oracle allocates 0.25% of memory_target to the result cache.
    When you set the size of the shared pool using the SGA_TARGET initialization parameter, Oracle allocates 0.5% of sga_target to the result cache.
    If you specify the size of the shared pool using the SHARED_POOL_SIZE initialization parameter, then Oracle allocates 1% of the shared pool size to the result cache.
    http://docs.oracle.com/cd/B28359_01/server.111/b28274/memory.htm#BGBBIACC
    and check "7.3.4.1.3 Allocating Additional Memory to the Result Cache"
    Thanks
    Kuljeet Pal Singh
    Edited by: Kuljeet Pal Singh on May 17, 2012 12:14 PM

  • How pass parameter to report?

    i want to have a report which show the orders of a certain customer
    select order_date , customer_name , order_value from orders
    where customer_id = my_variable
    my variable is the parameter to be passed to the report
    How can i pass the value to the report where parameter name is my_variable
    help
    Best Regards
    Mohamed Hammed

    Hi all,
    Finally i got succeed
    here is a sample code
    and here is how to call a report from a form
    1-Form
    Create Button Action
    Custom
    declare
    input_MEMBERSHIP_NUMBER number;
    l_url varchar2(2000);
    begin
    input_MEMBERSHIP_NUMBER:= p_session.get_value_as_number( p_block_name => 'DEFAULT',
    p_attribute_name => 'A_MEMBERSHIP_NUMBER');
    l_url :=
    'http://servername:7778/pls/portal/PORTAL_DB.SPECIALIZATION_REMOTE.show?p_arg_names=input_MEMBERSHIP_NUMBER&p_arg_values='||input_MEMBERSHIP_NUMBER;
    portal.wwa_app_module.set_target(l_url);
    end;
    2-report
    SQL Used in the report:
    select * from PORTAL_DB.SPECIALIZATION_tab where
    SPECIALZATION_DELETE_DATE IS NULL
    AND MEMBERSHIP_NUMBER = :input_MEMBERSHIP_NUMBER
    order by DEPARTMENT_CODE

  • How pass parameter to function

    I have created function name is 'Funsepratecolumvaue'
    and I took one parameter, I want to pass this parameter out put of below variable, how can i do
    declare @para varchar(500);
    set @para='select rawRow from sepratecolumvaue'
    I tried like this  
    select * from Funsepratecolumvaue (@para)
    but directly passed select query

    Is this something you are looking for?
    Yes, you can with the help of apply clause.
    CREATE FUNCTION dbo.fnSplit(
    @sInputList VARCHAR(8000) -- List of delimited items
    , @sDelimiter VARCHAR(8000) = ' ' -- delimiter that separates items
    ) RETURNS @List TABLE (item VARCHAR(8000))
    BEGIN
    DECLARE @sItem VARCHAR(8000)
    --declare @sDelimiter varchar(8000) = ' '
    WHILE CHARINDEX(@sDelimiter,@sInputList,0) <> 0
    BEGIN
    SELECT
    @sItem=RTRIM(LTRIM(SUBSTRING(@sInputList,1,CHARINDEX(@sDelimiter,@sInputList,0)-1))),
    @sInputList=RTRIM(LTRIM(SUBSTRING(@sInputList,CHARINDEX(@sDelimiter,@sInputList,0)+LEN(@sDelimiter),LEN(@sInputList))))
    IF LEN(@sItem) > 0
    INSERT INTO @List SELECT @sItem
    END
    IF LEN(@sInputList) > 0
    INSERT INTO @List SELECT @sInputList -- Put the last item in
    RETURN
    END
    GO
    create table table1
    id int,
    name char(10),
    dept varchar(20))
    insert into table1 values(1,'aa','1,2,3,4,5')
    insert into table1 values(3,'bb','1,2,3')
    select * from table1
    OUTER APPLY dbo.fnSplit(dept,',') p
    --Prashanth

  • How pass parameter from Form to Graphics through Report?

    I wrote a Report called by a Form and pass a parameter from the
    Form to the Report, successfully! But I imported a Graphic in
    the Report, and the Graphic could not get the parameter...(the
    parameter in the Report and Graphic should both pass from the
    Form).
    I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    and I imported the image from file for the Graphic in the Report.
    Thanks for your help!
    null

    Meilan (guest) wrote:
    : I wrote a Report called by a Form and pass a parameter from the
    : Form to the Report, successfully! But I imported a Graphic in
    : the Report, and the Graphic could not get the parameter...(the
    : parameter in the Report and Graphic should both pass from the
    : Form).
    : I call the Report by " Run_Product( REPORTS, :V_PRTNAME,
    : SYNCHRONOUS, RUNTIME, FILESYSTEM, pl_id,NULL); " in the Form.
    : and I imported the image from file for the Graphic in the
    Report.
    : Thanks for your help!
    Meilan,
    This forum is for Headstart related questions and experiences
    only. Please go to metalink.oracle.com to get more information on
    your problem.
    Regards,
    Ton
    null

  • How Pass parameter with Activex Viewer

    Developper enviroment:
    - Crystal Report XI
    - Visual Basic 6.3
    - Access 2007
    Installa library : CRAXDDRT, CrystalActiveXReportViewerLib11_5
    I need to pass some Value to the parameter  field of my reports.
    I use this code that working well to show the report and I need to add the right code to pass some parameter to the Report.
        Dim CRXApplication As CRAXDDRT.Application
        Dim CRXReport As CRAXDDRT.report    
    Private Sub Form_Load()
        Set CRXApplication = CreateObject("CrystalRuntime.Application")
        Set CRXReport = CRXApplication.OpenReport("C:\GR&A_Trend\R1_analisi.rpt", 0)   
        CrystalActiveXReportViewer4.ReportSource = CRXReport      
        CrystalActiveXReportViewer4.ViewReport   
        CrystalActiveXReportViewer4.EnableSearchControl = True   
        CrystalActiveXReportViewer4.Zoom (100)    
    End Sub
    Can You help me  to add the right code to pass some parameter to the Report.
    Thank's
    Regards
    Giovanni Roi

    Giovanni,
    I would love to help you on this however I only work under 2008 environment. Saying that, I am sure if you can re-arrange your coding you will get the desired result.
    Here is the code which I used in my VS2008 to set the parameters under VB.net
    'declaring all the parameter value fields
                Dim crParameterFieldDefinitions As ParameterFieldDefinitions
                Dim crParameterFieldDefinition As ParameterFieldDefinition
                Dim crParameterValues As New ParameterValues
                Dim crParameterDiscreteValue1 As New ParameterDiscreteValue
                Dim crParameterDiscreteValue2 As New ParameterDiscreteValue
                'the two text boxes which will carry the discrete parameter value
                crParameterDiscreteValue1.Value = TextBox1.Text
                crParameterDiscreteValue2.Value = TextBox2.Text
                crParameterFieldDefinitions = _
        cryRpt.DataDefinition.ParameterFields
                'Start code parameter value
                crParameterFieldDefinition = _
           crParameterFieldDefinitions.Item("startcode")
                crParameterValues = crParameterFieldDefinition.CurrentValues
                crParameterValues.Clear()
                crParameterValues.Add(crParameterDiscreteValue1)
                crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
                'End code parameter value
                crParameterFieldDefinition = _
           crParameterFieldDefinitions.Item("endcode")
                crParameterValues = crParameterFieldDefinition.CurrentValues
                crParameterValues.Clear()
                crParameterValues.Add(crParameterDiscreteValue2)
                crParameterFieldDefinition.ApplyCurrentValues(crParameterValues)
    Hope this helps
    Regards
    Jehanzeb

  • How can  Parameter passing Form 6i to Report 6i

    Hi,
    I want to send a parameter from the Form 6i to run a report 6i which is used in where clause of a query. Who can I send this parameter???
    Please send me solution of this problem.
    Shahzad

    There are dozens of threads on this site regarding this topic.
    Did you bother to search first?
    Try pass parameter to report paramater form from a form

  • How to parameter BAPI_REPPROV_GETVARIABLES ??

    Hi Gurus
    I want to retrieve the selection variables of a query in an OLAP  BADI
    I think the way to do this is to call BAPI_REPPROV_GETVARIABLES .
    But  : How to find the SESSIONID it needs ?
    And : if we need the REPORTID to find the SESSIONID, how to find the REPORTID of the query ?
    thanks for any help
    James

    Hi Gurus
    I want to retrieve the selection variables of a query in an OLAP  BADI
    I think the way to do this is to call BAPI_REPPROV_GETVARIABLES .
    But  : How to find the SESSIONID it needs ?
    And : if we need the REPORTID to find the SESSIONID, how to find the REPORTID of the query ?
    thanks for any help
    James

  • UserControl in MV4 - How send parameter for get property?

    Guys, good night! 
    Build a User Control in MVC 4, I'm having trouble sending the values ​​for compomente. ASPX create the SET functions to assign values ​​in userControl. How to do this with MVC. 
    Example 
    <%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
    <div class="mini-stat clearfix">
        <span class="mini-stat-icon green"><i class="fa fa-gavel"></i></span>
            <div class="mini-stat-info">
                <span>320</span>100 - Pedido  
            </div>
    </div>
    Where has value 320 and 100 - Order, let me make dynamic by calling the parent page. 
    . Aspx I consummated compomente Label to include this <asp: Label ..... /> 
    [] 's

    Tks.
    Post on link 
    http://forums.asp.net/p/1967471/5627909.aspx?p=True&t=635279781887247454&pagenum=1

Maybe you are looking for

  • Amount in local currency for GRs

    Hello gurus, can anyone please explain to me this phenomenon: We have got a PO for 10 pieces of a material. The price is $7,40 per 10 pieces, so $7,40 total. Someone posted a goods receipt for 7 pieces. For whatever reason the amount in local currenc

  • Media encoder keeps quitting during encode

    i've tried several different variables on my mac, but i can't seem to output a file on the same H264 settings that i use all the time. For some reason, encoder and premiere keep quitting mid-encode.

  • EO_INBOUND_PARALLEL

    From SAP Documentation: The parameter EO_INBOUND_PARALLEL is evaluated in the Integration Server inbound channel and in the Integration Engines of the sender and receiver. Here what is the meaning of "Integration Engines of the sender and receiver".

  • Assign R3 users to AD groups

    Our 4.6C system assigns user roles indirectly based upon org unit or HR position ID.  When R/3 roles are assigned indirectly, we would like to assign the user ID to a Microsoft Active Directory Group.  Does anyone know how this can be accomplished? 

  • Button event handling

    hello! i would like to convert this code in order to send the content of JTextField when the user press the button "send". how can i do this? is getActionCommand() the right method if i change enterfield.addActionListener to button.addActionListener?