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

get data from tc

in table control there are data can be changed , i input some data,but in the module

MODULE item_info_modify INPUT.

MODIFY gt_tc

FROM gw_tc

INDEX item_info-current_line.

endmodule.

i think this is not worked ,why??

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2008 at 06:42 AM

    Hi Zhang,

    use this

    
    MODULE item_info_modify INPUT.
    
    MODIFY  gw_tc INDEX item_info-current_line.
    endmodule.
    
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 21, 2008 at 07:21 AM

    Hi,

    You have to write module coding in PAI for modification that you have been changed in table control.

    *PAI

    loop at itab.

    chain.

    field itab-fld3 module check.

    endchain.

    endloop.

    MODULE plans INPUT.

    MODIFY itab INDEX tc9000-current_line. "It will modify the current changes that you have been done in table control

    ENDMODULE.

    Try the above coding. I hope this will solve your problem.

    Regards,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 21, 2008 at 09:30 AM

    hi,

    check these sample programs.

    DEMO_DYNPRO_TABCONT_LOOP

    DEMO_DYNPRO_TABCONT_LOOP_AT.

    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.