How to get default input values when using promt user for input

I use "promt user for input" to input some values. The messageboard appears with blank boxes then I will input  new values. I want to make some default values in this blank boxes so that I needn't to enter new values. Is it possible ?

Right click on he Express Vi terminal and choose open Front panel to convert it into a standard vi. Then open it. Enter a default value for each control, then right-click on the controls and go to data operation > make current value default.
Message Edité par chilly charly le 11-18-2007 12:52 PM
Chilly Charly    (aka CC)
         E-List Master - Kudos glutton - Press the yellow button on the left...        

Similar Messages

  • I need to get 2 decimal places when using a formula for a quotient and Numbers will only give me whole integers which is useless since most items will be less than 1. How can I change this?

    How do I get 2 decimal places when using a formula for a quotient? It only gives me whole integers. Most of the results will be less than 1 so I need 2 decimal places

    the quotient function returns only whole number portion of the dividing two numbers.  If you want the actual decimal value use the divide operator.  you enter this as:
    A/B
    if the numerator is in A1 and the denominator is in B1 you can enter the formula like this:
    =A1/B1

  • How to get Default Activity(Infotype 0315) using BAPI

    Hi Everyone,
    I have a task to get Default Activity by Personal number for my third party application. Unfortunately function HR_READ_INFOTYPE is not allowed for Remote Call.
    Is there any simple way how to get this value from system using BAPI? E.e. using RFC_READ_TABLE function(but i don't know table name ).
    Thanks,
    Roman.

    Table -> PA0315        Field ->LSTAR (Activity Type)
    Class :CL_HRPT_INFOTYPE_0315
    You can also use FM "CATS_GET_INFOTYPE_0315" RFC Enable
    Good luck !
    ~Saquib

  • How to get a report "closed" when using the ReportViewerBean

    I read the article /people/ted.ueda/blog/2008/12/20/crystal-reports-for-eclipse--ensuring-report-cleanup from Ted Ueda regarding cleaning up reports for the RAS server.  However, I'm trying to figure out how to get this accomplished for a thick client accessing a local rpt file and then displaying that file using the ReportViewerBean.  I can't seem to get the report closed. I tried the dispose() techniqe from the article, but with no success.
    My basic process is:
    1) Press button on main frame to open and set up report
    2) Pass open report (via ReportClientDocument) object to the viewer frame class (which views report in separate window using ReportViewerBean)
    3) Close viewer window when done, destroy ReportVieweBean and close ReportClientDocument
    4) Press button again on main frame later to view report
    If I set up the report but skip the step of sending the report to the viewer frame, ReportClientDocument.isOpen() will go from true to false after I execute just  the ReportDocumentClient.close() command.  However, if open the viewer frame, I cannot get the report closed.
    In the window closing event for my viewer window I have:
    public void quit() {
                try {
                    CrystalReportViewer crv1 = new CrystalReportViewer();
                    crv1.setReportSource(reportClientDoc.getReportSource());
                    reportViewer.destroy();  //this is a ReportViewerBean
                    reportClientDoc.close();  //this is a ReportClientDoc
                    crv1.dispose();
                    //the following is always true
                    System.out.println("ReportClientDoc.isOpen: " + reportClientDoc.isOpen());
                    this.dispose();
                catch(ReportSDKException ex) {
                    ex.printStackTrace();
                catch(ReportSDKExceptionBase ex) {
                    ex.printStackTrace();
    I'm using the latest Java CR4E 12.2.205.825 downloaded from the CR4E website.  Any ideas?
    Edited by: Joseph Huber on Mar 16, 2010 8:13 PM

    The webservices you are trying to use are not the ones used for enterprise, they are used for non-enterprise applications accessing reports that are stored in a specific location on the web server.
    Here are samples that use our Enterprise SDK:
    [https://boc.sdn.sap.com/samples/84/1193|https://boc.sdn.sap.com/samples/84/1193]
    Here are samples that use our Enterprise Web Service SDK:
    [https://boc.sdn.sap.com/samples/84/1197|https://boc.sdn.sap.com/samples/84/1197]
    You can also look at the SDK documentation available here:
    [http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/devsuite.htm]

  • How to get a "blank" answer when using "if" statements in a table

    I'm using a table for an invoice where an item is ordered, but more may be shipped than ordered. I have the formcalc expression figured out where I can get a 0 in the "backordered" column if the amount shipped is more than the item ordered, but I can't get rid of the 0 in the rest of the backordered column when there isn't any information in the "ordered" and "shipped" columns. Trying to get that column to be blank if there is no shipping or ordering information.
    So far this is working for the math part. Not sure how to write a "blank" into the calculation
    Sum(ordered-shipped)
    if (Sum(ordered-shipped)>0)
    then backordered=Sum(ordered-shipped)
    elseif (Sum(ordered-shipped)<0)
    then backordered=0
    endif
    Any advice will be greatly appreciated. Thanks!

    I'm still getting a 0 in all the backordered columns when I'd like them to be empty. The form has more rows than I will be using, so when there is no information in the shipped and ordered row, I'd like the backordered row to be empty/blank. I've tried writing this at the end of my formula
    elseif ordered=null and shipped=null
    then backordered=null(but I really want it to be blank)
    or elseif Table1.Row1.ordered=null and Table1.Row1.shipped=null
    then Table1.Row1.backordered=null
    And yes, backordered is a numeric field.
    Any more advice? Thanks!

  • How to get to outlook express when using firefox

    new to firefox i do not see a tab to access my email in outlook express when using fire fox

    http://www.webdesigns.ms11.net/getmail.html <br />
    The GetMail extension provides a '''button''' for opening your email program. Make sure you read the instructions for setting GM Options for Outlook Express, as the default setting in GM is for Gmail.
    Also, you need to read this for setting up Firefox to use Outlook Express for "Send Mail" buttons on web pages or "Send Link" from within Firefox. Firefox also defaults to Gmail. <br />
    [http://support.mozilla.com/en-US/kb/Changing+the+e-mail+program+used+by+Firefox]

  • How to get the log information when using a class?

    Hi All,
    I have a simple question, which I don't know how to solve. I am using org.apache.commons.logging.Log and LogFactory to do some logging. A typical situation is exemplified in the following code snippet.
    import org.apache.commons.logging.Log;
    import org.apache.commons.logging.LogFactory;
    class LogClass {
        private static final Log LOG = LogFactory.getLog(AClass.class);
        public void logit(){
            LOG.debug("This is the debugging log.");
    public class AClass{
        public static void main(String[] args) {
            LogClass l=new LogClass();
            l.logit();
    }But this way, I do not get the log information from the class LogClass. Could anybody please help?
    Many thanks.

    jschell wrote:
    jverd wrote:
    ...configuration in log4j.xml or log4j.properties.And far as I recall you need one of those two also. If there is no config then there is no output.I thought it used some default config if no file is present, but I could be mistaken. Either way, it adds to the possible problems that the OP could be having, any of which are consistent with his rather vague question.
    1) He's passing the wrong class to the LogFactory, and hence getting a logger with the wrong name, so he's seeing a different name than he expects in the output that's being produced.
    2) His config file does not contain the proper format to include the actual classname, independent of the logger's name, so he's missing a piece of desired information in each line of the output that's being produced.
    3) His config file indicates a threshold that's less verbose than the level at which his code is logging, so no output is present when he wants it.
    4) His config file is missing (or not where it's expected to be), so no output is being produced at all.
    5) His config file is missing (or not where it's expected to be), so a default level or format is being produced, effectively the equivalent of one of the misconfigurations described in #2 and #3.
    Since the OP seems to have vanished, we may never know.

  • How to get the displayed message when using FM:  ABAP4_CALL_TRANSACTION

    Hi, 
    I am calling FM ABAP4_CALL_TRANSACTION from MS-Excel.  This FM works perfectly for me except the system messages that SAP returns are not always understandable or intituative.  My question is there another FM or Table that I can use to convert the data from MESS_TAB to a more meaningful message for the users?
    Examples listed below:
    Normal T-Code Message
    FM Message in MESS_TAB
    Real Meaning
    Fill in all required entry fields
    COBL-RMVCT        
    Field COBL-RMVCT is a required field
    Document 400000000 was posted in 130
    4000000000 130
    Document 400000000 was posted successfully
    Thanks for your Help

    Hi Karim,
    when you have the parameter to generate the message, you can use the following RFC function module:
    BAPI_MESSAGE_GETDETAIL
    The module has the following interface:
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(ID) LIKE  BAPIRET2-ID
    *"     VALUE(NUMBER) LIKE  BAPIRET2-NUMBER
    *"     VALUE(LANGUAGE) LIKE  BAPITGA-LANGU DEFAULT SY-LANGU
    *"     VALUE(TEXTFORMAT) LIKE  BAPITGA-TEXTFORMAT
    *"     VALUE(LINKPATTERN) LIKE  BAPITGA-LINKMASK OPTIONAL
    *"     VALUE(MESSAGE_V1) LIKE  BAPIRET2-MESSAGE_V1 OPTIONAL
    *"     VALUE(MESSAGE_V2) LIKE  BAPIRET2-MESSAGE_V2 OPTIONAL
    *"     VALUE(MESSAGE_V3) LIKE  BAPIRET2-MESSAGE_V3 OPTIONAL
    *"     VALUE(MESSAGE_V4) LIKE  BAPIRET2-MESSAGE_V4 OPTIONAL
    *"  EXPORTING
    *"     VALUE(MESSAGE) LIKE  BAPIRET2-MESSAGE
    *"     VALUE(RETURN) LIKE  BAPIRET2 STRUCTURE  BAPIRET2
    *"  TABLES
    *"      TEXT STRUCTURE  BAPITGB OPTIONAL
    Best regards
    Thomas

  • How to get 16:9 resolutions when using DVI to Video Adapter?

    I just plugged my new Intel Mac Mini into a 16:9 widescreen TV with the Apple DVI to Video Adaptor (PAL Video version).
    It only offers me:
    640x480
    720x480
    720x576
    800x600
    1024x768
    (all interlaced)
    I do get a choice of 50hz (PAL) or 60hz (NTSC).
    However, I don't get the widescreen options I've seen in some Apple screenshots.
    I'm plugging it into a PAL TV via an s-video cable.
    I intend later to plug it into a larger 42" plasma with same cable, but wanted to test it on this TV first.
    More info:
    I noticed, when I bought the "DVI to Video Adapter" that there were NTSC and PAL version. Both seem to do PAL though.
    Any help on this most appreciated.

    Concerning your question, "if only i knew the the correct entries for a custom displayconfig x timing," I think I can answer that one for you.
    It sounds like you have other Macs at your disposal that are correctly driving the TV you are trying to drive with the Intel mini. In that case, install DisplayConfigX on one of those computers and while it is running the TV at the desired resolution, click on the "Card" tab in DCX and then click on the "+" symbol at the bottom right corner. This will open a window in DCX titled "Resolution details" and you will see all the detailed information of the timing you need to enter into DCX on the Intel mini.

  • How to get 2 finger scrolling when using windows on mac?

    I just recentley put windows on my mac and i have installed all of the drivers for it to run but im having trouble with a few things like the f keys wont work for brightness or keyboard brightness and the other thing that wont qork is the 2 fingered scrolling then the volume buttons.

    In Windows there is a task bar located in the lower right of your desktop. There is a Bootcamp icon there, if you installed Bootcamp in Windows. Click on the icon and open the Bootcamp control panel. Select the keyboard and trackpad tab then set up your two finger scrolling etc.

  • How to set username and password when using Proxy class for SOCKS5?

    Hi all,
    I use the proxy class for SOCKS5, so need to set username and password, I don't find where can I set the value. whether the API support it.
    Thanks in advance!

    System.getProperties().put("proxySet", "true");That does nothing. Remove.
    System.getProperties().put("proxyHost", getProxyHost());
    System.getProperties().put("proxyPort", getProxyPort());You should be setting socks.proxyHost and socks.proxyPort here.
    System.setProperty("java.net.socks.username", getSOCKSUsername());
    System.setProperty("java.net.socks.password", getSOCKSPassword());
    Authenticator.setDefault(new ProxyAuth(getSOCKSUsername(), getSOCKSPassword()));You either need the first two lines or the third, not both. See the last link posted above.
    1. After I set the value, I connect internet by proxy, how the proxy server knows the values?Because Java tells it during the SOCKS handshake.
    2. In my app, I just set the values in the system properties, then JVM does remaining work? Remaining work is not concerned?Should be OK unless you have to connect to a different SOCKS proxy from the same JVM, but that kind of thing is problematic anyway due to the curious Authenticator design which is set globally, not per connection as you might expect.

  • How to get the DataGridColumn Value

    Hi All,
    I have a problem with DataGridColumn . In that "How to get
    the DataGridColumn value when the application loads"(here am not
    using anyother event).
    In my code i have three columns.I want to get the first
    datagridcolum(Name) values(all rows values).
    here i will send my code please refer ...
    <?xml version="1.0"?>
    <!-- DataGrid control example. -->
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    creationComplete="init()">
    <mx:Script>
    <![CDATA[
    import mx.controls.Alert;
    ]]>
    </mx:Script>
    <mx:XMLList id="employees">
    <employee>
    <name>Christina Coenraets</name>
    <phone>555-219-2270</phone>
    <email>[email protected]</email>
    <active>true</active>
    </employee>
    <employee>
    <name>Joanne Wall</name>
    <phone>555-219-2012</phone>
    <email>[email protected]</email>
    <active>true</active>
    </employee>
    <employee>
    <name>Maurice Smith</name>
    <phone>555-219-2012</phone>
    <email>[email protected]</email>
    <active>false</active>
    </employee>
    <employee>
    <name>Mary Jones</name>
    <phone>555-219-2000</phone>
    <email>[email protected]</email>
    <active>true</active>
    </employee>
    </mx:XMLList>
    <mx:Panel title="DataGrid Control Example" height="100%"
    width="100%"
    paddingTop="10" paddingLeft="10" paddingRight="10">
    <mx:Label width="100%" color="blue"
    text="Select a row in the DataGrid control."/>
    <mx:DataGrid editable="true" id="dg" width="50%"
    height="60%"
    itemEditEnd="Alert.show('hi')" doubleClickEnabled="true"
    doubleClick="dg.editable=true" rowCount="5"
    dataProvider="{employees}">
    <mx:columns>
    <mx:DataGridColumn id="nam" dataField="name"
    headerText="Name"/>
    <mx:DataGridColumn dataField="phone"
    headerText="Phone"/>
    <mx:DataGridColumn dataField="email"
    headerText="Email"/>
    </mx:columns>
    </mx:DataGrid>
    <mx:Form width="100%" height="100%">
    <mx:Text text="Employe Details" fontSize="18"/>
    <mx:FormItem label="Name :">
    <mx:Label text="{dg.selectedItem.name}"/>
    </mx:FormItem>
    <mx:FormItem label="Email :">
    <mx:Label text="{dg.selectedItem.email}"/>
    </mx:FormItem>
    <mx:FormItem label="Phone :">
    <mx:Label text="{dg.selectedItem.phone}"/>
    </mx:FormItem>
    </mx:Form>
    </mx:Panel>
    <mx:Script>
    <![CDATA[
    private function init():void{
    var name:String=nam.dataField;
    Alert.show("values: "+name);
    ]]>
    </mx:Script>
    </mx:Application>
    Thanks in Advance,
    Premdas.

    This code may help:

  • How to get default values while using the transaction "BP"

    Hi Group,
    I have a query on how to get default values while using the transaction <b>BP</b>?
    The thing is:
    when I enter into the transaction "BP", I need to see some default values to some of the input fields in the screen.
    how can I achieve this?
    So please kindly let me know the procedure to achieve this.
    Thanks & Regards,
    Vishnu.

    Hi,
    The events of BDT can be used to default some fields on creating a partner.
    For this create a function module for ISDAT. attach that event in BUS7.
    In the ISDAT funtion modulethe following code should be used.
    For example to set the nationality:
    I_BUSDEFAULT-NATIO = 'DE.
    CALL FUNCTION 'BUP_BUPA_FIELDVALUES_SET'
    EXPORTING
    i_busdefault = I_BUSDEFAULT
    Regards, Smita.

  • When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    When I open a pdf file, after a few seconds, it hides the toolbar and I don't know how to get it back.  I use multiple monitors and, without being able to grab the toolbar, I am unable to move the pdf file to a different monitor.  How do I stop this?

    Does Firefox switch to full screen if you press F11 ?
    You can also try the F10 key to see if that brings up the menu bar.
    * If the above steps didn't help then see http://kb.mozillazine.org/Corrupt_localstore.rdf
    Note: Do not delete localstore.rdf in the program folder (Windows: "C:\Program Files\Mozilla Firefox\defaults\profile\") (Mac: "/Applications/Firefox.app/defaults/profile/")

  • How to get STPOV structure values using BOM number and Plant number

    hello All,
    could you please help me out
    'How to get  STPOV structure values using BOM number and Plant number'
    is there any function module where can i give input as bom and plant number .
    waiting for your response.
    regards
    srinivas

    I did a quick where-used lookup in SE11 on the structure STPOV in function module interfaces and came up with the following:
    Function Module                             Short Description                                          
    CK_F_TOTALCOST_COMPUTE                                                                      
    CS_ALT_SELECT_COUPLED_PRODUCT                                                               
    CS_WHERE_USED_CLA                Bills of material; class use                               
    CS_WHERE_USED_CLA_ANY        Bills of material; direct class use or via other class     
    CS_WHERE_USED_CLA_VIA_CLA        Bills of material; class use via classes                   
    CS_WHERE_USED_COP                                                                           
    CS_WHERE_USED_DOC                Bills of material; document use                            
    CS_WHERE_USED_DOC_ANY:Bills of material; direct and (indirectly) document use via
    CS_WHERE_USED_DOC_VIA_CLA        Bills of material; document use via classes                
    CS_WHERE_USED_KNO                Bills of material; use object dependency                   
    CS_WHERE_USED_MAT                Bills of material; where-used list                         
    CS_WHERE_USED_MAT_ANY:Bills of material; where-used list as article or class item
    CS_WHERE_USED_MAT_VIA_CLA        Bills of material; where-used list via classes             
    EXIT_SAPMC29M_001                BOM; Article Where-Used List   
    It appears that this structure is primarily used for where-used look-ups for components within the BOM.  I don't know if any of these are what you're in need of.
    Hope this helps,
    Mark Schwendinger

Maybe you are looking for

  • CPU Hitting 100% +Screen flickering/Flashing

    Hi folks, i wanted some help with a problem i started having recently! My processor seems to be hitting 100% for about 5secs or until that precise folder with .mp4 files fully loads up (when i access .mp4 files), but when i convert them, the screen j

  • Three Finger Swipe to change Spaces

    Hi, I was wondering if there's any way to set up my macbook air to change spaces using a three finger swipe in the finder. I know I can use a three finger swipe to go forward and backward in safari as well as do some other things and I want to be abl

  • HT201060 Family Sharing of App not available

    My son purchased an app and now trying to install it on my phone but it's asking me to purchase it. I know we are both under the same family as I double checked that. Is there a way to contact apple to fix this?

  • Language change back to english!!!​!!

    A funny friend of mine changed my language to hebrew or arabic can't reall identify which.When I go into options the first thing I see is auto text ...the order is not the same and as I click into each heading I cannot find the option to change backI

  • IMac's retina display distorts iTunes screen

    I have an iMac retina display AMD Radeon R9 M295X 4096 MB .... My problem is when using iTunes, the display rows of tunes overlap each other so I can really see all my tunes. I am using Yosemite 10.10.2 and iTunes 12.10.5.0 I'd show a screen shot but