How to fill table T030

Hi pelple,
I need a Help.
I'd like to know if exist any transaction to fill the table T030 (Fix account table).
tks
Flavio

Hi Flavio,
You can go to IMG path
Payroll -> Payroll USA -> Posting to Financial Accounting -> Activities in the AC-System -> Account Assignment
Assign financial accounts (or Tcode OBYG) : This is for HR postings, financial accounts (Balance sheet accounts)
Assign expense accounts (or Tcode OBYE) : This is for HR postings, expense account
Assign technical accounts (or Tcode OBYL) : This is for HR postings, technical accounts
Assign customer accounts (or Tcode OBYT) : This is for HR customer postings
Assign vendor accounts (or Tcode OBYU) : This is for HR vendor postings
Assign loan postings for employees (or Tcode OBYT) : This is for HR customer postings
Hope this will be of help
Regards
Guds

Similar Messages

  • How to fill table control by these FMs

    Hi,
    How to fill table control rows by using function module dynp_update_fields or dynp_values_update. I have a custom screen wherein i have few input/output fields at the top. F4 help has already been defined for these fields and i want to populate/refresh a table control available in the same screen w.r.t., value chosen by user from F4 help. please let me know how to use these FMs for this or if there is any other way to do this.
    Rgds

    Look at FM DYNP_GET_STEPL which provides  povstepl  index to be able to update field values in correct row of table control with  DYNP_VALUES_UPDATE (and to read correct value with DYNP_VALUES_READ  too)
    NB: If you need to update multiple rows, I'm not sure that can be done in POV, you may be required to modify the internal table and trigger PAI/PBO cycle with a suppress dialog, or method/FM to trigger ok_code.
    Regards,
    Raymond

  • How to fill tables of VFBS transaction code?

    Hi all,
    we have modified standard status U of program SAPMV45B in order to have a new button to show an ALV.
    But when we press 'back' button of the ALV it doesn't work properly and it doesn't return to the corresponding transaction where we were (VA01/VA02/VA03).
    We think we have not filled properly the tables of VFBS.
    Any ideas of how to fill them?
    Thanks in advanced.

    Hi,
    The problem can be because of below reasons:
    1. At first time saving of your Transaction code, you could have selected as Local Object.
    2. You could have assigned a new TR to the Transaction.
    Solution:
    1. You can delete the transaction code once. And again generate the transaction code, and save it in your old TR itself.
    Regards,
    Vishal

  • How to fill table from datatable(MySQL)

    hi;
    I am starting with Visual web java server faces, and I want to fill a Table using an information from MySQL data base, i am trying to modify a example code I have found on netbeans totorials but they are using droplist and I want firts to use a texfield to set a "name" and button to search using a MySQL query to seek on data table and get the return and set it to Table.
    Basicly I dont Know HOW to connect a data base using same code like a desktop application but in Visual Web Java Server Faces.
    thank you in advance.
    Miguel V.

    Hi;
    I hava done this code but still geting a mistake with tomcat
    Next steps i follow to conectand display on data table:
    1.-Create conecction with MySQL usen service.
    2.-On service drag "directorio" to Table
    3.-Binding all objets (Textfield1, Table and Button)
    4.-On button1 create the next code:
    Object optener =3;
    //set the dataprovider with element number 3, on DIRECTORIO.ID of datatable directorio
    directorioDataProvider.setCursorRow(directorioDataProvider.findFirst("DIRECTORIO.ID", optener));
    //Get the row with same ID=3
    getSessionBean1().getDirectorioRowSet().setObject(1, optener);
    //Shows the inf on table
    getSessionBean1().getDirectorioRowSet().execute();
    directorioDataProvider.refresh();

  • How to fill table T169V from SPRO

    Hi all,
    Which is the SPRO path to fill the T169V table? The T169V description is “Default Values, Invoice Verification”.  It contains several fields called “Posting Key for Credit Postings” and “Tax on sales/purchases code”.
    Thanks in advance,
    Ricard.

    Hi Eric,
    Thank you for your answer. As you said, at “MM -> Logistic Invoice Verification->Incoming Invoice->Maintain default values for tax codes”, I Can inform the first tax code. But, where can I inform the other fields of the T169V table ( Posting Keys and the others Tax codes ) ?
    Thanks in advance,
    Ricard.

  • How to fill internal table with no data in debugging mode

    Hi all,
             I modified one existing program.Now I want to test it.I am not given test data.So in the middle of my debugging, I found that one internal table with no data.My problem is how to fill that internal table with few records in that debugging mode just as we change contents in debugging mode.If I want to proceed further means that internal table must have some records.
    Please I dont know how to create test data so I am trying to create values temporarily in debugging mode only.
    Thanks,
    Balaji

    Hi,
    In the debugging do the following..
    Click the Table button..
    Double click on the internal table name..
    Then in the bottom of the screen you will get the buttons like CHANGE, INSERT, APPEND, DELETE..
    Use the APPEND button to insert records to the internal table..
    Thanks,
    Naren

  • How to Fill Setup tables for MAP (IS- Retail)

    Hello,
    I am working on MAP scenario, I found the following data sources as a part of it. Can anybody please tell me how to fill the setup tables for these and what are the base tables for it??
    2LIS_40_REVAL
    2LIS_40_S202
    2LIS_40_S207
    2LIS_40_S208
    Your reply is highly appreciated.
    Regards,
    Naresh

    Hi Naresh,
    We cannot fill setup tables for each data source.
    ORISBW -- This is the t-code to fill the setup tables for all the data sources which are related to application component 40.
    If you want setup tables names of your data sources please check below.
    2LIS_40_REVAL      ---   MC40RP0REVSETUP.
    Comes to your second post.
    2LIS_40_S202
    2LIS_40_S207
    2LIS_40_S208   these are LIS data sources, whic are replaced with LO data sources in SAP BI 7.0
    If you are using LO data sources then no need to use LIS data sources.
    Regards,
    Venkatesh

  • How to fill a hashed table ?

    Hi,
    In my last thread i had asked about the ways of deleting the cube contents selectively using a job/FM and i was suggested this by one of you.
    CALL FUNCTION 'RSDRD_SEL_DELETION'
    EXPORTING
    I_DATATARGET = 'YOUR_CUBE'
    I_THX_SEL = L_THX_SEL
    I_AUTHORITY_CHECK = 'X'
    I_THRESHOLD = '1.0000E-01'
    I_MODE = 'C'
    I_NO_LOGGING = ''
    I_PARALLEL_DEGREE = 1
    I_NO_COMMIT = ''
    CHANGING
    C_T_MSG = L_T_MSG.
    Although the FM is the correct one the structure L_THX_SEL is a hashed table structure and i am not aware how to fill values into it. My requirement is to give a condition for the 0CALDAY info-object i.e 0CALDAY < 30 days. Please suggest me.
    Regadrs,
    Pramod M

    HI,
    Internal Tables
    Internal tables provide a means of taking data from a fixed structure and storing it in working memory in ABAP. The data is stored line by line in memory, and each line has the same structure. In ABAP, internal tables fulfill the function of arrays. Since they are dynamic data objects, they save the programmer the task of dynamic memory management in his or her programs. You should use internal tables whenever you want to process a dataset with a fixed structure within a program. A particularly important use for internal tables is for storing and formatting data from a database table within a program. They are also a good way of including very complicated data structures in an ABAP program.
    Data Type of an Internal Table
    The data type of an internal table is fully specified by its line type, key, and table type.
    Line Type
    The line type of an internal table can be any data type. The data type of an internal table is normally a structure. Each component of the structure is a column in the internal table. However, the line type may also be elementary or another internal table.
    Key
    The key identifies table rows. There are two kinds of key for internal tables - the standard key and a user-defined key. You can specify whether the key should be UNIQUE or NON-UNIQUE. Internal tables with a unique key cannot contain duplicate entries. The uniqueness depends on the table access method.
    At tables with structured row type, the standard key is formed from all character-type columns of the internal table. If a table has an elementary line type, the default key is the entire line. The default key of an internal table whose line type is an internal table, the default key is empty. At tables with non-structured row type, the standard key consists of the entire row. If the row type is also a table, an empty key is defined.
    The user-defined key can contain any columns of the internal table that are no internal table themselves, and do not contain internal tables. References are allowed as table keys. Internal tables with a user-defined key are called key tables. When you define the key, the sequence of the key fields is significant. You should remember this, for example, if you intend to sort the table according to the key.
    Table type
    The table type determines how ABAP will access individual table entries. Internal tables can be divided into three types:
    Standard tables have an internal linear index. From a particular size upwards, the indexes of internal tables are administered as trees. In this case, the index administration overhead increases in logarithmic and not linear relation to the number of lines. The system can access records either by using the table index or the key. The response time for key access is proportional to the number of entries in the table. The key of a standard table is always non-unique. You cannot specify a unique key. This means that standard tables can always be filled very quickly, since the system does not have to check whether there are already existing entries.
    Sorted tables are always saved sorted by the key. They also have an internal index. The system can access records either by using the table index or the key. The response time for key access is logarithmically proportional to the number of table entries, since the system uses a binary search. The key of a sorted table can be either unique or non-unique. When you define the table, you must specify whether the key is to be UNIQUE or NON-UNIQUE. Standard tables and sorted tables are known generically as index tables.
    Hashed tables have no linear index. You can only access a hashed table using its key. The response time is independent of the number of table entries, and is constant, since the system access the table entries using a hash algorithm. The key of a hashed table must be unique. When you define the table, you must specify the key as UNIQUE.
    Generic Internal Tables
    Unlike other local data types in programs, you do not have to specify the data type of an internal table fully. Instead, you can specify a generic construction, that is, the key or key and line type of an internal table data type may remain unspecified. You can use generic internal tables to specify the types of field symbols  and the interface parameters of procedures . You cannot use them to declare data objects.
    Internal Tables as Dynamic Data Objects
    Internal tables are always completely specified regarding row type, key and access type. However, the number of lines is not fixed. Thus internal tables are dynamic data objects, since they can contain any number of lines of a particular type. The only restriction on the number of lines an internal table may contain are the limits of your system installation. The maximum memory that can be occupied by an internal table (including its internal administration) is 2 gigabytes. A more realistic figure is up to 500 megabytes. An additional restriction for hashed tables is that they may not contain more than 2 million entries. The line types of internal tables can be any ABAP data types - elementary, structured, or internal tables. The individual lines of an internal table are called table lines or table entries. Each component of a structured line is called a column in the internal table.
    Choosing a Table Type
    The table type (and particularly the access method) that you will use depends on how the typical internal table operations will be most frequently executed.
    Standard tables
    This is the most appropriate type if you are going to address the individual table entries using the index. Index access is the quickest possible access. You should fill a standard table by appending lines (ABAP APPENDstatement), and read, modify and delete entries by specifying the index (INDEX option with the relevant ABAP command). The access time for a standard table increases in a linear relationship with the number of table entries. If you need key access, standard tables are particularly useful if you can fill and process the table in separate steps. For example, you could fill the table by appending entries, and then sort it. If you use the binary search option (BINARY) with key access, the response time is logarithmically proportional to the number of table entries.
    Sorted tables
    This is the most appropriate type if you need a table which is sorted as you fill it. You fill sorted tables using the INSERTstatement. Entries are inserted according to the sort sequence defined through the table key. Any illegal entries are recognized as soon as you try to add them to the table. The response time for key access is logarithmically proportional to the number of table entries, since the system always uses a binary search. Sorted tables are particularly useful for partially sequential processing in a LOOP if you specify the beginning of the table key in the WHEREcondition.
    Hashed tables
    This is the most appropriate type for any table where the main operation is key access. You cannot access a hashed table using its index. The response time for key access remains constant, regardless of the number of table entries. Like database tables, hashed tables always have a unique key. Hashed tables are useful if you want to construct and use an internal table which resembles a database table or for processing large amounts of data.
    If help full please give me max Reward

  • How to fill a hashed table structure

    Hi,
    In my last thread i had asked about the ways of deleting the cube contents selectively using a job/FM and i was suggested this by one of you.
    CALL FUNCTION 'RSDRD_SEL_DELETION'
    EXPORTING
    I_DATATARGET = 'YOUR_CUBE'
    I_THX_SEL = L_THX_SEL
    I_AUTHORITY_CHECK = 'X'
    I_THRESHOLD = '1.0000E-01'
    I_MODE = 'C'
    I_NO_LOGGING = ''
    I_PARALLEL_DEGREE = 1
    I_NO_COMMIT = ''
    CHANGING
    C_T_MSG = L_T_MSG.
    Although the FM is the correct one the structure L_THX_SEL is a hashed table structure and i am not aware how to fill values into it. My requirement is to give a condition for the 0CALDAY info-object i.e 0CALDAY < 30 days. Please suggest me.
    Regadrs,
    Pramod M

    Hello,
    I will recommend you to use the program 'RSDRD_DELETE_FACTS'. This is easier and is generated for individual cubes and u can specify condition for the same with help of variants.  Just follow the below steps
    Goto SA38 and execute the program RSDRD_DELETE_FACTS. Then give your cube name and select the generate selection program radiobutton and give the name for the program. Execute and the program for selective deletion will be generated for that cube.
    Now goto SE38 and select ur generated program for editing. You will see at the end that individual characteristic have a set of code as below:
    IF NOT C011[] IS INITIAL.
      CLEAR L_SX_SEL.
      L_SX_SEL-IOBJNM = '0CALDAY'.
      LOOP AT C011 .
        CLEAR L_S_RANGE.
        MOVE C011-SIGN TO L_S_RANGE-SIGN.
        MOVE C011-OPTION TO L_S_RANGE-OPTION.
        MOVE C011-LOW TO L_S_RANGE-LOW.
        MOVE C011-HIGH TO L_S_RANGE-HIGH.
        MOVE RS_C_TRUE TO L_S_RANGE-KEYFL.
        APPEND L_S_RANGE TO L_SX_SEL-T_RANGE.
      ENDLOOP.
      INSERT L_SX_SEL INTO TABLE L_THX_SEL.
    ENDIF.
    You need to search for 0CALDAY Code. It will look like above.
    Now above all this IFs for characteristics, you can write the code for selective deletion.
    The code will be like below.
    DATA: date TYPE D,
          date1 TYPE D,
          RUN_MN1 TYPE /BI0/OICALDAY,
          LE_CO11 LIKE LINE OF C011.
    date = sy-datum.
    date1 = date - 30.
    RUN_MN1 = date1.
    LE_CO11-SIGN = 'I'.
    LE_CO11-OPTION = 'LT'.
    LE_CO11-LOW = RUN_MN1.
    CLEAR C011.
    APPEND LE_CO11 TO C011.
    Hope this helps.
    Regds,
    Shashank

  • A table T528B and TRFAR, TRFGB, TRFKZ. How to fill them?

    Hi all,
    There is a table T528B, there are fields TRFAR, TRFGB, TRFKZ ...
    How to fill them?

    Hi,
    did some further reading on SAP and looks like the following:
    If you want to default Pay Scale Group/Level at EE - level, you need to use IT1005 which is not recorded in T528B.
    If you want to inherit Pay Scale Group/Level at EE - level (i.e. can't be overwritten at EE - level), you need to maintain the mentioned table in IMG (and thus transport from DEV to QA to PROD).
    (IMG -> Pers. Admin. --> Payroll Data --> Basic Pay --> Wage Types --> Indirect valuation for positions)
    Hope this helps. Fiddle around a litte bit before drawing any final conclusions
    Wilfred.

  • How to fill internal table with selection screen field.

    Hi all,
    i am new to sap . pls tell me how to fill internal table with selection screen field.

    Hi,
    Please see the example below:-
    I have used both select-options and parameter on the selection-screen.
    Understand the same.
    * type declaration
    TYPES: BEGIN OF t_matnr,
            matnr TYPE matnr,
           END OF t_matnr,
           BEGIN OF t_vbeln,
             vbeln TYPE vbeln,
           END OF t_vbeln.
    * internal table declaration
    DATA : it_mara  TYPE STANDARD TABLE OF t_matnr,
           it_vbeln TYPE STANDARD TABLE OF t_vbeln.
    * workarea declaration
    DATA : wa_mara  TYPE t_matnr,
           wa_vbeln TYPE t_vbeln.
    * selection-screen field
    SELECTION-SCREEN: BEGIN OF BLOCK b1.
    PARAMETERS : p_matnr TYPE matnr.
    SELECT-OPTIONS : s_vbeln FOR wa_vbeln-vbeln.
    SELECTION-SCREEN: END OF BLOCK b1.
    START-OF-SELECTION.
    * I am adding parameter value to my internal table
      wa_mara-matnr = p_matnr.
      APPEND wa_mara TO it_mara.
    * I am adding select-options value to an internal table
      LOOP AT s_vbeln.
        wa_vbeln-vbeln =  s_vbeln-low.
        APPEND  wa_vbeln TO  it_vbeln.
      ENDLOOP.
    Regards,
    Ankur Parab

  • How to fill internal table dynamically

    Hi All,
       how to fill internal table dynamically.
    for example:
    begin of itab occurs 0,
    empid like pa0000-pernr,
    empname like pa0001-ename,
    grade(5),
    end of itab.
    now i want to append dynamically field itab-grade along with rest fields.
    is this possible?? if yes kindly let me know how to do that.
    Regards,
    Kiran I

    Hi kiran,
    To fill and create and internal table dynamically you can use this code.
    TYPE-POOLS: slis.
    DATA: it_fcat TYPE slis_t_fieldcat_alv,
          is_fcat LIKE LINE OF it_fcat.
    DATA: it_fieldcat TYPE lvc_t_fcat,
          is_fieldcat LIKE LINE OF it_fieldcat.
    DATA: new_table TYPE REF TO data.
    DATA: new_line  TYPE REF TO data.
    FIELD-SYMBOLS: <l_table> TYPE ANY TABLE,
                   <l_line>  TYPE ANY,
                   <l_field> TYPE ANY.
    is_fieldcat-fieldname = 'FIELD1'.
    is_fieldcat-ref_field = 'MATNR'.
    is_fieldcat-ref_table = 'MARA'.
    APPEND is_fieldcat TO it_fieldcat.
    is_fieldcat-fieldname = 'FIELD2'.
    is_fieldcat-ref_field = 'SPRPS'.
    is_fieldcat-ref_table = 'PA0001'.
    APPEND is_fieldcat TO it_fieldcat.
    is_fieldcat-fieldname = 'FIELD3'.
    is_fieldcat-ref_field = 'BEGDA'.
    is_fieldcat-ref_table = 'PA0002'.
    APPEND is_fieldcat TO it_fieldcat.
    Create a new Table
    CALL METHOD cl_alv_table_create=>create_dynamic_table
      EXPORTING
        it_fieldcatalog = it_fieldcat
      IMPORTING
        ep_table        = new_table.
    Create a new Line with the same structure of the table.
    ASSIGN new_table->* TO <l_table>.
    CREATE DATA new_line LIKE LINE OF <l_table>.
    ASSIGN new_line->* TO <l_line>.
    Test it...
    DO 40 times.
      ASSIGN COMPONENT 'FIELD1' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = '12345'.
      ASSIGN COMPONENT 'FIELD2' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = 'X'.
      ASSIGN COMPONENT 'FIELD3' OF STRUCTURE <l_line> TO <l_field>.
      <l_field> = '20030101'.
      INSERT <l_line> INTO TABLE <l_table>.
    ENDDO.
    LOOP AT <l_table> ASSIGNING <l_line>.
    ASSIGN COMPONENT 'field1' OF STRUCTURE <l_line> TO <l_field>.
      WRITE  / <l_line>.
    ENDLOOP.
    regards,
    Aashish Garg

  • How to fill a table?

    hello all!
    i need to display a result set in a html table. I'm kinda confused with how the table will be filled up, since the table will grow depending on the number of records that the DB table has.
    here is what i have:
    <table border="1">
            <th>Row</th><th>Name</th><th>User/Dept</th><th>Use</th><th>Last Update</th><th>Updated By</th><th> </th>
           <%
            try{Connecting con = new Connecting();
                                ResultSet rs;
                                ResultSet rs;
                                String s[]= new String[10];
                                int x=0;
                                %>
                                <%
                                con.connect();
                                rs = con.viewUsers();
                                x= rs.getRow(); %>
                   <%while(rs.next()){%>
                   <%s[x]=rs.getString(1)
                   %>            
            <tr>
                <td></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%><td></td> <td>
            </tr>
        </table>

A: how to fill a table?

Hey!
Thanks for the hint, i'm getting the table filled, but now my issue is that its not showing the right data.
first the query i'm using:
public ResultSet viewUsers(){
        try{
            ps = conMsg.prepareStatement("SELECT  name + ' '+ lastName as 'Name', userDeptName as 'User/Dept.' , userDeptCategory as 'Use', lastChangedDate + ' ' + lastChangedTime as 'Last Update', lastChangedBy as 'Updated By:' from SystemUser");
            rs = ps.executeQuery();
        }catch(Exception e){
            e.getMessage();
            e.printStackTrace();
       return rs;
    }here is my code inside the jsp page:
<table border="1">
        <th>Row</th><th>Name</th><th>User/Dept</th><th>Use</th><th>Last Update</th><th>Updated By</th><th></th>
       <%
        try{Connecting con = new Connecting();
                            ResultSet rs;
                            String s[]= new String[10];
                            int x=0;
                            %>
                            <%
                            con.connect();
                            rs = con.viewUsers();
                            x= rs.getRow(); %>
        <tr>
             <%while(rs.next()){%>
                <%s[x]=rs.getString(1); %>
                <td></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%><td></td><a href="#">View</a> <a href="#">Modify</a> <a href="#">Delete</a><td>
        </tr>
             <%
              }catch(Exception e){}   %>
    </table>

Hey!
Thanks for the hint, i'm getting the table filled, but now my issue is that its not showing the right data.
first the query i'm using:
public ResultSet viewUsers(){
        try{
            ps = conMsg.prepareStatement("SELECT  name + ' '+ lastName as 'Name', userDeptName as 'User/Dept.' , userDeptCategory as 'Use', lastChangedDate + ' ' + lastChangedTime as 'Last Update', lastChangedBy as 'Updated By:' from SystemUser");
            rs = ps.executeQuery();
        }catch(Exception e){
            e.getMessage();
            e.printStackTrace();
       return rs;
    }here is my code inside the jsp page:
<table border="1">
        <th>Row</th><th>Name</th><th>User/Dept</th><th>Use</th><th>Last Update</th><th>Updated By</th><th></th>
       <%
        try{Connecting con = new Connecting();
                            ResultSet rs;
                            String s[]= new String[10];
                            int x=0;
                            %>
                            <%
                            con.connect();
                            rs = con.viewUsers();
                            x= rs.getRow(); %>
        <tr>
             <%while(rs.next()){%>
                <%s[x]=rs.getString(1); %>
                <td></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%></td> <td><%=s[x]%><td></td><a href="#">View</a> <a href="#">Modify</a> <a href="#">Delete</a><td>
        </tr>
             <%
              }catch(Exception e){}   %>
    </table>

  • How to fill Bapireturn table ?

    Hello All,
    I've created a BAPI .
    In this BAPI as I shud not use exceptions I need to fill the BAPI Return Table.
    Can anyone tell me how to fill this BAPI Return Table ?
    I saw a FM BALW_BAPIRETURN_GET2 .
    How to use this FM ?
    Any help is appreciated .
    Regards,
    Deepu.K

    There are function modules to convert an error message into structure BAPIRET.
       CALL FUNCTION 'BALW_BAPIRETURN_GET1'
             EXPORTING
                  type       = 'E'
                  cl         = 'F2'
                  number     = '156'
                  par1       = sy-msgv1
                  par2       = sy-msgv2
                  par3       = sy-msgv3
                  par4       = sy-msgv4
             IMPORTING
                  bapireturn = return
             EXCEPTIONS
                  OTHERS     = 1.
    An other function module BALW_RETURN_TO_RET2 convert BAPIRETURN structure to BAPIRET2 structure.
    Regards

  • How to fill the values in List Box?

    Hi Experts,
    Can anyone explain me how to fill the values in the List Box such that the value should be from the table?
    For Example : Fill the EmpID from table T1 into the ListBox?
    Thanks in Advance,
    Regards,
    Raghu

    hi,
    and u doing it through report means from se38 than here is code...
    DATA : BEGIN OF itab OCCURS 0,
            matnr LIKE mara-matnr,
           END OF itab.
    DATA : ok_code LIKE sy-ucomm.
    CALL SCREEN 0200.
    *&      Module  STATUS_0200  OUTPUT
          text
    MODULE status_0200 OUTPUT.
      SET PF-STATUS 'Z200'.
    ENDMODULE.                 " STATUS_0200  OUTPUT
    *&      Module  USER_COMMAND_0200  INPUT
          text
    MODULE user_command_0200 INPUT.
      CASE ok_code.
        WHEN 'BACK' OR 'UP' OR 'CANC'.
          LEAVE PROGRAM.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0200  INPUT
    *&      Module  mat_val  INPUT
          text
    MODULE mat_val INPUT.
      SELECT matnr FROM mara INTO CORRESPONDING FIELDS OF TABLE itab
        WHERE matnr BETWEEN '000000000000000101' AND '000000000000000109'.
        CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
          EXPORTING
            retfield               = 'MATNR'
           VALUE_ORG              = 'S'
          tables
            value_tab              = itab
        IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDMODULE.                 " mat_val  INPUT
    <b>And this is flow logic..</b>
    PROCESS BEFORE OUTPUT.
      MODULE status_0200.
    PROCESS AFTER INPUT.
      MODULE user_command_0200.
    PROCESS ON VALUE-REQUEST.
      FIELD itab-matnr MODULE mat_val.

  • Maybe you are looking for

    • How is the best way to backup and organize Adobe layered .PSD files on iMac OSX maverick?

      How is the best way to organize and backup Adobe layered PSD files on iMac desktop OSX maverick? I lost all my Adobe Photoshop files + everything else on my IMAC when it crashed. They reinstalled Operating System.  But now i must install programs suc

    • How to map the following pricing procedure in SAP

      hello all guru of SAP, here is the pricing which is used in our company so i want to map it in SAP so how to do this just bellow is the example spoiler maruti zen vxi material name    779SMZV is the material number basic price @36.11 for 300unit is  

    • How to access history in Travel Expense Manager

      Hi everybody, I'm looking for the table name or a ABAP function that give me access to history change of a travel as you can see in PR05 transaction / Goto / History. Thanks for your help. Best Regards, BT

    • LNK2019 unresolved external symbol issue

      Hello, i checked the thread https://social.msdn.microsoft.com/Forums/vstudio/en-US/11977b92-0077-4ff8-be36-e04e3f6c36aa/error-lnk2019-unresolved-external-symbol?forum=vcgeneral I added extern "C", but it still didn't work.  May i know how to fix it?

    • Redownload Stocks widget?

      I couldn't get the Stocks widget to move from the bottom of the screen (after clicking on the plus sign to manage widgets) so I threw it out, figuring it must be bad. However, I can't find a place to redownload it, at www.apple.com or elsewhere. Can