How to default the value in Parameter ?

Hi all,
How am I going to default the paramenter say I have the From Item >= '0' and To Item <= '99999999', I will like system to be defaulted back the value in the parameter everytime when the refresh is being pressed ?
Currently, I have set the default value in the parameter, it work fine for the very first time, but after I have put the search value in the refresh button, the system still showing the old value which I have keyed in earlier. I want system to be defaulted the value that I keyed in the parameter. How to do that ?
Rgds
Lim

Hi Lim
Are you using Discoverer Plus?
If so, there is a preference in pref.txt that controls whether the parameter values are saved with the workbook. It is called SaveLastUsedParamValue. This has two settings as follows:
0 - Use the default value as set by the report writer
1 - Save the value the user just entered and use that as the default the next time
Best wishes
Michael

Similar Messages

  • Ship Confirm Tab: How to default the values?

    Hi!
    I am trying to determine if there is a way for me to default the various options on the Ship Confirm screen. ie When I ship confirm a window opens and I can choose if I want to backorder any quantity and what to do with left over quantity? Can I default these values?
    Thanks much

    Yes, you can do this thru the SYSTEM ADMINISTRATOR responsibilities. Query the Ship Confrim concurrent program and use the parameter window to default a values.

  • How to default the values in BP screen with BDT?

    Hi all,
             I am working in BDT enhancement for BP for Grants mangement. Therefore there are some screen fields in BP transaction should directly get saved in GMSPONSOR table.  I mean to say user would give some values in BP screen(One can get it at the runtime by calling the FM BUP_BUPA_BUT000_GET) and the relevant values will autometically goes to GMSPONSOR table if the BP is saved.
    As per my knowlwdge there are many events under BUPT transaction and there also I found the entry of GMSPONSOR table. Can anyone tell me in which event I have to default these screen values and redirect these to GMSPONSOR table?
    Thnaks & Regards
    Dibyendu.

    Dear Smita,
                    Thanks for your reply. The fact is that if I could default it in the screen text box then it would autometically goes to the corresponding table at save event.
    So could you help me to identify the event by which one can keep default values in screen.
    May be ISDAT or ISSTA event  to default the valuesfor BP.
    I have done to some extent for the fields belonging to BUT000 with the help of FM BUP_BUPA_FIELDVALUES_SET. I have placed a Z FM in ISDAT event. But the problem lies with the fields belonging to other tables.
    Waiting for your update.

  • How to default the value of a selectOneChoice when adding a row to a table

    I have a table where one of the fields is a selectOneChoice. When adding a row to the table, the new row to be added displays the selectoneChoice field blank. I would like to have this field default to a specific value within the selectoneChoice when clicking the add button. Any suggestion on the code I need to add in the backing bean? Thanks in advance.

    After some studying I figured out how to do this... code below for anyone interested:
    DCIteratorBinding dcib = (DCIteratorBinding) bindings.get("someIterator");
    RowSetIterator iter = dcib.getRowSetIterator();
    Row newRow = iter.createRow();
    newRow.setAttribute("yourFieldName",fieldDefaultValue);
    iter.insertRowAtRangeIndex(0, newRow);
    iter.closeRowSetIterator();

  • In eCATT, How to mention the values as  input parameter during test script

    Hi,
    1. I am just learning eCATT tool. I created a Test Script by recording my transaction. But if i want to execute the recorded transaction with different data then how to store the values.
    2. How to execute my Test Script created in one client to another client of same server. is it just by mentioning the target system or do we have to do anything in anothere client.
    Lakshmi

    Hi
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0e0ebec-c9da-2910-689e-b1a22a621c7f
    Manoj Shakya.

  • How do I default the value in an LOV?

    Dear experts,
    What I am trying to achieve is changing the default value in an LOV, based on the value of another field. I have an LOV that lists employee names. There is another field, an account number, which when selected is used to determine the default employee set against this account. This employee I want to use to add into the LOV as a default the value, before the user selects a value in the LOV. The user can still invoke the LOV and search for a different employee, but the functionality I am concered with is setting this default employee.
    I have modified the ProcessForm in the associated controller class. I have obtained the account number and using an SQL query I have obtained the default employer, but I can not seem to set this value in the LOV as a default. Does any one have any ideas?
    For the LOV there are two criteria values in the LOV mapping, the org id and the code combination id, both used in the query to get the default employee.
    Many thanks for your assistance in advance.
    Mark

    Hi,
    IF want use dependent lov ..then refer below link..
    http://oracleanil.blogspot.com/2010/12/dependent-lov-in-oaf.html
    Or
    IF u want set any default value in lov2 when value selecetd in lov1...
    Get the event of the lov1 on PFR..
    if("LOv1ID").equals(pageContext.getParameter(SOURCE_PARAM))
    && ("lovUpdate".equals(pageConext.getParameter(EVENT_PARAM))
    || "lovValidate".equals(pageConext.getParameter(EVENT_PARAM))))
    Here try set default value as given by Gyan...
    Pls check syntax errors...
    Regards
    Meher Irk

  • How to get the values of Select-options from the screen.

    The value of parameter can be obtained by function module 'DYNP_VALUES_READ' but How to get the values of Select-options from the screen? I want the F4 help values of select-options B depending on the values in Select-option A.So I want to read the Select-option A's value.

    Hi,
    Refer this following code..this will solve your problem...
    "Following code reads value entered in s_po select options and willprovide search
    "help for s_item depending upon s_po value.
    REPORT TEST.
    TABLES : ekpo.
    DATA: BEGIN OF itab OCCURS 0,
    ebelp LIKE ekpo-ebelp,
    END OF itab.
    SELECT-OPTIONS   s_po FOR ekpo-ebeln.
    SELECT-OPTIONS s_item FOR ekpo-ebelp.
    INITIALIZATION.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_item-low.
      DATA:
      dyn_field TYPE dynpread,
      temp_fields TYPE TABLE OF dynpread,
      zlv_dynpro TYPE syst-repid.
      zlv_dynpro = syst-repid.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname     = zlv_dynpro
          dynumb     = syst-dynnr
          request    = 'A'
        TABLES
          dynpfields = temp_fields
        EXCEPTIONS
          OTHERS     = 0.
      LOOP AT temp_fields INTO dyn_field.
        IF dyn_field-fieldname EQ 'S_PO-LOW'.
            SELECT * INTO CORRESPONDING fields OF TABLE itab FROM ekpo
            WHERE ebeln EQ dyn_field-fieldvalue.
            EXIT.
        ENDIF.
      ENDLOOP.

  • Determine/read the value of parameter rdisp/max_wprun_time within ABAP

    Hi,
    I need to avoid program breaks caused by exceeding run time longer than defined in parameter rdisp/max_wprun_time.
    I will check the time since start of report in the critcal loop to bring the current data changes to a controlled end before getting a program break. I won't put a constant to the report, I will have a dynamical routine to avoid changes of report if the value of parameter rdisp/max_wprun_time will be changed.
    But how can I get the value of this parameter within my ABAP report? Is there a table where this value has been stored? Is there an existing function module or a method to read the value?
    Thank's a lot in advance!
    Georg

    The runtime   parameter (GET RUN TIME ) can be used to dynamically get the program run time
    DATA T TYPE I.
    GET RUN TIME FIELD T.
    WRITE: / 'Runtime', T.
    or
    U probably can store the start date and time in TVARV with some variable ( line concatenate program name + START Date + Time)
    and then use
    SD_DATETIME_DIFFERENCE
    or
    SD_CALC_DURATION_FROM_DATETIME
    Regards,
    Mithun Shetty

  • How to get the value of attribute.

    Hi,
         I have requirement that i have to pass lineid  as parameter to procedure.
         Line id is prasent in the vo.
    So to capture the value of that line id after clicking update button.
    I've created one event on update button in that created the parameter
    updaterecord  ${oa.UpdateVO1.LineId}
    and to capture that i write the following code in the PFR.
    if("update".equals(pageContext.getParameter(EVENT_PARAM)))
    OAApplicationModule am=(OAApplicationModule)pageContext.getRootApplicationModule();
    String lid = pageContext.getParameter("updaterecord").toString();
    String promiseD=pageContext.getParameter("PromiseDate").toString();
    Serializable [] parameters1={lid,promiseD};
    am.invokeMethod("Update", parameters1);
    But its passing null value .
    Please any one will help how to capture the values.
    Regards,
    Sangu

    Hi Sangu,
    Try below code
    //In Controller
    java.sql.Date convDate; //declare variable
      String lid = pageContext.getParameter("updaterecord").toString();
      String promiseD=pageContext.getParameter("PromiseDate");
       OADBTransaction txn = am.getOADBTransaction();
         if(promiseD!=null)
                java.sql.Date javaSqlDate = txn.getOANLSServices().stringToDate(promiseD);
                convDate= javaSqlDate;
              // set converted value
                Serializable [] parameters1={lid,convDate};
                am.invokeMethod("Update", parameters1);
    Do  date conversion same way in AM before setting date Value.
    How to call pl/sql function from oaf
    Regards,
    Dilip

  • How to set the value for Power Cost in SCCM reports in Euro's?

    Hello,
    I have found out how to change the value of the 'cost' of the KWh for these reports (reporting) . But ther original settings where displayed and set in USD($) with some other values. I have of course changed the USD to EUR (€) in my case, but my question
    is: how do i know what I have to fill in in the field : costOfKwh, according my manager for my organisation it is in euro's 5,9 euroct/Kwh
    Do I have to fill in 5,9 or 0,59 or 0,059 ???
    Then also ther are some other values set in the original reports, like :
    KwhConsumptionDesktopComputerOn value = 0,07
    KwhConsumptionLaptopComputerOn  value = 0,02
    KwhConsumptionDesktopMonitorOn    value = 0,03
    Do i have to leave this settings ?

    Yes, I know this is an old post, I’m just trying to clean them up.
    The default of 0.09 is 9 cents/ KwH so  I’m assume that 5.9 cent (euro) so that you bet 0.059
    BTW if you have edit the report to change $ to € then you can also set eh default value to whatever the current power cost is too.
    http://www.enhansoft.com/

  • How to set the value in SelectOneChoice

    Hi,
    I need an help....
    can anyone please tell me how to set the value in SelectOneChoice.
    I want to set the value at index 3
    i am trying selectOneChoice1.setvalue(new Integer(3)); but it is throwing an NullPointerException.
    Thanks,
    Neha

    Hi,
    is it ADF bound? If so then you set the default value to the list binding in the PageDef file. The value of the component must be bound to a method expression, which is why you see an exception. However, I think we need more information
    Frank

  • How to format the value in narrative ?

    Hi Experts,
    In BIEE 11,
    How to format the value in narrative , such as separator.
    In table or pivot property, I have set the separator for measure , but in narrative, the format will be disappeared. So how to implement this requirment?

    I had this problem with 11.1.1.6.0
    If you want this format as the default display format for this column everywhere, then you can save that format as default display format for the column or data type (Lower right corner of data format tab: "Save as Default" button, "Save as the system-wide default for "Table"."Column"). When I had the problem the narratives did use the default display format.
    Another workaround could be a direct database call to convert the data to a string. For example, in Oracle
    EVALUATE('TO_CHAR(%1,%2)' AS CHAR(30), “Table".“Column" ,'$9,999.00')
    but you may need to set EVALUATE_SUPPORT_LEVEL in your nqsconfig.ini, and this ties you to the database technology.

  • How to reference the value of a af:inputText at View level in a java clas

    How to reference the value of a <af:inputText> at View level in a java class at Model level? Thanks!

    Create AppModuleImpl class and create ther for example setMyParam procedure.
    (You can use AppModule. There simple interface to do this classes
    In JDev 11:
    1. Go to AppModule and in Java bookmark generate application module class.(AppModuleImpl.java)
    2. Put "private String myParam;" and method to access myParam "public void setMyParam(String myParam)".
    3. Again in the AppModule in the Java bookmark add method to client interface.
    AppModuleImpl.java
    public class AppModuleImpl extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    private String myParam;
    public AppModuleImpl() {
    //this.
    public void prepareSession(Session session)
    super.prepareSession(session);
    myParam = myParam + myParam;
    public void setMyParam(String myParam) {
    this.myParam = myParam;
    prepareSession(getSession());
    AppModule.java
    public interface AppModule extends ApplicationModule {
    void setMyParam(String myParam);
    AppModuleClient.java
    public class AppModuleClient extends ApplicationModuleImpl implements AppModule {
    * This is the default constructor (do not remove).
    public AppModuleClient() {
    public void setMyParam(String myParam) {
    Object _ret =
    this.riInvokeExportedMethod(this,"setMyParam",new String [] {"java.lang.String"},new Object[] {myParam});
    return;
    And you can use method setMyParam as you wish :))) You can find it in AppModuleDataControl..
    Edited by: Victor_V_S on Jun 5, 2009 1:31 AM
    Edited by: Victor_V_S on Jun 5, 2009 1:33 AM
    Edited by: Victor_V_S on Jun 5, 2009 7:30 AM

  • Change the value of parameter in smartfrom by program lines...!

    Hi experts.........!
    i want to change the value of parameter 'x1' which i import from program has a value 'ECNC' and want to display in output of smartfrom as 'ECNEC'. how i change it from program lines.
    I use program lines to change its value....... use input parameter 'x1' and output paramter 'x1'
    and program lines are
    IF x1 = 'ECNC'.
    x1 = 'ECNEC'.
    ENDIF.
    and in condition i use
    x1 = 'ECNC'
    but it doesn't effect output is same as it show the value of x1 = 'ECNC' when i execute the program.
    How i change the value of x1 to 'ECNEC'
    Plz help me.......!
    Thanx in advance....!

    Hi ,
    Have you declared the Variable X1 under Global Definitions ?
    please debug the Smartform by the following way.
    Goto the generated Function module - > Search for your Variable X1 ( Choose Main program )- >  Set Break point
    Debugger will be called after giving printing parameter automatically. Check it whether value get changed ( Your Code is working or not ).

  • Defaulting the values in BP

    HI,
    I would like to default the customer pricing procedure in Account sales area data in web ui 2007.
    To default currency I would able to do it because it is F4 help, i implemeted Get_currency method.
    Customer pricing procedure is picklist(dropdown). I could not default the value in drop down.
    please suggest me step by step how to default customer pricing procedure in Account section web ui 2007.
    Thanks

    Dear Smita,
                    Thanks for your reply. The fact is that if I could default it in the screen text box then it would autometically goes to the corresponding table at save event.
    So could you help me to identify the event by which one can keep default values in screen.
    May be ISDAT or ISSTA event  to default the valuesfor BP.
    I have done to some extent for the fields belonging to BUT000 with the help of FM BUP_BUPA_FIELDVALUES_SET. I have placed a Z FM in ISDAT event. But the problem lies with the fields belonging to other tables.
    Waiting for your update.

Maybe you are looking for

  • [SOLVED] broken gnome after lib update

    Hi all After the update, startx fails w/ gnome but not w/ kde. I know that my xf86-video-intel was changed to xf86-video-intel-uxa. next I tried xf86-video-intel-sna (because it is listed on arch's xps15z page) and still no success. I would really lo

  • Cash Journal - S_ALR_87012309 - total containing

    Hi all, I need your help to do this: I'm using Tcode S_ALR_87012309 to print the cash journal; In the first selection screen " G/L account selection" i fill the field G/L account with 2 cash accounts, for instance 5311bm01 and 5311bc01. My question i

  • Nba 2k14 on windows 7 using bootcamp

    Been using nba 2k14 last night and it went so well to the graphics and its game flow. Until now it became so lag. Macbook pro 2.5ghz 500gb hard drive intel hd4000 4gb of memory. What is the problem? Been uninstalling it for a few times and it doesnt

  • Songs as ringtones? iphone 4

    Can I make a song from my itunes a ring tone so I dont have to have just a stock sound??

  • Search help exclude values

    Hi I have created a search help with selection method --> MCHB. One of the fields i use is CLABS. Do you know how to exclude the zero values of this field. Is there any trick ( i suppose the search help exit) to write code in this. Any ideas?