How to Implement the Screen As of Batch Management

Hello Everyone,
     I want to implement a screen having functionality similar to Batch Management, at "Add" Button another screen popups having two gridviews in First there would be Items and in Second their would be Serial Numbers as defined in Item Master Data.
The same Functionality for multiple items, like in case of two items when we select first item from GridView1 it gives area in Gridview2 to add data and when we select Item2 it refresh the gridview2 to add the data in gridview2, but again when I select first Item in GridView1 it gives the same data that I added before.
and in the end on update button all the data save in a table or two.
How can I do that??
Thanks in advance,
Idrees

Hi Idrees,
You need two grids and at least 3 datatable.
Grid 1 bound to DataTable 1 - This will list all the Items, nothing special about this one.
Grid 2 bound to DataTable 2 - This will list selected batch for current selected Item in Grid 1.
DataTable3 - This will hold all the selected batches for all the items in Grid 1.
Now you need to refresh DataTable 2 based on the Selected item in DataTable 1.
When the user click on a row in DataTable 1, you need to do 2 things :
1. Read all the records of DataTable 2 and sync it to DataTable 3.
2. Read all the records of DataTable 3 where the Item Code belongs to the Item selected in Grid 1 populate it into DataTable2.
Tedious, but will do the job.
When the user click Add/Update button, write the records of DataTable1 and DataTable3 into database.
Regards
Edy

