How to view few values in F4 Variable screen?

Hi All,
According to the requirement user needs to see only few values in the variable screen.
for example if the characterstic info object "ZPRODUCT" contains 100 values, but in the variable screen user needs to see only required 10 values, So that user can select 1 or multiple values from the list of 10 possible values.
Could you please suggest me, how can i implement this scenario?
Regards,
Ravi

Hello,
Will this variant valid if we assign the report to a role and integrated into portal?
The variant is working fine when i execute the report directly, but is dissappearing when i call it in portal via Role.
Do you have any ideas on this problem?
Regards,
Ravi

Similar Messages

  • How to find the value of a variable in other program

    How to find the value of a variable in other program say I am in a FM and this FM is being called in from other program and I want to know some of the variable details of the program from the FM itself. Imagine if this is a txn. and I need to know the details from some of the programs while executing the same transaction
    Regards
    Vin

    Hi Vinayak,
         you will be having your first program values in internal table or some variables,
        when you are calling the second program you wii use like this,
        SUBMIT <Second Program Name> USING SELECTION-SCREEN '1000'
                           WITH s_emp(second program select-options)   IN t_emp(first program variables)
                           WITH p_chk   EQ t_chk
                           WITH p_r1    EQ t_r1
                           WITH p_month EQ t_month
                           WITH s_cust1 IN t_cust1
                           WITH p_r2    EQ t_r2
                           WITH s_cust2 IN t_cust2
                           WITH s_week  IN t_week
                           AND RETURN.
    you have pas like this to get your first program details.

  • How to get the value of a variable defined in javascript in JSP

    how to get the value of a variable defined in javascript in/through JSP????

    In Javascript you can use the DOM to access the input element and set it's value before submitting the form. Then it's value will just be passed.

  • How to get the value of a variable in FOX?

    Hi,
    In the FOX program how to get the value of a variable defined in planning area?
    can anyone give me some sample code?
    thanks

    Adding to the last reply,
    you can use VARI(variable) to get the count of the values.
    In the latest version of BPS, you may also use the following new foreach construct:
    FOREACH var IN VARIABLE  variable_id.
    Regards - Ravi

  • How do I edit value of PATH variable in AIX?

    How do I edit value of PATH variable in AIX?

    Hi Sandy,
    You need to edit .profile file from the users home directory...
    (Please note DOT before filename, which make the file hidden...)
    use "ls -a" command to list hidden files.
    its a basic question, why don't you search google for such issues.
    It will also help you to understand the system better...
    Regards.
    Rajesh Narkhede

  • How to view cursor values while in DEBUG mode

    I am using SQL developer 1.5.1 and I am debugging my Stored Procedure.
    I cannot find how to view the contents of variables as I step through the code.
    For example, I have the following IF:
    IF NVL(rat_rec.rat_css_agency_cd, -1) != NVL(lclcssagencycd, -1) THEN
    lclupdate := TRUE;
    END IF;
    I want to be able to see what is the value of rat_rec.rat_css_agency_cd and also lclcssagencycd, to see why it is evaluating this IF statement to be true.
    In other words it is saying rat_rec.rat_css_agency_cd is NOT the same as lclcssagencycd, but I want to see what the differences are and need to be able to 'look' at the value of each variable.
    It is NOT showing on SMART DATA or DATA.
    I have not used SQL Developer much before, so must be missing something.
    (In VB, I can debug a routine and then stop on a variable and press SHIFT+F9 to see the contents of the fields. I want to do the same thing in SQL DEVELOPER).

    Yes, I do.
    I am able to step through the code and if I stop on a particular line of code, I want to be able to evaluate the variables or cursor fields that I am on to see what their contents are.
    Sean

  • How to view output of SAP Exit variables

    Hi All,
    I want to view the data of standard SAP Exit variables. For example, for displaying the current date, SAP has provided some variables to use in the report. Can you please guide me where to get all the variables and how to see the output of these variables.
    Thanks.

    Hi,
    1) In Business Content all the variable will available.
    2) If you will proper standard variable in your report, there is no need to check still you need to check then use RSRT tcode, give the report name and execute with EXECUTE+DEBUG option.
    3) for example current calender day data need in report then standard exit variable to you character sticks or depend upon same logic directly use in your key figure, in this case for that key figure value always current day date.
    4) it may helps you and elaborate your idea and explore your issue for further discussion.
    Thanks & Regards,
    Srinu.Raport

  • How to Print the Value of a variable inside a PL/SQL package

    Hi Friends,
    Here is my Scenario
    I have a PL/SQL Package. Let us call it Baseline Package.
    This Package includes a dynamically built merge Statement.
    Execute Immediate v_merge_query.
    I have a procedure which replaces which few Keywords from the Package Text and Creates a new one depending on Inputs I provide. (This is something like a Code generator)
    Now while Creating the new package, I need to print the Value of v_merge_query.... I Need s Static Query to be Printed inside the new package and not a dynamic query.
    My Question is "Is there a way to print the value of the variable inside a different PL/SQL package?
    Thanks in Advance,
    Mohit

    Print where?
    That PL/SQL code is server-side code. It runs in an Oracle server process.
    That server process does not have a keyboard. Or a screen/monitor. Or display canvas. Or an attached printer.
    That server process is incapable of "printing" as that is not its job or responsibility and not part of its environment.
    What is can do is record data for the client to look at afterwards. This can be done using static PL/SQL session variables. Or a SQL table.
    The former is done by DBMS_OUTPUT - a very primitive interface for writing text into a static PL/SQL string array. That btw resides in expensive private process server memory. The client can query the array after a database call and render the contents.
    PS. Also keep in mind that bind variables are critical for performance and server robustness - especially when (ab)using dynamic SQL.

  • How to change the value of a variable in new ABAP debugger.

    Hi Guys,
                 I can't change the value of a variable in the new ABAP debugger.. when I change its revert back to old value. but this is not the case with the old version. How to do this..
    Cheers
    Senthil

    Hi,
    1. Dobule click in the variable in the variable tab.
    2. Click the Change icon in Detail.Dis.
    3. enter the new value and press enter
    Refer
    [http://www.sapdb.info/new-abap-debugger/|http://www.sapdb.info/new-abap-debugger/]
    [http://help.sap.com/saphelp_nw70/helpdata/en/84/1f624f4505144199e3d570cf7a9225/content.htm|http://help.sap.com/saphelp_nw70/helpdata/en/84/1f624f4505144199e3d570cf7a9225/content.htm]
    <removed_by_moderator_together_with_points>
    Regards,
    SB
    Edited by: Julius Bussche on Jun 24, 2008 8:21 AM

  • How do I see values of global variables in a SAP system

    Hi Guys
    How do I get to see the values of global variables DIR_GLOBAL etc.
    Actually I wanted to run an archive for some IDOCs, and I configured a filepath for the same and gave it an address to my local system, now when I use SARA and after customising the logical path it gives me an error stating that "Logical file path is not completely maintained".
    So I resorted to one of the predefined paths ARCHIVE_DATA_FILE and it archived successfully but I am not able to figure out the exact path of the archived file can you please help??
    Best regards
    Sujoy

    Hello Sujoy,
    Execute transaction FILE, double click on Logical File Name Definition, then, scroll down to find ARCHIVE_DATA_FILE - double click on ARCHIVE_DATA_FILE.  Note what is entered in the Logical path field and then, go to Logical File Path Definition.  Look for the path name from previous step and highlight/select it and click on Assignment of Physical Paths to Logical Path.  From there, you can double click on the relevant Syntax group.  This will give you the path for where the archive file has been written to.
    I hope this explanation is not too confusing :-).
    Best Regards,
    Karin Tillotson

  • How to upload a value of the variable to a file.

    Hi All,
    1. am using below line to uploading data to notepad
    UTL_FILE.PUT_LINE(v_file,'User_name,age,college');
    here the problem is The user_name i am getting as parameter and assigning that values to a variable.
    like
    User_name:=usrname;
    but in output file instead of user name (Sree, sunil, ravi) am getting User_name as value
    even i tried like as below
    UTL_FILE.PUT_LINE(v_file,''||User_name||'','age,college');
    but no use.
    How to use variables when we are uploading the file.
    Thanks
    Sree

    What's with all the quotes?
    If user_name, age and college are variables and you want them for instance comma separated, just do:
    UTL_FILE.PUT_LINE(v_file, user_name || ',' || age || ',' || college);

  • How to set default value to the variable !!!

    Experts,
    I have created a variable ZDATE, which is in variable entry screen of the query. and this variable is mendatory .
    Now, i want to put default value of this variable ( Which can be done from the Variable Properties screen , on the Default Values Tab )
    But , thru there i can only put selected value. my requirement is to show system date - 1 ( Previous date )
    how do i get that ?
    Thanks

    Hi,
    You would need to write a variable exit under I_STEP = 1 to get the previous day populated on your variable screen.
    Regards,
    Murali.

  • How can we give values to the variable

    Oracle Forms6i
    Hai All
    I am generating an daily attendance regarding shift basis.In that i have written an ifelse condition it work successfull and but it fetches only 350 row out of 800.
    I have declared a variable and i need to know how to assign values to the variable Pls tell the steps to do.I have done correctly but there is an logic error in my coding.Let give me some steps to solve the problem
    My coding is
    declare
    t_in varchar2(25);
    t_out varchar2(25);
    cursor cur_test is
    select * from dail_att where intime=t_in and outtime =t_out;
    --into t_in,t_out from dail_att; 
    begin
    loop
    go_block('TEST_SRI');
    FIRST_RECORD;
    if :bartime between 0145 and 0630 then
         update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :bardate-1 and intime is null and outtime is not null;
    elsif :bartime between 0630 and 0900 or :bartime between 1130 and 1230 or
    :bartime between 1700 and 1800 and t_in is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
         elsif :bartime > 1645 and t_in is not null and t_out is null then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :BARDATE and intime is not null and outtime is null;
    end if;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
    NEXT_RECORD;
    END LOOP;
    forms_ddl('commit');
    exception
    when others then
    forms_ddl('rollback');
    message(sqlerrm||dbms_error_Text);
    message(sqlerrm||dbms_error_Text);
    end;
    Regards
    Srikkanth.M

    Hai man
    I have generated a daily attendance roll in oracle forms and it executed correctly but while fetching it fetch some of the records. So i have declared a variable in a block and in my coding.
    For those variable i need to pass values from select statement or using cursor.According to that i can use in my ifelse statement.
    If It is clear Or else see the coding
    declare
    bar_code varchar2(25);
    in_time varchar2(25);-------------------------- these are the variable i going to use in select statement to pass values
    out_time varchar2(25); so that i can use in if else statement.
    begin
    loop
    go_block('TEST_SRI');
    FIRST_RECORD;
    select BARCODE,INTIME,OUTTIME into bar_code,in_time,out_time from dail_att where BARCODE= :Barcode
    and ATTEND_DATE = :bardate;
    if :bartime between 0100 and 0630 then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :bardate-1 and in_time is null and out_time is not null;
    elsif :bartime between 0630 and 0900 or :bartime between 1130 and 1230 or
    :bartime between 1700 and 1800 and in_time is null then
    insert into dail_att(barcode,intime,attend_date)
    values(:barcode,:bartime,:bardate);
         elsif :bartime > 1645 then
    update dail_att set outtime = :bartime where barcode= :barcode
    and ATTEND_DATE = :BARDATE and in_time is not null and out_time is null;
    end if;
    EXIT WHEN :SYSTEM.LAST_RECORD = 'TRUE' OR :BARCODE IS NULL;
    NEXT_RECORD;
    message(:barcode);
    END LOOP;

  • How to view refcursor value in pl/sql

    Hi,
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE 10.2.0.1.0 Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    i have one stored procedure like this
    CREATE     OR     REPLACE          PROCEDURE     PRCURRENCYEDIT
    CURRENCYCODE     TBLCURRENCY.FLDCURRENCYCODE%TYPE,
    CV1          OUT     SYS_REFCURSOR
    IS
    BEGIN
    OPEN     CV1     FOR
    SELECT          FLDCURRENCYCODE,
              FLDCURRENCYNAME,
              FLDCURRENCYSYMBOL,
              FLDPREFIXSYMBOL,
              FLDEXCHANGERATE
    FROM     TBLCURRENCY
    WHERE     FLDCURRENCYCODE          =     CURRENCYCODE     ;
    END ;
    i want to view the value for cv_1 ..
    Thanks in advance
    Regards
    Ariff

    Thanks for the reply
    But i have one problem with this stored procedure
    PROCEDURE     PRCURRENCYSEARCH
    CURRENCYNAME     IN     NVARCHAR2     DEFAULT     NULL ,
    BATCHNUMBER     IN     NUMBER          DEFAULT     NULL ,
    BATCHSIZE     IN     NUMBER          DEFAULT     NULL ,
    RESULTCOUNT     OUT     NUMBER,
    TOTALPAGECOUNT     OUT     NUMBER,
    CV_1          OUT     SYS_REFCURSOR
    IS
    V_ROWFROM     NUMBER(19,0)     ;
    V_CURRENCYNAME          TBLCURRENCY.FLDCURRENCYNAME%TYPE ;
    BEGIN
    V_CURRENCYNAME := NVL(CURRENCYNAME, '') || '%';
    INSERT     INTO     GTT_CURRENCY
    ( FLDCURRENCYCODE )
    SELECT     FLDCURRENCYCODE
    FROM          TBLCURRENCY
    WHERE      (CURRENCYNAME = '%'
    OR     FLDCURRENCYNAME          LIKE      '%currencyname' )
    ORDER      BY     FLDCURRENCYNAME ;
    RESULTCOUNT     :=     SQL%ROWCOUNT;
    TOTALPAGECOUNT          :=      FNTOTALPAGECOUNT(RESULTCOUNT, BATCHSIZE);
    V_ROWFROM     :=     FNROWFROM(BATCHNUMBER, BATCHSIZE);
    OPEN     CV_1     FOR
    SELECT          *      FROM
    ( SELECT     R.FLDCURRENCYCODE,     C.FLDCURRENCYNAME
    FROM          GTT_CURRENCY R
    JOIN     TBLCURRENCY C
    ON     R.FLDCURRENCYCODE     =     C.FLDCURRENCYCODE
    WHERE     R.FLDROWNUMBER     >      V_ROWFROM
    ORDER     BY     R.FLDROWNUMBER )
    WHERE ROWNUM          <=     BATCHSIZE     ;
    END ;
    when i execute this code using this code
    DECLARE
    CURR_CUR TBLCURRENCY%ROWTYPE;
    CV1 SYS_REFCURSOR;
    V1 NUMBER;
    V2 NUMBER;
    BEGIN
    PRCURRENCYSEARCH('INR',NULL,1,V1,V2,CV1);
    LOOP
    FETCH CV1 INTO CURR_CUR;
    EXIT WHEN CV1%NOTFOUND;
    DBMS_OUTPUT.PUT_LINE(V1);
    DBMS_OUTPUT.PUT_LINE(V2);
    DBMS_OUTPUT.PUT_LINE(CURR_CUR.FLDCURRENCYCODE||' '||CURR_cUR.FLDROWNUMBER);
    END LOOP;
    END;
    after execution,the following error occurs
    DECLARE
    ERROR at line 1:
    ORA-06504: PL/SQL: Return types of Result Set variables or query do not match
    ORA-06512: at line 9
    Note:
    desc tblcurrency
    Name Null? Type
    FLDCURRENCYCODE NOT NULL NUMBER
    FLDCURRENCYNAME NOT NULL NVARCHAR2(100)
    FLDCURRENCYSYMBOL NOT NULL NVARCHAR2(50)
    FLDPREFIXSYMBOL NOT NULL NUMBER
    FLDEXCHANGERATE NOT NULL NUMBER(18,6)
    Thanks in advance
    Regards
    ariff

  • How to set Dynamic value to context variable

    hi all
    Can anyone suggest me how to change value of context variable.
    In short i need to set dynamic value to context variable
    here is my code in web.xml
    *<context-param>*
    *<param-name>sessionTimeOutValue</param-name>*
    *<param-value>200</param-value>*
    *</context-param>*

    ChintanPatel wrote:
    here is my code in web.xml
    *<context-param>*
    *<param-name>sessionTimeOutValue</param-name>*
    *<param-value>200</param-value>*
    *</context-param>*You can set the session time using httpsession.setmaxinactiveinterval

Maybe you are looking for

  • Reversal of reversals not permitted in case of returns&payments FICA (ISU)

    We are constantly facing a problem on which we would like to have comments from you. Problem:- A payment comes and clears a receivable. A return is posted for the payment and the user later realizes that the return was posted incorrectly. Now, a reve

  • How to remove "Blue filter" from multiple images in the History Panel

    I am using Lightroom 4.3 on Windows 7 pc.  I have a collection with approximately 650 images.  I was working in the collection and had all the images selected.  Somehow I inadvertently must have hit a keyboard shortcut that effected all the images. 

  • ITunes 9.0.3 plays music slow

    I recently upgraded my MBP from Tiger to Snow Leopard 10.6. Then I upgraded to the current security update. Then I upgraded to OS X 10.6.(3)...not certain how i was able to get this version from Apple. I had to upgrade the OS to accommodate my new wi

  • MIRO vs FB60

    Hi all I have a question regarding MIRO and FB60 The standard procedure to creating invoice is : ME21N --> MIGO --> MIRO but in our office there was situation like this : after MIGO, some user create invoice using FB60 so there is no link between PO

  • Invoice Neur cost of PO by MIRO

    Hi expert, I configure a particular condition as Neutral Accruls. (same standard conditions MAR1). In History PO  the system present two different category, after GR: - 1°: We - Good Receipt with the value of PB00 or PBXX -2°. NeuR - Miscell. provisi