How to create a parameter?

dear friends
i'm a recent oracle developer. i face a problem in the graphic builder . i need to create a peremater within the graphic builder .
i issued this sql command
select sum(sal),sal_date
from salary_table
where sal_date between :para_d1 and :para_d2
group by sal_date
it is expected that two parameters will be created when i press execute , but it does not work
would anyone tell me why
thanks in advance
tarek

Are you using parameter VO, If so I think you should be able to create cascading list.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/

Similar Messages

  • How to create a parameter id on screen element

    How to create a parameter id on screen element
    reply urgent

    Hi Madan,
    Check this info.
    Parametere Id is the one which holds the memory for the particular field. when we need to pass the the field from one screen to another use the parameter Id.
    The SAP Memory is a user-specific memory area of the application server, which is accessed by all main sessions of a user session at once. ABAP programs have access to SPA/GPA parameters stored in the SAP Memory (also called SET/GET parameters).
    Eg. Of  how to use Set parameter
    you can give value of variable (dobj) to parameter ID 'pid'. This will store value in SAP memory
    SET PARAMETER ID pid FIELD dobj.
    When you want to use that value stored in SAP memory
    you can use GET parameter.
    GET PARAMETER ID pid FIELD dobj.
    To fill the input fields of a called transaction with data from the calling program, you can use the SPA/GPA technique. SPA/GPA parameters are values that the system stores in the global, user-specific SAP memory. SAP memory allows you to pass values between programs. A user can access the values stored in the SAP memory during one terminal session for all parallel sessions. Each SPA/GPA parameter is identified by a 20-character code. You can maintain them in the Repository Browser in the ABAP Workbench. The values in SPA/GPA parameters are user-specific.
    ABAP programs can access the parameters using the SET PARAMETER and GET PARAMETER statements.
    To fill one, use:
    SET PARAMETER ID <pid> FIELD <f>.
    This statement saves the contents of field <f> under the ID <pid> in the SAP memory. The code <pid> can be up to 20 characters long. If there was already a value stored under <pid>, this statement overwrites it. If the ID <pid> does not exist, double-click <pid> in the ABAP Editor to create a new parameter object.
    To read an SPA/GPA parameter, use:
    GET PARAMETER ID <pid> FIELD <f>.
    This statement fills the value stored under the ID <pid> into the variable <f>. If the system does not find a value for <pid> in the SAP memory, it sets SY-SUBRC to 4, otherwise to 0.
    To fill the initial screen of a program using SPA/GPA parameters, you normally only need the SET PARAMETER statement.
    The relevant fields must each be linked to an SPA/GPA parameter.
    On a selection screen, you link fields to parameters using the MEMORY ID addition in the PARAMETERS or SELECT-OPTIONS statement. If you specify an SPA/GPA parameter ID when you declare a parameter or selection option, the corresponding input field is linked to that input field.
    Check this link.
    http://help.sap.com/saphelp_47x200/helpdata/en/f5/6a853c61c5140ee10000000a11405a/frameset.htm
    Hope this resolves your query.
    Reward all the helpful answers.
    Regards

  • How to create a parameter to allow multiple selection

    Hi,
    I am developing report in Oracle EBusiness suite. I use concurrent program to develop the report. My question is how to create a parameter to allow multiple selection for such kind of report?
    thanks
    Lei

    I dont think, we have multiple selection in the parameters of Concurrent Program :).

  • How to create a parameter id for a user

    Can anyone tell me how to create a Parameter id. I want to set some parameters for a user for that need to have parameter id.
    Please tell me the steps to create the Parameter id.
    Kiran

    Hi Kiran,
    U can do this using the TCODE SU3.
    1. Goto SU3.
    2. Goto the parameters Tab.
    3. Provide the Parameter ID and Parameter Value.
    4. Save.
    Its done!!!..
    Cheers,
    Krithiga.
    ***Pls reward points if this is useful.

  • 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 Parameter with LOV

    Hello All,
    I am having the follwoing custom query.
    SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where period_name='Apr-08'
    and a.code_combination_id = b.code_combination_id
    and set_of_books_id=1010
    and currency_code='USD'
    gROUP BY concatenated_Segments
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    Instead of hard coding the values I have created the custom folder
    with the follwoing query.
    SELECT concatenated_segments, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where a.code_combination_id = b.code_combination_id
    gROUP BY concatenated_Segments
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    Now I have to create three input parameters period_name,set_of_books_id,currency_code.
    The parameter set_of_books_id should have list of values so that the user will select one from it at run time. But when I tried to create the parameter
    I am unable to create list of values for this parameter. (i.e in Parameter dialog box the For Item filed doest not have any field like set_of_books_id as it is custom query)
    So how Can I add LOV for this parameter.
    Kind Regards,
    PRaveen.

    Hi,
    You custom folder needs to contain a statement like :
    SELECT concatenated_segments, period_name,set_of_books_id,currency_code, (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR)) MOVEMENT
    FROM gl_balances a, gl_code_combinations_kfv b
    where a.code_combination_id = b.code_combination_id
    gROUP BY concatenated_Segments, period_name,set_of_books_id,currency_code
    HAVING (SUM(PERIOD_NET_DR)-SUM(PERIOD_NET_CR))<>0.
    The you will have the period_name,set_of_books_id,currency_code items in the folder and can create parameters using these columns.
    To define the LOV you will need to create separate folders that return the list of values required e.g.
    SELECT set_of_books_id, name
    FROM GL_SETS_OF_BOOKS
    Use this folder to define an item class and then include the set_of_books_id from the first folder into the item class.
    Rod West

  • How to create a Parameter dependent over another parameter for ESS job

    Hi Team,
    We have defined an ESS job for which we have 2 parameters (parameter values are based on LOV).
    Now we have to make these parameters dependent.
    Any inputs on this are highly appreciated.
    Thanks,
    Praveen

    Are you using parameter VO, If so I think you should be able to create cascading list.
    Jani Rautiainen
    Fusion Applications Developer Relations
    https://blogs.oracle.com/fadevrel/

  • How to create parameter with multiple selection in a query (SQ02) ?

    Hi Exports
    Do you know how to create parameter with multiple selection in a query (transaction SQ02)?
    thanks.

    Hi
    i know how to create user parameter at SQ02,
    the question is how to create multiple selection parameter?

  • Creating a parameter transaction

    Hi All,
    Can any one tell me how to create a parameter transaction of ztable?
    Tnx,
    Joe

    Hi,
    Parameter transactions allow you to preassign values to fields on the initial screen of a transaction.
    To create a parameter transaction, use the Transaction Maintenance transaction (SE93). Once you have entered a transaction code and short description, choose transaction type Transaction with parameters (Parameter transaction).
    You can hide the initial screen of a parameter transaction if you have specified values for all of its fields.
    Have a look to dis link[link|http://www.sapdev.co.uk/tips/tips_tabmaint_tcode.htm]
    regards,
    Archana
    Edited by: Archana Kumari on Aug 28, 2009 1:37 PM

  • How and where should I create a parameter list

    Hi, I4m trying to create a parameter lists but I don4t know where and how.
    I guess as a program unit but as function or procedure, sorry I4m new on this for that I4m finding this a bit difficult. Please, someone could help me to understand this:
    PROCEDURE Run_Emp_Report IS
    pl_id ParamList;
    BEGIN
    ** Check to see if the 'tmpdata' parameter list exists.
    pl_id := Get_Parameter_List('tmpdata');
    ** If it does, then delete it.
    IF NOT Id_Null(pl_id) THEN
    Destroy_Parameter_List( pl_id );
    END IF;
    ** Create the 'tmpdata' parameter list afresh.
    pl_id := Create_Parameter_List('tmpdata');
    ** Add a data parameter to this parameter list that will
    ** establish the relationship between the named query
    ** 'EMP_QUERY' in the report, and the record group named
    ** 'EMP_RECS' in the form.
    Add_Parameter(pl_id,'EMP_QUERY',DATA_PARAMETER,'EMP_RECS');
    **Pass a Parameter into PARAMFORM so that a parameter dialog
    will not appear
    **for the parameters being passing in.
    Add_Parameter(pl_id, 'PARAMFORM', TEXT_PARAMETER, 'NO');
    ** Run the report synchronously, passing the parameter list
    Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;

    Hi,
    What you've pasted the code here is absolutely correct.
    You'll have to write the code in Forms builder.
    You can either paste the same code in a procedure & call that procedure
    from button's When-Button-Pressed trigger or paste the code in
    your button's When-Button-Pressed trigger like this :
    DECLARE
    pl_id ParamList;
    BEGIN
    ** Check to see if the 'tmpdata' parameter list exists.
    pl_id := Get_Parameter_List('tmpdata');
    Run_Product(REPORTS, 'empreport', SYNCHRONOUS, RUNTIME,
    FILESYSTEM, pl_id, NULL);
    END;
    However, don't write the code in a function as you will need to return some value from the function.
    Thanks,
    Mayur Shah
    [email protected]

  • How to create a variant used in SM30,View variant in Parameter transaction?

    Dear Team,
    I have a view V_TCURR. For which I would be creating a parameter transaction for transaction SM30 by filling the default Values section (VIMDYNFLDS-LTD_DTA_VR, VIEWNAME,TVIMV-VARIANT). The values for first two fields are obvious.
    The question is on TVIMV-VARIANT How can we create a variant which can be used in tcode SM30.
    Delving a  little deeper show that these variants Obsolete since R/3 Release 3.1I: Selection variant for a table or maintenance view.
    Since R/3 Release 4.0, there are view variants instead of selection variants.
    The field only exists for reasons of backwards compatibility.
    If thats is so, How do I use the same in parameter transaction..?
    I have tried creating a view variant and use it parameter transaction but in vain..
    Please help resolve my problem. I hope I am very clear. If still need any clarification, please get back to me.
    Thanks a lot in advance,
    Reagards,
    Sai.
    P.S. Though there are multiple quuestions on simlar subjects none of them has been either answered or is completely relevant to mine.

    Dear Suman,
    Thanks a lot for the answer. Actually the Tcode is getting created if I do what you have said me.
    But when I run the tcode which was created by view variant created, I am not getting the desired details .
    To be more clear..
    Previously there was a variant (TMIMV-VARIANT) created with follwing criteria..
    Table TMIMV.
    TABNAME    VARIANT AS4POS            VIEWFIELD NEGATION OPERATOR     VALUE         AND_OR      TABIX
    V_TCURR     ZTHB     1     KURST     NOT     EQ     M     AND     2          
    V_TCURR     ZTHB     2     KURST     NOT     EQ     DWBP     AND     2          
    V_TCURR     ZTHB     3     TCURR          EQ     THB     OR     4          
    V_TCURR     ZTHB     4     TCURR          EQ     USD     OR     4          
    V_TCURR     ZTHB     5     TCURR          EQ     US$          4     
    When we run tcode created by paramaeter transaction.. viewname as  V_TCURR, TMIMV-VARIANT. I am getting the desired records for updation.
    But if I do the same using View variant with the same selection criteria
    Table            Field name     Operator      Comaparison  AND/OR
                                                                   Value
    TCURR     KURST     NE     'M'     AND
    TCURR     KURST     NE     'DWBP'     AND
    TCURR     TCURR     EQ     THB     OR
    TCURR     TCURR     EQ     USD     OR
    TCURR     TCURR     EQ     US$
    And the run the tcode created by using the view variant .. I am getting No entries found that match selection criteria...
    Could you please help and let me know if I am missing any step.. Kindly also check from your side how this can be achieved.
    Thanks a lot in advance,
    Sai.

  • How to create a function with ref_cursor as parameter in OWB 10.1

    Hi,
    Can any one help me how to create a function with ref_cursor as parameter in OWB 10.1.?
    Its urgent. Please help me.
    Thanks,
    Siv

    Hi David,
    Thanks for your reply.
    Before going for this function, I need to create a package in transformation node in owb module.
    My package is as follows,
    Create or replace package 123
    type xxx is RECORD ( parameters);
    type yyy is RECORD (parameters);
    type aaa is table of yyy;
    type bbb is REF CURSOR return xxx;
    type ccc is record (parameters);
    type ddd is ref cursor return eee;
    END;
    How can I create the above kind of package manually in OWB 10.1 (Should not to import the package)
    Please help me its urgent.
    Thanks,
    Siv

  • How to create a system  parameter in Apex

    Hi friends,
    I am new to Oracle Apex and need to know how to create a System Parameter in Apex. Kindly let me know how to add one.
    Regards,
    Pradeep

    bluerose wrote:
    I am new to Oracle Apex and need to know how to create a System Parameter in Apex. Kindly let me know how to add one.
    using the privileges we can achieve this.Although I am not new to APEX I have no idea what you are talking about.
    What is "a System Parameter in Apex"? What "privileges" are used to create one?
    You'll find it easier to get help if you use terminology that is familiar to everyone...

  • How to create search help on a parameter

    Hi all,
              How to create search help on a parameter .Please tell me process .
    Regards,

    Hi,
    If you want to create search help in parameter check that search help is available
    by going to se11 or
    create search help there ..
    Please check the following links to create a search helps. They guide you step by ste.
    Link:[http://www.sap-img.com/abap/attach-a-search-help-to-the-screen-field.htm]
    Regards
    Vinu.r

  • How to create a buffer  by passing  a just polygonpopints  as a parameter

    hi ,
    this query about oracle spatial...
    please tell me how to create a buffer around a single polygon data.. by passing single polygon co-ordinates as a
    parameter..
    ex: for a point the following works..
    select * from TEMIS where SDO_INSIDE(TEMIS.GEOMETRY ,SDO_GEOM.SDO_BUFFER(SDO_GEOMETRY(2001,32643 ,SDO_POINT_TYPE(70.21931,10.32379,NULL),NULL,NULL),10,0.00000005,'UNIT=KM') )='TRUE'
    i want it for a plygon data
    iam using oracle 11g version
    Edited by: user13340372 on Jun 29, 2010 11:15 PM
    Edited by: user13340372 on Jun 29, 2010 11:16 PM

    Welcome to the SQL and PL/SQL forum.
    It would be helpful to us if you post:
    - your database version
    - an example of what you want, a small dataset to work with in the form of CREATE TABLE + INSERT statements ideally and the results you want from that.
    ¿What are polygonpopints?
    Related to http://en.wikipedia.org/wiki/Point_in_polygon perhaps?
    If your question is Oracle Spatial related, then please refer to the Spatial Forum @ Spatial

Maybe you are looking for

  • Mail.app missing to field in reply all

    Hi, Using OS X Lion with Mail.app, DavMail, and IMAP (Exchange). Just recently, people at work have been telling me that when I reply all to a message from someone (that is also sent to others), the recipent does not get the message. I looked at the

  • MBP & External monitor orientation

    Hello All, I would like to use an external monitor with the MBP with a different orientation i.e. the MBP runs on landscape (default/normal), I would like the external monitor to have a Potrait orientation. I have done this with a couple of PC's, am

  • Cookies and page redirection

    The following refers to a site I'm working on based on Weblogic 6.1 and IIS           4.0 :           I'm currently having difficulties with a site I'm working on where we need           to check if a visitor has got cookies disabled and redirect the

  • BAPI_INSPOPER_RECORDRESULTS, Record Insp Lot Results

    I posted the following message back in June.  I did not have alot of success with it and dropped it for a while.  I have picked it up again and am still struggling with the exact same thing. Can anyone help?  If anyone has successfully used this BAPI

  • HT4059 My iBook is missing pages. What can I do to get complete copy?

    My iBook is missing pages. What can I do to get complete copy?