Hi All,
I am having a problem regarding Insert Statement.
I am getting data in the ITAB but when I insert this data in the Ztable it is not inserting in the table..
The same logic I have implemented in other program and it is working, I mean it inserts data in the ztable.
But in this case it is not inserting.
Any idea about this?
LOOP AT it_work.
it_final_scheme-schno = v_schnumber.
it_final_scheme-advstar = it_work-advstar.
it_final_scheme-perend = it_work-perend.
it_final_scheme-amount = it_work-amount.
it_final_scheme-percent = it_work-percent.
APPEND it_final_scheme.
INSERT INTO /vcrebate/schtab VALUES it_final_scheme.
COMMIT WORK.
*IF sy-subrc = 0.
* MESSAGE 'S' TYPE 'S'.
* ENDIF.
ENDLOOP.