Similar Messages

  • How to reload the screen when changing languages in JavaFX 2?

    I'm beginner with javaFX and i need to change language of the screen. but i have no idea how to reload the screen when the language was changed. The application have a button where have the language available. I want just refresh screen when the user change language.
    Here is the start method to show the stage.
        @Override
        public void start(Stage stage) throws Exception
            this.stage = stage;
            Locale locale = Locale.getDefault();
            ResourceBundle rb = ResourceBundle.getBundle("resources/Label",locale);
            loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
            root = (Parent)loader.load();
            FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
            controller.setMain(this);
            scene = new Scene(root);
            stage.setScene(scene);
            stage.show();
    here is the function to change the language(in the same class with start function),the rb is the new ResourceBundle:
        public void refresh(ResourceBundle rb)
              //change the language here
    1. I don't want to use the resourceBundle to get value in resource file and set label in scene one by one.like following:
    this.btnLabel.setText(rb.getString(key.test));
    2. I don't want to reload the scene,like following:
        public void refresh(ResourceBundle rb)
             try
                loader = new FXMLLoader(getClass().getResource("FXMLDocument.fxml"),rb);
                root = (Parent)loader.load();
                scene.setRoot(root);
                FXMLDocumentController controller = (FXMLDocumentController) loader.getController();
                controller.setMain(this);
            catch(Exception err)
                err.printStackTrace();
    So do we have a solution to just set the resourceBundle and reload the scene easier?
    Thanks and best regards!

    Your option 2 (reload the FXML for the scene using the new resource bundle as a parameter), is the way this would normally be done and what I would recommend.
    Failing that, you could use option 1 of individually resetting the label text of labeled items (I don't really recommend this).
    Why don't you want to use option 2?
    Perhaps it is because there is some internal state of the UI which differs from the initial state when the the UI is first loaded (e.g. user has typed text in a text field and you want to preserve that).  If that's the case you will need to either go with your option 1 of individually resetting the label text of labeled items, or implement something which preserves the UI state and user data by saving it in memory or to disk, reloading the UI via the FXMLLoader (essentially your option 2), then restoring the UI state and user data to what it was before the language change.  Preserving and restoring the modified state seems complicated to me if you have a lot of state, so I wouldn't really advise this approach unless you really needed it.

  • How to Implement a screen exit to a standard SAP transaction

    Hi All,
    Can any body give How to Implement a screen exit to a standard SAP transaction??
    Regards,
    AK

    Hey,
    This link which gives the Step by step way of iimplement a screen exit:
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    Regards,
    Arjun

  • How to aggregate the PO history in batch

    How to aggregate the PO history in batch? thanks !

    I know this transaction,but it can't select all items to aggregate,i must select one item and aggregate, so it is not very convenient,so i write a program to batch process it
    Thansk!

  • How to clear the screen in java?

    Hi,
    How to clear the screen in java without using any loops?
    Thanks

    Just paint with your background color to let the old paintings vanish.

  • How to unlock the screen of my iphone to see photos in both ways vertical

    how to unlock the screen of my iphone to see my photos in both ways, vertical & horizontal ?

    Turn off Portrait Lock in Control Center.

  • How to implement the schema validation with XSD in adapter module

    Dear All,
    I am trying to develop a EJB as the file adapter mudule.
    Please guide me how to implement the schema validation of the source message with XSD.
    Or provide me the relative resources about this task.
    Thanks & Regards,
    Red
    Edited by: Grace Chien on Nov 19, 2008 8:23 AM

    Hi Grace,
    You can do the xml scema validation in PI7.1 version directly.
    To develop the adapter module for xml schema validation
    Validating messages in XI using XML Schema
    Schema Validation of Incoming Message
    Regards
    Goli Sridhar

  • How to set the screen size with nested Iview screen

    Can someone show me how to set the screen size with nested IView  screen.
    at the moment i only try it with trial and error untill it looks somewhat close. Is there a property in VC to set the size for Height and width.
    The same question is for the form. the form elements inside the form is easy but the actual form is still a challenge.

    Hi,
    Yes you are correct ,Still the Form and iview are not able to change thier Layout Structure using a Propery.
    it is available with VC7.1
    Govindu

  • How to implement the shared lock in a  table view

    Hi,
    How to implement the shared lock in a  table view.for multiple users to edit on this same table.
    Thanks in advance
    Swathi

    Hi,
    Please refer this link to find solution to your querry.
    Hope it helps.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/c322c690-0201-0010-fb86-811c52b0acc2.
    Regards,
    Rahul

  • How to determine the screen structure of the detail area of a screen...

    Hi all,
              How to determine the screen structure of the detail area of a screen?

    Hi,
    go to se38,
    loop at SCREEN.
    endloop.
    put the cursor on SCREEN and press F1, then u can seee it.
    Regards,
    Pavan
    Edited by: vishnu Pavan on Mar 23, 2009 11:03 AM

  • How to take the screen shot of my computer page by using Labview.... is there any funtions available in Labview?

    How to take the screen shot of my computer page by using Labview.... is there any funtions available in Labview?

    Another thread about this theme.
    Waldemar
    Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
    Don't forget to give Kudos to good answers and/or questions

  • How to implement the selfsecured page in oaf

    hi
    any one having knowledge how to implement the selfsecured OAF page documents
    can you please send me [email protected]
    Regards
    Chandra

    Use the search facility on the forum. Did you read the dev guide?
    --Shiv                                                                                                                                                                                       

  • How to call the screen in methods could u please explain

    hi,
    how to call the screen in methods could u please explain clearly with example

    HI ,
    CALL SCREEN - Call a screen
    Basic form
    CALL SCREEN scr.
    Addition:
    ... STARTING AT x1 y1 ... ENDING AT x2 y2
    Effect
    Calls the screen scr; scr is the number of a screen of the main program. You use SET SCREEN 0. or LEAVE SCREEN. to define the return from the CALL screen.
    Note
    Please consult Data Area and Modularization Unit Organization documentation as well.
    Addition
    ... STARTING AT x1 y1  ENDING AT x2 y2
    Effect
    The coordinates x1, y1 (start column and start line in the window) and x2, y2 (end column and end line in the window) define the size and position of the CALL screen ("top left - bottom right"). Besides these coordinates, you can also see the contents of the primary window, but cannot perform any action there.
    Note
    If "ENDING AT ..." is not specified, suitable values are substituted for x2 and y2, taking into account the size of the called screen.
    Exceptions
    Non-Catchable Exceptions
    Cause: No further screen level (call screen); the maximum number of nested screen levels is restricted to 50 at present.
    Runtime Error: DYNP_TOO_MANY_CALL_SCREENS
    THX

  • How to record the screen in snow leopard ?

    how to record the screen in snow leopard ?

    Must I find it myself !
    Well you could try Google :-)
    I am unsure if you want a static image, or a movie recording of what you are doing on your screen.
    Images can be done using Command-Shift-3, Command-Shift-4, and Command-Shift-4-Space.
    3rd party utilities such as Skitch will allow you to annotate the image after you capture it.
    Making a movie of your screen activities can be done usng Applications -> Quicktime
    There are 3rd party screen records such as Snapz Pro, ScreenSteps, etc...
    And of course you can do a Google search.

  • How to capture the screen of the remote computer

    sir
    i need help for my project how to capture the screen of the remote
    system plaese give idea for doing the project

    Run a daemon on the remote computer which uses java.awt.Robot.

Maybe you are looking for