Reading field Q0743-OFFR1

Hi,
Can anyone please help in reading field Q0743-OFFR1 in abap.
Actually, i need to display the remarks text from infotype 0743-Discipline in a SAP Query report. Tried looking for transparent table and did all the the where used but just can't find this field.
Appreciate any help.
Thanks & regards,
Zubair Naseer

hi ,
Please check this classes and interfaces
   Classes/Interfaces                                          Found Locations/Short Description
   ZCL_ALINK_HR_VIEW
   IF_ALINK_QUERY~PERFORM_SEARCH                           73   data: it_hr_connections type ztoacnhr_t,
                                                                      wa_hr_connections type ztoacnhr_s,
                                                                      lc_infty_text type t582s-itext,
                                                          221     select single itext from t582s into lc_infty_text
                                                                    where infty = ct_infty
                                                                      and sprsl = sy-langu.
                                                          227       move lc_infty_text to wa_hr_connections-inftext.
   IF_ALINK_HITLIST_CALLBACK~GET_SUBDIRECTORY_HITLIST      32   data: it_connections type toav0_t,
                                                                      wa_connections type toav0,
                                                                      lc_infty_text type t582s-itext,
                                                           84       select single itext from t582s into lc_infty_text
                                                                      where infty = ct_infty
                                                                        and sprsl = sy-langu.
                                                           91         concatenate lc_infty_text ' ' into wa_hitlist-descr
                                                                        separated by space.
Regards
Deepak.

