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

table control - internal table is blank

hi experts,

I have developed dynpro using table control(wizard).

driver prog internal table name is I_ZESP and screen internal table name is CT_ZESP.

now prog is running fine. but when i press save button whatever data is in CT_ZESP table is not coming in i_zesp table.

some programming is missing .. how i come to know where i am making mistake.

raj

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 09:24 AM

    try this code in pai.

    in screen.

    loop with control <control name>.

    module modify_itab.

    endloop.

    in abap.....

    module modify_itab input.

    move-corresponding <screen table name for table cntrl> to itab.

    modify itab index <control name>-current_line.

    endmodule.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 08:36 AM

    Probably you are making mistake in the AT USER COMMAND statement. Please check it, put a debug point and rectify the problem. I hope you can find it easily !

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 08:45 AM

    sandeep,

    this is my dialog programming, module PAI input is get fire. in this module internal table is blank, but on screen i have entered data.

    raj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2006 at 09:01 AM

    Hi,

    IN the PAI of the screen you should use LOOP ENDLOOP to copy the data from the table control to internal table.

    This code is must for the table control data to reflect in the internal table. There is not done by the program you have to do it your self.

    Check out some example programs(RSDEMO02) for table control.

    Regards,

    Sesh

    Message was edited by: Seshatalpasai Madala

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 09:21 AM

    ONCE AGAIN I AM ASKING SAME QUESTION

    MY I/O FIELD NAME IS I_ZESP-SALESPERSON.

    I AM ENTERING DATA IN THIS FIELD. THEN PRESS SAVE.

    NOW WHEN PAI FIRED I WRITE CODE FOR COMMIT_DATA.

    HERE I AM APPLYING (LOOP/ENDLOOP) LOGIC FOR DATA INSERTION FROM I_ZESP INTERNAL TABLE TO ZTABLE.

    <b>IN COMMIT_DATA I FOUND THAT I_ZESP IS BLANK.</b>

    HOW TO RECTIFY IT.

    RAJ

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 25, 2006 at 09:26 AM

    demo_dynpro_tabcont_loop

    demo_dynpro_tabcont_loop_at

    Please check thru these SIMPLE standard programs related to Table Control.

    Regards

    - Gopi

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 25, 2006 at 09:39 AM

    thanks shiba - full points

    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.