Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 11212

The changes are not reflected in sm30 via tbl maintenance dialog screen -01

$
0
0

Hi

 

Let said user A tick on the checkbox column of table X in sm30 and click save.

And then, go back and go to sm30. But, the checkbox column of table X still remain uncheck.

Smtg went wrong but i have no idea about this. I am using table maintenance dialog event - 01.

 

The codes are :

 

    FIELD-SYMBOLS : <lf1>       TYPE any,

                                  <fs_total>  TYPE any.

 

  

   LOOP AT total[] ASSIGNING <fs_total>.

     CASE <action>.

       WHEN c_newentry.

         ASSIGN COMPONENT c_changedon OF STRUCTURE <vim_total_struc> TO <lf1>.

         IF sy-subrc EQ 0.

           <lf1> = sy-datum.

         ENDIF.

         ASSIGN COMPONENT c_changedby OF STRUCTURE <vim_total_struc> TO <lf1>.

         IF sy-subrc EQ 0.

           <lf1> = sy-uname.

         ENDIF.

       WHEN c_updaterecords.

         ASSIGN COMPONENT c_changedon OF STRUCTURE <vim_total_struc> TO <lf1>.

         IF sy-subrc EQ 0.

           <lf1> = sy-datum.

         ENDIF.

         ASSIGN COMPONENT c_changedby OF STRUCTURE <vim_total_struc> TO <lf1>.

         IF sy-subrc EQ 0.

           <lf1> = sy-uname.

         ENDIF.

 

     ENDCASE.

     MOVE <vim_total_struc> TO <fs_total>.

     READ TABLE extract WITH KEY <vim_xtotal_key>.

     IF sy-subrc = 0.

       extract = <fs_total>.

       MODIFY extract INDEX sy-tabix.

     ENDIF.

   ENDLOOP.


Viewing all articles
Browse latest Browse all 11212

Trending Articles



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