Skip to Content

table control changing option not working

Hi frds,

In table control option changing options not working.

If not clear pls tel me frds,

i have created a number range as primary key for the table........ data not modifying.

When save options.

LOOP AT gt_data INTO gw_data.

gs_semi-fgdes = gv_fgdes.

gs_semi-docnum = gv_docn.

gs_semi-ersda = gv_ersda.

MODIFY zsemic FROM gs_semi .

CLEAR gs_semi.

IF sy-subrc = 0.

COMMIT WORK.

ENDIF.

endloop.

Pls help me..........

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Oct 06, 2014 at 05:10 AM

    Hi Kabil,

    Look at your code, You have looped gt_data INTO gw_data but you are not using this anywhere inside the loop. What is the need to loop this table into workarea.

    Hope you got this. It should be some simple mistake while assigning. Also use COMMIT WORK statement above clear statement.

    Please get back for further issues.

    Regards,

    Satish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 04, 2014 at 02:02 PM

    Hi Kabil,

    Hope it helpful.

    Try with,

    UPDATE zsemic SET fgdes = gv_fgdes

    WHERE docnum = gv_docn.

    Regards,

    Venkat.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2014 at 03:37 AM

    Hello Kabil.

    The internal table data you are looping are not used inside the business logic mentioned between LOOP and ENDLOOP.

    Please check the code.

    Regards.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 06, 2014 at 09:46 AM

    Dear frds,

    Solved the issue . problem is forgot to loop one field in the table control.

    I m closing these thread.

    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.