Skip to Content
author's profile photo Former Member
Former Member

Module pool

hi,

i created a table control with wizard but in that how to insert data, this one is i am not getting.

pls anyone can help me

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 12:49 PM

    hi,

    when u select table wizard , it takes u to a template.

    In the template u have 'SELECT DATA FROM ' option.

    Choose internal table option from all the other options like database structure, view,etc,..

    Give internal table name and structure name.

    and the data will be retrievd from the table.

    TABLECONTROL WIZARD

    This wizard allows you to create a working table control quickly and easily. It also lets you generate certain standard table maintenance functions.

    You can create table controls in this way and then adapt them to the particular needs of your application.

    Features

    Creates an instance of the table control.

    Assigns an ABAP Dictionary or program table to the table control.

    Selects the table fields for the column definition.

    Assigns important table control attributes.

    Generates the relevant statements in the screen flow logic.

    Creates PBO and PAI modules, subroutines (for standard table maintenance functions), and all necessary data definitions.

    Generates standard functions for table maintenance (scrolling, insert/delete lines, select/deselect all).

    Creates includes for the modules, data definitions, and subroutines, if required.

    Procedure

    To start the table control wizard:

    In the graphical Screen Painte

    Start the layout editor.

    Switch to change mode if necessary.

    Choose from the element toolbar.

    Define the table control area on the screen.

    The wizard is now started in a separate dialog box.

    The wizard now takes you through the steps required to generate a working table control. The process consists of seven dialogs in which you define the attributes of the table controls and the ABAP code that needs to be generated. You can navigate between the dialogs using the Continue and Back buttons. When you choose Finish, the table control is generated.

    In the alphanumeric Screen Painter

    Start the layout editor.

    Switch to change mode if required.

    Position the cursor where you would like the top left-hand corner of the table control area to be.

    Choose Edit ® Wizards for creating elements ® Table control.

    Position the cursor where you would like the bottom right-hand corner of the table control area to be.

    Choose Mark end of ctrl.

    The system starts the wizard in a separate dialog box.

    The procedure then continues as described in step 5 above.

    If an error occurs when you generate the table control, or you cancel the wizard, all of the objects and ABAP coding generated by the wizard are deleted.

    reward if useful

    thanks and regards

    suma sailaja

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi suma,

      my problem is

      tables are:mara,makt,t002.

      form these in first screen if i enter material number and if i press the display button , in screen 2 it should disply the langyage key,material description in all languages by using table control.

  • author's profile photo Former Member
    Former Member
    Posted on Jan 09, 2008 at 01:04 PM

    hi,

    u have cretaed table control from any internal table.

    so made one module in PBO

    Module get_data.

    MODULE get_data OUTPUT.

    SELECT kunnr name1

    INTO CORRESPONDING FIELDS OF TABLE mytab

    FROM kna1.

    ENDMODULE. " get_data OUTPUT

    here mytab is my internal table from which i have created table control....

    u will get ur data in table control

    reward if useful...

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.