Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all articles
Browse latest Browse all 8768

module pool programing

$
0
0

hai,

 

   I have write the code for insert and modifications in modulepool. But the data was not inserted row by row only updated that row  , in this the data comes to work area but sy-subrc eq 4. And also I wrote insert but the reselt is same . please give me solution.

 

the code is

 

 

 

CASE ok_code.

    WHEN 'SAVE'.

      MODIFY  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.


Viewing all articles
Browse latest Browse all 8768

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>