TextField and variables

I am trying to figure out how to assign a variable to a textField to hold the value of user input. I would like the user to type in a string during runtime and the string be placed into the variable. This variable is for holding the user name for a login name and a password.

Cast this Object :
String s = (String) textField1.getValue();And do not put this code in constructor, but in the textField1_action() method. Specifiy this method as handler for your textField (in the properties window, events>processValueChange), and check "Submit on change" by rigth-clicking on the textField.
Regards

Similar Messages

  • How do I limit the size of a TextField and do an auto advance of that field

    Attached is a copy of my program. It reads a bar code and enters that bar code into a textfield and 2 text areas. everything is working fine except I want the bar code read to trigger a print to the 2 text areas automatically instead of the user having to hit the enter key. Any suggestions on where I should start researching or any snippets of code that I could use would be appreciated.
    //-------------------Buffalo Offline Scan Program------------
    //This program will allow the Buffalo user to continue scanning cases on pallets
    //when the AS\400 is down. The scans will be sent to a flat file that will be
    //FTPed to the AS\400 when it is back up and update the proper files.
    //Program Author: Susan Riggin
    package javalab;
    import javabook.*;
    import javalab.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.awt.image.*;
    import java.applet.*;
    import java.io.*;
    import java.io.File.*;
    import java.util.*;
    public class BuffOff extends Applet implements ActionListener
    //               Data Members
         //Variables
         private int scanCount = 0;
         private int sessionCount = 0;
         //Labels
         private Label buffaloLabel = new Label();
         private Label scanLabel = new Label();
         private Label cPalletLabel = new Label();
         private Label cCountLabel = new Label();
         private Label tPalletLabel = new Label();
         private Label tCountLabel = new Label();
         private Label rButtonLabel = new Label();
         private Label eButtonLabel = new Label();
         //TextFields
         private TextField scanTextField = new TextField(6);
         //Buttons
         private Button rButton = new Button("Reset");
         private Button eButton = new Button("Exit");
         //Text Areas
         private TextArea cTextArea = new TextArea( 10, 40);
         private TextArea tTextArea = new TextArea(10, 40);
         public void paint(Graphics g){
         Toolkit kit = Toolkit.getDefaultToolkit();
         Image imageA = kit.getImage("d:\\\\javaproj\\javalab\\abbott.gif");
         g.drawImage(imageA, 555, 5, 50, 50, this);
    //               Constructor
    public BuffOff()
         //Attach the GUI objects so they will appear on the screen.
         setLayout (null);
         buffaloLabel.setBounds(203, 5, 200, 27);
         buffaloLabel.setFont(new Font ("dialog",Font.BOLD, 18));
         buffaloLabel.setAlignment(Label.CENTER);
         buffaloLabel.setText("Buffalo OffLine Scan");
         cPalletLabel.setBounds(18, 60, 291, 23);
         cPalletLabel.setFont(new Font ("dialog", Font.BOLD, 14));
         cPalletLabel.setAlignment(Label.CENTER);
         cPalletLabel.setText("Current Pallet");
         cPalletLabel.setBackground(Color.cyan);
         tPalletLabel.setBounds(322, 62, 291, 23);
         tPalletLabel.setFont(new Font ("dialog", Font.BOLD, 14));
         tPalletLabel.setAlignment(Label.CENTER);
         tPalletLabel.setText("Total Pallets");
         tPalletLabel.setBackground(Color.pink);
         rButton.setBounds(129, 485, 56, 23);
         rButton.setBackground(Color.cyan);
         rButton.setLabel("Reset");
         eButton.setBounds(459, 485, 56, 23);
         eButton.setBackground(Color.pink);
         eButton.setLabel("Exit");
         cCountLabel.setBounds(18, 88, 291, 23);
         cCountLabel.setFont(new Font("dialog", Font.BOLD, 12));
         cCountLabel.setAlignment(Label.CENTER);
         cCountLabel.setText("Current Pallet Case Count = " + scanCount);
         cCountLabel.setBackground(Color.lightGray);
         tCountLabel.setBounds(322, 88, 291, 23);
         tCountLabel.setFont(new Font("dialog", Font.BOLD, 12));
         tCountLabel.setAlignment(Label.CENTER);
         tCountLabel.setText("Total Pallet Case Count = " + sessionCount);
         tCountLabel.setBackground(Color.lightGray);
         scanLabel.setBounds(120, 33, 160, 23);
         scanLabel.setFont(new Font("dialog", Font.BOLD, 14));
         scanLabel.setAlignment(Label.CENTER);
         scanLabel.setText(" Current Barcode Scan: ");
         scanTextField.setBounds(300, 34, 58, 23);
         scanTextField.setBackground(Color.white);
         eButtonLabel.setBounds(322, 460, 291, 23);
         eButtonLabel.setAlignment(Label.CENTER);
         eButtonLabel.setBackground(Color.pink);
         eButtonLabel.setText("Press Exit to end Program.");
         rButtonLabel.setBounds(18, 460, 291, 23);
         rButtonLabel.setAlignment(Label.CENTER);
         rButtonLabel.setBackground(Color.cyan);
         rButtonLabel.setText("Press Reset for next pallet scan.");
         cTextArea.setBounds(18, 118, 291, 333);
         cTextArea.setBackground(Color.cyan);
         tTextArea.setBounds(322, 118, 291, 333);
         tTextArea.setBackground(Color.pink);
         //Place the GUI objects on the applet.
         add(buffaloLabel);
         add(scanLabel);
         add(cPalletLabel);
         add(cCountLabel);
         add(tCountLabel);
         add(tPalletLabel);
         add(cCountLabel);
         add(rButtonLabel);
         add(eButtonLabel);
         add(scanTextField);
         add(rButton);
         add(eButton);
         add(cTextArea);
         add(tTextArea);
         //Add applet as an action listener.
         scanTextField.addActionListener(this);
         rButton.addActionListener(this);
         eButton.addActionListener(this);
    //               Methods that make the program work
    //---------method for action performed and action event---------
         public void actionPerformed(ActionEvent e)
         if (e.getSource() == eButton) exit();
         if (e.getSource() == scanTextField) {
              try {     
                   scan();
              catch(IOException f){}
         if (e.getSource() == rButton) reset();
    //-------------method for pressing the exit button---------------
         private void exit()
         System.exit(0);
    //------------method for pressing the reset button---------------
         private void reset()
         scanCount = 0;
         scanTextField.setText("");
         cTextArea.setText("");
         cCountLabel.setText("Current Pallet Case Count = " + scanCount);
         scanTextField.requestFocus();
    //------------method for scanning barcode------------------------
         private void scan() throws FileNotFoundException
         String scanText = scanTextField.getText();
         if (scanText.equals("999999")) reset();
         else{
         String cTime, cDate;
         File scan = new File("d:\\\\javaproj\\javalab", "scan.txt");
         //adds the date and time to entries
         Clock myClock = new Clock();
         cTime = myClock.getCurrentTime();
         cDate = myClock.getCurrentDate();
         //Add to counts
         ++scanCount;
         ++sessionCount;     
         //Append scanned data to text areas
         cTextArea.append(scanCount + "->" + scanText + " " + " " + cDate + " " + cTime );
         cCountLabel.setText("Current Pallet Case Count = " + scanCount);
         cTextArea.append("\r\n");
         tTextArea.append(sessionCount + "->" + scanText + " " + " " + cDate + " " + cTime);
         tCountLabel.setText("Total Pallet Case Count = " + sessionCount);
         tTextArea.append("\r\n");
         //Append scanned data directly to flat file.
         try
         FileWriter outputFile = new FileWriter("d:\\\\javaproj\\javalab\\scan.txt", true);
         outputFile.write(scanTextField.getText());
         outputFile.write(myClock.getCurrentDate());
         outputFile.write(myClock.getCurrentTime());
         outputFile.write("\r\n");
         outputFile.close();
    catch (IOException e)
         //clear the scan field
         scanTextField.setText("");
         // position the cursor
         scanTextField.requestFocus();
    Thanking you in advance for your assistance!!!!!!!!!
         

    Sorry that you're still having trouble :-( The title of your post seems a little different to your description of the problem, but I'm assuming you want the textfields to auto-scroll so they always show the last entry?
    Try this://Append scanned data to text areas
    cTextArea.append(scanCount + "->" + scanText + " " + " " + cDate + " " + cTime );
    cCountLabel.setText("Current Pallet Case Count = " + scanCount);
    cTextArea.append("\r\n");
    //ADD CALL TO AUTO-SCROLL METHOD:
    autoScroll(cTextArea);
    tTextArea.append(sessionCount + "->" + scanText + " " + " " + cDate + " " + cTime);
    tCountLabel.setText("Total Pallet Case Count = " + sessionCount);
    tTextArea.append("\r\n");
    //ADD CALL TO AUTO-SCROLL METHOD:
    autoScroll(tTextArea);Then you need to add this method to your class:private void autoScroll(TextArea textArea){
        //get the length of the text in the text area:
        int endOfText = (textArea.getText()).length();
        //...then set the caret position to the end:
        textArea.setCaretPosition(endOfText);

  • Difference between Temp table and Variable table and which one is better performance wise?

    Hello,
    Anyone could you explain What is difference between Temp Table (#, ##) and Variable table (DECLARE @V TABLE (EMP_ID INT)) ?
    Which one is recommended to use for better performance?
    also Is it possible to create CLUSTER and NONCLUSTER Index on Variable table?
    In my case: 1-2 days transactional data are more than 3-4 Millions. I tried using both # and table variable and found table variable is faster.
    Is that Table variable using Memory or Disk space?
    Thanks Shiven:) If Answer is Helpful, Please Vote

    Check following link to see differences b/w TempTable & TableVariable: http://sqlwithmanoj.com/2010/05/15/temporary-tables-vs-table-variables/
    TempTables & TableVariables both use memory & tempDB in similar manner, check this blog post: http://sqlwithmanoj.com/2010/07/20/table-variables-are-not-stored-in-memory-but-in-tempdb/
    Performance wise if you are dealing with millions of records then TempTable is ideal, as you can create explicit indexes on top of them. But if there are less records then TableVariables are good suited.
    On Tables Variable explicit index are not allowed, if you define a PK column, then a Clustered Index will be created automatically.
    But it also depends upon specific scenarios you are dealing with , can you share it?
    ~manoj | email: http://scr.im/m22g
    http://sqlwithmanoj.wordpress.com
    MCCA 2011 | My FB Page

  • Fixed and Variable Breakup of Actual Cost

    We have implemented Material ledger and also activated actual cost component split. We are getting the actual product cost at month end. In the costing cockpit we get the Peiodic unit price(Actual cost) as well as std price of the material. But In costing cockpit we are not able to get the breakup of Fixed and variable. Whereas we are getting Fixed and varible breakup when we check cost component report in ckm3. But there, we can see individual material wise fixed and varibale breakup.
    Can anybody help me so that I can see the Actual Fixed and variable cost for all the products at a time?
    With regards
    Mukesh Poddar

    Fixed price, is the fixed costs - I usually see it in relation to Overhead..
    Fixed costs remain, whether you manufacutre or not.
    Say you are deciding whether to out-source an assembly,  If you outsource, VARIABLE cost will be saved, Material, labor for that assembly, Overhead representing fringes for that labor, the electricity to run that specific machine.  However, you will still have fixed costs of: Management Salary (although some of that can be variable); insurance on the building; heating and cooling for the building; realestate taxes.
    If the cost to make "in house" is 150 each and the vendor is going to charge you 100, thi is only a true saving if your fixed costs are less than 50.
    SAP allows you to separate fixed and variable costs so that you do make/buy analysis, budgeting, etc
    Hope this helps
    Edited by: Althea Madigan on May 12, 2010 2:11 PM

  • SOAP Use Adapter-Specific Message Properties and Variable Transport Binding

    Hi Friends,
       I am new to use to Soap Adapter. Please help me out bellow doubts.
       1.When you use Use Adapter-Specific Message Properties and Variable Transport Binding .
       2. Where exactly  we r using below parameters.
    Remote User : (technical name: SRemoteUser )
    Remote Host : (technical name: SRemoteHost )
    SOAP Action (technical name: SHeaderSOAPACTION )
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    Variable Header : (technical name: XHeaderName1 )
    Variable Header : (technical name: XHeaderName2 )
    Variable Header : (technical name: XHeaderName3 )
    Thanks&Regards
    G.Bhanuprakash

    Hi,
       1.When you use Use Adapter-Specific Message Properties and Variable Transport Binding .
    SAP Help says both are needed to be checked when you want to process adapter attributes
    Configuring the Receiver SOAP Adapter - SAP NetWeaver Exchange Infrastructure - SAP Library
    These attributes can be get/set using dynamic configuration and their technical names are what you have pasted:
    Remote User : (technical name: SRemoteUser )
    Remote Host : (technical name: SRemoteHost )
    SOAP Action (technical name: SHeaderSOAPACTION )
    To transfer further header fields, set the relevant indicator. You can then store the following attributes and their values in the XI message header:
    Variable Header : (technical name: XHeaderName1 )
    Variable Header : (technical name: XHeaderName2 )
    Variable Header : (technical name: XHeaderName3 )
    Remote User - the username used to send a message to the adapter engine using SOAP
    Remote Host - hostname which the remote user used
    SOAP Action - SOAP Action of the XI webservice (sender) / SOAP Action of the receiver webservice
    Variable Headers are additional key-value pairs in the HTTP Header that could be accessed in the XI Header using dynamic configuration. The limit is only three though.
    Regards,
    Mark

  • Budget Report to show the fixed and variable split for Materials

    Hello Gurus,
    Could you tell me if there is a budget standards report that will show the fixed and variable split for Materials? Example: Labor, Equip., QC and Overheads? 
    I need it for the correctly rolled-up 'final material number' step.  The report that does this now (without fixed and var split) is the Indented BOM Comparison (sret - cost mgmt-product costing - cost mgmt-customized reports - cost estimate comparison - costed multilevel compare rpt - Indented BOM Comparison).
    Thanks,
    Jefferson

    one simple way is in your final itab declare a slno type i field
    data : begin of itab occurs 0,
    slno type i,
    <other fields>
    end of itab.
    after filling the data in itab.
    loop at itab.
    itab-slno = sy-tabix.
    modify itab.
    endloop.
    in fieldcatalog also you have to define that slno field as the first column.
    but it will change its order if you are sorting the output or filtering the output.
    regards
    shiba dutta

  • Adjust position and size of textField and button...

    Dear All,
    I have the following sample program which has a few textFields and a button, but the positions are not good. How do I make the textField to be at the right of label and not at the bottom of the label ? Also how to adjust the length of textField and button ? The following form design looks ugly. Please advise.
    import javax.swing.*; //This is the final package name.
    //import com.sun.java.swing.*; //Used by JDK 1.2 Beta 4 and all
    //Swing releases before Swing 1.1 Beta 3.
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.text.*;
    import javax.swing.JTable;
    import javax.swing.JScrollPane;
    import javax.swing.JPanel;
    import javax.swing.JFrame;
    public class SwingApplication extends JFrame {
    private static String labelPrefix = "Number of button clicks: ";
    private int numClicks = 0;
    String textFieldStringVEHNO = "Vehicle No";
    String textFieldStringDATEOFLOSS = "Date of Loss";
    String textFieldStringIMAGETYPE = "Image Type";
    String textFieldStringIMAGEDESC = "Image Description";
    String textFieldStringCLAIMTYPE = "Claim Type";
    String textFieldStringSCANDATE = "Scan Date";
    String textFieldStringUSERID = "User ID";
    String ImageID;
    public Component createComponents() {
    //Create text field for vehicle no.
    final JTextField textFieldVEHNO = new JTextField(5);
    textFieldVEHNO.setActionCommand(textFieldStringVEHNO);
    //Create text field for date of loss.
    final JTextField textFieldDATEOFLOSS = new JTextField(10);
    textFieldDATEOFLOSS.setActionCommand(textFieldStringDATEOFLOSS);
    //Create text field for image type.
    final JTextField textFieldIMAGETYPE = new JTextField(10);
    textFieldIMAGETYPE.setActionCommand(textFieldStringIMAGETYPE);
    //Create text field for image description.
    final JTextField textFieldIMAGEDESC = new JTextField(10);
    textFieldIMAGEDESC.setActionCommand(textFieldStringIMAGEDESC);
    //Create text field for claim type.
    final JTextField textFieldCLAIMTYPE = new JTextField(10);
    textFieldCLAIMTYPE.setActionCommand(textFieldStringCLAIMTYPE);
    //Create text field for scan date.
    final JTextField textFieldSCANDATE = new JTextField(10);
    textFieldSCANDATE.setActionCommand(textFieldStringSCANDATE);
    //Create text field for user id.
    final JTextField textFieldUSERID = new JTextField(10);
    textFieldUSERID.setActionCommand(textFieldStringUSERID);
    //Create some labels for vehicle no.
    JLabel textFieldLabelVEHNO = new JLabel(textFieldStringVEHNO + ": ");
    textFieldLabelVEHNO.setLabelFor(textFieldVEHNO);
    //Create some labels for date of loss.
    JLabel textFieldLabelDATEOFLOSS = new JLabel(textFieldStringDATEOFLOSS + ": ");
    textFieldLabelDATEOFLOSS.setLabelFor(textFieldDATEOFLOSS);
    //Create some labels for image type.
    JLabel textFieldLabelIMAGETYPE = new JLabel(textFieldStringIMAGETYPE + ": ");
    textFieldLabelIMAGETYPE.setLabelFor(textFieldIMAGETYPE);
    //Create some labels for image description.
    JLabel textFieldLabelIMAGEDESC = new JLabel(textFieldStringIMAGEDESC + ": ");
    textFieldLabelIMAGEDESC.setLabelFor(textFieldIMAGEDESC);
    //Create some labels for claim type.
    JLabel textFieldLabelCLAIMTYPE = new JLabel(textFieldStringCLAIMTYPE + ": ");
    textFieldLabelCLAIMTYPE.setLabelFor(textFieldCLAIMTYPE);
    //Create some labels for scan date.
    JLabel textFieldLabelSCANDATE = new JLabel(textFieldStringSCANDATE + ": ");
    textFieldLabelSCANDATE.setLabelFor(textFieldSCANDATE);
    //Create some labels for user id.
    JLabel textFieldLabelUSERID = new JLabel(textFieldStringUSERID + ": ");
    textFieldLabelUSERID.setLabelFor(textFieldUSERID);
    Object[][] data = {
    {"Mary", "Campione",
    "Snowboarding", new Integer(5), new Boolean(false)},
    {"Alison", "Huml",
    "Rowing", new Integer(3), new Boolean(true)},
    {"Kathy", "Walrath",
    "Chasing toddlers", new Integer(2), new Boolean(false)},
    {"Mark", "Andrews",
    "Speed reading", new Integer(20), new Boolean(true)},
    {"Angela", "Lih",
    "Teaching high school", new Integer(4), new Boolean(false)}
    String[] columnNames = {"First Name",
    "Last Name",
    "Sport",
    "# of Years",
    "Vegetarian"};
    final JTable table = new JTable(data, columnNames);
    table.setPreferredScrollableViewportSize(new Dimension(500, 70));
    //Create the scroll pane and add the table to it.
    JScrollPane scrollPane = new JScrollPane(table);
    //Add the scroll pane to this window.
    getContentPane().add(scrollPane, BorderLayout.CENTER);
    final JLabel label = new JLabel(labelPrefix + "0 ");
    JButton buttonOK = new JButton("OK");
    buttonOK.setMnemonic(KeyEvent.VK_I);
    buttonOK.addActionListener(new ActionListener() {
    public void actionPerformed(ActionEvent e) {
              try {
    numClicks++;
              ImageID = textFieldVEHNO.getText() + textFieldDATEOFLOSS.getText() + textFieldIMAGETYPE.getText();
    label.setText(labelPrefix + ImageID);
              ScanSaveMultipage doScan = new ScanSaveMultipage();
              doScan.start(ImageID);
         catch (Exception ev)
    label.setLabelFor(buttonOK);
    * An easy way to put space between a top-level container
    * and its contents is to put the contents in a JPanel
    * that has an "empty" border.
    JPanel pane = new JPanel();
    pane.setBorder(BorderFactory.createEmptyBorder(
    20, //top
    30, //left
    30, //bottom
    20) //right
    pane.setLayout(new GridLayout(0, 1));
         pane.add(textFieldLabelVEHNO);
         pane.add(textFieldVEHNO);
         pane.add(textFieldLabelDATEOFLOSS);
         pane.add(textFieldDATEOFLOSS);
         pane.add(textFieldLabelIMAGETYPE);
         pane.add(textFieldIMAGETYPE);
         pane.add(textFieldLabelIMAGEDESC);
         pane.add(textFieldIMAGEDESC);
         pane.add(textFieldLabelCLAIMTYPE);
         pane.add(textFieldCLAIMTYPE);
         pane.add(textFieldLabelDATEOFLOSS);
         pane.add(textFieldDATEOFLOSS);
         pane.add(textFieldLabelUSERID);
         pane.add(textFieldUSERID);
    pane.add(buttonOK);
         pane.add(table);
    //pane.add(label);
    return pane;
    public static void main(String[] args) {
    try {
    UIManager.setLookAndFeel(
    UIManager.getCrossPlatformLookAndFeelClassName());
    } catch (Exception e) { }
    //Create the top-level container and add contents to it.
    JFrame frame = new JFrame("SwingApplication");
    SwingApplication app = new SwingApplication();
    Component contents = app.createComponents();
    frame.getContentPane().add(contents, BorderLayout.CENTER);
    //Finish setting up the frame, and show it.
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    frame.pack();
    frame.setVisible(true);

    Post Author: Ranjit
    CA Forum: Crystal Reports
    Sorry but, i've never seen formula editor for altering position and size. If you know one please navigate me.
    I guess you have updated formula editor beside "Lock size and position" - if yes its not right. There is only one editor beside 4 items and editor is actually for Suppress.
    Anyways, A trick to change size a position is:
    Create 4-5 copies (as many as you expect positions) of the text object. place each at different positions,  right click, Format, Suppress and in formula editor for suppress write the formula: If your condition is true, Suppress=false, else true.
    Position will not change but user will feel; for different conditions -position is changed
    Hope this helps.
    Ranjit

  • How to put the column name and variable value in the alert message.

    Dear,
    how can i put the column name and variable value in the alert message text. i want to display an alert which tell the user about the empty textboxes. that these textboxes must be filled.
    Regards:
    Muhammad Nadeem
    CHIMERA PVT. LTD.
    LAHORE
    [email protected]

    Hello,
    The name of the item that fires the current trigger is stored in the :SYSTEM.TRIGGER_ITEM system variable.
    The value contained in this item can be retrived with the Name_In() built-in
    value := Name_In( 'SYSTEM.TRIGGER_ITEM') ;
    LC$Msg := 'The item ' || :SYSTEM.TRIGGER_ITEM || ' must be entered' ;
    Set_Alert_Property('my_alert_box', ALERT_MESSAGE_TEXT, LC$Msg ) ;
    Ok := Show_Alert( 'my_alert_box' ) ;
    ...Francois

  • Overview report cost estimate (fix and variable)

    Hello
    anybody knows a overview report  where i can see for the current valid cost estimates
    per material
    costs splitt between fix and variable costs
    Alternatively it would be sufficient if this is just shown for a costing run
    In CK40N and all other reports i know i have the complete costs but to see details an extra click to the between fix and variable costs is needed and i can not extract to excel.
    Or is the only option an query on KEKO,KEPH, CKIS?
    Cheers
    Tim

    Hello
    @Sachin: Thanks for the report but the output is not that good - but helpful
    @Eric: Thanks this report solved my problem )
    Cheers
    Tim

  • Product costing - Fixed and variable cost.

    HI,
    I like to know how the cost is divided into fixed and variable at the cost compent level.
    as there is only one setting available at Define Cost Component Structure.
    Kindly let me know how this is done and possible forward the Product costing document and setting.
    my e-mail :[email protected]
    With Regards
    Krishna Singareddy
    Edited by: krishna singareddy on Feb 26, 2008 8:26 PM
    Edited by: krishna singareddy on Feb 26, 2008 8:27 PM

    Hi,  FICO MOH ,
    Do u have any logic if a coast element has 100 how do u divide it among the fixed and variable.
    what is the persentage or based on what it is defined .
    can u put some example pls
    with regards
    krishna

  • Material standard and variable price

    Hi all,
    I've been ask to create a report that shows the variable and standard price of the material for the current month and compare this with the price of a month that they get to choose, and if they don't choose a month to compare it with then I should show the price of that material for every month of the year.
    My question is, where can I find this info in SAP. I know that in MM03 I see the standard and variable price of the month and the previous month, but that's about it.
    where can I find this historical info of prices for material?
    thanks in advanced,
    Fidel Gregorio Peralta.

    Hi!
    You can find current prices in table MBEW. Field VPRSV says, if you find moving avg. in column VERPR or the standard price in STPRS. Currency is company code currency.
    In table MBEWH you find historical values - which are only inserted in case of price changes - so missing periods have same value as last entry before.
    Regards,
    Christian

  • Tables for Fiels Fixed Value and Variable Value

    Hi,
    Can any one tell me where the actual fixed and variable costs are stored in which table and also the planned costs. I have checked it, but it is showing RKPLN as data structure. We are doing development report where in standard Cost Center Report we need to have break up of fixed and variable cost. Please guide me where exactly these fields are stored in which table. its very urgent.

    Hi,
    In regard to the tables for planned data please do a search of the forum as this question has already been asked a few times. E.g. here:
    CO PLANNING TABLES
    In regard to fixed / variable actual costs: these are not stored in separate tables. If a posting contains fixed and variable portions, for example postings resulting from splitting (KSS2), then the fixed portion is stored in the COEP- WKFBTR (line items) and COSS-WKF*  fields (summary items).  Please observe SAP note 192107 on this issue.
    Regards
    Karl

  • Fixed and variable cost component break up in PCA

    Hi,
    Is it possible to get fixed and variable cost component break up and contribution report in PCA at each product group level and lower level of node. I think this requires development. As my client requires the report to have cost break up into fixed and variable in PCA at each line item level. Can anyone solve this

    Hello
    You can get the report by using the  report painter, no development will be required.
    Regards
    Madhav

  • What exactly is the diff between main window and variable window

    what exactly is the diff between main window and variable window in SAP script?

    hi,
    MAIN WINDOW :- In a main window you display text and data, which can cover several pages (flow text). As soon as a main window is completely filled with text and data, the system continues displaying the text in the main window of the next page. It automatically triggers the page break.
    You can define only have one window in a form as main window.
    The main window must have the same width on each page, but can differ in height.
    A page without main window must not call itself as next page, since this would trigger an endless loop. In such a case, the system automatically terminates after three pages.
    VARIABLE WINDOW :- The contents of variable windows is processed again for each page, on which the window appears. The system outputs only as much text as fits into the window. Text exceeding the window size is truncated; the system does not trigger a page break. Unlike constant windows, the page windows declared as variable windows may have different sizes on different form pages.
    As far as the processing of the window contents is concerned, the system currently treats constant and variable windows alike. The only difference is that constant windows have the same size throughout the form.
    hope this will be useful.
    If useful then reward points.
    with regards,
    Syed

  • Transporting Queries and Variables from QA to DEV

    Hi gurus,
    Is there a way I can transport my query and variables(query components) back to DEV from QA,cos one of the variable that I am using started having a problem in DEV and can't seem to be able to fix it .
    You can check the problem question here
    Problems with a Query
    Thanks

    If you have access you can bundle the report in QA the same way as in Dev.  This is assuming you have a package set up there and basis will probably have to manually move it to the queue and import it.  This can be risky to do.

Maybe you are looking for

  • No longer able to delete photos

    To make it easier to access the iPhoto library from multiple users on our computer, I moved the iPhoto Library to /Users/Shared/Pictures and set up permissions so that only the owner has write permission and other users are read-only (we had to do th

  • Can I use my 24 inch' 2007 imac as an external monitor for my PC

    can I use my 24 inch' 2007 imac as an external monitor for my PC

  • Quota Arrangment

    Dear All, Can anybody define me the process of quota arrangement & its advantages. How i can map it befor/after the MRP is carried out . Regards, Gs Kothari

  • NME-WAE-502-K9 does not come up on 3925 router

    Hello, I have a 3925 ISR G2 router equipped with the following: NAME: "CISCO3925-CHASSIS", DESCR: "CISCO3925-CHASSIS" PID: CISCO3925-CHASSIS , VID: V03 , SN: FCZ151920TA NAME: "Cisco Services Performance Engine 100 for Cisco 3900 ISR on Slot 0", DESC

  • GetProcedureColumns doesn't distinquish between OUT param and Record column

    HI. My problem is that when I do a getProcedureColumns call for my stored procedure, I cannot distinquish between the stored procedure OUT parameters and columns in the result set record. Both are shown to be OUT parameters. My stored procedure is de