How to clear a form

Hi,
since I've received no answer to my earlier question yet, I try to ask it again.
I have a form to input data. The primary key of the new data record is created from a sequence. If I open the form the first time, everything is right. But if I save the new record and open the form again, the afore entered data are in the input fields and instead of "create" occurs "apply changes". I guess, the form gets the primary key of the saved data record instead of a new primary key from sequence. Where can I have an effect on that?
The application is on the Oracle workspace "GILLETTEDH" and the application is 25515. The form I talk about is on tab "Input Form" (page 2).

Bettina,
I wasn’t referring to the processes or branches on the form page. You should keep them just as they were generated by the wizard. The branch I was talking about is the one that takes you to the form page. This is typically a report page or some kind of menu page. If you use the form & report wizard, then you’ll get that pre-build. The create button takes you to the form page and resets the form page session state and displays the form in create mode. The report link takes you to the form page while supplying a key to query data and displays the forum page in edit mode. So it depends on how you call the form page.
If you just want to keep adding data though, i.e. create a record, return to page 2 and create another record, then resetting session state for page 2 and branching back to page 2 when clicking on create would be the right thing to do. Try creating a reset session state page process on page 2 and make it conditional on clicking “Create”.
Also, when looking at your form, I found that your page process to generate the PK is currently set to “Never”. With that setting you won’t be able to create new records. You should make that process conditional on clicking on “Create” as well.
You also may want to look into using before-insert triggers for generating the primary key. This would be a cleaner approach to generating this key than having a page process. By using triggers, the primary key would be generated no matter how to records gets inserted, i.e. by using this page, direct insert statement or another client interface.
Hope this helps,
Regards,
Marc

