Activate input for a field depending on the input in another field

Hy gurus,
A have a report with select option.
In the select option I'd like to have the following:
I have a checkbox ,if it is flagged the input for another field should be made possible.
The problem is,to activate it right after I flag the checkbox (without having to press ENTER)
Do you have suggestions?
Thanks,Christian

Hi Christian
It's the same, check my sample in the last my answer.
If you want to protect a SELECT-OPTION or more than one parameter it should use the group.
SELECT-OPTIONS: S1 FOR SY-DATUM MODIF ID AAA,
                S2 FOR SY-UNAME MODIF ID BBB
PARAMETERS: p1  MODIF ID AAA,
            p2  MODIF ID BBB.
PARAMETERS: p_ck AS CHECKBOX USER-COMMAND aaa.
AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF p_ck = 'X'.
      IF screen-group1 = 'AAA'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ELSE.
      IF screen-group1 = 'BBB'.
        screen-input = 0.
        MODIFY SCREEN.
      ENDIF.
    ENDIF.
  ENDLOOP.
Max

Similar Messages

  • Formula to populate one Person or Group column depending on the value of another Person Group column

    I am looking for a way to popluate the Account information of a Person based on another column where there name in another column.  I have Two Columns   "Name" which is a Person or Group information type and User Account which
    is also a Person or Group Information type.  When an Invidividuals name is entered into the Name column, I what the User Account column to prepolulate.

    Hi,
    For your issue, you can automatically populate User Information depending on the value of another Person or Group column by connectting with User Information List or  connectting with User Profile Web Service:
    http://www.wonderlaura.com/Lists/Posts/Post.aspx?ID=172
    http://blogs.technet.com/b/anneste/archive/2011/11/02/how-to-create-an-infopath-form-to-auto-populate-data-in-sharepoint-2010.aspx
    Best Regards,
    Eric
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • My iphone 3gs wont connect to my carrier , it has been like this for 2 days have checked the sim in another phone and the sims fine

    My iphone 3 gs has just suddenly stopped connecting to my carrier. it has been like this for 2 days. Have checked the sim in another phone and the sim is ok. any ideas anyone.  Also how do i reset my phone without losing my info?

    Settings>General>Resets>Reset Network Settings.
    Try that first.

  • Label printing (repeat X times for certain label depends on the input file)

    I want to print the label.. and source file is something like..
    Item Name No.of Copies to be printed
    Item 1 5
    Item 2 3
    Item 3 2
    when it convert to the dat file.. i think maybe is something like
    ^field ItemName
    Item 1
    ^field NoCopy
    5
    ^field ItemName
    Item 2
    ^field NoCopy
    3
    ^field ItemName
    Item 3
    ^field NoCopy
    2
    Is there anyway for me to detect the NoCopy and then print the label according to the NoCopy??
    In this example, i want to print 5 sheets for Item 1, 3 sheets for Item 2, and 2 sheets for Item 3.
    Hope to hear from you guys asap!!
    Thank you!
    Thank you!!

    On the subject of printing labels I would have to admit that I never really had much luck with my label printer. I spent all my time messing around with the printer and it still never printed any decent looking labels. In the end I decided to give up on the whole DIY approach and I found a british labels company to do my
    label printing for me, they saved me so much hassle.

  • Change the Report Title for XML Publisher, depending on the field value.

    I want to change the Report Title as below.
    if the field_A='B' then the report title as it is defined in report defination
    else the report title is 'XXX"
    Please let me know whether it is possible, if yes please guide me. how can we do it.
    Thanks
    Venkat

    Tim covered the inline if statement, though not specifically regarding a title, in his blog recently:
    http://blogs.oracle.com/xmlpublisher/2007/12/18#a723
    The syntax is:
    xdoxslt:ifelse(.//WM_FLAG='C’,'Canceled','Approved')

  • Settin' default value of a lov depending on the value of another lov

    hi all,
    here is my problem:
    I got two combobox item in my form;
    the first one is customer_id,
    the second one is seller_id,
    what i wanna do is:
    when selecting one customer_id, i want to set the value of the seller_id to the one associated with this customer, and give the enduser to change this value;
    i'm tryin' to do so with bind variables but it doesn't work!
    any help.;
    thanks in advance

    Hi,
    ok got your requirement clear ,see what all you have to
    First of I make clear that by frame what I ment was that when you are in the design phase of the
    and you are in the section of "formating " ,there you have 2 frames which are basically not visible as frames,
    so just forget about that.
    I have implemented the same thing in the emp table intead of your
    your customer_id and the supplier_id.
    I'm assuming that you will be having just one record in the second LOV corresponding to the
    first LOV.
    What I've done is that I have made an entry in the scott.emp table with deptno 40 so that
    for deptno 40 I have just 1 entry ,to simulate your case.
    Note:
    Customer_id type is combobox the lov is LOV_CUSTUMER (this will be equivalent to my DEPT_NO LOV)
    seller_id type is combobox too, the lov is LOV_SELLER (this will be equivalent to my EMPNO_NO LOV)
    1)My driving LOV is in deptno field.
    2)I have the driven LOV in empno field.
    3)Now when I select Operation dept (dept no 40),I get the selected value in the LOV (empno)
    and also rest of the empnos.
    This is how you can achieve the functionality as said by you.
    1)In your second LOV write some thing similar.
    select ENAME, EMPNO from SCOTT.EMP where deptno = :deptno
    union
    select ENAME, EMPNO from SCOTT.EMP where deptno != :deptno
    this is to ensure that you get all the values and at the same time
    are able to use the binding of the second LOV.
    2)In the before display section write something similar.
    declare
    l_empNo varchar2(3000);
    l_deptNo number(4);
    begin
    -- This deptno shows what you selected from the first LOV.
    l_deptNo := p_session.get_value_as_NUMBER(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_DEPTNO',
    p_index => 1);
    --just check  wheather it returned something,at the time of loading it will not return anything,so simply
    --return in that case without doing anything.
    if(l_deptNo is null) then
    return;
    else
    --This query basically fetches the value for your second LOV.
    select empno into l_empNo from scott.emp where deptno = l_deptNo;
    --set the value for the second LOV in the session.
    p_session.set_value(
    p_block_name => 'DEFAULT',
    p_attribute_name => 'A_EMPNO',
    p_value => to_number(l_empNo));
    end if;
    end;
    please try to understand the relationship in my scenario and your scenario.
    Hope this helps.
    rahul

  • How do I make one enum depend on the selection of another?

    Suppose I have 5 enums, say A, B, C, D, E. Each has entries different from the others. I'd like to have a 2nd enum with the entries "A,B,C,D,E". When the user selects one of the 2nd enum entries, I'd like the user to be presented with the corresponding enum from the group of 5.
    The context is this: the 2nd enum has entries like "Status Register" and "Event Register", and 3 others. Each register has different bits, like "motion complete" and "forward limit". I'd like the user to be able to select the register in one enum, and show that register's bit names in the other enum.
    -Jeff

    You could also use Rings as the controls on th efront panel. When the user selects the group programmatically change the value of the ring. You would need to keep track of the current group selection so that when you actually use the value from the ring you can typecast it back to the correct ENUM type and value.
    Another option would be to show/hide the controls based on the group selection.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • Feather radius for selection depending on the image size

    Greetings everyone,
    I have a question about setting the feather radius for a selection depending on the image size. I'd like make the edge in the resultant layer mask have roughly the 'same' feather appearance for varying image sizes.
    For files below 2000 pixels I would set  a feather radius of 0.2
    For files above 2000 pixels I would set  a feather radius of 0.3
    However, I started working with 4000-10000 pixel images and I was wondering about the radius for those images.
    Is there a more 'scientific' method I could follow? Any thoughts welcome
    Many thanks
    gr

    You would need to use Photoshop scripting to do that. Also using number of Pixels might not be what you want to use.  While number pixel is an absolute number pixels you have have no size information till there is a DPI resolution involved. At 300 DPI 300 pixels are 1" in size at 72 DPI 300 pixels are 4.16 inches in size.
    A conditional action is not possible adobe conditional action support but is possible with the downloadable script  Siva's Contitional Action

  • How can we model different receipt days in a location depending on the start-destination relationship in an optimizer run in SNP?

    We have a business scenario where the receipt days for a location depends on the relationship between the Start-Destination Location. We need to include this constraint in an optimizer run with daily buckets.
    Example:
    Factory A (Start Location) ships to DC X (destination location) only on Mondays, with a lead time of 2 days. DC X should receive the stock from Factory A on Wednesday
    Factory B (Start Location) ships to DC X (destination location) only on Thursdays, with a lead time of 1 day. DC X should receive the stock from Factory B on Saturday
    Does anyone has been able to model this scenario?
    I tried using transportation calendars(time stream) in the means of transport, having undesired results:
    a) Transportation Lane A-X. Calendar 1A, only Monday is available
    The system creates stock transfers on Monday on Week 1 and ends on Monday of Week 3.
    b) Transportation Lane A-X. Calendar 2A, Monday and Wednesday are available
    The system creates stock transfers on Monday and Wednesday on Week 1:
          The stock transfer that starts on Monday-Week 1 ends on Monday-Week 2.
          The stock transfer that starts on Wednesday-Week 1 ends on Wednesday-Week 2.
    c) Transportation Lane A-X. Calendar 3A, Monday Tuesday and Wednesday are available
    The system creates stock transfers on Monday, Tuesday and Wednesday on Week 1.
         The stock transfer that starts on Monday-Week 1 ends on Wednesday-Week 1. (this is actually what I need)
         The stock transfer that starts on Tuesday-Week 1 ends on Monday-Week 2.
         The stock transfer that starts on Wednesday-Week 1 ends on Tuesday-Week 2.
    Regards

    you really don't need to post all that code, few people will read it, or try to compile/run it.
    just a tree in a scrollpane in a frame is all you need, then add the method/problem to the basic,
    and post that so its only 20 to 30 lines long.
    here's your basic tree/scrollpane/frame, with an expandAll()
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    class Testing
      public void buildGUI()
        JTree tree = new JTree();
        expandAll(tree);
        JFrame f = new JFrame();
        f.getContentPane().add(new JScrollPane(tree));
        f.pack();
        f.setLocationRelativeTo(null);
        f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        f.setVisible(true);
      public void expandAll(JTree tree)
        int row = 0;
        while (row < tree.getRowCount())
          tree.expandRow(row);
          row++;
      public static void main(String[] args)
        SwingUtilities.invokeLater(new Runnable(){
          public void run(){
            new Testing().buildGUI();
    }so, is your problem with the expandAll(), or with reading the properties file?

  • Purchase order(me21) number range depending upon the plant

    Hello All,
    I have to generate differant number range for purchase order depending on the plant.
    I have found one User exit MM06E003 but it has only ekko as importing structure.
    In whiih exit , I cam get plant (ekpo-werks ) and import it to memory id , which will be further used in
    MM06E003.
    Regards
    Mohit

    Hi Mohit,
    You can try the Enhancement MM06E005. Both EKKO and EKPO structures are available in various function exits in the above Enhancement.
    Also you can try using BADI ME_PROCESS_PO_CUST. This BADI is called whenever transactions ME21N/22N/23N are called.
    Hope the above info will help.
    Regards.
    Abhisek Biswas.

  • Activate Monitoring for System

    Hi,
    when I try to Setup System Monitoring, in the step Activate Monitoring for System can see only the production system, while in the smsy I setup all my development systems too.
    How can I do to setup a development system in the Monitoring Setup ?
    Thank's in advanced
    Francesc

    Hello Francesc,
    Go to DSWP-> your solution-> solution landscape maintenance.
    right click on the development system and click on the option "put in solution". this will activate your development system also for system monitoring.
    please revert back if solved.
    Regards
    Tripti

  • Display an exception on one keyfigure based on the value of another key fig

    Hello all,
    How to run a exception based on some condition i.e
    i want to highlight the sales(key figure) which r less than the  average sales..
    where sales and average sales r keyfigures...
    i also created a cal key fig which has has value 1 if sale > avg sale...
    i.e How do i display an exception on one keyfigure depending on the value of another keyfigure??
    plz reply its urgent...
    thnx in advance...

    Hello Ajay, did you got an answer for your problem? I'm interested...
    Thx Masen
    Edited by: Masen-Fuad Marei on Nov 25, 2009 6:26 PM

  • Can conditional formatting refer to the value in another cell

    Is there a way for conditional formatting refer to the value of another cell instead of entering the value in the conditional format box?

    wwjd is right. no way of doing that.
    WWJD, two wuestions:
    1) do you have the new office 2008 for mac beta (is it out?), how close is it to the new features in Office 2007 for windows, if you do?
    2) why do our pictures keep getting cut off after a day of posting. I posted a pic yesterday and its already not showing on the page the next day. Do they not load them after the question is marked as solved?
    thanks,
    Jason

  • How to create  some columns dynamically in the report designer depending upon the input selection

    Post Author: ekta
    CA Forum: Crystal Reports
    how  to create  some columns dynamically in the report designer depending upon the input selection 
    how  export  this dynamic  report in (pdf , xls,doc and rtf format)
    report format is as below:
    Element Codes
    1
    16
    14
    11
    19
    10
    2
    3
    Employee nos.
    Employee Name
    Normal
    RDO
    WC
    Breveavement
    LWOP
    Sick
    Carers leave
    AL
    O/T 1.5
    O/T 2.0
    Total Hours
    000004
    PHAN , Hanh Huynh
    68.40
    7.60
    76.00
    000010
    I , Jungue
    68.40
    7.60
    2.00
    5.00
    76.00
    000022
    GARFINKEL , Hersch
    66.30
    7.60
    2.10
    76.00
    In the above report first column and the last columns are fixed and the other columns are dynamic depending upon the input selection:
    if input selection is Normal and RDO then only 2 columns w'd be created and the other 2 fixed columns.
    Can anybody help me how do I design such report....
    Thanks

    Hi Developer life,
    According to your description that you want to dynamically increase and decrease the numbers of the columns in the table, right?
    As Jason A Long mentioned that we can use the matrix to do this and put the year field in the column group, amount fields(Numric  values) in the details,  add  an filter to filter the data base on this column group, but if
    the data in the DB not suitable to add to the matrix directly, you can use the unpivot function to turn the column name of year to a single row and then you can add it in the column group.
    If there are too many columns in the column group, it will fit the page size automatically and display the extra columns in the next page.
    Similar threads with details steps for your reference:
    https://social.technet.microsoft.com/Forums/en-US/339965a1-8cca-41d8-83ef-c2548050799a/ssrs-dataset-column-metadata-dynamic-update?forum=sqlreportings 
    If your still have any problem, please try to provide us more details information, such as the data structure in the DB and the table structure you are currently designing.
    Any question, please feel free to let me know.
    Best Regards
    Vicky Liu

  • How to generate a pwm whose duty cycle has to be varied depending on the frequency of the input trigger??

    Sir/madam,
    I am quite new to the Labview FPGA module. 
    I am currently working on an application where i have to generate a pwm to control the ON time duration . The pwm ON time depends on the frequency of an input signal.I want to retrieve the ON time value from a lookup table which contain the duty cycle values for the pwm at different frequencies of the input.This input also has to work as a trigger. The input is pulsed and the trigger has to generate the pwm at every rising edge. I am using a PCI 7831R-  RIO series. I am urgently in need of some help and i have hardly a  couple of weeks before i meet the deadline.
    I am trying hard to learn the basics from the shipping examples but not able to quite make my vi work. 
    Kindly lend a helping hand and i would be very grateful to anybody who can help. Thanks a lot in advance.
    Do ask in case of any clarifications required. I  think i have explained my problem quite well. 

    Hello Manu,
    You can refer 
    Developing a PWM Interface using LabVIEW FPGA or PWM Output with LabVIEW FPGA
    How this helps.
    Best Regards, 
    Hardik Asawa
    AE
    National Instruments  
    Message Edited by Hardik Asawa on 05-05-2010 12:46 AM

  • How can I disable the Reason for Rejection field in VA02 line items

    Hi,
      I dont want the users to be able to change the reason for rejection field in the sales order line items. Can someone please suggest a tried and tested way of doing this
    Thanks for reading.

    Set up an auth object for the field.  In userexit field modification check the auth object and set the field to be grayed out if they don't have authority.  Users can then not change the value of the field  Sample code
    IF screen-name = 'VBAP-ABGRU'.
           AUTHORITY-CHECK OBJECT 'Z_BLK_REAS'
                   ID 'ABGRU' DUMMY.
          IF sy-subrc EQ 0.
            screen-input = 1.
          ELSE.
            screen-input = 0.
          ENDIF.
      ENDIF.

Maybe you are looking for

  • Mac mini server VPN

    I've got a new mac mini server (2010). I cannot get the Cisco VPN client from the University I work for to install on the mini. Anyone else having this problem?

  • How to restore iPhone 4 after interrupted update to iOS 5? iTunes returns unknown error

    Hello! I've tried to install iOS 5 beta on my iPhone 4. in the middle of the update XCode displayed something like "couldn't update", then I tried to restore iPhone using iTunes, but each time it throws "couldn't restore. unknown error". now i can't

  • Can I create a font in AI6 - like you can in Inkscape?

    I just have 5 or 6 dingbats that i want to convert to a font and then use on a website. Can I do this in AI? Is there a tutorial anyone might know of? Many thanks in advance!

  • Looping over arraycollection with sap data

    Hello, I asked a lot of persons but i still have a problem. I am trying to make a organizational chart in Adobe Flex with data out of the SAP system. When I try to access my data that I have given trough the Flash Islands container it doesn't work. I

  • BPM Enterprise installation

    I will install BPM EM Weblogic to Redhat. I read the installation guide. It shows that the BPM Enterprise should be installed in Redhat Linux 4 and 5. Is Redhat Linux 4 and 5 are Redhat Enterprise Linux?