RE: to call mm02 transaction from module pool table control

      Hi friends,

      i have a senario.

      i have table control in my module pool program.

      it contains 3 columns

      vbeln posnr matnr

      now when i double click on any of the material number it should take me to mm02 transaction and display that material.

      hw can i do tht..?

      can any one suggest me..

      Regards

      Priyanka

      1. Go to your screen painter and open the properties for the Material number field In the Atrributes, under Display select "Responds to double Click"   2. In your PF-Status, Enter "PICK" for the Function Key F2.   3. Now, your program's PAI module Copy Code CASE OK_CODE. WHEN 'PICK'. GET CURSOR VALUE L_MATERIAL. SET PARAMETER ID 'MAT' FIELD L_MATERIAL CALL TRANSACTION 'MM03' AND SKIP FIRST SCREEN. WHEN OTHERS. ENDCASE.   Regards, Naimesh Patel

      User Rating: Be the first one !
      larsks Vice Professor Asked on November 2, 2016 in user interface-development.
      Add Comment
      1 Answers

        1. Go to your screen painter and open the properties for the Material number field

        In the Atrributes, under Display select “Responds to double Click”

         

        2. In your PF-Status, Enter “PICK” for the Function Key F2.

         

        3. Now, your program’s PAI module

        1. CASE OK_CODE.
        2. WHEN ‘PICK’.
        3. GET CURSOR VALUE L_MATERIAL.
        4. SET PARAMETER ID ‘MAT’ FIELD L_MATERIAL
        5. CALL TRANSACTION ‘MM03’ AND SKIP FIRST SCREEN.
        6. WHEN OTHERS.
        7. ENDCASE.

         

        Regards,

        Naimesh Patel

        Add Comment

        Your Answer

        By posting your answer, you agree to the privacy policy and terms of service.