I wanted to create a module pool which accepts a table n flag

i wanted to create a module pool which accepts a table n flag.
and based on flasg value it allows the table to get into edit or display mode.
the table has to use table control to display for user
and it should be able to edit the table as well as append if the flag value is edit.
the table which has been change should be passed back.

HI Shailesh ,
      On your screen which contains the table control , you can definately  put the flag . Now use 2 conditions , one for change n other for display mode .Initialize the value of the flag to be "X" and based on the flag valu design your table .
lets say u have a screen 0100 ,
at the begining put FLAG = 'X'.
lets say , this is for your change screen  .
then loop at the table control and allow the fields for fields input . all you should do in the PBO only .
next in PAI , fill the table control with the changed values .
and in PAI , in AT-user command module , code for the flag ( / push button  ) . and pass the values when the user clicks on the button .or else here you can check whether the value of the flag is  "X" ( for change mode )  or " " .
if it  is " "   then loop at the screen and make all the fields inactive for input ( Display mode )
Inactivation of the fields should be done in the PBO based on the conditions .
Revert back if you need further clarification .
This logic should  definately work .
Reward if helpful .
Thanks
Ranjita

Similar Messages

  • Want to create a module pool pr by se38..

    hi everyone.. I want to create a module pool program by SE38 tr code n going by modular programm rather than executable pr..can anyone tell me from very begining how to do this... also send me screenshots regarding this or link..plz....

    Hi Shekhar,
    REPORT ZBHMOD1 .
    DATA:OKCODE1 LIKE SY-UCOMM,
    OKCODE2 LIKE SY-UCOMM.
    DATA:N1(10) TYPE N,N2(10) TYPE N,RES(12) TYPE N.
    MODULE USER_COMMAND_1000 INPUT.
    CASE OKCODE1.
    WHEN 'NEXT'.
    RES = N1 + N2.
    SET SCREEN 1001.
    WHEN 'CLEA'.
    CLEAR:N1,N2.
    WHEN 'BACK'.
    SET SCREEN '0'.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1000 INPUT
    MODULE STATUS_1000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'TIT1'.
    ENDMODULE. " STATUS_1000 OUTPUT
    MODULE USER_COMMAND_1001 INPUT.
    CASE OKCODE2.
    WHEN 'BACK'.
    SET SCREEN 1000.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 INPUT
    MODULE STATUS_1001 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'TIT2'.
    ENDMODULE. " STATUS_1001 OUTPUT
    FLOW LOGIC:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1000.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1001.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1001.
    2)
    REPORT ZBHMOD2.
    DATA: OKCODE1 TYPE SY-UCOMM,
    OKCODE2 TYPE SY-UCOMM,
    ENAME(10) TYPE C,
    DNAME(10) TYPE C.
    MODULE STATUS_1000 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'TIT1'.
    ENDMODULE. " STATUS_1000 OUTPUT
    MODULE STATUS_1001 OUTPUT.
    SET PF-STATUS 'xxxxxxxx'.
    SET TITLEBAR 'TIT2'.
    ENDMODULE. " STATUS_1001 OUTPUT
    MODULE USER_COMMAND_1000 INPUT.
    CASE OKCODE1.
    WHEN 'BACK'.
    SET SCREEN '0'.
    WHEN 'NEXT'.
    DNAME = ENAME.
    SET SCREEN '1001'.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1000 INPUT
    MODULE USER_COMMAND_1001 INPUT.
    CASE OKCODE2.
    WHEN 'BACK'.
    SET SCREEN '1000'.
    ENDCASE.
    ENDMODULE. " USER_COMMAND_1001 INPUT
    FORM ON_CTMENU_FORM USING ZDEMO1 TYPE REF TO CL_CTMENU.
    CALL METHOD ZDEMO1->LOAD_GUI_STATUS
    EXPORTING
    PROGRAM = 'ZDEMO1'
    STATUS = 'ZDEMO1'
    MENU = ZDEMO1.
    ENDFORM. " ON_CTMENU_FORM
    FLOW LOGIC:
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1000.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1000.
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_1001.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_1001.
    Every Screen has a pbo and a pai.
    Screen elements are the textbox, buttons, radio buttons and check boxes .....
    If we want to pass data from a abap program to a screen element, we have to create a variable with the name we have given in the screen.So whatever the value is present in that variable is reflected on to the screen element.
    Here is an example :
    Using subscreens and some of the screen elements
    REPORT demo_dynpro_subscreens.
    DATA: ok_code TYPE sy-ucomm,
    save_ok TYPE sy-ucomm.
    DATA: number1(4) TYPE n VALUE '0110',
    number2(4) TYPE n VALUE '0130',
    field(10) TYPE c, field1(10) TYPE c, field2(10) TYPE c.
    CALL SCREEN 100.
    MODULE status_100 OUTPUT.
    SET PF-STATUS 'SCREEN_100'.
    ENDMODULE.
    MODULE fill_0110 OUTPUT.
    field = 'Eingabe 1'(001).
    ENDMODULE.
    MODULE fill_0120 OUTPUT.
    field = field1.
    ENDMODULE.
    MODULE fill_0130 OUTPUT.
    field = 'Eingabe 2'(002).
    ENDMODULE.
    MODULE fill_0140 OUTPUT.
    field = field2.
    ENDMODULE.
    MODULE cancel INPUT.
    LEAVE PROGRAM.
    ENDMODULE.
    MODULE save_ok INPUT.
    save_ok = ok_code.
    CLEAR ok_code.
    ENDMODULE.
    MODULE user_command_0110 INPUT.
    IF save_ok = 'OK1'.
    number1 = '0120'.
    field1 = field.
    CLEAR field.
    ENDIF.
    ENDMODULE.
    MODULE user_command_0130 INPUT.
    IF save_ok = 'OK2'.
    number2 = '0140'.
    field2 = field.
    CLEAR field.
    ENDIF.
    ENDMODULE.
    MODULE user_command_100 INPUT.
    CASE save_ok.
    WHEN 'SUB1'.
    number1 = '0110'.
    WHEN 'SUB2'.
    number1 = '0120'.
    CLEAR field1.
    WHEN 'SUB3'.
    number2 = '0130'.
    WHEN 'SUB4'.
    number2 = '0140'.
    CLEAR field2.
    ENDCASE.
    ENDMODULE.
    flow logic for screen 100
    PROCESS BEFORE OUTPUT.
    MODULE STATUS_100.
    CALL SUBSCREEN: AREA1 INCLUDING SY-REPID NUMBER1,
    AREA2 INCLUDING SY-REPID NUMBER2.
    PROCESS AFTER INPUT.
    MODULE CANCEL AT EXIT-COMMAND.
    MODULE SAVE_OK.
    CALL SUBSCREEN: AREA1,
    AREA2.
    MODULE USER_COMMAND_100.
    flow logic for screen 110
    PROCESS BEFORE OUTPUT.
    MODULE FILL_0110.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0110.
    flow logic for screen 120
    PROCESS BEFORE OUTPUT.
    MODULE FILL_0120.
    PROCESS AFTER INPUT.
    flow logic for screen 130
    PROCESS BEFORE OUTPUT.
    MODULE FILL_0130.
    PROCESS AFTER INPUT.
    MODULE USER_COMMAND_0130.
    flow logic for screen 140
    PROCESS BEFORE OUTPUT.
    MODULE FILL_0140.
    PROCESS AFTER INPUT.
    Kindly Reward Points If You Found The Reply Helpful,
    Cheers,
    Chaitanya.

  • SAP beginner !! steps to create a fun module which accept int table

    steps to create a fun module
    1. which accept internal  table and a flag value
    2. based on flag value it calls screen.
    3. if flag value is ' D' it displays the internal table in Table Control in Display Mode
    4. if flag value is ' E' it edits the table control also the internal table,
        it can also append a new row in table control or delete it.
    5. the function module should then send the output the internal table which has changed.
    plz if any one can provide solution to this do it for me
    thnk u

    Hi Shailesh,
        U just create 2 table control (one in Display Mode & the another in Change Mode ).While sending the Internal Table values, u send the values to the corresponding Table Control based on the Flag Value.

  • How to create a module pool program

    Dear Guru
    I want to know know how to create a module pool program from se80 step by step. I want to know the steps where i will get the four includes like form routines, PAI, PBO, and global data please its very urgent.
    Thanks & regards
    Saifur Rahaman

    hi Saifur Rahaman,
    goto se80 then click find program,
    next u want any name of the program enter as,
    Attribute type as find Module pool click it.
    next u want any package and save and activate.
    program name with create screen with any number then
    click layout and u want any object and save , actived.
    click flow logic , four types as PBO and PAI and POV, POH.
    PBO---> Trigger is before screen.
    its applied for display screen and inactive or no display screen only
    PAI--->Trigger is after screen
    when u want button then its processed.
    POV--> Value requested for F4.
    POH-->Help requested for F1.
    Reward if useful,
    S.Suresh.

  • Does anyone have any notes on how to create a module pool?

    Hi,
    I have created a new task type called "Notice Period Change Date" which I need to default in a task date of 5 years service (from their hiring date). Having read up on this I think I need to create a module pool and link via the dynamic action but I am a bit unsure on how to do this.
    Any assistance would be greatly appreciated.
    Thanks
    Hannah

    I think that you could use a dynamic action to create this new task date.
    Create the dynamic action on the infotype 0000 when the action type (MASSN) = hiring,
    Call infotype 0019 with the subtype = your new task type.
    Then call a function (F) to add 5 years to the hire date (P0000-BEGDA) and put the result into the task date field P0019-TERMN
    Take a look at the dynamic actions table T588Z - there are probably some examples already there.
    Mark

  • I want to create report on Sybase which provider I should use.

    I want to create report on Sybase which is good provider that I should use. I don't want to use the DSN.

    CR no longer has a native Sybase driver. Your only option is to u se ODBC or possibly a JDBC driver if they have one or their client supports one. Look on Sybases site for options.

  • Module pool - for updating Z table

    Moderator message: please using a more meaningful subject.  I've edited it for you this time.
    Hi i have a reuire ment like  this.
    i want to update Z table, by using report program.report is having selection screen ti select data from Z table and to disply in a screen like SM30, i am displying in table control using screen.and i am updating Z table.
    i want to display the selection screen data which ever i have given just above the table control which ever i am displaying now.
    can any body help me out pls.
    Regards
    naidu

    Hi palani thanks for reply.
    i tried in this way already but the problem is we dont know how many values user  will enter to define, suppose if user may enter 1000 entries in one selection field  or beyond that also.
    in this case again the problem.
    and one more thing suppose i ahve selection screen like this
    company code   parameter               mandatory
    sales org.          ranges
    division              ranges
    KUNNR               ranges
    if suppose user entered only mandatory value, and KUNNR we need to display only those two in output, but here in module pool by using screen table if we disable the screen two blank lines will come.
    ex
    cmpany code 0001
    KUNNR         from 1000 TO 2000.
    expected result for this is
    cmpany code 0001
    KUNNR         from 1000 TO 2000.
    i used scren-input for this but ididnt get,
    could you please help me in this.
    thanks and regards
    naidu

  • Using two T lists i want to create a UI, from which user can make selection

    I want to create a UI in forms 6i, wherein there will be two T lists on the same canvas. I'll populate the left one from the record group and then make selections to the right one using four buttons in between.
    I'm using the add_list_element, delete_list_element, get_list_element_label, get_list_element_value built ins to do that. But it is not working properly. Giving a lot of forms errors.
    The same thing can be done in JDeveloper using a shuttle bean.
    An example of the UI that i want to construct :
    The kind of UI that i'm talking can be seen when we construct a new form manually, then we goto data block wizard. There we browse for a table and the wizard gives the list of the columns for that table, from this list selections can be done using the four buttons in the same way that i intend my form to do. This is the kind of UI i want to develop.
    I'm very new to development in forms. I'm sure you people at OTN will help me.
    Thanks,
    Abhishek.

    Hi Abhishek
    What is happening by these
    Copy(v_value, p_tlist_into); and
    ...This commans set list item value (list selection).
    The most simple way to move all elements between lists is to populate the target list from record group, and the to clear the source list. The lack of the given method - order of elements will be same, as in group.
    PROCEDURE Move_All_Elements (p_tlist_from VARCHAR2, p_tlist_into VARCHAR2) is
    v_value VARCHAR2(100);
    v_label VARCHAR2(100);
    v_index_from NUMBER;
    v_index_into NUMBER;
    v_count_from NUMBER; -- Count elements of tlist_out
    BEGIN
    --v_index_from := Get_List_element_count(p_tlist_from);
    -- Get_List_element_count never return zero!
    v_index_from := Get_List_Current_Index(p_tlist_from);
    if v_index_from = 0 then -- The source list is enpty
    --fnd_message.debug('elements=0, so return');pause;
    RETURN;
    end if;
    --v_index_into := Get_List_element_count(p_tlist_into);
    v_index_into := Get_List_Current_Index(p_tlist_into);
    if v_index_into = 0 then -- The target list contant only DEFAULT value
    --fnd_message.debug('no elements, so clearing the list');pause;
    clear_list(p_tlist_into);
    end if;
    v_count_from := Get_List_element_count(p_tlist_from);
    FOR i IN 1..v_count_from
    LOOP
    v_label := Get_List_Element_Label(p_tlist_from, i);
    v_value := Get_List_Element_Value(p_tlist_from, i);
    --Add_List_Element(p_tlist_into, v_index_into, v_label, v_value);
    Add_List_Element(p_tlist_into, v_index_into+i, v_label, v_value);
    -- The commands are lower in a loop are not necessary.
    -- The commands after the loop make too most.
    --Copy(v_value, p_tlist_into);
    --Delete_List_Element(p_tlist_from, i);
    --v_index_from := Least(v_index_from, Get_List_Element_Count(p_tlist_From));
    --v_value := Get_List_Element_Value(p_tlist_from, v_index_from);
    --v_value := Get_List_Element_Value(p_tlist_from, v_index_from + v_index_into);
    --Copy (v_value, p_tlist_from);
    --fnd_message.debug('done for one element');pause;
    --exit when v_label is null;
    END LOOP;
    clear_list(p_tlist_from);
    v_value := Get_List_Element_Value(p_tlist_into, v_count_from + v_index_into);
    Copy (v_value, p_tlist_into);
    EXCEPTION
    when others then null;
    END;

  • Using two T lists i want to create a UI, from which selections can be made

    I want to create a UI in forms 6i, wherein there will be two T lists on the same canvas. I'll populate the left one from the record group and then make selections to the right one using four buttons in between. I'm using the add_list_element, delete_list_element, get_list_element_label, get_list_element_value built ins to do that. But it is not working properly.
    I'm very new to development in forms.
    If anybody has developed such an UI in forms, please help me.
    Thanks,
    Abhishek.

    The kind of UI that i'm talking can be seen when we construct a new form manually, then we goto data block wizard. There we browse for a table and the wizard gives the list of the columns for that table. This is the kind of UI i want to develop. I hope the people at OTN would not dissappoint me.
    Abhishek

  • I am not able to close the popup screen which i created using module pool

    Hi,
    I had written the following code in my PBO of the screen
    PROCESS BEFORE OUTPUT.
    MODULE status_0300.
      MODULE call_list_0300.
    PROCESS AFTER INPUT.
      MODULE exit AT EXIT-COMMAND.
    MODULE USER_COMMAND_0300.
    *&      Module  call_list_300 OUTPUT
    MODULE call_list_0300 OUTPUT.
      LEAVE TO LIST-PROCESSING AND RETURN TO SCREEN 0.
      SET PF-STATUS '300'.
      SUPPRESS DIALOG.
      PERFORM get_document_text.
    ENDMODULE.
    *& FORM get_document_text.
    FORM get_document_text.
    ENDFORM
    when i execute... since the screen is directed to list processing, when i click the close button the popup window is not getting closed
    what should i do to close the list processing screen

    If your screen is popup screen than your PF-Status must be type of "Dialog Box".
    Than you will get the buttons at the bottom part of your pop-up which will allow you to interact with your PAI.
    Regards,
    Naimesh Patel

  • Creating a module pool screen and upload the data entered,

    Dear Experts,
    As i am new to this area, can any one suggest me how can i design a module screen and also the data entered in the screen should be saved in Ztable.
    It would be of great help if any one provides material sort of thing.
    Thanks in advance..

    Hi
    Goto SE51 and design your screen.
    For each control specify the name. For a few controls you need to specify the function codes as well. Until you specify all the mandatory details the controls will remain pink.
    When you are done, Save and Activate.
    Click on Flow Logic button.
    Specify the modules you want to use in PBO and PAI.
    In the program declare data objects having same name as your screen fields.
    When you enter data in the screen fields, the values are automatically stored in the data objects you declared having the same name.
    If you want to insert the details into a ztbl, simply use insert queries and pass data using the data objects you have defined.
    If you are going for BDC:
    First ensure that your screens and code work correctly. Then do the BDC recording for one value. Modify the recorded program according to your requirement.
    Hope this helps
    Regards,
    Jayanthi.K

  • I want to create a parser file which dynamically reads out XML file.

    HI ,.
    I created a DOM parser where i am getting the values of XML file by tag names...
    which is increasing my code lines number ...
    So can any one suggest me with proper way of approach to overcome this....

    HI ...
    Here is the code...
    import java.io.ByteArrayOutputStream;
    import java.io.File;
    import java.io.PrintStream;
    import java.lang.Integer;
    import org.w3c.dom.*;
    import javax.xml.parsers.DocumentBuilderFactory;
    import javax.xml.parsers.DocumentBuilder;
    import org.xml.sax.SAXException;
    import org.xml.sax.SAXParseException;
    import sun.java2d.loops.FillPath;
    import sun.nio.ch.FileKey;
    public class XMLFileParser{
         int Size,Height,X,Y,W,H;
         String L;
         String Path;
         boolean resize;
         XMLFileParser(){
    void Parser(){
         try {
                DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
                DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
                Document doc = docBuilder.parse (new File("book.xml"));
                // normalize text representation
                doc.getDocumentElement ().normalize ();
                System.out.println ("Root element of the doc is " +
                     doc.getDocumentElement().getNodeName());
           //first node.
                                        NodeList FrameValues = doc.getElementsByTagName("Frame");
                                        NodeList children=(NodeList)doc.getDocumentElement().getChildNodes();
                                        System.out.println("total of childs are: "+children.getLength());
                                        //for (int j = 0; j < children.getLength(); j++)
                                        //     System.out.println(" the childs are: "+children.item(j));
                                             for(int s=0; s<FrameValues.getLength() ; s++){
                                                  // System.out.println(FrameValues.getLength());
                                 Node FirstFileNode = FrameValues.item(s);
                                 if(FirstFileNode.getNodeType() == Node.ELEMENT_NODE){
                                 Element frameelements = (Element)FirstFileNode;
                                 NodeList FrameValueList1 = frameelements.getElementsByTagName("setSize");
                                 Element firstAttributeElement = (Element)FrameValueList1.item(0);
                                    NodeList List1 = firstAttributeElement.getChildNodes();
                                 Node node1 = (Node)List1.item(0);
                                 String nodeName1 = node1.getNodeValue();
                                 int value1 = Integer.parseInt(nodeName1);                           
                                 setSize(value1);
                                 NodeList FrameValueList2 = frameelements.getElementsByTagName("Height");
                                 Element secondAttributeElement = (Element)FrameValueList2.item(0);
                                 NodeList List2 = secondAttributeElement.getChildNodes();
                                 Node node2 = (Node)List2.item(0);
                                 String nodeName2 = node2.getNodeValue();
                                 int value2 = Integer.parseInt(nodeName2);
                                   setHeight(value2);
                                 NodeList FrameValueList3 = frameelements.getElementsByTagName("BoundsX");
                                 Element thirdAttributeElement = (Element)FrameValueList3.item(0);
                                 NodeList List3 = thirdAttributeElement.getChildNodes();
                                 Node node3 = (Node)List3.item(0);
                                 String nodeName3 = node3.getNodeValue();
                                 int value3 = Integer.parseInt(nodeName3);
                                   setBounds(value3);
                                    NodeList FrameValueList4 = frameelements.getElementsByTagName("BoundsY");
                                    Element fourthAttributeElement = (Element)FrameValueList4.item(0);
                                    NodeList List4 = fourthAttributeElement.getChildNodes();
                                    Node node4 = (Node)List4.item(0);
                                    String nodeName4= node4.getNodeValue();
                                    int value4 = Integer.parseInt(nodeName4);
                                  setBounds1(value4);
                                  NodeList FrameValueList5 = frameelements.getElementsByTagName("BoundsW");
                                    Element fifthAttributeElement = (Element)FrameValueList5.item(0);
                                    NodeList List5 = fourthAttributeElement.getChildNodes();
                                    Node node5 = (Node)List5.item(0);
                                    String nodeName5 = node5.getNodeValue();
                                    int value5 = Integer.parseInt(nodeName5);
                                  setBounds2(value5);
                                  NodeList FrameValueList6 = frameelements.getElementsByTagName("BoundsH");
                                    Element sixthAttributeElement = (Element)FrameValueList6.item(0);
                                    NodeList List6 = sixthAttributeElement.getChildNodes();
                                    Node node6 = (Node)List6.item(0);
                                    String nodeName6 = node6.getNodeValue();
                                    int value6 = Integer.parseInt(nodeName6);
                                  setBounds3(value6);
                                  NodeList FrameValueList7 = frameelements.getElementsByTagName("Resize");
                                    Element seventhAttributeElement = (Element)FrameValueList6.item(0);
                                    NodeList List7 = seventhAttributeElement.getChildNodes();
                                    Node node7 = (Node)List7.item(0);
                                    String nodeName7 = node7.getNodeValue();
                                    boolean value7= Boolean.parseBoolean(nodeName7);
                                  setResize(value7);
         // second node.
                                        NodeList PanelValues = doc.getElementsByTagName("Panel");
                                        for(int s=0; s<PanelValues.getLength() ; s++){
                          // System.out.println(FrameValues.getLength());
                                 Node FirstFileNode = PanelValues.item(s);
                                 if(FirstFileNode.getNodeType() == Node.ELEMENT_NODE){
                                 Element Panelelements = (Element)FirstFileNode;
                                 NodeList PanelValueList1 = Panelelements.getElementsByTagName("Layout");
                                 Element firstAttributeElement = (Element)PanelValueList1.item(0);
                                    NodeList List1 = firstAttributeElement.getChildNodes();
                                 Node node1 = (Node)List1.item(0);
                                 String Layout = node1.getNodeValue();
                                 //int value1 = Integer.parseInt(nodeName1);                           
                                 setLayout(Layout);
                                 NodeList PanelValueList2 = Panelelements.getElementsByTagName("ImagePath");
                                 Element secondAttributeElement = (Element)PanelValueList2.item(0);
                                    NodeList List2 = secondAttributeElement.getChildNodes();
                                 Node node2 = (Node)List1.item(0);
                                 String path = node1.getNodeValue();
                                 //int value1 = Integer.parseInt(nodeName1);                           
                                 setPath(path);
                    }//end of if clause
                }//end of for loop with s1 var*/
            catch (SAXParseException err)
            System.out.println ("** Parsing error" + ", line "
                 + err.getLineNumber () + ", uri " + err.getSystemId ());
            System.out.println(" " + err.getMessage ());
            catch (SAXException e)
            Exception x = e.getException ();
            ((x == null) ? e : x).printStackTrace ();
            catch (Throwable t)
            t.printStackTrace ();
    private void setResize(boolean value7) {
         // TODO Auto-generated method stub
         resize=value7;
    public boolean getResize(){
         System.out.println("Resize" + resize);
         return resize;
    private void setPath(String path) {
         // TODO Auto-generated method stub
          Path = path;
    public String getPath(){
         System.out.println("Path" + Path);
         return Path;
    private void setLayout(String layout) {
         // TODO Auto-generated method stub
         L=layout;
    public String getLayout(){
         System.out.println("Layout" + L);
         return L;
    private void setBounds3(int value6) {
         // TODO Auto-generated method stub
         H=value6;
         System.out.println("setBoundsH" + H);
    public int getBounds3(){
         System.out.println("getBoundsH" + H);
         return H;
    private void setBounds2(int value5) {
         // TODO Auto-generated method stub
         W=value5;
         System.out.println("setBoundsW" + W);
    public int getBounds2(){
         System.out.println("getBoundsW" + W);
         return W;
    private void setBounds1(int value4) {
         // TODO Auto-generated method stub
         Y=value4;
         System.out.println("setBoundsY" + Y);
    public int getBounds1(){
         System.out.println("getBoundsY" + Y);
         return Y;
    public void setBounds(int value3) {
         // TODO Auto-generated method stub
    X= value3;
         System.out.println("setBoundsX" + X);
    public int getBounds(){
         System.out.println("getBoundsX" + X);
         return X ;
    public void setHeight(int value2) {
              // TODO Auto-generated method stub
              Height=value2;
              System.out.println("setHeight " + Height);
    public int getHeight(){
         System.out.println("getHeight " + Height);
         return (Height);
    setSize(int value1) {
              // TODO Auto-generated method stub
              Size=value1;
              System.out.println("setSize " + Size);
         public int getSize() {
              System.out.println("getSize " + Size);
              return ( Size);
          }here i am calling the elements of my xml file each time by tag name ...which is increasing my code lines....so any solution please....

  • I want to create a Firefox Extension which will display a webpage. It will be like user should write a something in browser like "about:webpage" How can i load the WebPage in Firefox. The user should have a feel that a webpage is being loaded.

    My extension on clicking something should open a webpage and that webpage should be able to communicate with the servers.
    PS: I have javascript and CSS in that Page. If i cannot make then what changes do i need to make in the web page for that change. I am developing as HTML/Javascript does not allow cross domain queries. I hope that cross-domain queries are possible if i use extension.

    You may find [https://addons.mozilla.org/en-US/firefox/developers this] a useful resource :)

  • Getting Error when createing Table control in Module Pool.

    Hi expert ,
    i am creating a module pool program . i want to crate line item value for that i have created table control  on screen 200 .
    but when i am activation to that giving error below mention.
    The field "ZFBDCHALLAN-EBELN" is not assigned to a loop. "LOOP ...ENDLOOP" must appear in "PBO" and "PAI".
    thanks
    chandra

    Its mandatory to have loop endloop in both events
    PBO and PAI
    loop your internal table similarly.
    Please check it should be below format
    PROCESS BEFORE OUTPUT.
    * Set PF Status for screen 100.
      MODULE status_0200.
    * This module will initialize the field
      MODULE init_0100.
      LOOP AT t_custmat_asg INTO w_custmat_asg
          WITH CONTROL tc_1
          CURSOR tc_1-current_line.
    * It will count the record in internal table
        MODULE set_linecount.
    * Screen Modifications
        MODULE status_check.
      ENDLOOP.
    PROCESS AFTER INPUT.
    * Module AT EXIT-COMMAND
      MODULE exit_0200 AT EXIT-COMMAND.
      LOOP AT t_custmat_asg .
        CHAIN.
          FIELD :
          w_custmat_asg-check,
                  w_custmat_asg-kunnr,
                  w_custmat_asg-name1,
                  w_custmat_asg-asgtyp,
                  w_custmat_asg-productcls,
                  w_custmat_asg-sctegry,
                  w_custmat_asg-ctegry,
                  w_custmat_asg-parent,
                  w_custmat_asg-frmdate,
                  w_custmat_asg-todate,
                  w_custmat_asg-frecster,
                  w_custmat_asg-salesrep,
                  w_custmat_asg-flag,
                  w_custmat_asg-username,
                  w_custmat_asg-udate.
    * Validation For Forecaster.
          MODULE validate_forecaster.
    * Validation For Salesrep.
          MODULE valiate_salesrep.
    * Validation for Customer
          module validate_customer.
    * Validate null value
          module validate_null_vals.
    * Validation For Data Changed On The Screen
          MODULE data_changed_0200 ON CHAIN-REQUEST.
        ENDCHAIN.
      ENDLOOP.
    Regards
    Satish Boguda

  • Module pool to create goods mvt by using Bapi

    Hi can any one help me to develop a module pool program to create goods movement by using BAPI. Pls give me guidelines to proceed further...
    i should be grateful to you people for proving help...
    thank you
    with regards
    bheem

    Why do you want to develop a module pool to do this?  There are standard transactions to do goods movement (MB01, MB1A, MB1B, MIGO, etc.)
    Not sure why you want to development something that is already there.  Granted, if you are interfacing to an external system.
    Albert

Maybe you are looking for