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

Disabling of zmrp field in return po.

$
0
0

Hi all,

 

using user exit MM06B005..am diabling the field in return po.please give me hint for" when ever user selects return po zmrp field to be disable".below mentioned code..How can i mention for return po only..help needed...

 

IF sy-tcode = 'me21n' OR sy-tcode = 'me22n'.

 

  TYPES : BEGIN OF ty_konp,

           kschl TYPE kscha,

           END OF ty_konp.

    DATA : wa_konp TYPE ty_konp,

          it_konp TYPE TABLE OF ty_konp WITH HEADER LINE.

 

   IF it_konp-kschl = 'X'.

     "Do nothing

     else.

      "Do disable field

       LOOp AT SCREEN.

         if screen-name = 'konp-Kschl'.

            screen-input = 0.

modify screen.

endif.

 

ENDLOOP.

ENDIF.

ENDIF.


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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