Problem Related to Text Field in PR?

Hi All,
I have to Pic Text field  from PR. PLease Tell me in which table its entry  goes?

what does this mean:
PLease tell me how to pic that text.
do you want to a download?
do you want to do it in a program?
do you want the the text is carried over to a PO?

Similar Messages

  • Problem with a text field check

    When there is nothing placed inside the text field it will return a message dialog box saying that there is nothing located inside the text field. However if there is something inside the text field it will perform a
    doSpellingSuggestion and write the results to a .txt file.
    This works as the search term can be found within the .txt file.
    However when I try to display a message dialog box to display the contents of the .txt file that contains the spelling suggestion it will come out with an error from the catch statement
    catch(Exception spelling_error)
    JOptionPane.showMessageDialog(null , "Spelling error = " +
    spelling_error.getMessage());
    It keeps showing an error message box saying "Spelling error = null"
    It wont go past this line and thats the problem that i have. I tryed putting
    I tried substituting this in place of the error message above but it wouldnt go down to it
    //Display a message with a spelling suggestion
    JOptionPane.showMessageDialog(null , "Did you mean to spell " +
    search_term + " like this " + buffer.toString());
    but this didnt work
    class spellcheck_button_listener implements ActionListener
    public void actionPerformed(ActionEvent spelling_check)
    try
    String myKey = "0RK+HoNQFHJlcbNPfxgBpcjESUWV96aO";
    String wsdl = "http://api.google.com/GoogleSearch.wsdl";
    String url = "http://api.google.com/search/beta2";
    String ns1 = "urn:GoogleSearch";
    String ns2 = "urn:GoogleSearch";
    if((search_field.getText() == null) || (search_field.getText().equals("")))
    JOptionPane.showMessageDialog(null , "No search term entered in text field"
    + " please enter another search term");
    else
    search_term = search_field.getText();
    //Create the connection
    SOAPConnectionFactory soapConnFactory = SOAPConnectionFactory.newInstance();
    SOAPConnection connection = soapConnFactory.createConnection();
    //Create the actual message
    MessageFactory messageFactory = MessageFactory.newInstance();
    SOAPMessage message = messageFactory.createMessage();
    //Create objects for the message parts
    SOAPPart soapPart = message.getSOAPPart();
    SOAPEnvelope envelope = soapPart.getEnvelope();
    SOAPBody bodyName = envelope.getBody();
    SOAPElement bodyElement;
    //Populate the message by adding SOAP body elements to form a semantically meaning
    //SOAP request
    bodyElement = bodyName.addBodyElement(envelope.createName("doSpellingSuggestion" , "ns1" , ns1));
    //Adding content to the message
    //addTextNode used when entering strings , addAttribute used for integers
    bodyElement.addChildElement(envelope.createName("key")).addTextNode(myKey);
    bodyElement.addChildElement(envelope.createName("q")).addTextNode(search_term);
    //Send the message and get a reply
    URLEndpoint endpoint = new URLEndpoint(url);
    //Send the message
    SOAPMessage reply = connection.call(message , endpoint);
    //Getting the content of a Message
    SOAPPart sp = reply.getSOAPPart();
    SOAPEnvelope env = sp.getEnvelope();
    SOAPBody replyBody = reply.getSOAPPart().getEnvelope().getBody();
    TransformerFactory transformerFactory = TransformerFactory.newInstance();
    Source styleSheet = new StreamSource(translate_file);
    Transformer transformer = transformerFactory.newTransformer(styleSheet);
    Source sourceContent = reply.getSOAPPart().getContent();
    StreamResult result = new StreamResult(spell_check_file);
    transformer.transform(sourceContent, result);
    java.util.Iterator iterator = replyBody.getChildElements();
    while (iterator.hasNext())
    bodyElement = (SOAPBodyElement)iterator.next();
    String url_results = bodyElement.getValue();
    //Close the connection
    connection.close();
    FileReader inputFile = new FileReader(spell_check_file);
    buffer = new StringBuffer();
    // write new list to standard out
    BufferedReader in = new BufferedReader(inputFile);
    String input;
    while ((input = in.readLine()) != null)
    if(!input.startsWith("<?xml version"))
    // Skip XML header
    buffer.append(input + "\n");
    in.close();
    //Display a message with a spelling suggestion
    JOptionPane.showMessageDialog(null , "Did you mean to spell " + search_term +
    " like this " + buffer.toString());
    } //End of else statement
    } //End of try method for search action performed
    catch(Exception spelling_error)
    JOptionPane.showMessageDialog(null , "Spelling error = " +
    spelling_error.getMessage());
    } //End of method actionPerformed for search button
    } //End of class spellcheck_button_listener implements ActionListener

    I don't use SOAP, so I can't test your code.
    If you really want people to read your code then it should be [url http://forum.java.sun.com/features.jsp#Formatting]formatted so it is readable with correct indentation of lines and highlighting of the source code.

  • Problem with Update Text fields in Infoset

    Hi experts,
    Here i would like to rephrase the question. Normaly while working with Infosets, when press "update text fields" button, those fields having text is updated. But one of my field is not updated. I need some help from you for that.
    One more question i've that my field is having check table so i would like to know how exactly the text field is updated.
    scenario.
    Customized IT9320 has field prt_pos added. This field is having check table T528B. But i want text field to be attached is IT1000-STEXT.
    How this can be done, because i suspect that just using check table field IT1000-STEXT is not attached to IT9320-prt_pos.
    Please help. I'm really got stuck here.
    Thanks a lot,
    Toral.
    Hi,
    I'm working on customised Infotype. I need to add one new customised field ie Present Position. This field has number as well as text associated with it. There is a check table attached with this field so that text can be displayed alongwith number.
    I need this field in SAP/Adhoc query. But when i go to SQ02 this fields shows only value. Text is disabled for this field. I'm not sure why is it so.
    I looked into other infotype which as one field using same data element, and that field shows both value as well as text. Please help me to rectify this issue for present position field.
    Thanks,
    Toral.
    Edited by: Toral Sheth on Jul 4, 2008 2:01 PM

    You would be much better off with one multi-line form field.
    There are many problems with trying to determine when one is at the end of the display field with text entry.

  • Problem hiding a text field

    Hi,
    For some reason I am unable to hide a text field by clicking on a button. This is what I'm doing:
    txtField.presence = "hidden";
    I'm using javascript and I can hide other buttons if I set their presence to "invisible", but I cannot hide a text field at all. Am I missing something here?
    Thanks,
    Chad

    Make sure the reference path to your text field is relative to the button's location on the hierrachy tree. The way you have it, I assume the button and the text field is under the same parent container or level.

  • Problemas, PopUp y Text fields disabled

    Hola,
    Tengo una PopUp, que dentro hay reporte de dos columnas ID, DESCRIPCION,el campo DESCRIPCION, es u link a una url que llama una jascript, que me devuelve los valores del reporte a unos text fields.
    El problema es que uno de los text fields esta disabled por la Conditions y el java no me deja pegar el valor que traigo.
    Alguien tiene alguna idea, o sugerencia Gracias!!!!!
    JP

    Hi Andy,
    Using "disabled" has the effect of turning the colour of the text on any object into shades of gray. There is nothing that you can do about this. There is no css that you can apply to an object that has the disabled attribute set. The nearest you could get would be to create a style class and apply this to the field - but, even with this you can not change the fact that it displays the text in gray (but you can change the font-family and font-size values).
    What you could do is use "readonly" instead which doesn't change the style but just makes the field non-editable.
    Regards
    Andy

  • Problems, PopUp y Text fields disabled

    hello,
    I have a PopUp, that inside is a report of two columns ID,DESCRIPTION. the column DESCRIPTION      
    jascript is or Link to a URL that calls one, that it gives back to the values of the report to text fields to me.
    The problem is that one of text fields this disabled by the Conditions and the Javascript does not let to me stick the value that I bring.
    Somebody has some idea, or suggestion Thanks!
    Juan Pablo

    JaimeRJ wrote:
    Hi, I'm having problems with text fields in full screen.
    I'm aware of the security restriction but Adobe says text fields are disabled only when running in a browser, text fields should be OK when in standalone player or AIR.
    Not the case.
    I'm exporting a .exe file and text fields become immediately disabled when I go to Full Screen. I can't develop the thing in AIR (to use  FULL_SCREEN_INTERACTIVE ) due to company restrictions on installing software. So the standalone exe is the right solution to me, this should be working, but it isn't, please help.
    Hey there,
    The documentation you're referring to says the following:
    "These restrictions are not present for SWF content running in the stand-alone Flash Player or in AIR. AIR supports an interactive full-screen mode that allows keyboard input."
    It mentions nothing about running full screen in a projector executable file which is what you are trying to do. The stand alone flash player is usually an executable file in the flash development environment that is used for testing and debugging flash content for the developer. For distributing your app I would think that there would be good reason to prevent text input in full screen projector files for the security reasons. You should probably look at distributing your intended content some other way or ask for special permission to do AIR. I can't confirm this, but maybe this might be an option: http://www.flashjester.com/?section=tricks_jugglor3
    Hope that helps.

  • Problem with a text field

    Hi,
    I want to load a string of characters to a text field of a table. I'm using SQL Loader.
    I've tried to declare the field in several types: varchar2(4000), clob, raw, etc, but when I run sql loader to load the text I get the same error: The data file exceeds maximum lenght. I've tried with a shorter text and it works.
    My question is, why I can't load long characters in that field?
    Thanks in advance.
    Regards.

    Although you have made your table column up to size 4000, SQLLoader have not got a clue about that. You still need to tell SQLLoader that the text coming in is more than the default 255 in your control file. Strange isn't it?
    Here is my table named testlog. Note that I changed the column names LOG, DAY, TIME and TYPE because they are reserved Words
    SQL> CREATE TABLE TESTLOG
      2  (LOG_1 CHAR(3) NOT NULL,
      3  DAY_1 DATE,
      4  TIME_1 CHAR(8),
      5  SOURCE VARCHAR2(100),
      6  EVENTID NUMBER(22),
      7  TYPE_1 VARCHAR2(64),
      8  CATEGORY VARCHAR2(64),
      9  USER0 VARCHAR2(64),
    10  COMPUTER VARCHAR2(64),
    11  MESSAGE VARCHAR2(4000) NOT NULL)
    12  /
    Table created.
    SQL> desc testlog
    Name                                                                                                      Null?    Type
    LOG_1                                                                                                     NOT NULL CHAR(3)
    DAY_1                                                                                                              DATE
    TIME_1                                                                                                             CHAR(8)
    SOURCE                                                                                                             VARCHAR2(100)
    EVENTID                                                                                                            NUMBER(22)
    TYPE_1                                                                                                             VARCHAR2(64)
    CATEGORY                                                                                                           VARCHAR2(64)
    USER0                                                                                                              VARCHAR2(64)
    COMPUTER                                                                                                           VARCHAR2(64)
    MESSAGE                                                                                                   NOT NULL VARCHAR2(4000)
    SQL> select * from testlog;
    no rows selected
    SQL>
    I saved the same data you have abvoe in a file named testlog.txt Here is my test controlfile named testlog.ctl
    LOAD DATA
    INFILE 'testlog.txt'
    INTO TABLE testlog
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS
       LOG_1     CHAR NULLIF (LOG_1=BLANKS)
    , DAY_1     DATE "DD/MM/YYYY" NULLIF (DAY_1=BLANKS)
    , TIME_1    CHAR NULLIF (TIME_1=BLANKS)
    , SOURCE    CHAR NULLIF (SOURCE=BLANKS)
    , EVENTID   INTEGER EXTERNAL NULLIF (EVENTID=BLANKS)
    , TYPE_1    CHAR NULLIF (TYPE_1=BLANKS)
    , CATEGORY  CHAR NULLIF (CATEGORY=BLANKS)
    , USER0     CHAR NULLIF (USER0=BLANKS)
    , COMPUTER  CHAR NULLIF (COMPUTER=BLANKS)
    , MESSAGE   CHAR(4000) NULLIF (MESSAGE=BLANKS)
    Here is the Result of my test run
    D:\DBMSDIRECT\DBA\Test>sqlldr userid=test control=testlog.ctl
    Password:
    SQL*Loader: Release 11.1.0.6.0 - Production on Fri Nov 5 15:36:05 2010
    Copyright (c) 1982, 2007, Oracle.  All rights reserved.
    Commit point reached - logical record count 1
    D:\DBMSDIRECT\DBA\Test>
    Here is the Result in the table
    SQL> col message format a50
    SQL> col source  format a50
    SQL> col category  format a10
    SQL> col source  format a10
    SQL> col user0  format a10
    SQL> col type_1 format a10
    SQL> col computer format a10
    SQL> set pasge 20
    SQL> select * from testlog;
    LOG DAY_1     TIME_1   SOURCE        EVENTID TYPE_1     CATEGORY   USER0      COMPUTER   MESSAGE
    SEC 04-NOV-10 12:26:02 Microsoft-       4656 Success    12800                 server1.it A handle to an object was requested.^`^`Subject:^`
                           Windows-Se                                             acasa-sa.c  Security ID: S-1-5-21-3830471607-3036766313-42914
                           curity-Aud                                             om         15205-2156^` Account Name: mbelles^` Account Domai
                           iting                                                             n: ITACASA-SA^` Logon ID: 0x38988bbc^`^`Object:^`
                                                                                             Object Server: Security^` Object Type: File^` Obje
                                                                                             ct Name: K:\AMBIENTE^` Handle ID: 0x1e18^`^`Proces
                                                                                             s Information:^` Process ID: 0x4^` Process Name: ^
                                                                                             `^`Access Request Information:^` Transaction ID: {
                                                                                             00000000-0000-0000-0000-000000000000}^` Accesses:
                                                                                             %%4416^` ^` Access Mask: 0x1^` Privileges Used for
                                                                                              Access Check: -^` Restricted SID Count: 0
    1 row selected.
    SQL>

  • Problem with validating text field

    Hi All
    i want to validate the text fields present in jsp page for a sturts application..
    i have a jsp page for input then struts form for validation as struts machinism provides and if error occurs it add error to error object.
    i want to display error message in text field when it occurs..
    plz help me to do it
    thanx in advacne

    I'm not getting your requirement clearly, by my understanding ... you need to retrieve database whenever a <select> field trigger "onchange" - am I right?
    If that is your requirement, it depends on what kind of solution you are looking into?
    1. AJAX+Servlet (dojo/jMaki/write your own)
    2. Java Server Faces (MyFaces/JSF)
    3. write yourself a custom TAG (JSTL) to do the purpose (AJAX+Servlet/purely Servlet)
    4. purely JSTL
    5 purely Servlet
    (please "Google" them by appending "<select> <option>"/ "populate combobox")
    Personally I would recommend 1st or 3rd approach, even 2nd approach (MyFaces/JSF) is cool, but if your whole application is not written in JSF, no point to mixed the solutions.
    If you want to try Ajax+TAG approach, refer following:
    http://ajaxtags.sourceforge.net/
    If you wish to use MyFaces approach, please refer following:
    http://avatar21.superihost.com/index.php?entry=entry051020-163838
    A forth/fifth approach will be much browser-portable, but the amount of coding will be more.
    Regards,
    Avatar Ng
    Message was edited by:
    Avatar_Ng
    Message was edited by:
    Avatar_Ng

  • Problem  with Input Text Field

    I am trying to use the binding tag for a inputText field... The value of the text Field is a hashmap, in which the key is equal to the binding variable i have used
    <h:inputText id="ug" binding="#{userBean.ugclassCode}" rendered="true" value="#{userBean.finalUghm}" styleClass="numericalignRight" />
    This is the first time i m trying binding to an inputText so please let me know if this method is correct... and please let me know if there is any other method to accomplish the same.
    Thanks in advance

    Maybe you misunderstand the binding attribute ..
    Two ways to get it work:
    Way 1:
    JSF 1<h:form id="form">
         <h:inputText binding="#{MyBean.inputText}" />
    </h:form>MyBean 1    private HtmlInputText inputText = new HtmlInputText();
        private Map inputValues = new HashMap();
        public HtmlInputText getInputText() {
            inputValues.put("key1", "testvalue1"); // test
            inputText.setValue(inputValues.get("key1"));
            return inputText;
        public void setInputText(HtmlInputText inputText) {
            this.inputText = inputText;
        }Way 2:
    JSF 2<h:form id="form">
         <h:inputText value="#{MyBean.inputValue}" />
    </h:form>MyBean 2    private Map inputValues = new HashMap();
        private String inputValue;
        public String getInputValue() {
            inputValues.put("key2", "testvalue2"); // test
            inputValue = (String) inputValues.get("key2");
            return inputValue;
        public void setInputValue(String inputValue) {
            this.inputValue = inputValue;
        }

  • Problem with long text field.

    Hi all,
    I have a problem when I try to concatenate two fields.
    It seems the new field only is 254 characters long?
    Here is my syntax:
    data: w_long_text(1000).
    clear w_long_text.
        loop at iline.
          concatenate w_long_text iline-tdline into w_long_text separated by space.
        endloop.
    I'm sure the text is longer then 254 becuase I can see the text in an Activity in the Sap Crm system.
    Best Regards
    Frode

    Hi thomas
    wat i would suggest you is better take an internal table with long_text(255) field .
    data : begin of it_text occurs 0,
                long_text(255),
              end of it_text.
    clear : w_long_text,it_text.
    loop at iline.
    concatenate w_long_text iline-tdline into w_long_text separated by space.
    <b>it_text-long_text = iline-tdline.</b>
    append it_text.
    clear it_text.
    endloop.
    and when displaying the text keep that in a loop and print it.
    This way u can display the whole text irrespective of the char length.
    Reward points if helpful
    Regards
    Zarina

  • Problem Related to PO Field?

    HI All,
    If you go in the PO , and in that in Item -
    > Delivery Address. In delivery address there is a field name , I want to see that field, so Plz tell me  a table where I can  see that Field Data.

    hi All,
    I have tried all the above said by all of you, but I didn't find anything in that.
    I am again explaining you my problem:
    When you go in ME23n there is a tab in PO Item by the name Delivery Address. In delivery Address there is a field Name. I want to see that in which table it's entry goes. I have tried in table adrc but nothing found. Plz help

  • Problem with long text field in PLD

    Hi all.
    I´m doing a layout for A/R invoices. I have a user field of text type. When I try to display this field and the text is too long the PLD make a new line. but in the first line cut me some characters. How can I fix this issue?
    Can you help me?
    Thanks

    The Aligment properties are:
        *Horizontal: Left
        *Vertical: Top
        *Line break: Divide into rows
        *Length:
        *Filler:
        *Field haight adjustment: checked
        *Sum in words: Not checked
        *Suppress zeros: Not checked

  • Problem with JButtons Text field not updating

    Im working on a program (which has its full code included below incase its part of the problem) which wants to change a Jbutton's name during a program. The way I'm trying to make it change is by having a string, "test", be called "before update". then have the jbuttons text equal test. then, in an actionlistener, it changes string test to equal "after update". This doesn't update the Jbuttons text.
    I don't get any errors when I press the button, but the buttons name is not updating. Whats causing the buttons name not to be updated?
    Thanks for help in advance.
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*; 
    public class TicTac extends JFrame {
    public int Teamplaying = 0;
    public int CrossA, CrossB, CrossC, CrossD, CrossF, CrossG, CrossH, CrossI, CircleA, CircleB, CircleC, CircleD, CircleE, CircleF, CircleG, CircleH, CirclI, TLB, TMB, TRB, MLB, MMB, MRB, LLB, LMB, LRB = 0;
    String test = "Before Update";
        public TicTac() {
             JPanel TicTac = new JPanel();
             TicTac.setLayout(new GridLayout(3,4));
                  TicTac.add(new JButton(test));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  TicTac.add(new JLabel("a"));
                  setContentPane(TicTac);
             pack();
             setTitle("Add Numbers Together TicTac");
             setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
             setLocationRelativeTo(null);
        class TopLeftBox implements ActionListener {
             public void actionPerformed(ActionEvent e) {
             String test = "After update";
             if (Teamplaying == 0) {
                  CrossA = CrossA + 1;
                  CrossD = CrossD + 1;
                  CrossG = CrossG + 1;
             else {
                  CircleA = CircleA + 1;
                  CircleB = CircleB + 1;
         public static void main(String[]args) {
        TicTac Toe = new TicTac();
        Toe.setVisible(true);
    }

    1) Strings are immutable meaning you can't change them.
    2) Even if you could, the two test strings are completely different variables.
    3) To change JButton text, you should call its setText method.
    4) For a JButton to perform an action on button press, it needs to have an actionlistener added to it via the addActionListener(...) method.
    5) Please read, study, and review the Sun Swing tutorials. You will benefit greatly from having a solid foundation in Swing basics before you try coding in Swing.
    Good luck.
    Edit: a small example code (SSCCE, if you will):
    import java.awt.*;
    import javax.swing.*;
    import java.awt.event.*;
    public class Frame extends JFrame
        public Frame()
            JPanel panel = new JPanel();
            JButton button = new JButton("Before Update");
            button.addActionListener(new ButtonListener()); // add actionlistener here
            panel.add(button);
            setContentPane(panel);
            pack();
            setTitle("Frame");
            setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            setLocationRelativeTo(null);
        private class ButtonListener implements ActionListener
            public void actionPerformed(ActionEvent e)
                // get the button that called this action
                JButton button = (JButton)e.getSource();
                // update the button's text
                button.setText("After update");
        public static void main(String[] args)
            SwingUtilities.invokeLater(new Runnable()
                @Override
                public void run()
                    new Frame().setVisible(true);               
    }Edited by: Encephalopathic on Apr 28, 2008 9:26 PM

  • Problem in Uploading TEXT field for PR

    Hi all,
    I am using FM 'GUI_UPLOAD ' for uploading text file .
    There are three coloumns in my text file ie(PR number, item and TEXT id (long text) seperated by TAB
    As there are long text in the last coloumn and in between there are tab space i was unable to get the entire text
    To over come that problem , i have used multiple coloumn in the internal table of input table so that even if there are tab space
    i can store it in the other coloumn .
    But the problem is when im using FM"BAPI_REQUISITION_CREATE" and passing the table by breaking into 132 charactes
    in requisition_item_text im completely , getting different format.
    I mean the format of the uploaded text is completely messed up.:(
    Please help.
    Regards,
    Chandan

    HIII Chandan,
    When we use GUI_UPLOAD function module
    Call function GUI_UPLOAD
        Exporting
                 Filenmae = "the one which we are passing on to selection screen" should be of type File name 
                                     i.e IBIPPARMS-PATH.
                                     It is of type char and size 128
    So i think this is the reason u r unable to transport the data

  • Dynamic Forms - text fields

    Hi, I am currently using LiveCycle Designer 8.0. I am having major problems getting my text field boxes to expand dynamically on the page and over to the next page to accommodate large amounts of text. I have employed the 'allow multiple lines' and 'expand box' but to no avail. I think it is a 'subform' related problem. Appreciate any help out there.
    Regards
    Barum55

    Hi,
    Have you saved the form as a "dynamic XML form" in LC Designer?
    While you can set the object to multiple lines etc., it won't work if the form is saved as "static".
    Good luck,
    Niall

Maybe you are looking for