Similar Messages

  • How to clear the form fields which are not rendered

    I have a creation form. There is a document_type list set up as a partial triger. When user change the document type, only the filed related to that document type will be rendered. This caused a problem when we need to clear the form . The input in the field which is not render won't be cleared when reset button is pressed. Can anybody give a sugestion on how to handle this?
    I tried to use the following function to clear the fields. It does not work since it get the list value before the list value change and clear the fields after the new field rendered.
    public void clear_action(ValueChangeEvent valueChangeEvent) {
    // Add event code here...
    System.out.println("test1");
    String coutcase = null;
    if(EL.get("#{bindings.Proxy.inputValue}") != null){
    coutcase = EL.get("#{bindings.Proxy.inputValue}").toString();
    System.out.println(coutcase);
    AttributeBinding a11= (AttributeBinding)getBindings().getControlBinding("INT_FNAM");
    AttributeBinding a12 = (AttributeBinding)getBindings().getControlBinding("INT_LNAM");
    AttributeBinding a13 = (AttributeBinding)getBindings().getControlBinding("TIT_PROG");
    AttributeBinding a14 = (AttributeBinding)getBindings().getControlBinding("T_OF_INT");
    AttributeBinding a15 = (AttributeBinding)getBindings().getControlBinding("NETWORK");
    AttributeBinding a16 = (AttributeBinding)getBindings().getControlBinding("IN_DATE");
    AttributeBinding a17 = (AttributeBinding)getBindings().getControlBinding("PE_FNAM");
    AttributeBinding a18 = (AttributeBinding)getBindings().getControlBinding("PE_IN_LNAM");
    AttributeBinding a19 = (AttributeBinding)getBindings().getControlBinding("WEBSITE");
    AttributeBinding a20 = (AttributeBinding)getBindings().getControlBinding("URL");
    AttributeBinding a21 = (AttributeBinding)getBindings().getControlBinding("INT_DATA");
    AttributeBinding a22 = (AttributeBinding)getBindings().getControlBinding("D_ACCESS");
    AttributeBinding a23 = (AttributeBinding)getBindings().getControlBinding("CASE_NUM");
    AttributeBinding a24 = (AttributeBinding)getBindings().getControlBinding("COURT");
    AttributeBinding a25 = (AttributeBinding)getBindings().getControlBinding("PLAIN");
    AttributeBinding a26 = (AttributeBinding)getBindings().getControlBinding("DEFEN");
    if(coutcase.equals("Interview")) {
    a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);
    /*a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);
    a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);*/
    } else if(coutcase.equals("Internet")){
    /*a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);*/
    a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);
    /*a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);*/
    } else{
    /*a11.setInputValue(null);
    a12.setInputValue(null);
    a13.setInputValue(null);
    a14.setInputValue(null);
    a15.setInputValue(null);
    a16.setInputValue(null);
    a17.setInputValue(null);
    a18.setInputValue(null);
    a19.setInputValue(null);
    a20.setInputValue(null);
    a21.setInputValue(null);
    a22.setInputValue(null);*/
    a23.setInputValue(null);
    a24.setInputValue(null);
    a25.setInputValue(null);
    a26.setInputValue(null);
    }else{
    System.out.println("coutcase is null");
    }

    Hi,
    The easiest way to modify the screens in the Std transactions using ITS is to modify the ITS templates corresponding to that transaction.
    E.g In you case,there will be a ITS service corresponding to the ESS transaction.This ITS service will have  number of HTML templates which will actually correspond to the diffrent screens in the Trascn.What you need to do is find out the HTML template in the ITS service which corresponds to the screen(which you want to modify) in the STd transacn.To do this ,the easiest way is to right click on that Web page and say VIEW SOURCE.It will show you a HTML code with the ITS service name and the template which is being used for that particular screen.
    So after you find out the correct HTML template to be modified,you can simply hide the fields by putting the HTML code lines in between the symbols
      <!   and  -->
    BR,
    Disha.
    <b>Pls reward points for useful answers.</b>

  • How to Clear the form values

    Hi All,
    I am using JDeveloper11.1..1.5
    I have one main page inside that i am including 3 more pages by using <jsp:include> tag with the help of Radio buttons.
    For each and Every page one backing bean is associated as Session Scope. Now my problem is when i navigate from one page to another page the values are not getting cleared.
    Can anyone tell how can i achieve this?
    Thanks in advance

    Either you can use a reset method call in the taskflow between the page navigations. Also, you can try to include createinsert method call in between the pages. try and set the values to null on page load. It should work.

  • How to clear the form after save?

    Hi,
    My environment is JSF1.2 and Hibernate3. Scope of my bean is request level. On JSF form where I press the save button, data is saved in the database and form is empty for new record.
    I do not want to call method resetMe() because I have many beans with 10-20 fields per bean. I don't want to write such method again and again.
    Can you please help me for better solution?
    Here is my bean:
    package test.bean;
    import java.io.Serializable;
    import javax.faces.event.ActionEvent;
    import test.hib.CountryHome;
    public class Country implements Serializable {
         private Integer cPk;
         private String cName;
         private String cDesc;
         public Country() {
         public Integer getcPk() {
              return cPk;
         public void setcPk(Integer cPk) {
              this.cPk = cPk;
         public String getcName() {
              return cName;
         public void setcName(String cName) {
              this.cName = cName;
         public String getcDesc() {
              return cDesc;
         public void setcDesc(String cDesc) {
              this.cDesc = cDesc;
         public void save(ActionEvent ae) {
              CountryHome ch = new CountryHome();
              ch.save(this);
              this.resetMe();
         private void resetMe() {
              this.setcPk(null);
              this.setcName(null);
              this.setcDesc(null);
    }My database/hibernate class with save operation:
    package test.hib;
    import org.hibernate.SessionFactory;
    import test.bean.Country;
    import test.helper.HibernateUtil;
    public class CountryHome {
         private SessionFactory sf = HibernateUtil.getSessionFactory();
         public void save(Country instance) {
              sf.getCurrentSession().beginTransaction();
              sf.getCurrentSession().saveOrUpdate(instance);
              sf.getCurrentSession().getTransaction().commit();
    }My JSF page:
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
    <%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
    <%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>Country Form</title>
    </head>
    <body>
    <f:view>
         <h:form>
              <h:panelGrid border="1" columns="2">
                   <h:outputLabel value="Name: "></h:outputLabel>
                   <h:inputText value="#{country.cName}"></h:inputText>
                   <h:outputLabel value="Description: "></h:outputLabel>
                   <h:inputTextarea value="#{country.cDesc}"></h:inputTextarea>
              </h:panelGrid>
              <h:commandButton value="Save" actionListener="#{country.save}"></h:commandButton>
         </h:form>
    </f:view>
    </body>
    </html>

    What you are doing now will not create a maintenance nightmare in future, if you are doing it in a framework oriented fashion. We have done something similar in one of our biggest project( around 50 developers working 3 years). What we have done is, created a method resetBean() in our abstract backing bean like:
    public void resetBean(){
                        // doing nothing
    We didn’t make it abstract, so that all backing bean in our project need not implement this method. Those who want to use this method can implement this method to reset the values in the backing bean.
    One thing we achieved by doing this is, we don’t let each developers do the reset logic in different ways.
    One of the advantages of this over the redirect is, you have full control over resetting the form. Which means, sometimes, we may need partial resetting of the form.
    Thanks and regards
    Rick

  • How to clear display ???

    When I enter the program about graphic, some of former display still appears.
    How to clear the former display.

    public class MyCanvas {
    public void paint(Graphics g) {
      g.setColor(255,255,255); //white
      g.fillRect(0,0,getWidth(),getHeight()); //the whole screen
    }Brgds,
    Eirik Olimstad

  • Clearing the forms after default Save Button pressed

    HI,
    in forms 6i how to clear the form after the save button is pressed, ie the form uses default menu and smart bar. the user wants to clear the form once he selects save from the menu or after pressing the save icon...
    any idea...?
    regards
    Kris

    try on-commit trigger on form level through clear_form procedure but cursor remain stay on the same record
    I think your requirement is that when user commits a record a new blank record appear so also add "create_record" procedure ;
    .but u have to apply some logic on that trigger also it ever fires when user edit/insert/delete a record and commit;
    Hope it clears now!

  • How to clear proxy-server authorization form in Firefox?

    How to clear proxy-server authorization form in Firefox?

    Click Tools | Options | Advanced and then click the Network tab.
    Then click the Settings button and choose "No Proxy" in the next menu. See also: [https://support.mozilla.com/en-US/kb/Options%20window%20-%20Advanced%20panel?as=u#w_network-tab Network Settings]
    Incidentally, your Java installation is very old and exposes your system to attack. Update via http://www.java.com/en/<br><br>
    Please also visit to the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page and update where necessary.

  • How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    How can I clear a form after submitting and saving the data in the iOS Acrobat Reader App

    Darrell,
    Thanks for this response. After I posted mine, I saw that the resetForm JavaScript method is documented as being supported starting with version 10.5: http://www.adobe.com/devnet-docs/acrobatetk/tools/Mobile/js.html
    But I haven't been able to get it to work. Can you clarify if support was indeed added and if it works for you?

  • JSF - How to Clear Form Data

    I have a form.
    Scenario-1:
    Users input data into the form. After I successfully consume and process data, when I click back the HyperLink to the Form - say "Register" - the Register Form still contains the very same input of the previous user. And this happens to all Forms that I have in the Application.
    Scenario-2:
    I return String "success" after processing the Register Form, and I navigate back to the same "Register" Form. Here again, the Register Form contains the old data.
    I have the bean scope set to "session". I cannot set the scope to "request" since I consume data across beans.
    Can someone help me how to clear the [old] data in the forms once I consume the data?
    Thanks in Advance.
    Edited by: Ganesh-Babu-N-R on Apr 12, 2009 11:41 AM

    Ganesh-Babu-N-R wrote:
    I have the bean scope set to "session". I cannot set the scope to "request" since I consume data across beans.Request scoped data belongs in the request scope. I highly recommend you to rethink this approach. You can if necessary split data over beans or make use of h:inputHidden or t:saveState to transfer request scoped bean properties to the next request.

  • How to clear text fields when the user navigates back to the screen

    Hi,
    Does anyone have any idea on how to clear the text input fields and dropdown boxes when the user navigates back to the screen, say for e.g. create screen?
    My issue is that i have plenty of fields in the create screen within a form. Is there a way to avoid programaticaly blanking out every field and just do it at the form level using an api to reset to a state before the user entry?
    Thanks

    This code allows you to make it more generic, and you would need to tweak it if there are more than TextInput controls, but it should provide some ideas.
    As far as using states, you could use SetProperty to set the text to empty, but that might be messier.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.containers.FormItem;
          import mx.controls.TextInput;
          import mx.events.IndexChangedEvent;
          import mx.core.Container;
          private function clearSreen(evt:IndexChangedEvent):void{
            var view:Container = tn.selectedChild as Container;
            for each(var child:Object in view.getChildren()){
              if(child is FormItem){
                var subchild:DisplayObject = child.getChildAt(0);
                if(subchild is TextInput){
                  TextInput(subchild).text = "";
        ]]>
      </mx:Script>
      <mx:TabNavigator id="tn" resizeToContent="true"
        change="clearSreen(event)">
        <mx:Form id="frm1" label="View Number One">
          <mx:FormItem label="First name:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Last name:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
        <mx:Form id="frm2" label="View Number Two">
          <mx:FormItem label="Address1:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Address2:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="City:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="State:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Zip code:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
      </mx:TabNavigator>
    </mx:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • Clearing a Form or Radio Group on Click of a Button

    Hi Experts,
    I have a simple VC model which has BI Query as Data service and a Form is connected to it.
    Form will be populated based on the input to the BI Query.
    I have Few Input Fields, Drop Downs, Date files and Radio Groups in that form.
    I have included two buttons 1. Clear whole form, 2. Clear Radio Group
    I was able to clear whole form by giving some garbage value to one of the fields.
    But didnt find any way to clear only Radio Group.
    Kindly let me know how can i reset only Radio Group in the above form.
    Regards,
    Rk.

    Hi Jayant Kulkarni
           Please go through this link
    http://en.allexperts.com/q/Javascript-1520/disable-part-radio-button-1.htm
    Please reward points if useful

  • How to clear tab settings in Designer in 7.0

    I imported an existing form and added text fields/drop downs, etc. I used copy/paste throughout. When I went to set tab order there are in some cases 3 or 4 numbers beside a single field and even straight text fields are numbered. I can't figure out how to clear all of these out so that I can properly set the tab order. When I did advanced>accessibility>full check in the form in acrobat it said that "WARNING: Since the PDF file contains Adobe XML form fields, you must use Adobe Designer to repair errors" and "All of the pages in this document have tab order that may be inconsistent with the structure order".
    I am brand-new to using this software so as detailed an explanation as possible would be greatly appreciated.
    Thanks!

    Hello Devi,
    There are three ways you can load Master Data in BPC
    1) Copy and paste.
    Download master data in flat file .Copy the  master data and paste in members of dimension after that process the dimension.
    2) Using SISS Pakage - load Flat File into BPC-Cube
    3) Using SQL Command.
    Thanks.
    With regards,
    Anand Kumar

  • How to clear the text in the Text Editor

    Hi all,
    I created a Text editor and also i am having language field in the screen.
    whenever i change the language auomatically the text has to change when the text exists for that
    language.
    this is working fine, but when the Text exist , the text editor should be blank.
    But it is carrying the Previous editor text itself into it .
    How to clear the text in the Editor.
    Regards,
    Madhavi

    Hello Madhavi
    The simple report ZUS_SDN_TEXTEDIT_CONTROL shows how to switch the texteditor contents when changing the language.
    *& Report  ZUS_SDN_TEXTEDIT_CONTROL
    *& Thread: how to clear the text in the Text Editor
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145272"></a>
    *& By default the itab GT_OUTTAB contains texts in DE and EN.
    *& To switch the language directly enter into the command window:
    *& LANGU=DE, LANGU=EN or LANGU=FR
    REPORT  zus_sdn_textedit_control.
    TYPE-POOLS: abap.
    TYPES: ty_t_text     TYPE TABLE OF as4text
                         WITH DEFAULT KEY.
    TYPES: BEGIN OF ty_s_outtab.
    TYPES: language TYPE spras.
    TYPES: text     TYPE ty_t_text.
    TYPES: END OF ty_s_outtab.
    TYPES: ty_t_outtab    TYPE STANDARD TABLE OF ty_s_outtab
                          WITH DEFAULT KEY.
    DATA: gt_outtab       TYPE ty_t_outtab,
          gs_outtab       TYPE ty_s_outtab.
    DATA: gd_language     TYPE spras.
    DATA: go_docking      TYPE REF TO cl_gui_docking_container,
          go_textedit     TYPE REF TO cl_gui_textedit.
    DATA: gd_okcode       TYPE ui_func,
          gd_repid        TYPE syst-repid.
    START-OF-SELECTION.
      PERFORM fill_texts.
      gd_language = syst-langu.
      PERFORM init_controls.
    * Link the docking container to the target dynpro
      gd_repid  = syst-repid.
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = gd_repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM set_text_editor.
    * NOTE: dynpro does not contain any elements
      "       ok-code => GD_OKCODE
      CALL SCREEN '0100'.
    * Flow logic of dynpro (does not contain any dynpro elements):
    *PROCESS BEFORE OUTPUT.
    *  MODULE STATUS_0100.
    *PROCESS AFTER INPUT.
    *  MODULE USER_COMMAND_0100.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.  " contains push button "DETAIL"
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      TRANSLATE gd_okcode TO UPPER CASE.
      CASE gd_okcode.
        WHEN 'BACK'  OR
             'EXIT'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'LANGU=DE' OR
             'LANGU=EN' OR
             'LANGU=FR'.
          PERFORM get_text_editor.
          SPLIT gd_okcode AT '=' INTO gd_okcode gd_language.
          PERFORM set_text_editor.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  FILL_TEXTS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_texts .
    * define local data
      DATA: ld_string   TYPE string.
      gs_outtab-language = 'EN'. REFRESH: gs_outtab-text.
      ld_string = 'Good morning'.
      APPEND ld_string TO gs_outtab-text.
      APPEND gs_outtab TO gt_outtab.
      gs_outtab-language = 'DE'. REFRESH: gs_outtab-text.
      ld_string = 'Guten Morgen'.
      APPEND ld_string TO gs_outtab-text.
      APPEND gs_outtab TO gt_outtab.
      gs_outtab-language = 'FR'. REFRESH: gs_outtab-text.
      ld_string = space.
      APPEND ld_string TO gs_outtab-text.
      APPEND gs_outtab TO gt_outtab.
    ENDFORM.                    " FILL_TEXTS
    *&      Form  INIT_CONTROLS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM init_controls .
      CREATE OBJECT go_docking
        EXPORTING
          parent                      = cl_gui_container=>screen0
    *      repid                       =
    *      dynnr                       =
    *      side                        = dock_at_left
    *      extension                   = 50
    *      style                       =
    *      lifetime                    = lifetime_default
    *      caption                     =
    *      metric                      = 0
          ratio                       = 90
    *      no_autodef_progid_dynnr     =
    *      name                        =
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          OTHERS                      = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CREATE OBJECT go_textedit
        EXPORTING
    *      max_number_chars       =
    *      style                  = 0
    *      wordwrap_mode          = wordwrap_at_windowborder
    *      wordwrap_position      = -1
    *      wordwrap_to_linebreak_mode = false
    *      filedrop_mode          = dropfile_event_off
          parent                 = go_docking
    *      lifetime               =
    *      name                   =
        EXCEPTIONS
          error_cntl_create      = 1
          error_cntl_init        = 2
          error_cntl_link        = 3
          error_dp_create        = 4
          gui_type_not_supported = 5
          OTHERS                 = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " INIT_CONTROLS
    *&      Form  SET_TEXT_EDITOR
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM set_text_editor .
      BREAK-POINT.
      CLEAR: gs_outtab.
      READ TABLE gt_outtab INTO gs_outtab
           WITH KEY language = gd_language.
      CALL METHOD go_textedit->set_text_as_stream
        EXPORTING
          text            = gs_outtab-text
        EXCEPTIONS
          error_dp        = 1
          error_dp_create = 2
          OTHERS          = 3.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " SET_TEXT_EDITOR
    *&      Form  GET_TEXT_EDITOR
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_text_editor .
      CLEAR: gs_outtab.
      CALL METHOD go_textedit->get_text_as_stream
        EXPORTING
          only_when_modified     = cl_gui_textedit=>true
        IMPORTING
          text                   = gs_outtab-text
    *      is_modified            =
        EXCEPTIONS
          error_dp               = 1
          error_cntl_call_method = 2
          OTHERS                 = 3.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      MODIFY gt_outtab FROM gs_outtab
        TRANSPORTING text
        WHERE ( language = gd_language ).
    ENDFORM.                    " GET_TEXT_EDITOR
    Regards
      Uwe

  • How to clear the variable value in session store?

    I'll try to build form for search. There are LOV and
    search button on form. When user don't select anything then push
    search button, I'd like the report to show query everything. I
    mean the report will show like condition where id like '%'.
    And I send variable between form to report by using session
    store.
    I select nothing in LOV but value that return by LOV is
    not null. It's in stead of old value of LOV.
    Please tell me.. How to clear the variable value in
    session store? I'd like to set it to null. If you have greater
    way to do like this, please tell me.
    Thank you.

    Please suggest on this..
    Thanks.

  • How to fill TAX Form W-8IMY for Individual Non-USA developer?

    Hello,
    Firstly: I couldn't find a simple remove-formatting option in the wsiwyg editor of this new post entry box, so the copy paste resulted in a text like this. 
    Now my question: I had never filled up this form TAX Form W-8IMY before and searching internet shows only how to fill up form Form
    W-8 BEN for windowsphone store but not the form W-8IMY which shows up in my account. It has some fields which I don't understand like  Type
    of entity and rest from part 3 onwards.  I am an Individual Non-USA based developer.
    If you have any sample tutorial, blog, etc that can tell me how to fill up this tax form then it will be of great help.
    Thanks,
    AJ

    Hello Adaj2014,
    We recently made some changes to the tax form, please go to
    http://login.live.com and sign out of all services then clear your browser cache.
    If this does not resolve the issue please
    contact developer support.
    -Eric
    Windows and Windows Phone Dev Center Support
    Send us your feedback about the Windows Platform

Maybe you are looking for

  • Illustrator CC and CS6 doesn't start in Windows 8.1 Preview

    When I attemp to run Illustrator on my machine running Windows 8.1 preview I see this error message (In spanish because both my system and software language are in spanish): Error Esta aplicación no es compatible con el idioma del sistema operativo a

  • IBook video out & TV - workable?

    Hiya. I've got a 1.2 ghz iBook (more or less - gutted to make a cool mod that's in-process), and I'm looking at a VGA to RCA/S-video converter cable. Now, granted the thing's only $4, but I was wondering if anyone knows whether that's all the iBook's

  • How to make the iPad camera accessible in a Microsoft Terminal Server Virtual Desktop?

    We have a Microsoft Terminal Server farm which we're using to host virtual desktops. We can connect to it and use it fine for most of our purposes using any of the standard RDP clients out there but none of them appear to enable us to access the iPad

  • Multiple keyboard mapping configurations

    Hi I have three systems that I want to run through the same Forms/Weblogic installation (11g). Each will have their own environment file, but I also want to run a different keyboard mapping (frmweb.res) for each system. Is this possible, or do they a

  • Select item in list box using code

    We use Adobe Workflow v5. I am creating a Check Request application where users type information into various fields and when they click Add, the data is added to a List Box. Also when they click Add, if the current item is >$1,000, a query searches