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

Table Control

hi all,

I create a table control for input by using table

control wizard my problem is when i press enter after

entering some records the records are deleted these

are not there in the table control what to do plzz

help me it's urgent

thanks

prasad

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 04:58 PM

    Hi Prasad,

    When you create table controby using table control wizard the SAP automatatically generaters the code in the add this below

    code in this

    *Modify statement is already there you can add insert statement like this. I think the code will solve your problem.

    > MODULE enter_modify INPUT.

    >

    > MODIFY it_timesheet

    > FROM fs_timesheet

    > INDEX enter-current_line.

    >

    > IF sy-subrc NE 0 AND

    > fs_timesheet IS NOT INITIAL.

    > INSERT fs_timesheet

    > INTO it_timesheet

    > INDEX enter-current_line.

    > ENDIF. " IF SY-SUBRC NE 0 AND FS_TIME...

    >

    > ENDMODULE. " ENTER_MODIFY

    Plzz reward if it is useful,

    Mahi.

    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.