How to create optional parameters in discoverer 10.1.2

I am new to discoverer, Can any one tell me how to create optional parameters in Discoverer desktop edition in 10.1.2
I looked at the following thread which says optional parameters can be created in 10.1.2 but doesn't tell how tro create it
How to create optional parameters in Discoverer
Thanks in Advance

Hi.
In the thread you quoted Michael Armstrong-Smith says that optional parameters can be created in Plus but not in Desktop and that's true.
So your question "how to create optional parameters in Discoverer desktop" is already answered in that thread.
Assume that it is a typo and you wanted to ask how to create optional parameters in Plus.
Then the answer is simple: Just uncheck the "Require users to enter a value" checkbox when creating new parameter.
Regards Jakub

Similar Messages

  • How to create Option Boxes IN A SELECTION SCREEN

    How to create Option Boxes IN A SELECTION SCREEN.
    Thanks!

    Hi Rajesh,
    The following explanation gives clear picture of what is mean of check box and radio button with coding.....................
    <b>CHECK BOX :</b>
    AS CHECKBOX [USER-COMMAND fcode]
    Effect:
    This addition specifies that the input field in the first position of the selection screen is displayed as a checkbox, with the corresponding description next to it on the right. The checkbox is selected if the value of para is "X" or r "x". Otherwise, it is not selected.
    The parameter must be created with the type c and length 1. An explicit length len is not permitted. If the addition TYPE is used, this can only be followed by the generic type c or a non-generic data type of type c and length 1.
    The addition USER-COMMAND can be used to assign a function code fcode to the parameter. The function code fcode must be directly specified and may have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects the checkbox on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
    Notes
    If the TYPE addition is used to make a reference to a data type in the ABAP Dictionary of type CHAR and length 1, and for which t the valid values in the domain are defined as "X" and " ", the parameter is automatically displayed as a checkbox on the selection screen.
    If the addition USER-COMMAND is specified without the addition AS CHECKBOX, and the parameter is of type c with length 1, it is also displayed as a checkbox.
    The addition USER-COMMAND can, for example, be used for screen modifications with the addition MODIF ID (see example).
    <b>Coding :</b>
    PARAMETERS show_all AS CHECKBOX USER-COMMAND flag.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.
    PARAMETERS: p1(10) TYPE c,
                p2(10) TYPE c,
                p3(10) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF BLOCK b2 WITH FRAME.
    PARAMETERS: p4(10) TYPE c MODIF ID bl2,
                p5(10) TYPE c MODIF ID bl2,
                p6(10) TYPE c MODIF ID bl2.
    SELECTION-SCREEN END OF BLOCK b2.
    AT SELECTION-SCREEN OUTPUT.
      LOOP AT SCREEN.
        IF show_all <> 'X' AND
           screen-group1 = 'BL2'.
           screen-active = '0'.
        ENDIF.
        MODIFY SCREEN.
      ENDLOOP.
    <b>RADIO BUTTON COMMAND :</b>
    RADIOBUTTON GROUP group [USER-COMMAND fcode]
    Effect:
    This addition specifies that the input field is displayed as a radio button in the first position on the selection screen, and the output field is displayed next to it on the right. The radio button is selected if the value of para is "X" or "x". Otherwise, it is not selected.
    group is used to define the radio button group for the parameter. The name group is entered directly as a character string with a maximum of 4 characters. Within a selection screen, there must be a minimum of two parameters in the same radio button group. There cannot be more than one radio button group with the same name in one program, even if they are defined in different selection screens.
    The parameter must be specified with the type c and length 1. Explicit length specification using len is not permitted. If the addition TYPE is used, it can only be followed by the generic type c or a non-generic data type of type c and length 1.
    In a radio button group, only one parameter can be defined with the addition DEFAULT, and the specified value must be "X". By default, the first parameter in a radio button group is set to the value "X", and the rest are set to " ".
    The addition USER-COMMAND can be used to assign a function code fcode to the first parameter in a radio button group. The function code fcode must be specified directly, and have a maximum length of 20 characters. To evaluate the function code, an interface work area of the structure SSCRFIELDS from the ABAP Dictionary must be declared using the statement TABLES. When the user selects any radio button of the radio button group on the selection screen, the runtime environment triggers the event AT SELECTION-SCREEN and transfers the function code fcode to the component ucomm of the interface work area sscrfields.
    Note:
    It is recommended to define the radio buttons of a radio button group directly underneath each other. If the selection screen also contains other elements, it is recommended to define each radio button group within a block surrounded by a frame.
    <b>CODING :</b>
    tables : mkpf,mseg,ekko.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
    PARAMETER : P_WERKS LIKE MARC-WERKS MODIF ID S1,
                c as checkbox.
    SELECT-OPTIONS : S_EBELN FOR EKKO-EBELN NO INTERVALS MODIF ID S2.
    SELECTION-SCREEN END OF BLOCK B1.
    SELECTION-SCREEN BEGIN OF BLOCK B2 WITH FRAME TITLE TEXT-004.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R1 RADIOBUTTON GROUP G1 DEFAULT 'X' USER-COMMAND UC1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-002 FOR FIELD R1.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN BEGIN OF LINE.
    PARAMETERS : R2 RADIOBUTTON GROUP G1.
    SELECTION-SCREEN COMMENT 5(20) TEXT-003 FOR FIELD R2.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK B2.
    write :/ p_werks,
           / s_ebeln.
    AT SELECTION-SCREEN OUTPUT .
    LOOP AT SCREEN .
    IF R1 EQ 'X' AND SCREEN-GROUP1 EQ 'S2'.
    SCREEN-INPUT = 0.
    SCREEN-REQUIRED = 1.
    clear s_ebeln[].
    clear p_werks.
    MODIFY SCREEN.
    ENDIF.
    IF R2 EQ 'X' AND SCREEN-GROUP1 EQ 'S1'.
    SCREEN-INPUT = 0.
    SCREEN-REQUIRED = 1.
    clear s_ebeln[].
    clear p_werks.
    MODIFY SCREEN.
    ENDIF.
    ENDLOOP.
    Let me knwo if any doubts.
    <b>Reward with points if it helpful</b>
    Regards,
    Vijay

  • How to create punlic connection in discoverer plus

    Hi All,
    There is one public connetion in discoverer plus but now it is disable , i dont know how to create public connetion
    pls help me its urgent
    thanks
    regards,

    See you duplicate post - how to create public connection in discoverer plus
    Srini

  • How to create a parameterized view

    hi all
    how to create a parameterized view

    You are welcome. ;)
    Change your username user7373437 to your real name. ;)
    - It is considered good etiquette to reward answerers with points (as "helpful" - 5 pts - or "correct" - 10pts). ;)

  • How to create Dynamic Parameters for between dates

    Hi,
    I have a requirement to create a crystal report with between dates using dynamic parameters.
    I am getting data from 'BEx Query' where already filters were defined on Date field. So While I am creating a crystal report these filters are displaying under 'Parameter Fields' automatically as Static. When I execute the report I am getting these Date's as Dropdown box. But as per the 'help' in crystal reports, static values won't get updated if any changes were taken place in backend system.
    I have created a Dynamic parameter 'StartDate', but the values are not getting populated in Dropdown box.
    Please let me know how to achieve this requirement.
    Thanks in advance.
    cheers
    dev

    Please re-post if this is still an issue or purchase a case and have a dedicated support engineer work with your directly

  • How to create dynamic parameters in ABAP report?

    Hello all,
    Kindly please help with one query asap.
    Actually i have one table in which two fields are there. One is Student name and another is age. Now i will create a report with two input parameters.
    My first parameter will be student name and second will be age. Here i will put only name of the student and while executing i want in second parameter the age of that student will come dynamically.
    So please let me know asap. will be thankful to you.

    hi,
    i am failing to see relevance of this post in WebDynpro for ABAP forum.  Requesting moderator to move to ABAP general forum.

  • How to Create a Parameterized Report - The select "- ALL-" for department and manager not working.

    I downloaded the OEHR Sample Objects application and followed the steps in Oracle® Application Express Advanced Tutorials
    Release 3.2.
    The parameters and report seem to be working correctly except when I enter "all" for department or manager I get no matching hits.
    What's the most efficient way to retrieve "all" if the users selects all for dept and mgr - thus we'd want to return all records in the table.
    Region snipprt
    Enter Search
    Search Employee
    Dept
    - ALL -
    Administration
    Marketing
    Purchasing
    Human Resources
    Shipping
    IT
    Public Relations
    Sales
    Executive
    Finance
    Accounting
    Treasury
    Corporate Tax
    Control And Credit
    Shareholder Services
    Benefits
    Manufacturing
    Construction
    Contracting
    Operations
    IT Support
    NOC
    IT Helpdesk
    Government Sales
    Retail Sales
    Recruiting
    Payroll
    Mgr
    - ALL -
    Steven King
    Neena Kochhar
    Lex De Haan
    Alexander Hunold
    Nancy Greenberg
    Den Raphaely
    Matthew Weiss
    Adam Fripp
    Payam Kaufling
    Shanta Vollman
    Kevin Mourgos
    John Russell
    Karen Partners
    Alberto Errazuriz
    Gerald Cambrault
    Eleni Zlotkey
    Michael Hartstein
    Shelley Higgins
    The following is the sql that was provided as part of the turitoral.
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
         (lower(first_name) like '%' || lower(:P1_NAME) || '%' OR
          lower(last_name) like '%' || lower(:P1_NAME) || '%')
    AND department_id = decode(:P1_DEPT,'%null%',department_id,:P1_DEPT)
    AND manager_id = decode(:P1_MGR,'%null%',manager_id,:P1_MGR)

    Hi,
    Use this..
    SELECT
       "OEHR_EMPLOYEES"."EMPLOYEE_ID" "EMPLOYEE_ID",
       "OEHR_EMPLOYEES"."FIRST_NAME" "FIRST_NAME",
       "OEHR_EMPLOYEES"."LAST_NAME" "LAST_NAME",
       "OEHR_EMPLOYEES"."EMAIL" "EMAIL",
       "OEHR_EMPLOYEES"."PHONE_NUMBER" "PHONE_NUMBER",
       "OEHR_EMPLOYEES"."HIRE_DATE" "HIRE_DATE",
       "OEHR_EMPLOYEES"."JOB_ID" "JOB_ID",
       "OEHR_EMPLOYEES"."SALARY" "SALARY",
       "OEHR_EMPLOYEES"."COMMISSION_PCT" "COMMISSION_PCT",
       "OEHR_EMPLOYEES"."MANAGER_ID" "MANAGER_ID",
       "OEHR_EMPLOYEES"."DEPARTMENT_ID" "DEPARTMENT_ID"
    FROM
       "#OWNER#"."OEHR_EMPLOYEES" "OEHR_EMPLOYEES"
    WHERE
        (:P1_NAME IS NULL OR
            (:P1_NAME IS NOT NULL AND
                    (lower(first_name) like '%' || lower(:P1_NAME) || '%') OR
                    (lower(last_name) like '%' || lower(:P1_NAME) || '%')
        ) AND
        (:P1_DEPT IS NULL OR department_id = :P1_DEPT) AND
        (:P1_MGR IS NULL OR manager_id = :P1_MGR)

  • Is it possible to use dependent parameters in discoverer

    Dear All,
    Is it possible to use dependent parameters in discoverer... Like in RDF's(concurrent program)
    Reddy.

    Hi Hussain,
    I think In Discoverer 4i there is no optional parameters Option.I wrote in condition(Desktop addition) like Org = :Org_param or org = DECODE(:"Org Parameter 1",'All',Org) .
    At the time of running work book I am passing 'All' in parameter it's taking all orgs and giving org's data.
    But in application i am not able give 'All' in parameters.
    how to do optional parameters in 4i.
    In 10G Optional parametes are there.
    Regards,
    Reddy
    Edited by: Hanimi on Apr 15, 2009 5:39 AM

  • HOW TO CREATE 2 PARAMETER IN SINGLE LINE.

    Please do NOT POST IN ALL CAPITALS
    HI,
    HOW TO CREATE TWO PARAMETERS IN A SINGLE LINE AND THE INPUT HAS TO BE DISPLAYED IT IN A POP UP BOX. THIS IS MY TRAINING TASK HELP ME TO SOLVE IT.
    REGARDS,
    SREERAM
    Edited by: Matt on Mar 19, 2009 1:26 PM

    hi,
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001.
    PARAMETERS:
    p_carrid TYPE spfli-carrid.
    SELECTION-SCREEN COMMENT 30(10) text-002.
    Parameter p_connid TYPE spfli-connid.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1.
    Radio buttons in a single line.
    SELECTION-SCREEN BEGIN OF BLOCK b1.
    SELECTION-SCREEN BEGIN OF LINE.
    SELECTION-SCREEN COMMENT 1(10) text-001.
    PARAMETERS p_rad RADIOBUTTON GROUP grp.
    SELECTION-SCREEN COMMENT 30(10) text-002.
    Parameter p_rad1 RADIOBUTTON GROUP grp.
    SELECTION-SCREEN END OF LINE.
    SELECTION-SCREEN END OF BLOCK b1
    Thanks
    Sharath

  • How to Create a Link to a Discoverer Workbook in Apps11i?-[solved]

    I tried to create a link to a disco workbook in apps 11i using metalink document 278095.1. It seems to be working ok for discoverer which is installed on the same machine as the apps11i is on(because when I clicked on the link which I have created in apps11i, I see a default disco4i welcome page which got installed out of the box with apps11i). But we are using discoverer version 10g which is on a different server. Does anyone has ideas on how to create a link for a disco workbook which is on a different server other than apps11i.
    Discoverer version is 10g
    Apps version is 11.5.10.2
    Thanks in advance

    hi Rod,
    I did as you said and it seems to be connecting to the right server. But I have one more problem. In metalink document it says I have to enter the following in the Parameters text field of Function form in apps:
    workbook=<(workbook identifier from step2) &PARAMETERS=param_parameter name One~Parameter One Value*param_parameter name Two~Parameter Two Value*
    But I dont understand what should I have in place of param_parameter name One~Parameter One Value. Is it the name of the parameter given in discoverer, if so can you give me an example of how to write it. Because when I typed the name of the parameter like &PARAMETERS=Client Id, where client Id is the name of the parameter, it is giving me the following error
    ORA-06502: PL/SQL: numeric or value error
    Thanks for your help

  • I am creating parameters in Discovere plus

    Dear ,
    I have created parameters in Discoverer Plus and follow these steps.
    •     Enter Category in the "What do you want to name this parameter?" field.
    •     Select Prod_Category from the "Which item do you want to base this parameter on?" drop-down list.
    •     Select the Create condition with operator check box and select IN from the drop-down list.
    •     Enter Select a Category in the "What prompt do you want to show for this parameter?"' field.
    •     Select the Require users to enter a value and Enable users to select multiple values check boxes.
    THESE OPTIONS ARE DISABLE on parameters vizard
    1. What default value do you want to give this parameters.
    2. Do you want to list of the value for this parameters.
    i am unable to create lov in parameters . please guide me.

    Hi,
    The list of values is not created within the plus
    the list of values (called item classes) are created in the Admin
    Please refer to the discoverer administrator guide
    http://download.oracle.com/docs/html/B10270_01/item_cla.htm#1656
    Tamir

  • How to create objects dynamically (with dynamic # of parameters)

    I need to create a set of objects based on a definition from an XML file (obtained from the server) and add them to my scene.
    I understand how to create the object using getDefinitionByName (and the limitations regarding classes needing to be referenced to be loaded into the SWF).
    But some objects require parameters for the constructor, and some don't. The XML can easily pass in the required parameter information, but I can't figure out how to create a new object with a dynamic set of arguments (something akin to using the Function.call(obj, argsArray) method.
    For example, I need something like this to work:
    var mc=new (getDefinitionByName(str) as Class).call(thisNewThing, argsArray)
    Currently this is as far as I can get:
    var mc=new (getDefinitionByName(str) as Class)(static, list, of, arguments)
    Thoughts?

    I think what Dave is asking is a bit different.
    He's wanting to know how to invoke the constructor of an object dynamically (when he only knows the # of constructor arguments at runtime).
    This class I know will do it but seems to be a hack:
    http://code.google.com/p/jsinterface/source/browse/trunk/source/core/aw/utils/ClassUtils.a s?spec=svn12&r=12
    See the 'call' method, which first counts the # of arguments then invokes one of 'n' construction methods based on the number of constructor args.
    I've yet to find a clean AS3 way of doing things ala 'call' though.
    -Corey

  • How to created Freely Programmed F4 help in Select Options

    hi,all
       I have a probelm about how to created a Freely Programmed F4 help in Select Options,and put help value into select options field
      Thanks and Best Regards

    Hi Haung,
    You need to use FREE_HELP not the component name.
    Modify you code as below:
       LT_RANGE_TABLE_V = wd_this->m_handler_V->create_range_table( 'ZCYPHDATE' ).
      wd_this->M_HANDLER_V->add_selection_field(
          i_id                         = 'ZCYPHDATE'
          it_result                    = LT_RANGE_TABLE_V
          i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_APPLDEV
          i_value_help_id              = 'FREE_HELP'
          i_no_intervals               = abap_false ).
    Hope this helps you.
    Regards,
    Rama

  • How to create select-options in module pool program

    Hi
    i am structed at this point could you please tell me
    how to create select-options in module pool program

    Steps to get SELECT-OPTIONS in module pool programs.
    <li>. Start one dialog program with SAPZ_TEST.
    <li>. Place the below code in the TOP include of the dialog program.
    PROGRAM SAPMZ_TEST.
    TABLES mara.
    SELECTION-SCREEN BEGIN OF SCREEN 2100 AS SUBSCREEN.
    SELECT-OPTIONS: matnr FOR mara-matnr.
    SELECTION-SCREEN END OF SCREEN 2100.
    <li>. Create one screen 2000 .
    <li>. Go to Layout of the screen and Define subscreen area on the screen and Name it as g_subscreen.
    <li>. Place the below code in the Flow logic of the screen.
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN g_subscreen INCLUDING 'SAPMZ_TEST' '2100'.
    PROCESS AFTER INPUT.
      CALL SUBSCREEN g_subscreen.
    <li>. Activate all.
    <li>. Create Transaction code for the dialog program SAPZ_TEST.
    <li>. Execute the transaction code. You will see the select-option like we see on Selection-screen.
    I hope that it gets u clear idea.
    Thanks
    Venkat.O

  • How to create a function/procedure which can take optional parameter?

    Hi,
    I want to create a function or a procedure which can take optional parameters. For example, I want to create fun1() or fun1(param1) like this. Only one function will act differently when different number of parameters are passed to it. Something like the substr() function in oracle. It can be called with 2 parameters, as well as three parameters.
    Thanks in advance,
    Kiran

    There are two ways of doing this. The regular way would be to add a DEFAULT clause to your function declaration:
      -- Function can be called with 1 or 2 parameters
      FUNCTION xxxx
        ( param_one  NUMBER
        , param_two  VARCHAR2  DEFAULT NULL )
      RETURN VARCHAR2;Or, if your functions are declared in a package you can do some over-loading:
      PACKAGE yyyy
      IS
        -- Function with 1 parameter
        FUNCTION xxxx
          ( param_one  NUMBER )
        RETURN VARCHAR2;
        -- Function with 2 parameters
        FUNCTION xxxx
          ( param_one  NUMBER
          , param_two  VARCHAR2 )
        RETURN VARCHAR2;
      END;If you are calling server-side functions from client-side tools (like OracleForms) you may need to use this second method.

Maybe you are looking for

  • I can't open any pdf with Adobe Reader XI, neither online or offline - OS X

    Since I've upgraded to Acrobat Reader XI I'm not able to open any pdf file. I can't open any .PDF already existing in my Mac and also can't open anything online throughout browser (I use Safari and Chrome) I've already uninstalled and reinstalled Ado

  • What does Apple TV show when you are playing music in iTunes?

    I'm considering purchasing Apple TV so I can enjoy my music away from my iMac, and also watch something on the TV screen as well. Does it show cover art or some sort of screensaver? It's too old for mirroring. Many thanks.

  • Regarding BADI

    Hi all, when i am executing my program written in the method MB_DOCUMENT_BEFORE_UPDATE i am getting the following error:      "WA_EDIDD-SDATA" and "WA_ITAB2" are not mutually convertible in a unicode program what i must do plz help me out thanks swar

  • ICloud Drive Not Finding Latest Revision

    Is anyone else having issues with iCloud Drive not pulling updated versions of Numbers files? It's getting to the point where the service is so friggin' unreliable that I have to check every single file on my iPhone prior to using it on my Macbook be

  • Flash Lite 3 Update for Device Central CS3

    Is anyone else having a problem with this update? Flash® Lite 3 Update for Device Central CS3 The Flash Lite 3 Update for Device Central enables testing of Flash® Lite™ 3 content in Device Central, provides important bug fixes, and includes new and u