Similar Messages

  • Read field of TextInmput text and to execute referring condition to the informed text

    Post Read field of TextInmput text and to execute referring condition to the informed text, AS3.0 To depend the inserted text for the user, flash will be read by the compiler to player, and a connective if goes to define for which picture will be directed or which page web will be linkada with the URLRequest function, or the function gotoAndPlay () for the pictures of timeline. Ultiliza object of field of dinãmico text or textInput? input I find. ---------------------------------------------------------
    OBJECTS: Object of text entrance: textoEntrada
    button for verification: button link
    All the code is stored in picture 1. we have the function:
    Code:
    stop ();
    function loads (event: MouseEvent): void {
    to var textoEntrada: String;
    if (textoEntrada == " sim"){
          to var link: URLRequest = new URLRequest (" HTTP: \ \ google.com");
          navigateToURL (link);
          } else { gotoAndPlay (2); \ \ the picture where 2ª option is located in timeline }
    to botaolink.addEventListener (MouseEvent: CLICK, loads);
    THIS CODE AND DID NOT FUNCTION!

    made the sujeridas modifications, but it appears the following error: Scene 1, Layer ' Layer 2' , Picture 1, Line 18 1086: Error of syntax: waiting semicolon before port. My objective is when clicar in the button will be verified what he was inserted in the text field, if to contain the word “yes program” it goes to open a URL senão goes for frame 2 of the line of the time.
    where " textE" it is the object of entrance text that this in palco, as well as the button is located in palco, with a name of occurrence of " boto".
    the two elements had been attributed to the name of occurrence through the menu properties of the flash.
    import flash.events.MouseEvent;
    import flash.net.URLRequest;
    function port(event:MouseEvent):void{
                    var textE:String;
                    if(textE.text == "yes"){
                                   trace("primary portfolio to Author");
                                   var indic:URLRequest = new URLRequest ("http://google.com");
                                   navigateToURL(indic);
                    }else{
                                   trace("second page to author");
                                   gotoAndPlay(2);
              boto.addEventListener(MouseEvent.CLICK)port;
    stop();

  • Error AP-CANNOT READ FIELD (FIELDNAME=PARAMETER.CONFIG)

    Hi,
    We are running a depriciation report in our test instance which is on 12.0.6 Oracle Apps
    While report executes we get this error:Error AP-CANNOT READ FIELD (FIELDNAME=PARAMETER.CONFIG)
    Can u please highlight where the error lies.

    Hi;
    Please see:
    Error AP-CANNOT READ FIELD (FIELDNAME=PARAMETER.CONFIG) When Viewing the Concurrent Request Output [ID 466410.1]
    Regard
    Helios

  • How to read field selection in table T004F

    How to read field selection(T004F-FAUS1) in table T004F?
    it's showing me .---.. etc, how can I know which field it refers to?

    It looks like a code, I'm not sure, but try TBSL table and match the FAUS1 field to figure out what element does it refer to.
    Avraham

  • Unable to read field value from main table - unexpected socket read error

    Hi Friends,
    While executing the below code, I am able to get the value of the field 'id' but i am unable to get the value for the 'materialnumber' field. i am getting the below exception
    +com.sap.mdm.commands.CommandException: com.sap.mdm.internal.protocol.manual.ProtocolException: java.io.IOException: Unexpected socket read.  Result is -1.
         at com.sap.mdm.data.commands.AbstractRetrieveLimitedRecordsCommand.execute(AbstractRetrieveLimitedRecordsCommand.java:158)
         at com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand.execute(RetrieveLimitedRecordsCommand.java:157)
         at updaterecords.main(updaterecords.java:126)
    Caused by: com.sap.mdm.internal.protocol.manual.ProtocolException: java.io.IOException: Unexpected socket read.  Result is -1.
         at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:100)
         at com.sap.mdm.data.commands.AbstractRetrieveLimitedRecordsCommand.execute(AbstractRetrieveLimitedRecordsCommand.java:146)
         ... 2 more
    Caused by: java.io.IOException: Unexpected socket read.  Result is -1.
         at com.sap.mdm.internal.net.DataSocket.receiveData(DataSocket.java:59)
         at com.sap.mdm.internal.net.ConnectionImpl.readInt(ConnectionImpl.java:417)
         at com.sap.mdm.internal.net.ConnectionImpl.nextMessage(ConnectionImpl.java:501)
         at com.sap.mdm.internal.net.ConnectionImpl.receiveMessage(ConnectionImpl.java:472)
         at com.sap.mdm.internal.net.ConnectionImpl.send(ConnectionImpl.java:209)
         at com.sap.mdm.internal.net.ReservedConnection.send(ReservedConnection.java:105)
         at com.sap.mdm.internal.protocol.manual.AbstractProtocolCommand.execute(AbstractProtocolCommand.java:97)
         ... 3 more+
    import com.sap.mdm.commands.AuthenticateUserSessionCommand;
    import com.sap.mdm.commands.CommandException;
    import com.sap.mdm.commands.CreateUserSessionCommand;
    import com.sap.mdm.commands.DestroySessionCommand;
    import com.sap.mdm.commands.GetRepositoryRegionListCommand;
    import com.sap.mdm.data.Record;
    import com.sap.mdm.data.RegionProperties;
    import com.sap.mdm.data.ResultDefinition;
    import com.sap.mdm.data.commands.RetrieveLimitedRecordsCommand;
    import com.sap.mdm.ids.TableId;
    import com.sap.mdm.net.ConnectionException;
    import com.sap.mdm.net.ConnectionPool;
    import com.sap.mdm.net.ConnectionPoolFactory;
    import com.sap.mdm.schema.FieldProperties;
    import com.sap.mdm.schema.RepositorySchema;
    import com.sap.mdm.schema.commands.GetFieldListCommand;
    import com.sap.mdm.schema.commands.GetRepositorySchemaCommand;
    import com.sap.mdm.search.Search;
    import com.sap.mdm.server.DBMSType;
    import com.sap.mdm.server.RepositoryIdentifier;
    public class updaterecords {
         public static void main(String[] args) {
              try {               
                    String serverName = "159.112.6.26";
                    ConnectionPool connections = null;
                    try {
                         connections = ConnectionPoolFactory.getInstance(serverName);
                    } catch (ConnectionException e) {
                         e.printStackTrace();
                         return;
                   // specify the repository to use
                   // alternatively, a repository identifier can be obtain from the GetMountedRepositoryListCommand
                   String repositoryName = "DEMO";
                   String dbmsName = "MDMD";
                   RepositoryIdentifier reposId = new RepositoryIdentifier(repositoryName, dbmsName, DBMSType.ORACLE);
                   // get list of available regions for the repository
                   GetRepositoryRegionListCommand regionListCommand = new GetRepositoryRegionListCommand(connections);
                   regionListCommand.setRepositoryIdentifier(reposId);
                   try {
                        regionListCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   RegionProperties[] regions = regionListCommand.getRegions();
                   // create a user session
                   CreateUserSessionCommand sessionCommand = new CreateUserSessionCommand(connections);
                   sessionCommand.setRepositoryIdentifier(reposId);
                   sessionCommand.setDataRegion(regions[0]); // use the first region
                   try {
                        sessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   String sessionId = sessionCommand.getUserSession();
                   // authenticate the user session
                   String userName = "meter1";
                   String userPassword = "meter1";
                   AuthenticateUserSessionCommand authCommand = new AuthenticateUserSessionCommand(connections);
                   authCommand.setSession(sessionId);
                   authCommand.setUserName(userName);
                   authCommand.setUserPassword(userPassword);
                   try {
                        authCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   GetRepositorySchemaCommand cmd=new GetRepositorySchemaCommand(connections);
                   cmd.setSession(sessionId);
                   try{
                        cmd.execute();               
                   }catch(CommandException e){
                        System.out.println(e.getLocalizedMessage());
                   RepositorySchema repsch=cmd.getRepositorySchema();
                   // the main table, hard-coded
                   TableId mainTableId = new TableId(1);     
                   // specify the result definition (what to retrieve); in this example, nothing
                   ResultDefinition rd = new ResultDefinition(mainTableId);
                   // select all records
                   Search search = new com.sap.mdm.search.Search(mainTableId);
                   //get fields
                   GetFieldListCommand getFieldListCommand = new GetFieldListCommand(connections);
                   getFieldListCommand.setSession(sessionCommand.getUserSession());
                   getFieldListCommand.setTableId(mainTableId);
                   try {
                        getFieldListCommand.execute();
                   } catch (CommandException e) {
                        System.out.println(e);
                   FieldProperties[] lookupFields = getFieldListCommand.getFields();
                   // add fields to records to retrieve
                   rd.addSelectField(repsch.getFieldId("Products","Id"));
                   rd.addSelectField(repsch.getFieldId("Products","MaterialNumber"));                              
                   // retrieve the records
                   RetrieveLimitedRecordsCommand limitingCommand = new RetrieveLimitedRecordsCommand(connections);
                   limitingCommand.setSession(sessionId);
                   limitingCommand.setResultDefinition(rd);
                   limitingCommand.setSearch(search);
                   //limitingCommand.setPageSize(2000);
                   try {
                        limitingCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
                   System.out.println("Record count is " + limitingCommand.getRecords().getCount()+"\n");
                   Record[] records=limitingCommand.getRecords().getRecords();
    System.out.println(records[0].getFieldValue(repsch.getFieldId("Products","Id"))+ " \n");
    System.out.println(records[0].getFieldValue(repsch.getFieldId("Products","MaterialNumber"))+ " \n");
                   // finally destroy the session
                   DestroySessionCommand destroySessionCommand = new DestroySessionCommand(connections);
                   destroySessionCommand.setSession(sessionId);
                   try {
                        destroySessionCommand.execute();
                   } catch (CommandException e) {
                        e.printStackTrace();
                        return;
              } catch (Exception e) {
                   System.out.println(e.getLocalizedMessage());
                   e.printStackTrace();
    Kindly let me know where i am going wrong. MaterialNumber field is a TEXT not a lookup table field.  Above fields are from the main table.
    Thanks,
    Raags

    Hi Friends,
    I got the solution. It was the error because of not having a the below statement.
    limitingCommand.setPageSize(1);
    As i havent used that statement, it was trying to get 1000 records, and i dont know exactly what makes this to get that error. Anyhow., As i want to use for updation, i cn live with one record.
    Thanks,
    Raags

  • Want to read Field value set by Value help

    Hello,
    I have BSP View which is using Value help extensions for one of the input. The search help is based on the Elementary Search Help which is further based on Z-Table. In my BSP view [IE] I am able to popup the Search help and able to select the Value from list of choice. The selected value gets reflected in the Input field of browser. The problem is I am not able to capture the selected value in Event handler. I need to capture this value and get the related data in other input fields [which are display only]. How to do this?
    I even tried getting the value in the Javascript, but unable to assign the Javascript variable to my BSP View attribute or Controller attribute.
    Thanks in advance.

    >Do I have to trap it in DO_HANDLE_Event by doing Get_Form_Fields??
    If you are using MVC and data binding you don't have to do anything.  The field values will be brought in automatically for you.
    However in any MVC application, the highest level controller should always contain a small block of code in the redefinition of the DO_REQUEST method.  It is:
    if input is available, dispatch this input to subcomponent.
    * this call is only necessary for toplevel controllers.
    * ( if this is not a toplevel controller or no input is present,
    *   this call returns without any action)
      dispatch_input( ).
    * if any of the controllers has requested a navigation,
    * do not try to display, but leave current processing
      IF is_navigation_requested( ) IS NOT INITIAL.
        RETURN.
      ENDIF.
    This code is critical for properly dispatching events through the controllers.  It is also the code that triggers the MVC runtime to restore input values into the model.
    Also to eliminate the possibility with a problem in the implementation of the value help, why don't you temporarily switch out this element with just a plain htmlb:inputField.  This way you test to make sure that data binding works correctly with the standard field.

  • Reading fields from a text file

    Hi, I'm fairly new to this so bear with me.
    This is for an assignment - the idea is to cretae an online system for booking seats at a cinema - haven't got past the login stage yet?
    I've got an applet that needs to read in a field from a text file.
    I'm using the StringTokenizer function.
    I've put a test in to check that the applet can find the file, which seems to be ok.
    However, it's not reading from the file.
    Te file is a simple text file - fields are seperated by a comma and a space.
    Any ideas?
    Please help as this is quite urgent.
    Prototype Code is below
    public class cinema extends Applet implements ActionListener, ItemListener{
    private List ActionList;
    private int listIndex;
    TextArea t = new TextArea(5, 30);
    private Button gobutton, writebutton, login, logout;
    private PrintWriter suggestfile;
    TextField Userid, password, enterField;
    private int count, checkuser;
    private BufferedReader firstn;
    File myFile = new File("e:\\Ian\\Unistuff\\2nd Year\\se2\\cinema2\\src\\cinema2\\member.txt");
    //Construct the applet
    public cinema() {
    enterField = new TextField("Please enter user ID and Password");
    enterField.setEditable(false);
    add(enterField);
    Userid = new TextField(3);
    add(Userid);
    password = new TextField(10);
    password.setEchoChar('*');
    add(password);
    //Initialize the applet
    public void init() {
    BorderLayout borderLayout1 = new BorderLayout();
    //some code ommitted
    t.setEditable(false);
    add(t);
    gobutton = new Button("Go!");
    add(gobutton);
    gobutton.addActionListener(this);
    public void actionPerformed(ActionEvent event) {
    if (event.getSource() == gobutton) {
    try {
    firstn = new BufferedReader( new FileReader(myFile));
    catch (IOException e) {
    t.setText("Member database missing - please contact Chairperson");
    return;
    try {
    String line1;
    boolean found = false;
    while (( ( line1 = firstn.readLine() ) != null) && (! found))
    {StringTokenizer token1 = new StringTokenizer (line1, " ,");
                              String user = token1.nextToken();
                                 if (Userid.getText().equals(user))
                                   { found = true;
                                     t.setText("Hello");
    firstn.close();
    catch (IOException e) {
    System.err.println("Error Reading File " + myFile + ": " + e.toString());
    Here's the text file:
    Ian, Dodson, 001, rubbish
    Joe, Bloggs, 002, medway
    Bill, Smith, 003, unique
    Guest, , Guest,
    To test that it is working, it should just put a message in the Text Area, but nothing happens when you press the "go" button.

    1. Your applet will not work, because it is trying to
    read file from local disk.
    2. This task can be solved by simple CGI script
    (which is much more common and universal thing than
    java), so you do not need to use java if you want to
    send 3 lines to a server.
    3. See examples and read some books.1. Stated the obvious.
    2. This is a java forum, not Perl.
    3. Pathetic and patronizing.
    Very helpful.

  • How to read fields from an ABAP Programa

    Hello everyone.
    The need of the client is to create an Interactive form and first ask for some data in order to query the rest of the information needed for the layout . All this is using only ECC Backend, we do not have portal yet.
    So I'm not sure if this is posible. I´m imagine the first page Adobde form with the parameters and then take this values to query the tables needed information and then present a new adobde form with the layout definend by the client.
    Is there any MF to read the values of each field in the Adobe interactive form?
    Thanks in advance for your help.

    Hi Joaquin,
    You have the option of using webservice with the adobe form. provided that the user have access to the webservice. you need to create a FM and convert it to webservice in R3.
    But again, from my experience, it is not advisable to put to much logic in the form itself as it will slow it down. The form is better use to display data with a little bit of dynamic elements.

  • (Swing) Reading fields from other forms - Best practice

    Hi All,
    I have been learning Java and Swing through NetBeans (quite a cool way to do it). I would like some 'best-practice' advice please. Google and search on this forum are normally my friends, can't find anything relevant for this though. I have created an application that seems to be functional, all my navigation is through tabs.
    To make my app portable I have created a ?Settings? part. To save having another tab, I have basically copied the way NetBeans deals with opening the ?About Box? in its example, and have set-up fields in here. This essentially opens a JDialog with fields through an option in the menu.
    I figure the best way to store the data is in a simple text file, and have the application read the values on start-up? Then when somebody changes the fields and saves it just overwrites the text file with the new values. I am not sure how to best read these in though, I can?t find a way of reading direct from the JDialog (i.e. var.getText()) which makes sense as the JDialog will be closed.
    Will my best practice simply be writing a class which reads the file, then whenever I need a value just calling the class?
    Thanks a lot

    You should not be using preference files unless you really know what you are doing. This is one area of the very few areas of Java programming that can have lasting nasty negative affects on a computer that runs the code if done wrong.
    If you want the user to save preferences it is better to just use xml. The advantage of preference files is they can be used by multiple programs and are permanent even after the program is done running/deleted/writen-over/forgotten. The disadvantages of preference files is they can be used by multiple programs, are permanent even after the program is done running/deleted/writen-over/forgotten, can cause damage to your OS, may be seen as harmfull by add blockers and/or anti-virus software, may lead to conflicts with other software that uses similar naming schemes, and are pretty much unportable.
    You are going to be much better off in the long run learning XML and just saving them there, an added benefit of XML is if you screw something up and it causes your program to no longer run you can easily edit the xml by hand.
    JSG

  • Update rows in Database reading field in rows of selectoneListBox

    JDev 11.1.1.4, application JSF.
    I have a .jspx that contain a af:table with 20 rows. These rows are read from database.
    I have (in the same .jspx) a af:selectoneListBox with f:selectItems.
    I use drag and drop from table to selectoneListBox. I save into af:selectItems the first field of each row choice.
    Now, how can I put a button than when I press it, it makes a change in database (View Objects) passing as parameter the field reads in row of selectoneListBox.
    Thanks

    Thanks for your replay Kamaal,
    but I have thought another way.
    I'd like to write something like:
    update filea set field1='1' where field2 in (getSelectedItems())
    where getSelectedItems() contain the fields read in rows of selectoneListBox.
    But, I do not know where I have to write this sql statement and then how to execute it by pressing a button, maybe in the ViewObjectImpl ? and if yes, how?
    Thanks

  • Function Modul for read field label

    hi all
    i search a function modul for read the field label from data element.
    Example for data element matnr, i must have field label text material.
    Thx abap_begin

    Hi,
    If you give input parameters type, field and table you get data element using
    RP_PRINT_GET_DATA_ELEMENT
    Try also
    KL_TABLE_INFO_GET
    But not sure if this futfill your requirement...

  • Is it possible read fields on website from my JSP file

    Hi Frnds
    I want to know , Is it possible to read text fields on website from my JSP , I have website url and login details..
    1) How to open that URL with user username and PWD , I know only url and login details....apart from I dont have any information about that...
    2) I want to read one field values from that web site using my jsp , Is it possible ..which concepts will help me ...
    Plesae revert to mee...
    Thanks..frnds...

    It's perfectly possible, in essence you can just call openStream on the URL and the data will be fed to you. However then you hit the hard part, digging the bits you want out of the HTML you'll get. For this you'll need to start writing real Java rather than trying to stretch JSP to do stuff it shouldn't. I say again; write a Servlet. Beginners, who presumably come from PHP or ASP backgrounds, tend to try and do everything in JSPs, and avoid real Java classes. This is a very bad idea.
    In any case this kind of approach, mining data out of HTML pages, should be a last resort. First see if you can get your mail using POP3 or IMAP protocols. The gmail people will feel free to vary the structure of their HTML pages without warning, and your application will then fall in a heap. There's plenty of support for POP3 and IMAP in the java.mail package (not part of the standard install but easy to get).
    If you must read the HTML there are library classes that will help you. See the package java.swing.text.html.parser.

  • Read fields from dynamic table

    Hello everyone,
    I'm a BW-guy with some ABAP background, but it has been a while since I've used field symbos. I'm writing an enhancement for a BI-extractor using a badi. This is the situation:
    I have a dynamic table <t_data> over which I need to loop to change data. The fields I need to change are in another table, t_fields. I've written the following code, but in <fieldname>, I get the value of temp instead of the value in <s_data>-fieldname.
        LOOP AT <t_data> INTO <s_data>.
          LOOP AT t_fields INTO s_fields.
            concatenate '<s_data>-' s_fields-fieldname into temp.
            ASSIGN temp TO <fieldname>.
          ENDLOOP.
        ENDLOOP.
    for example a possible result is:
    <fieldname> =  '<s_data>-calday' in stead of '01.01.2009'
    Can anyone tell me what I've been doing wrong? Your help is greatly appreciated.

    Hi,
    Please let me know if I am clear on this.
    You have two internal tables, itab1 and itab2. You would like to change the value of field (say fld1) in itab1. This fld1 value is available from fld in itab2.
    If this is the situation, following is the code.
    FIELD-SYMBOLS: <w_tab1> TYPE ty_tab1.
    DATA:                   w_tab2     TYPE  ty_tab2.
    LOOP AT itab1 ASSIGNING <w_tab1>.
      READ TABLE itab2 into w_tab2 WITH KEY
                                   fldkey = <w_tab1>-fldkey.
      IF sy-subrc EQ 0.
        <w_tab1>-fld1 = w_tab2-fld.
      ENDIF.
    ENDLOOP.
    This is it. Table itab1 will be changed.
    Let me know if this works or if your issue is different.
    Regards,
    Sourav
    Edited by: Sourav1233 on Jul 8, 2009 2:15 PM

  • Reading Field Labels from Lookup Table

    Post Author: Ohmylord
    CA Forum: Formula
    I'm trying to read the field labels from the database so I can have one set of reports and have them work in multiple languages by changing the display value. I created a lookup table that has these fields and values: ID    EnglishValue   DisplayValue1    Customer   Cliente2   CustomerNumber    Numero del Clienteetc.   I then created a formula field for each label (@Customer Label, @CustomerNumber Label).  The formula just contains the DisplayValue field.  Then I used Select Records and added a Where ID=1 or ID=2.  The problem is that whatever the last value I put in for the ID applies to each of the different formulas I created.  In other words, it reads the labels from the database, but they are all the same. It seems like it should be pretty easy but I'm obviously missing something. Most reports probably have 15 or so labels on them. Thanks for any help!  

    Post Author: Ohmylord
    CA Forum: Formula
    Here's some sample data from the table I created.
       Translation
       Autonumber
       ID
       EnglishLabel
       DisplayValue
      1
      1
      Customer
      Cliente
      2
      2
      Customer Number
      Codice Cliente
      3
      3
      Quote Date
      Data Quota
      4
      4
      Expiration Date
      Data Scadenza
    What I want on the report is 4 fields each one would show a different value. The simplified select statement I'm trying to get for the different fields is something like:Field 1 - Select DisplayValue where ID=1Field 2 - Select DisplayValue where ID=2etc for the other 2 fields.   When a different user has a different language we would just populate the DisplayValue with different data.  

  • Read field value from another page

    Hallo,
    I have PAGE1.HTM (with MVC) with 2 input fields (country and state). For field STATE there´s a F4-button which calls PAGE2.HTM (page with logic) and in order to display the correct information for states I need to get the value in field country.
    I cannot send the value from page1.htm because the code is client-side for F4 (specially if it changes) and I cannot use
    var = document.getElementById("country");
    in page2.htm because it´s Javascript code inside ABAP code, which is not allowed (I think).
    Does somebody have an idea on how to collect that value or if I can use Javascript code in the event OnInitialization ??
    Thanks a lot

    Hi,
    that´s something I do when the content of the view is created and works Ok. The values of that content come from the data bank. The problem is when the user enters a new value and does not saves it !! in this case, the new value is not transmited to PAGE2.HTM because now we´re on client side.
    This is the code that creates the input field:
          tag_if  = cl_htmlb_inputfield=>factory( id = s_id
                                                 value = fieldname
                                                 visible = isvisible
                                                 disabled = isdisabled
                                                 isappendunit = 'True'
                                                 showhelp = dfies-f4availabl
                                                 dovalidate = 'TRUE'
                                                 onvaluehelp = openf4code ).
    and as far as I know, input field supports no event.

Maybe you are looking for