How to make attribute as a char

Hi Experts,
we have a Real time  cube , In this cube 0crm_prod as a char and product_id is an attribute of that char. as per my need I need to change that product_id to char by adding this to cube  and load the data of that attribute.How do I load data.Please propose solution.
1. By Reading master data we don't have transformations to Real time cube. This cube is only for planning.
Regds,
Manohar

Hi ,
As its real time cube , you would be creating query on aggregation level .I suppose in filter tab (in rsplan )you can use customer exit variable where you can read master data for product_id .
You can also try to use characterustic relationship in infoprovider tab (in rsplan ) giving source and target characteristic and TYPE as attribute .
Hope it helps.
Edited by: Neetika Sharma on Apr 20, 2010 1:27 PM

Similar Messages

  • How to make Attribute Change run alignment & Hierarchy changes in Aggregat

    Hello
    I want to understand that How to make Attribute Change run alignment & Hierarchy changes in Aggregate?
    I posted previously the same question but there were not good answers and i was not able to understand clearly .....
    If there is Process chain XXY which makes Attribute change run for Master Data 0SPELLING ?
    Now there is Aggregate TRT which includes :
    0SPELLING , Fiscal Period , Purchase Product, Purchase Category ?
    Now pls answer following question ?
    1) Does the Process Chain XXY which makes only attribute change run alignment for 0SPELLING , Will this process chain automatically do the Change run alignment for 0SPELLING in Aggregate TRT ? YES or NO
    2) If Yes, then we are just suppose to do Roll up for Aggregate TRT after Process chian XXY completes and finish job ?
    3) If No, then what steps are suppose to be DONE so as to make sure that Aggregate TRT has new values and perfect values for 0SPELLING ?
    Please answer and coorect if i have any wrong question....

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • How to make Attribute Change run alignment & Hierarchy changes in Aggregate

    Hello
    I want to understand that How to make Attribute Change run alignment & Hierarchy changes in Aggregate?
    I posted previously the same question but there were not good answers and i was not able to understand clearly .....
    If there is Process chain XXY which makes Attribute change run for Master Data   0SPELLING ?
    Now there is Aggregate TRT which includes :
    0SPELLING , Fiscal Period , Purchase Product, Purchase Category ?
    Now pls answer following question ?
    1) Does the Process Chain XXY which makes only attribute change run alignment for 0SPELLING ,   Will this process chain automatically do the Change run alignment for 0SPELLING in Aggregate TRT ?         YES or NO
    2)  If Yes, then we are just suppose to do Roll up for Aggregate TRT after Process chian XXY  completes and finish job ?
    3) If No, then what steps are suppose to be DONE so as to make sure that  Aggregate TRT has new values and perfect values for  0SPELLING ?
    Please answer and coorect if i have any wrong question....

    for e.g.
    u have 0spelling whicha has attributes x,y and z on day 1 with 10 records
    so do ur aggregates on day1 with same values
    now on day2 u had new values of attributes y,z,s,d and new hierarchies and so u add new records
    with data load u will load the data with version M of modified and is not available for reporting
    If u do attribute change run then this modified version is activated to A i.e. active version .
    It will also do the change run alignment for Aggregate for new attribute values and new hierarchy values for aggregate.
    now in order for this data to be available for reporting u will need to do the roll up of aggregate.....
    if u roll up aggregate before attribute change run , new data is not avaialable for reporting
    if u roll up aggregate after attribute change run, then data is available for reporting
    if u dont roll up aggregate eventhough new data is in dataprovider, still new data will not be available for reporting.
    this is how it works

  • How to display attributes for a CHAR in the Excel file (BEx)?

    Hi all,
    I knew that I can display attributes for a CHAR (ex: attributes - address, phone#, zip code for CHAR-Customer) when I run Web- based report. But I cannot find this function after I export the file to Excel. In the context menu for excel file, I only see 'select filter'(but no display attribute values), drilldown, properties (for query). Is it something that I cannot have in the excel file for the BEx report?
    Thanks
    J.

    Hi Bhanu,
    In fact, I found that I can move IOs in the 'rows', 'column', and 'free CHARs' and so do end user by using 'local view'. That means every one can change the query definition, right?
    For your last question, that was what I want to know. How can I prevent 'end users' change those query definitions? Is it about 'role' setting, right? But I am not the one to do 'role' setting.
    Thanks for help. (I will asign points when the SDN system works)
    J.

  • How to make visible value attributes of a Search Node

    Hi All,
    We have a requirement to enhance the search context node SEARCH ( Dynamic Query Object SVYQ ) of component SVY_S.
    But the enhancement category of Attribute Structure CRMST_QUERY_SVYIL is 'Can't be enhanced'.
    So we are adding value attributes to this context node. How to make this value attributes available in view configuration tab?
    Please suggest a better approach if there is any.
    Thanks in adv.

    Hi  Suchindra,
       You assign these  enhanced  attributes to design layer. so you can see these fields in Config tab.
    How to do:
    IMG->Customer Relationship Management -> UI Framework -> UI Framework definition -> Maintain
    design layer
    Here include the enhanced attributes and then go to component work bench and in context attributes right click assign the desing layer, selct your attribute and  in the bottom click on SAVE button.
    Then check it in configuration tab your attributes will available in show available fields.
    I hope this will solve your problem
    Regards,
    Sagar

  • How to make the attribute of type object private

    Hi All!
    How to make the attributes of type object private ?
    regards
    Sanjeeb Bose
    Kolkata India

    Sanjeeb,
    Object encapsulation can be enforced at your client/mid-tier API level (e.g., Java, C++).
    Regards,
    Geoff
    Hi All!
    How to make the attributes of type object private ?
    regards
    Sanjeeb Bose
    Kolkata India

  • How to hide the Form Feed char in JTextArea

    We have reports (written in C) that are being displayed in a JTextArea.
    In our old app, the Form Feed character (ASCII 12) was invisible naturally without having to code around it. In a JTextArea, it appears as a "[]" character. Does anyone know how to make this character invisible to the JTextArea? Removing it is not an option, as it is needed for it's print routine.
    I've been searching these forums and the web all morning with no luck.

    Not sure how the Form Feed character worksIt lets the printer know that a new page is to be started at that point.
    Does it always appear with the New Line character?Usually but not always.
    Thanks for the reply. It's more involved than just printing standard lines of text, so perhaps I should have been more clear.
    The C report already has pagination built in from when it was run from our legacy GUI. In other words, each report knows how many chars wide and how many lines down each page will be. It is different for each report, but they all hover around 150 chars wide and 60 lines down per page, since they are all presented to the user (and printed) in landscape.
    In the C code: at the end of each report line a "\n" is appended. At the end of each page, an ASCII 12 character is appended. A header is at the top of each page (different for each report, but usually 2 or 3 lines) that shows the page # and other info.
    So, as you are viewing the report, you would see page 1 header, some report content, page 2 header, some more report content, page 3 header, etc. as you scroll down.
    So now if you view it in Java: if the user wishes to print, the report is sent to our ReportPrinter class, who tokenizes the report based on "\f" and makes a ReportPage object (implements Printable) for each token. Each ReportPage is then appened to a java.awt.print.Book object, who in turn is sent to the PrinterJob.
    Given that the report already has his pages figured out and has a form feed char at the end of each page, the report comes in to the JTextArea with [] chars preceding each page header (approximately every 60th line, depending on the report).
    I tried using a JTextPane, but no luck. It was also much slower reading in the report. I just want the textpane to not display the non-printable characters ("\f" in this case).

  • I created a form and I'm not sure how to make the 'submit' button send me the collected information.

    Hello everybody. I am a web designer (NOT a developer)
    I created a form and I'm not sure how to make the 'submit' button send me the collected information.
    I have used phpform.org/ to custom build a submission form. Then I opened that html in dreamweaver (so that I could edit colors, fonts, and delete the phpform.org advetisement)
    Now I need to link the 'submit button' so that it will e-mail me the completed form.
    (formphp.org wants me to subscribe to a servie that I pay for in order to have the form e-mailed to myself.)
    (after I get the submit button linked to an e-mail I will pull the html of my completed form into Muse- but I don't think that is really relevent)
    I'm sure one of you can help point me in the right direction! I can't write my own code so detailed help is appreciated!
    -Brenna
    The e-mail I would like the form sent to is:
    [email protected]
    Here is the the code for my form 'as is' :
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>Create a Profile</title>
    <link rel="stylesheet" type="text/css" href="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/view.css" media="all">
    <script type="text/javascript" src="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/view.js"></script>
    </head>
    <body id="main_body" >
              <img id="top" src="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/top.png" alt="">
              <div id="form_container">
                        <h1><a>Create a Profile</a></h1>
                <form id="form_836144" class="appnitro" enctype="multipart/form-data" method="post" action="">
                        <div class="form_description">
                                  <h2 align="center">Create a Tommy Lemonade Profile</h2>
                                  <p></p>
                        </div>
                          <ul >
                                              <li id="li_1" >
                        <label class="description" for="element_1">Name </label>
                        <span>
                                  <input id="element_1_1" name= "element_1_1" class="element text" maxlength="255" size="8" value=""/>
                                  <label>First</label>
                        </span>
                        <span>
                                  <input id="element_1_2" name= "element_1_2" class="element text" maxlength="255" size="14" value=""/>
                                  <label>Last</label>
                        </span>
                        </li>                    <li id="li_23" >
                        <label class="description" for="element_23">Service Provider Type </label>
                        <span>
                                  <input id="element_23_1" name="element_23_1" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_1">Barber</label>
    <input id="element_23_2" name="element_23_2" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_2">Hairstylist</label>
    <input id="element_23_3" name="element_23_3" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_3">Nail Technician</label>
    <input id="element_23_4" name="element_23_4" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_4">Massage Therapist</label>
    <input id="element_23_5" name="element_23_5" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_5">Skin Care</label>
    <input id="element_23_6" name="element_23_6" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_6">Esthetician</label>
    <input id="element_23_7" name="element_23_7" class="element checkbox" type="checkbox" value="1" />
    <label class="choice" for="element_23_7">Make Up Artist</label>
                        </span><p class="guidelines" id="guide_23"><small>Select all that apply.</small></p>
                        </li>                    <li id="li_19" >
                        <label class="description" for="element_19">Top 5 services </label>
                        <div>
                                  <textarea id="element_19" name="element_19" class="element textarea medium"></textarea>
                        </div><p class="guidelines" id="guide_19"><small>Please list your top 5 services</small></p>
                        </li>                    <li id="li_20" >
                        <label class="description" for="element_20">List all services you offer & thier starting price </label>
                        <div>
                                  <textarea id="element_20" name="element_20" class="element textarea medium"></textarea>
                        </div><p class="guidelines" id="guide_20"><small>please use a new line for each service. You can do this by pressing 'enter' after each starting price.
    </small></p>
                        </li>                    <li id="li_12" >
                        <label class="description" for="element_12">Personal Phone </label>
                        <span>
                                  <input id="element_12_1" name="element_12_1" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_12_1">(###)</label>
                        </span>
                        <span>
                                  <input id="element_12_2" name="element_12_2" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_12_2">###</label>
                        </span>
                        <span>
                                   <input id="element_12_3" name="element_12_3" class="element text" size="4" maxlength="4" value="" type="text">
                                  <label for="element_12_3">####</label>
                        </span>
                        <p class="guidelines" id="guide_12"><small>Only fill in if you want clients to be able to contact you on your personal phone line rather than the phone at your place of employment. </small></p>
                        </li>                    <li id="li_21" >
                        <label class="description" for="element_21">E-mail (Required)  </label>
                        <div>
                                  <input id="element_21" name="element_21" class="element text medium" type="text" maxlength="255" value=""/>
                        </div><p class="guidelines" id="guide_21"><small>Staff at Tommy Lemonade will use this e-mail as your primary contact information. it will also be seen by your potential clients.</small></p>
                        </li>                    <li id="li_6" >
                        <label class="description" for="element_6">Confirm your e-mail (Required)  </label>
                        <div>
                                  <input id="element_6" name="element_6" class="element text medium" type="text" maxlength="255" value=""/>
                        </div><p class="guidelines" id="guide_6"><small>Please re-type your e-mail address</small></p>
                        </li>                    <li id="li_3" >
                        <label class="description" for="element_3">Web Site </label>
                        <div>
                                  <input id="element_3" name="element_3" class="element text medium" type="text" maxlength="255" value="http://"/>
                        </div><p class="guidelines" id="guide_3"><small>If you don't have your own website feel free to link your professional Facebook, Google+ etc... </small></p>
                        </li>                    <li id="li_4" >
                        <label class="description" for="element_4">Place of employment </label>
                        <div>
                                  <input id="element_4" name="element_4" class="element text medium" type="text" maxlength="255" value=""/>
                        </div>
                        </li>                    <li id="li_2" >
                        <label class="description" for="element_2">Work Address </label>
                        <div>
                                  <input id="element_2_1" name="element_2_1" class="element text large" value="" type="text">
                                  <label for="element_2_1">Street Address</label>
                        </div>
                        <div>
                                  <input id="element_2_2" name="element_2_2" class="element text large" value="" type="text">
                                  <label for="element_2_2">Address Line 2</label>
                        </div>
                        <div class="left">
                                  <input id="element_2_3" name="element_2_3" class="element text medium" value="" type="text">
                                  <label for="element_2_3">City</label>
                        </div>
                        <div class="right">
                                  <input id="element_2_4" name="element_2_4" class="element text medium" value="" type="text">
                                  <label for="element_2_4">State / Province / Region</label>
                        </div>
                        <div class="left">
                                  <input id="element_2_5" name="element_2_5" class="element text medium" maxlength="15" value="" type="text">
                                  <label for="element_2_5">Postal / Zip Code</label>
                        </div>
                        <div class="right">
                                  <select class="element select medium" id="element_2_6" name="element_2_6">
                                  <option value="" selected="selected"></option>
    <option value="Afghanistan" >Afghanistan</option>
    <option value="Albania" >Albania</option>
    <option value="Algeria" >Algeria</option>
    <option value="Andorra" >Andorra</option>
    <option value="Antigua and Barbuda" >Antigua and Barbuda</option>
    <option value="Argentina" >Argentina</option>
    <option value="Armenia" >Armenia</option>
    <option value="Australia" >Australia</option>
    <option value="Austria" >Austria</option>
    <option value="Azerbaijan" >Azerbaijan</option>
    <option value="Bahamas" >Bahamas</option>
    <option value="Bahrain" >Bahrain</option>
    <option value="Bangladesh" >Bangladesh</option>
    <option value="Barbados" >Barbados</option>
    <option value="Belarus" >Belarus</option>
    <option value="Belgium" >Belgium</option>
    <option value="Belize" >Belize</option>
    <option value="Benin" >Benin</option>
    <option value="Bhutan" >Bhutan</option>
    <option value="Bolivia" >Bolivia</option>
    <option value="Bosnia and Herzegovina" >Bosnia and Herzegovina</option>
    <option value="Botswana" >Botswana</option>
    <option value="Brazil" >Brazil</option>
    <option value="Brunei" >Brunei</option>
    <option value="Bulgaria" >Bulgaria</option>
    <option value="Burkina Faso" >Burkina Faso</option>
    <option value="Burundi" >Burundi</option>
    <option value="Cambodia" >Cambodia</option>
    <option value="Cameroon" >Cameroon</option>
    <option value="Canada" >Canada</option>
    <option value="Cape Verde" >Cape Verde</option>
    <option value="Central African Republic" >Central African Republic</option>
    <option value="Chad" >Chad</option>
    <option value="Chile" >Chile</option>
    <option value="China" >China</option>
    <option value="Colombia" >Colombia</option>
    <option value="Comoros" >Comoros</option>
    <option value="Congo" >Congo</option>
    <option value="Costa Rica" >Costa Rica</option>
    <option value="Côte d'Ivoire" >Côte d'Ivoire</option>
    <option value="Croatia" >Croatia</option>
    <option value="Cuba" >Cuba</option>
    <option value="Cyprus" >Cyprus</option>
    <option value="Czech Republic" >Czech Republic</option>
    <option value="Denmark" >Denmark</option>
    <option value="Djibouti" >Djibouti</option>
    <option value="Dominica" >Dominica</option>
    <option value="Dominican Republic" >Dominican Republic</option>
    <option value="East Timor" >East Timor</option>
    <option value="Ecuador" >Ecuador</option>
    <option value="Egypt" >Egypt</option>
    <option value="El Salvador" >El Salvador</option>
    <option value="Equatorial Guinea" >Equatorial Guinea</option>
    <option value="Eritrea" >Eritrea</option>
    <option value="Estonia" >Estonia</option>
    <option value="Ethiopia" >Ethiopia</option>
    <option value="Fiji" >Fiji</option>
    <option value="Finland" >Finland</option>
    <option value="France" >France</option>
    <option value="Gabon" >Gabon</option>
    <option value="Gambia" >Gambia</option>
    <option value="Georgia" >Georgia</option>
    <option value="Germany" >Germany</option>
    <option value="Ghana" >Ghana</option>
    <option value="Greece" >Greece</option>
    <option value="Grenada" >Grenada</option>
    <option value="Guatemala" >Guatemala</option>
    <option value="Guinea" >Guinea</option>
    <option value="Guinea-Bissau" >Guinea-Bissau</option>
    <option value="Guyana" >Guyana</option>
    <option value="Haiti" >Haiti</option>
    <option value="Honduras" >Honduras</option>
    <option value="Hong Kong" >Hong Kong</option>
    <option value="Hungary" >Hungary</option>
    <option value="Iceland" >Iceland</option>
    <option value="India" >India</option>
    <option value="Indonesia" >Indonesia</option>
    <option value="Iran" >Iran</option>
    <option value="Iraq" >Iraq</option>
    <option value="Ireland" >Ireland</option>
    <option value="Israel" >Israel</option>
    <option value="Italy" >Italy</option>
    <option value="Jamaica" >Jamaica</option>
    <option value="Japan" >Japan</option>
    <option value="Jordan" >Jordan</option>
    <option value="Kazakhstan" >Kazakhstan</option>
    <option value="Kenya" >Kenya</option>
    <option value="Kiribati" >Kiribati</option>
    <option value="North Korea" >North Korea</option>
    <option value="South Korea" >South Korea</option>
    <option value="Kuwait" >Kuwait</option>
    <option value="Kyrgyzstan" >Kyrgyzstan</option>
    <option value="Laos" >Laos</option>
    <option value="Latvia" >Latvia</option>
    <option value="Lebanon" >Lebanon</option>
    <option value="Lesotho" >Lesotho</option>
    <option value="Liberia" >Liberia</option>
    <option value="Libya" >Libya</option>
    <option value="Liechtenstein" >Liechtenstein</option>
    <option value="Lithuania" >Lithuania</option>
    <option value="Luxembourg" >Luxembourg</option>
    <option value="Macedonia" >Macedonia</option>
    <option value="Madagascar" >Madagascar</option>
    <option value="Malawi" >Malawi</option>
    <option value="Malaysia" >Malaysia</option>
    <option value="Maldives" >Maldives</option>
    <option value="Mali" >Mali</option>
    <option value="Malta" >Malta</option>
    <option value="Marshall Islands" >Marshall Islands</option>
    <option value="Mauritania" >Mauritania</option>
    <option value="Mauritius" >Mauritius</option>
    <option value="Mexico" >Mexico</option>
    <option value="Micronesia" >Micronesia</option>
    <option value="Moldova" >Moldova</option>
    <option value="Monaco" >Monaco</option>
    <option value="Mongolia" >Mongolia</option>
    <option value="Montenegro" >Montenegro</option>
    <option value="Morocco" >Morocco</option>
    <option value="Mozambique" >Mozambique</option>
    <option value="Myanmar" >Myanmar</option>
    <option value="Namibia" >Namibia</option>
    <option value="Nauru" >Nauru</option>
    <option value="Nepal" >Nepal</option>
    <option value="Netherlands" >Netherlands</option>
    <option value="New Zealand" >New Zealand</option>
    <option value="Nicaragua" >Nicaragua</option>
    <option value="Niger" >Niger</option>
    <option value="Nigeria" >Nigeria</option>
    <option value="Norway" >Norway</option>
    <option value="Oman" >Oman</option>
    <option value="Pakistan" >Pakistan</option>
    <option value="Palau" >Palau</option>
    <option value="Panama" >Panama</option>
    <option value="Papua New Guinea" >Papua New Guinea</option>
    <option value="Paraguay" >Paraguay</option>
    <option value="Peru" >Peru</option>
    <option value="Philippines" >Philippines</option>
    <option value="Poland" >Poland</option>
    <option value="Portugal" >Portugal</option>
    <option value="Puerto Rico" >Puerto Rico</option>
    <option value="Qatar" >Qatar</option>
    <option value="Romania" >Romania</option>
    <option value="Russia" >Russia</option>
    <option value="Rwanda" >Rwanda</option>
    <option value="Saint Kitts and Nevis" >Saint Kitts and Nevis</option>
    <option value="Saint Lucia" >Saint Lucia</option>
    <option value="Saint Vincent and the Grenadines" >Saint Vincent and the Grenadines</option>
    <option value="Samoa" >Samoa</option>
    <option value="San Marino" >San Marino</option>
    <option value="Sao Tome and Principe" >Sao Tome and Principe</option>
    <option value="Saudi Arabia" >Saudi Arabia</option>
    <option value="Senegal" >Senegal</option>
    <option value="Serbia and Montenegro" >Serbia and Montenegro</option>
    <option value="Seychelles" >Seychelles</option>
    <option value="Sierra Leone" >Sierra Leone</option>
    <option value="Singapore" >Singapore</option>
    <option value="Slovakia" >Slovakia</option>
    <option value="Slovenia" >Slovenia</option>
    <option value="Solomon Islands" >Solomon Islands</option>
    <option value="Somalia" >Somalia</option>
    <option value="South Africa" >South Africa</option>
    <option value="Spain" >Spain</option>
    <option value="Sri Lanka" >Sri Lanka</option>
    <option value="Sudan" >Sudan</option>
    <option value="Suriname" >Suriname</option>
    <option value="Swaziland" >Swaziland</option>
    <option value="Sweden" >Sweden</option>
    <option value="Switzerland" >Switzerland</option>
    <option value="Syria" >Syria</option>
    <option value="Taiwan" >Taiwan</option>
    <option value="Tajikistan" >Tajikistan</option>
    <option value="Tanzania" >Tanzania</option>
    <option value="Thailand" >Thailand</option>
    <option value="Togo" >Togo</option>
    <option value="Tonga" >Tonga</option>
    <option value="Trinidad and Tobago" >Trinidad and Tobago</option>
    <option value="Tunisia" >Tunisia</option>
    <option value="Turkey" >Turkey</option>
    <option value="Turkmenistan" >Turkmenistan</option>
    <option value="Tuvalu" >Tuvalu</option>
    <option value="Uganda" >Uganda</option>
    <option value="Ukraine" >Ukraine</option>
    <option value="United Arab Emirates" >United Arab Emirates</option>
    <option value="United Kingdom" >United Kingdom</option>
    <option value="United States" >United States</option>
    <option value="Uruguay" >Uruguay</option>
    <option value="Uzbekistan" >Uzbekistan</option>
    <option value="Vanuatu" >Vanuatu</option>
    <option value="Vatican City" >Vatican City</option>
    <option value="Venezuela" >Venezuela</option>
    <option value="Vietnam" >Vietnam</option>
    <option value="Yemen" >Yemen</option>
    <option value="Zambia" >Zambia</option>
    <option value="Zimbabwe" >Zimbabwe</option>
                                  </select>
                        <label for="element_2_6">Country</label>
              </div>
                        </li>                    <li id="li_5" >
                        <label class="description" for="element_5">Work Phone </label>
                        <span>
                                  <input id="element_5_1" name="element_5_1" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_5_1">(###)</label>
                        </span>
                        <span>
                                  <input id="element_5_2" name="element_5_2" class="element text" size="3" maxlength="3" value="" type="text"> -
                                  <label for="element_5_2">###</label>
                        </span>
                        <span>
                                   <input id="element_5_3" name="element_5_3" class="element text" size="4" maxlength="4" value="" type="text">
                                  <label for="element_5_3">####</label>
                        </span>
                        <p class="guidelines" id="guide_5"><small>Please enter the phone number of the establishment where you work if applicable. </small></p>
                        </li>                    <li id="li_22" >
                        <label class="description" for="element_22">Schedule </label>
                        <div>
                                  <textarea id="element_22" name="element_22" class="element textarea medium"></textarea>
                        </div><p class="guidelines" id="guide_22"><small>Please feel free to include your schedule. What days you work, when are you days off, be sure to include your hours available (example: 9am-7pm) or if you have any 'by appointment only' days. </small></p>
                        </li>                    <li id="li_7" >
                        <label class="description" for="element_7">Profile Picture </label>
                        <div>
                                  <input id="element_7" name="element_7" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_8" >
                        <label class="description" for="element_8">Portfolio image  </label>
                        <div>
                                  <input id="element_8" name="element_8" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_9" >
                        <label class="description" for="element_9">Portfolio image  </label>
                        <div>
                                  <input id="element_9" name="element_9" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_10" >
                        <label class="description" for="element_10">Portfolio image  </label>
                        <div>
                                  <input id="element_10" name="element_10" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_11" >
                        <label class="description" for="element_11">Portfolio image  </label>
                        <div>
                                  <input id="element_11" name="element_11" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_13" >
                        <label class="description" for="element_13">Portfolio image  </label>
                        <div>
                                  <input id="element_13" name="element_13" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_14" >
                        <label class="description" for="element_14">Portfolio image  </label>
                        <div>
                                  <input id="element_14" name="element_14" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_15" >
                        <label class="description" for="element_15">Portfolio image  </label>
                        <div>
                                  <input id="element_15" name="element_15" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_16" >
                        <label class="description" for="element_16">Portfolio image  </label>
                        <div>
                                  <input id="element_16" name="element_16" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_17" >
                        <label class="description" for="element_17">Portfolio image  </label>
                        <div>
                                  <input id="element_17" name="element_17" class="element file" type="file"/>
                        </div> 
                        </li>                    <li id="li_18" >
                        <label class="description" for="element_18">Portfolio image  </label>
                        <div>
                                  <input id="element_18" name="element_18" class="element file" type="file"/>
                        </div> 
                        </li>
                            <li class="buttons">
                              <input type="hidden" name="form_id" value="836144" />
                        <input id="saveForm" class="button_text" type="submit" name="submit" value="Submit" />
                            </li>
                          </ul>
                        </form>
                        <div id="footer">
                        </div>
              </div>
              <img id="bottom" src="file:///C|/Users/Tommy/AppData/Local/Temp/Temp1_form.zip/form/bottom.png" alt="">
              </body>
    </html>

    I'm afraid not.    It's not rocket science but you need to do some coding. 
    You'll need to find a script (php) and save it to your local site folder.  Then reference the script in your form's action attribute like so.
         <form action="path/form-to-email-script.php" >
    The input fields in your HTML form need to exactly match the script variables. 
    I'm  assuming you're hosted on a Linux server which uses PHP code.  Linux servers are also case sensitive, so upper case names are not the same as lower case names.  It's usually best to use all lower case names in your form and script to avoid confusion.
    Related Links:
    Formm@ailer PHP from DB Masters
    http://dbmasters.net/index.php?id=4
    Tectite
    http://www.tectite.com/formmailpage.php
    If this is all a bit beyond your skill set, look at:
    Wufoo.com (on-line form service)
    http://wufoo.com/
    Nancy O.

  • How can I attribute my edits before aperture to the raw files as versions?

    Hi,
    I am in the middle of importing all my files (approx 100,000) into aperture. I have previously made edits of my best images and in some cases have several edits for one 'master' file. How can I attribute or link the edits to the master files? I have followed a simple nomenclature, where the camera raw file was say bfes1001.tif, I would name the files bfes1001e1.psd or bfes10001e1-small.jpg, bfes1001e1-epson7600.psd. So my question is really two parts, first is there a way to link my old edits to the master raw files, and secondly is there a way to import photoshop files without flattening them? I can't image throwing away all that time making masks etc. If there is no way to import a layered photoshop file then is there a way to make an association to the files if I leave them outside of Aperture (althought that seems to defeat a big part of Aperture)?
    Thanks,
    Eric

    This is not a method suited to automation, but what you can do is:
    1) Import original RAW into Aperture.
    2) Edit in external editor - it creates a new version based on PSD or TIFF (you choose in options).
    3) Kill external editor, replace created TIFF file with your new "master" tiff (or PSD). To do this just open the Aperture Library package using "Show Package Contents" in finder, do the same for the Project package held within the library, and finding the new TIFF version of your file. You could either replace the TIFF file before you return to Aperture form the editor or replace all the TIFF files with Aperture closed. The name must be identical. If you have a TIFF or PSD not in RGB mode Aperture will not like you much and probably crash whenever you go to view the picture.
    That seems the most space-efficient way to me and keeps Aperture understanding that your edited TIFFS are versions of a particular master.

  • How to make select list as read only

    Hi All.
    when i m loading a page ...how to make value of select list as read only ..
    i tried doing this ....
    i added readonly attribute to the select list's element attibute ...it is showing as read only field by darkening the select list field but ... the select list is editable even now... its allowing to choose from drag and drop ...
    Thanks & Regard ,
    Nandini

    I have the same requirment..
    I have a select list on a editable form and i want to make that one read only.
    When I use read only property it doent do anything. (But this is working for text items well).
    When I use "disabled' option it works fine. But then that value does not post when use POST the form. So making select list disabled is not a solution.
    Any Idea..
    Thanks
    mc

  • How to make valuation type field not changeable  in delivery tab of PO

    Hai friends,
                    I am new to badis..please guide me to solve the issue...
    how to make valuation type field not changeable  in delivery tab of PO...
    The field shd be in display mode only ...actually...there  a badi has been used before
    to get valuation type from a ztable depending on material and plant...
    Now ..my requirement is that the user shd not change the default value brought from the ztable...

    Hi SRINIVAS,
    You can achieve this from BADI only if BADI is allows you to do this. You cannot achieve everything from a BADI. Check if there is any expoting field in the methods that can be ticked for making the field in display mode. If not then you cannot achieve this from BADI.
    The field you want to default to display is a standard or zfield. If z, then you can changethe attribute of the screen field to Output only.
    Regards,
    Manish

  • How to make use of the XFList in the Function Bar  of the XML Form Builder?

    Hello:
        Now I am creating blog using the XML Form Builder.
        In the bolg publishing interface of the SDN ,there is a tpoics list ,in this list you can select single or multiples.
        I find the XFList in the Function Bar of the XML Form Builder.But I don't know how to make use of this list?Who can help me?
    lexian
    Thanks a lot!

    In the Attributes of a screen field, there is an attribute called "Groups". This has 4 options for input (4 text boxes)
    SCREEN has 4 fields GROUP1, GROUP2, GROUP3 and GROUP4.
    The first text box under Groups attribute corresponds to SCREEN-GROUP1,
    2nd text box for SCREEN-GROUP2
    3rd text box for SCREEN-GROUP3
    4th text box for SCREEN-GROUP4
    Hope this helps.
    Thanks,
    Balaji

  • Suggestions on how to make this coding better?

    Hey everyone, I was just wondering if anyone had any suggestions on how to make my code better. It's for a project and I want to get a good grade on it. It works fine but I just want to see what everyone thought before I hand it in.
    import java.io.*;
    import java.util.StringTokenizer;
         This class process the input expressions containing rational expressions and proecesses them and then outputs the results.
         @author *****
         @version 1.0
    public class Proj1
         private static String buffer = null; //User input
         private static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
         private static PrintWriter outfile = null;
         private static int totCount = 0, goodCount = 0, badCount = 0; //Total, Valid, and Invalid counts
         private static boolean fileInput = false; //File to read data
         private static boolean fileOutput = false; //Output for the data
         private static boolean screenOutput = false; //Output so the user can view it
         private static String outFile = null; //File for output
         private static String inFile = null; //File for input
              Main method
         public static void main (String[] args) throws Exception
              Proj1 proj1 = new Proj1();
              proj1(args);
              runs the program
         private static void proj1(String [] args) throws Exception
              if (args.length == 0)
                   printBanner();
                   System.out.println("\n" + "\n" + "Please enter an expression, or type quit");
                   do
                        screenOutput=true;
                        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                        processData();
                   }while(!buffer.equals("quit"));//exits if quit is entered
              if (args[0].charAt(0) != '-')
                   badOption("Invalid Option Specified ");
              for(int i=1; i<args[0].length(); i++)
                   switch(args[0].charAt(i))
                        case 'f': fileInput = true;
                                    break;
                        case 'o': fileOutput = true;
                                    break;
                        case 'b': fileOutput = true;
                                    screenOutput = true;
                                    break;
                        default:  printBanner();
                                    invalidOption("Proj1: Invalid Option Found: " + args[0].charAt(i));
              if(fileInput && args[0].length() == 2)
                   screenOutput = true;
              if(fileInput && !fileOutput)
                   if(args.length == 1)
                        badOption("No Input File Specified.");
                   else
                        File inFile = new File(args[1]);
                        if(!inFile.exists())
                             nonExist("Input File " + args[1] + " not found");
                   br = new BufferedReader(new FileReader(args[1]));
                   printBanner();
                   processData();
                   closeFiles();
              if(fileOutput && fileInput)
                   printBanner();
                   if(args.length > 2)
                        outFile = args[2];
                   else
                        if(args.length > 1)
                             outFile = "proj1.dat";
                             noOut("No output file specified , defaulting to proj1.dat");
                   inFile = args[1];
                   br = new BufferedReader(new FileReader(inFile));
                   processData();
                   closeFiles();
              if(fileOutput && screenOutput)
                   printBanner();
                   if(args.length == 1)
                        outFile = "proj1.dat";
                        noOut("No output file specified, defaulting to proj1.dat");
                        System.out.println("\n" + "\n" + "Please enter an expression, or type quit");
                        BufferedReader stdin = new BufferedReader(new InputStreamReader(System.in));
                        processData();
                        closeFiles();
                   else
                        outFile=args[1];
                        System.out.println("\n" + "\n" + "Please enter an expression, or type quit");
                        br = new BufferedReader(new InputStreamReader(System.in));
                        processData();
                        closeFiles();
         Processes the input data by the user by doing the specified operations and then displays the output
         private static void processData() throws Exception
              if(fileOutput)
                   outfile = new PrintWriter(new FileOutputStream(outFile), true);
              else if(fileOutput && screenOutput)
                   outfile = new PrintWriter(new FileOutputStream(outFile), true);
              buffer = br.readLine();
              while(!buffer.equals(""))
                   StringTokenizer reader = new StringTokenizer(buffer);
                   int count = 0;
                   String number1 = null;
                   String number2 = null;
                   String op = null;
                   boolean valid = true;
                   boolean secondNumber = true;
                   while (reader.hasMoreTokens())
                        switch(count)
                             case 1: number1 = reader.nextToken();
                                       break;
                             case 2: op = reader.nextToken();
                                       break;
                             case 3: number2 = reader.nextToken();
                                       break;
                        count++;
                   if(number1 == null || number1.equals("quit"))
                        printSummary(goodCount, badCount, totCount);
                        closeFiles();
                   if(number2 == null)
                        secondNumber = false;
                   char character;
                   int position = 0;
                   String s = "0123456789/-";
                   for(int i = 0; i < number1.length(); i++)
                        character = number1.charAt(i);
                        position = s.indexOf(character);
                        if(position == -1)
                             valid = false;
                   if(secondNumber)
                        for(int i = 0; i < number2.length(); i++)
                             character = number2.charAt(i);
                             position = s.indexOf(character);
                             if(position == -1)
                                  valid=false;
                   int denomin2 = 0;
                   int numer2 = 0;
                   String n1 = null;
                   String d1 = null;
                   int izerCount = 0;
                   StringTokenizer st2 = new StringTokenizer(number1,"/");
                   while(st2.hasMoreTokens())
                        switch(izerCount)
                             case 1: n1 = st2.nextToken();
                                       d1 = "1";
                                       break;
                             case 2: d1 = st2.nextToken();
                        izerCount++;
                   int numer1;
                   int denomin1;
                   int tokenCount = 0;
                   if(valid)
                        numer1 = Integer.parseInt(n1);
                        denomin1 = Integer.parseInt(d1);
                        String n2 = null;
                        String d2 = null;
                        if(secondNumber)
                             StringTokenizer st3 = new StringTokenizer(number2, "/");
                             while(st3.hasMoreTokens())
                                  switch(tokenCount)
                                       case 1: n2 = st3.nextToken();
                                                 d2 = "1";
                                                 break;
                                       case 2: d2 = st3.nextToken();
                                  tokenCount++;
                             numer2 = Integer.parseInt(n2);
                             denomin2 = Integer.parseInt(d2);
                             RationalNumber z1 = new RationalNumber(numer2, denomin2);
                        RationalNumber z = new RationalNumber(numer1,denomin1);
                        RationalNumber z1 = new RationalNumber(numer2,denomin2);
                        boolean lt = true; //whether the first number is less than the second
                        boolean gt = true; //whether the first number is greater than the second
                        boolean eq = true; //whether the first number is equal to the second
                        boolean le = true; //whether the first number is less or equal to the second
                        boolean ge = true; //whether the first number is greater than or equal to the second
                        boolean zeroDenom = true; //whether the denominator is zero
                        if(denomin1 == 0 || denomin2 == 0)
                             zeroDenom = true;
                             badCount++;
                        else
                             zeroDenom = false;
                        if(!zeroDenom && secondNumber)
                             if(op.equals("+"))
                                  RationalNumber z2 = z.add(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z2.getNumerator()+ "/" +z2.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z2.getNumerator()+ "/" +z2.getDenominator());
                                  goodCount++;
                             else if(op.equals("-"))
                                  RationalNumber z3 = z.sub(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z3.getNumerator()+ "/" +z3.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z3.getNumerator()+ "/" +z3.getDenominator());
                                  goodCount++;
                             else if(op.equals("*"))
                                  RationalNumber z4 = z.mlt(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z4.getNumerator()+ "/" +z4.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z4.getNumerator()+ "/" +z4.getDenominator());
                                  goodCount++;
                             else if(op.equals("/"))
                                  RationalNumber z5 = z.div(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " = " + z5.getNumerator()+ "/" +z5.getDenominator());
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " = " + z5.getNumerator()+ "/" +z5.getDenominator());
                                  goodCount++;
                             else if(op.equals("<"))
                                  lt=z.lt(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + lt);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + lt);
                                  goodCount++;
                             else if(op.equals(">"))
                                  gt=z.gt(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + gt);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + gt);
                                  goodCount++;
                             else if(op.equals("="))
                                  eq=z.eq(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " +  eq);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " +  eq);
                                  goodCount++;
                             else if(op.equals("<="))
                                  le=z.le(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + le);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + le);
                                  goodCount++;
                             else if(op.equals(">="))
                                  ge=z.ge(z1);
                                  if(screenOutput)
                                       System.out.println(buffer + " is " + ge);
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println(buffer + " is " + ge);
                                  goodCount++;
                             else
                                  if(op==null)
                                       if(screenOutput)
                                            System.out.println("Invalid expression: " + buffer);
                                       if(fileOutput || fileOutput && screenOutput)
                                            outfile.println("Invalid Expression: " + buffer);
                                       badCount++;
                             else
                                  if(screenOutput)
                                       System.out.println("Invalid expression: " + buffer );
                                  if(fileOutput || fileOutput && screenOutput)
                                       outfile.println("Invalid expression: " + buffer);
                                  badCount++;
                        else
                             if(screenOutput)
                                  System.out.println("Invalid operand: " + buffer);
                             if(fileOutput || fileOutput && screenOutput)
                                  outfile.println("Invalid operand: " + buffer);
                   else
                        if(screenOutput)
                             System.out.println("Invalid operand: " + buffer);
                        if(fileOutput || fileOutput && screenOutput)
                             outfile.println("Invalid operand: " + buffer);
                        badCount++;
                   buffer = br.readLine();
         Prints the banner for the program
         private static void printBanner()
              System.out.println("+++++++++++++++++++++++++++++++++++++++++"+"\n"+"+Welcome to the expression connection   +"+"\n"+"+++++++++++++++++++++++++++++++++++++++++");
         Prints the total number of expressions, total number of valid expressions, and total number of bad expressions.
         private static void printSummary(int goodCount, int badCount, int totCount)
              totCount = goodCount + badCount;
              System.out.println("\n");
              System.out.println("+++++++++++++++++++++++++++++++++++++++++");
              System.out.println("+ Total Expressions:        "+totCount);
              System.out.println("+ Total Valid Expressions   "+goodCount);
              System.out.println("+ Total Bad Expressions     "+badCount);
              System.out.println("+++++++++++++++++++++++++++++++++++++++++");
         Prints the error message if there is no output file specified
         private static void noOut(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " + errorString);
         Prints the error message if there is an invalid option input by the user
         private static void invalidOption(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " + errorString);
              System.out.println("Proj1: Usage is: java proj1 [-fob] [input] [output]");
              System.exit(0);
         Prints the error message if there is a bad option input by the user
         private static void badOption(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " + errorString);
              System.out.println("Proj1: Usage is: java proj1 [-fob] [input] [output]");
              System.exit(0);
         Prints the error message if the input file does not exist
         private static void nonExist(String errorString)
              System.out.println("\n");
              System.out.println("Proj1: " +errorString);
              System.out.println("Proj1: Usage is: java proj1 [-fob] [input] [output]");
              System.exit(0);
         Closes the files used by the user
         private static void closeFiles( )
              if(fileOutput && !screenOutput)
                   outfile.close();
              System.exit(0);
    }

    Well working is good...
    The code itself is less than spectacular I'm afraid. There is very little
    OOness to this. For your future reference when you complete a program
    and it consists of nothing but static methods you have done something
    incorrectly.
    As far as the code you do have goes some refactoring would be nice.
    The two main methods you have (proj1 but especially processData) are
    too long and unwieldy. processData seems to be a program in an of
    itself. It's complicated and hard to follow.
    My recommendation to you would be to read this http://java.sun.com/docs/books/tutorial/java/index.html
    Especially focus on the sections dealing with explanation of Object
    programming. These terms and concepts can certainly be confusing to
    new programmers so you may also want to consider finding yourself a
    tutor to help you get a better grasp of these concepts.
    In short if it works that's good. And it's also good to see that you put the
    effort and time in that you have. However if I was grading your project
    I'd give it a C- at best because this is a Java program in syntax only.

  • How to make this exit

    Can guide me on how to make exit or continue if user key in 'y' to continue and loop back to the 'Enter temperature'? and 'n' to exit the programe.? Please help
    import javax.swing.*;
    public class Temperature
         public static void main(String[] args)
              int temp;                    //value to store temp
              String inputTemp;          //for the input screen
              String outputHot;          //for the output of hot
              String outputAverage;     //for the output of average
              String outputCold;          //for the output of cold
              String outputTooHot;     //for the output of too hot
              inputTemp = JOptionPane.showInputDialog("Enter temperature:")     ;
              temp = Integer.parseInt(inputTemp);
              if (temp < 10)     {                                        //input temp less than 10
              outputCold = "Too Cold";          
              JOptionPane.showMessageDialog(null, outputCold, "Output", JOptionPane.INFORMATION_MESSAGE);
              else if((temp >= 10) && (temp <= 20))     {          //input temp between 10 - 20
              outputAverage = "Average";
              JOptionPane.showMessageDialog(null, outputAverage, "Output", JOptionPane.INFORMATION_MESSAGE);
              else if ((temp >= 21) && (temp <= 30))     {          //input temp between 21 - 30
              outputHot = "Hot";
              JOptionPane.showMessageDialog(null, outputHot, "Output", JOptionPane.INFORMATION_MESSAGE);
              else {                                                       //input temp more than 30
              outputTooHot = "Too Hot";
              JOptionPane.showMessageDialog(null, outputTooHot, "Output", JOptionPane.INFORMATION_MESSAGE);
              char outputYes;
              char outpPutNo;
              String inputExit;
              inputExit = JOptionPane.showInputDialog(null, "Would you like to continue (y/n):");
              System.exit(0);                    
         }

    import javax.swing.*;
    public class Temperature
         public static void main(String[] args)
              int temp;                    //value to store temp
              String inputTemp;          //for the input screen
              String outputHot;          //for the output of hot
              String outputAverage;     //for the output of average
              String outputCold;          //for the output of cold
              String outputTooHot;     //for the output of too hot
              inputTemp = JOptionPane.showInputDialog("Enter temperature:")     ;
              temp = Integer.parseInt(inputTemp);
              if (temp < 10)     {                                        //input temp less than 10
              outputCold = "Too Cold";          
              JOptionPane.showMessageDialog(null, outputCold, "Output", JOptionPane.INFORMATION_MESSAGE);
              else if((temp >= 10) && (temp <= 20))     {          //input temp between 10 - 20
              outputAverage = "Average";
              JOptionPane.showMessageDialog(null, outputAverage, "Output", JOptionPane.INFORMATION_MESSAGE);
              else if  ((temp >= 21) && (temp <= 30))     {          //input temp between 21 - 30
              outputHot = "Hot";
              JOptionPane.showMessageDialog(null, outputHot, "Output", JOptionPane.INFORMATION_MESSAGE);
              else {                                                       //input temp more than 30
              outputTooHot = "Too Hot";
              JOptionPane.showMessageDialog(null, outputTooHot, "Output", JOptionPane.INFORMATION_MESSAGE);
              char outputYes;
              char outpPutNo;
              String inputExit;
              inputExit = JOptionPane.showInputDialog(null, "Would you like to continue (y/n):");
              System.exit(0);                    
         }

  • HOW TO MAKE FIELDS AS READ ONLY IN TABLE MAINTAINANCE

    HI ABAPers,
    HOW TO MAKE SOME FIELDS AS DISPLAY MODE.
    FOR SUPPOSE, THERE ARE 5 FIELDS in SM30.
    AMONG THEM 1 FIELD SHUD BE USED FOR EDITING AND THE OTHER 4 FIELDS SHUD ONLY BE USED FOR DISPLAY PURPOSE
    WHEN EVER I ENTER A VALUE IN THAT 1 PARTICULAR FIELD THEN THE DATA OF THE REMAINING 4 FIELDS SHUD BE DISPLAYED IN THE SAME SCREEN ITSELF.
    HOW CAN IT BE POSSIBLE...
    PLZ HELP.
    THNX IN ADV,
    SP.

    Hello SP,
    You can create a maintenance view for the table & here you can define the maintenance attribute for individual fields.
    For the fields you want to be READ-ONLY pass 'R' to those fields. (It is the 4th column from the left, the one to the immediate left of the Key column).
    Don't change the TMG function group directly. If you regenerate the TMG the changes would be overwritten !
    You can use the Event '01' to fulfill your requirement:
    *&      Form  f_event_01
    *       text
    FORM f_event_01.
      DATA: v_indx TYPE sy-index,
            v_land1 TYPE land1,
            v_name1 TYPE name1.
      FIELD-SYMBOLS: <vendor> TYPE lifnr,
                     <val> TYPE ANY.
      BREAK-POINT.
      "TOTAL contains all data which are read, changed and created in TMG
      LOOP AT total.
        IF <action> = neuer_eintrag " New Entry.
        OR <action> = aendern "Changed entry
        OR <action> = original. "Same as DB
          READ TABLE extract WITH KEY <vim_xtotal_key>.
          IF sy-subrc = 0.
            v_indx = sy-tabix.
          ELSE.
            CLEAR v_indx.
          ENDIF.
          ASSIGN COMPONENT 'LIFNR' OF STRUCTURE total TO <vendor>.
          CHECK sy-subrc = 0.
    *     select data from the LFA1 based on LIFNR
          SELECT SINGLE name1 land1 FROM lfa1
            INTO (v_name1,v_land1)
            WHERE lifnr = <vendor>.
          CHECK sy-subrc = 0.
    *     Populate the hidden fields NAME1 & LAND1
          ASSIGN COMPONENT 'NAME1' OF STRUCTURE total TO <val>.
          CHECK sy-subrc = 0.
          <val> = v_name1.
          ASSIGN COMPONENT 'LAND1' OF STRUCTURE total TO <val>.
          CHECK sy-subrc = 0.
          <val> = v_land1.
          MODIFY total.
          CHECK v_indx GT 0.
          extract = total. "Pass the changes in TOTAL to EXTRACT
          MODIFY extract INDEX v_indx.
        ENDIF.
      ENDLOOP.
      sy-subrc = 0.
    ENDFORM.                                                    "f_event_01
    BR,
    Suhas
    Edited by: Suhas Saha on Aug 16, 2010 11:58 AM

Maybe you are looking for

  • Outlook 2003 & Recurring Calendar Appointments

    I am using Windows XP, Microsoft Exchange Server, with an itouch. If Outlook and itunes were open at the same time, or Outlook was opened after itunes, Outlook would fail to properly operate and would respond: Outlook0.ost is in use and could not be

  • To kno Delettion details

    Hi Experts           I have deleted some records from the standard tables,      can we know the details of deletion such as when and what  deletion carried out. Is there any table available.         Is it possible to know the details.Suggest me. Rega

  • Laptop G 780 with windows 7 freezes

    Good day. I apologize if I am posting in the wrong section. As a matter of fact, I did not found any section entitled to my Laptop series. Any way, my Problem is the following: often all freezes. I am able only to move the mouse. The pressure of any

  • Lync 2013 stops responding when making audio calls

    Lync 2013 desktop client in Windows 8.1 connected to Lync Server 2010 From my office workstation (Windows 7, Lync 2010 client, completely different hardware), from inside the firewall, I don't have any problems (IM, audio, conference, video, desktop

  • Asking for incoming/outgoing mail server for ios8.1 iphone6plus

    Hello... I want to ask fill in incoming/outgoing mail server? My email address ******* I fill up incoming server- pop3.live.com              User.               ********               Password.     - xxxxxxxxxx outgoing mail server   -SMTP.live.com U