Force user to give input on only F4 help

Hi,
I have two screen fields.Based on what data is entered on first field, F4 options for second field should be filtered.
Also,user should give input to both the fields only by using F4 functionality, not by keyboard input.
This is a module pool screen, not a selection screen.
Presently I have used F4IF_INT_TABLE_VALUE_REQUEST in Process on value request block to give F4 help on both the fields.
I can make the user to give input on only dropdown by  changing the dropdown to List box in screen painter,but then, POV block and hence the above FM is not getting triggered.
I can't assign search help or check tables in both cases because the input options  are dependent on previous inputs.
Please help.

Hi Kiran,
Make both the fileds as list box and create a module for bot the fields.
PROCESS ON VALUE-REQUEST.
  FIELD 'FIELD 1' MODULE field1_values.
  FIELD 'FIELD 2' MODULE field2_values.
Inside the module fetch the values into an internal table depending upon your requirement and pass the internal table to FM - F4IF_INT_TABLE_VALUE_REQUEST. For the second field the values sholuld be fetched into the internal table based on the values of the first field.
Thanx & Rgds,
Krishna

Similar Messages

  • Interactive report gives an error only for a specific user

    An interactive report based on a very complicated select gives an error only when a specific user is logged on.
    The error is:
    ORA-00932: inconsistent datatypes: expected - got CLOB.
    For other users logging using this page it works fine.
    Authentication for this application is done using a stored function.
    The query does not use the current userid in it.
    Why does it fail for a specific user? if there is a problem, it should fail all the time.

    Hi ankur,
    By what you said the report dont have any date parameters or no date columns.
    "Query execution was not successful ORA-01843 not a valid month." This means it is related with date mask passing a invalid month into date column or argument to to_date function.Check once the session date that is 'dd-mm-yy' or anything else
    select * from nls_session_parameters where parameter = 'NLS_DATE_FORMAT'
    select to_date('01-DEC-06'),to_date('01-12-06') from dual;
    Also a general question whenever I am trying to mark any question as 'Helpful', the status is not changing. Is there anything I am missing.While you flag it 'helpful' or 'correct',it takes you to other screen where you see "Yes, the question is now answered" click the radio button and then click ok button.
    Hope its helpful.
    Best Wishes,
    Kranthi.
    Edited by: Kranthi.K on Jun 8, 2009 9:00 AM

  • How can we give a user, alter procedure privilege on only one procedure of another schema.

    Scenerio:
    User A owns a procedure
    called 'TESTPROCEDURE'.
    User B has execute privilege on 'TESTPROCEDURE';
    Now i want to give user
    B , alter procedure privilege for only one procedure i.e 'TESTPROCEDURE';
    I do not want to give
    ALTER ANY PROCEDURE to user B since the user just wants to alter only 1
    procedure.
    How can we do that?
    Thanks & regards,
    Mohd Shahid Shaikh.

    Why do you want to do this?
    If I'm allowed to alter a procedure, I can alter it to do something completely different.  I can modify the procedure to do anything that B can do.  If that's what you want to allow, why not just log in as A?
    There is no way to grant B the ability to alter a single procedure.  You could, I suppose, create another procedure in A that accepts a DDL statement as a string, checks to see if it meets your criteria, and then executes it.  You could then grant B the ability to execute this new procedure.  A could then send an appropriate CREATE OR REPLACE PROCEDURE statement to the new procedure that replaces TestProcedure.  But that's a fair amount of effort and complexity to deal with (particularly when there are errors)-- if you can explain the underlying business problem, we may be able to help you come up with alternate technical solutions.
    Justin

  • Give the read only access to user on Apps Schemas!

    Hi,
    How we can create the database user and give the access on APPS schemas(INV, PO etc).
    Please assist me.
    Thanks,
    Faziarain

    Dear Hussein,
    I followed anil passi forum for creating apps read only schema , but only issue is we have multiorg enabled .
    what is the modification dowe need in this step.
    Step 4
    Write a after logon trigger on apps_query schema. The main purpose of this trigger is to alter the session to apps schema, such that the CurrentSchema will be set to apps for the session(whilst retaining apps_query restrictions).In doing so your logon will retain the permissions of apps_query schema(read_only). Howerver it will be able to reference the apps objects with exactly the same name as does a direct connection to apps schema.
    conn apps/&1 ;
    PROMPT CREATE OR REPLACE TRIGGER xx_apps_query_logon_trg
    CREATE OR REPLACE TRIGGER xx_apps_query_logon_trg
    --16Jun2006 By Anil Passi
    --Trigger to toggle schema to apps, but yet retaining apps_query resitrictions
    --Also sets the org_id
    AFTER logon ON apps_query.SCHEMA
    DECLARE
    BEGIN
    EXECUTE IMMEDIATE
    'declare begin ' ||
    'dbms_application_info.set_client_info ( 101 ); end;';
    EXECUTE IMMEDIATE 'ALTER SESSION SET CURRENT_SCHEMA =APPS';
    END;
    Thanks and Regards

  • JavaScript: Force user to type numbers

    I want to force user to type only numbers in a number field. Following function detects the character that user pressed. Now i have to somehow ignore that key if is not number. Seems this function must return something to prevent to populate the field with the key, if it�s not number. I tried
    return false; in function but doesn�t work. Please advice me to complete this function.
    <SCRIPT>
    function keyPressed(dataType){
    if ((dataType=="Number") && ("0123456789".search(String.fromCharCode(event.keyCode))>-1)){
    alert(�key is number�);
    } else alert(�key is not number�);
    </SCRIPT>
    <input onKeyPress="keyPressed('<%=type%>')">

    Thanks and works.
    Another javascript question:
    Following is sample code for 10 rows with radio and text input box. I want to check the radio when the textbox in the same row got Focus. How could I do this.
    <%for (int i=0; i<10; i++){%>
    <tr>
    <td><input type="radio" name="select" ></td>
    <td><input onfocus="�"/></td>
    </tr>
    <%}%>

  • Forcing User Sound Preferences

    I'm getting my lab of 1st generation Intel iMacs ready for online oral language exams. It's mostly going well, but I'm having trouble forcing sound preferences so that a user can plug in a USB headset, power on, log in, and NOT have to open the Sound pane in System Preferences. I'd like the input and output device to default to the USB headset, and I'd like to set standard input and output volume settings.
    As it is, as often as not, when a student logs in, even though the USB headset is already attached, sound input and output default to the built-in microphone and speakers, and volume is not consistent.
    It appears that the relevant settings are spread across several plist files, some local and some in home directories. I've tried putting standard copies of com.apple.finder.plist and com.apple.systempreferences.plist in user ∼/Library/Preferences/ folders, with only limited success.
    Any suggestions?

    Unfortunately, not all accounts are local and kept in System Preferences>Accounts. So far the only way I've been able to flush accounts was to delete their respective User folders.
    I've done some more searching and I've seen my question asked before but never answered.

  • How get selected data from oracle data as per give input

    sir i use Sun Java Studio Creator with oracle 10g
    my direct want user give input through both listbox , textbox or string variable
    how i pass this input in sessionbeen query and page give data in table as per user need
    please give me step and code
    this is urgent
    thank's

    You would get hierarchical data from a functrion in the same way as you would any data.  Create a function returning a cursor and then use your SQL statement to open the cursor.  Very simplistically:
    Create Function My_Func Return Sys_Refcursor As
       l_cur Sys_Refcursos
    Begin
       Open l_cur For
          'select EMPNO,ENAME,SYS_CONNECT_BY_PATH(ename, '/') "Path"
           from EMP
           start with MGR is null
           connect by prior empno=mgr';
       Return l_cur;
    End;
    Then, whatever calls the function would walk through the cursor an do whatever.
    Jhn

  • Unable to Give Input for my Program in JDEV 11g(11.1.1.3.0)

    I'm using Windows 7_Ultimate -32 Bit OS with Administrator Priviliges
    I'm trying to Run The Following Program
    package appln;
    import java.util.Scanner;
    public class arr {
    public static void main(String[] args) {
    Scanner so = new Scanner(System.in);
    System.out.println("Enter a value into variableID");
    int id = so.nextInt();
    System.out.println("Variable ="+id);
    I'm getting the following errors in "Extensions" Sub window of Output window
    oracle.BC4J:
    Warning: Classpath entry D:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.jdeveloper.junit\junit4.5\junit-4.5.jar not found.
    oracle.xsqldt-ide:
    Warning: Classpath entry D:\Oracle\Middleware\jdeveloper\jdev\extensions\oracle.jdeveloper.junit\junit4.5\junit-4.5.jar not found.
    Unknown Source: "Error: Field {0} of analyzer {1} references undefined bean {2}
    The MAIN purpose of the program is to Accept input into variable named id and display to output.
    Program Compiled Successfully but while the program is running,
    Out put is "Enter a value into variableID"
    And i'm unable to give input i.e unable to place cursor to give input
    Also i've configured the Input Settings as Mentioned in the BLOG at "http://blogs.oracle.com/shay/2008/02/enabling_user_input_when_runni.html"
    Even though the same thing thing is being repeated
    But when i've run the program in NET BEANS IDE 6.9.1, the program is compiled and runned well.

    John Stegeman WROTE: " Any way to avoid what, exactly?"
    I mean that every time we need to insert the cursor into INPUT field using mouse then input the value and press enter.
    But for large input's it becomes tedious to each time place the cursor in Input field.
    SO i meant to avoid this.
    How can i avoid this.
    Also you've mentioned me to run program's out of JDEV, if i do so i will be mising the Beauty and Advanced Capabilities of "ORACLE JDEV 11G".
    So i can't use any other IDE Than JDEV.
    Also can we Modify the way JDEV prompts for input's rather than this INPUT Field i.e by enabling the user input field for every program.
    If there any, please mention.
    Thanks for help in advance :)
    Edited by: Tejaswi.B on Jan 22, 2011 11:30 PM

  • Trying to add a new user, but gives unknown error

    Hi Guys,
    When I go to site actions >> site setting >> site permissions >> and try to add a new user, it gives me "unknown error". Any ideas why this is happening? This is happening only on some of the sites. Thank you.

    check uls logs and event viewer
    try these links:
    http://www.go4sharepoint.com/Forum/get-unknown-error-adding-users-10654.aspx
    http://roxority.com/sharepoint-zen/sharepoint-unknown-error-how-to-show-all-the-details.html
    https://social.msdn.microsoft.com/Forums/office/en-US/69806e64-fc2c-4d74-8ec3-98f5d5e5f5ff/cannot-add-user-to-sharepoint-group-unknown-error?forum=sharepointdevelopmentlegacy
    https://support.microsoft.com/kb/926961?wa=wsignin1.0
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Forcing user to enter values at table level

    Hi,
    I have created a table ztest. How to force user to enter the values for certain fields in the table which are not keys, similar to not null in RDBMS. selecting the initial values filed in SE11 populates with some default value, but it doesnt force the user to enter the value.
    Regards,
    Raghu

    Hi,
    Just check out transaction code SE54 for events.
    Go in SE54.
    Give your table name.
    Go in Environment --> Events.
    Here add the Event '01' i.e. Before saving the data.
    Give the name for event eg 'BEFORE_SAVE'.
    Click on Editor to create an include program.
    In the include program write
    form before_save.
      data: f_index like sy-tabix. "Index to note the lines
      loop at total.
        if <action> = 'N' or <action> = 'U'.
          read table extract with key <vim_xtotal_key>.
          if sy-subrc eq 0.
            f_index = sy-tabix.
          else.
            clear f_index.
          endif.
          "(make desired changes to the line TOTAL)
          "End of Modification.
          modify total.
          check f_index gt 0.
          extract = total.
          modify extract index f_index.
        endif.
      endloop.
      sy-subrc = 0.
    endform.
    Note here in field symbol 'Total' your workarea will be their. You can make necessary checks here.
    Or else you can go for making a custom transaction for your requirement.
    Regards,
    Nitin
    *Mark all helpful answers

  • Force user to connect to specific Persistent Chat server

    We plan to have 2 persistent chat servers in a single pool that will span 2 sites.
    1 Persistent Chat server in Site A
    1 Persistent Chat server in Site B
    Is there a way to force users in Site A to connect to the Persistent Chat server in Site A and for users in Site B to connect to the Site B Persistent Chat server?

    That is possible.
    For example, you have on DNS server DC01 in site A, and you only have a DNS A record point to the IP address of persistent chat server in site A, then you use DC01 as the DNS server for users in site A.
    You have on DNS server DC02 in site B, and you only have a DNS A record point to the IP address of persistent chat server in site B, then you use DC02 as the DNS server for users in site B.
    But it is not recommended. If one persistent server is down, users in one site won’t have group chat feature.
    Lisa Zheng
    TechNet Community Support

  • Can't open safari. when I go to HD, then library...there is no input manager only input method and it is blank

    I can't open safari. I tried Mac HD to library...it does not show a input manager, only methods and there are no files associated with it. This just started this
    morning. Firefox works.

    Hi,
    There are two libraries. One is System one is your User account.
    InputManagers folder is in the system library.
    Open a Finder window. Select MacintoshHD in the Sidebar on the left. Now open the Library folder. The Input Managers folder is in there.
    I think you are looking in your "users folder" which you can access in the same Finder window by selecting your user account (it has a small house icon).
    I saw your post here.   https://discussions.apple.com/message/15025894#15025894
    If you think you have the Community Toolbar installed you need to check these folders.
    /Library/Application Support/ Move the Conduit file to the Trash.
    /Library/Application Support/ Move all of these files to the Trash: SIMBL/Plugins/CT2285220.bundle
    /Library/InputManagers/ Move CTLoader to the Trash.
    /Library/Receipts/ Move ctloader.pkg to the Trash.
    /Library/ScriptingAdditions/ Move any Conduit / CTLoader related files in that folder to the Trash.
    /Users/<User name>/Library/Application Support/ Move Conduit to the Trash.
    Carolyn  :-)

  • BASIS- Give display rights only to FBCJ(Cash journal) Tcode

    Hi,
    I want to restrict transaction FBCJ(Cash journal) in display mode only.
    I created a test role and added only FBCJ Tcode.
    At object level (F_FBCJ), I maintained as below
    Activity 33(Read)
    Authorization Group * (only * selection is posible)
    When this role is attached to a user( he has only this role), he is still able to change and save cash journal.
    What to do to give display access only ?
    Thanks in advance
    AshrafKT

    I know it s an old post, but for future references here is the answer.
    If you need only display, transaction FBCJ3 can be use.
    If other activities are needed then FBCJ needs to be used, but in order for the object F_FBCJ to work, the authorization group should be set in every journal.
    The authorization group can be set using the transaction FBCJC0.
    Hope this helps.
    Regards, Jose.

  • Force user to release control of vi

    Hello,
    I would like to create a VI that is automatically invoked at set intervals to collect data.  I would like to make it reentrant so that a remote user can utilize this VI when it's not involved in one of its scheduled data collections.  My current problem is that I need a way to kick off remote users who may be playing with a VI when it's time for that same VI to start an automatic data collection.  Is there a way to programmatically force a user to give up control of a VI so that the automatic data collection can begin?
    Thank you in advance for any help you can provide.

    I did a little more development today and came up with the following solution for my problem.  I'm hoping someone can tell me if it's sound.
    First, I think making my VIs that control hardware reentrant is not a good idea and am currently planning to make them non-reentrant.
    So, my solutions is this ....
    My C++ application will talk to a "VI Menu.vi" via TCP/IP.  My app will request that the VI Menu.vi open a specific VI, pass it certain parameters and then actually run the VI.  The Menu VI listens for these types of requests and if it receives one it checks for current remote connections on the requested VI using an invoke node.  If a remote connection is detected the connection to the associated client is closed, also using an invoke node.  If a connection is not found, the VI is run as requested.
    What caveats should I be considering?  I'm attaching a jpg with part of my Menu VI block diagram so you can see exactly what I'm doing.
    Thanks again to anyone with advice!
    Attachments:
    VI.JPG ‏90 KB

  • Force field contents to be caps only without using javascript

    Hi,
    Can a field be forced to be typed as caps only without using javacsript, I have created a template where
    if the field is typed in lowercase the javascript makes this caps. The problem being now is that this script
    doesn't work when the user is filling the form on a ipad.
    Any ideas?
    thanks in advance
    Paul

    The following custom Keystroke script works with Adobe Reader (and PDF Expert) for iOS:
    // Custom Keystroke script
    event.change = event.change.toUpperCase();

Maybe you are looking for

  • Audio Settings for PVR

    I have the TV@nywhere product, and it all works well under XP (after removing SP1) except for one thing... When I pause live video and try to use the time shift feature it mutes the line in on my sound card.  Muting the line in causes it to stop reco

  • Power button on my lumia 620 is quite stiff

    Hello!! =] So, what os happening isn't exactly a problem... The thing is that the power button of my Lumia 620 is kinda stiff... It works, but I have to put some considerable pressure on it, and it's just the power button. Is it normal? Thanks for th

  • Playback has Droputs

    iTunes running on my HP laptop with an Intel i7-720QM Quad Core processor, 4 GB memory Windows 7 -64 ultimate cannot simultaneous play music with webcam capture and output to a receiver and TV via HDMI. Note: iTunes playing: - without webcam and HDMI

  • Creating Web Services using Netbeans GUI only

    Hi all, Creating, deploying & testing simple web-services through Netbeans point-n-click interface is quite simple (demo at: http://download.java.net/javaee5/screencasts/hello-simple-glassfish/). The demo shows a very simple service creation scenario

  • Oracle 8i Lite with Embedded Visual Basic

    Has any one used Oracle 8i Lite with EVB to develop an application on Windows CE Platform. Can any one help me where can i get sufficient information to do this. Thank you in advance. suresh null