Dear sir/madam,
I have write the queries of data insert and update to ztable but it is inserted.please give me solution.
this is the code,
CASE ok_code.
WHEN 'SAVE'.
INSERT zcust_master FROM wa_master.
IF sy-subrc EQ 0.
MESSAGE 'Saved Sucessfully' TYPE 'S'.
ENDIF.
CLEAR wa_master.
* WHEN 'UPDATE'.
* MODIFY zcust_master FROM wa_master.
* IF sy-subrc EQ 0.
* MESSAGE 'Saved Sucessfully' TYPE 'S'.
* ENDIF.
* CLEAR wa_master.