Skip to Content
0
Former Member
Feb 03, 2009 at 05:27 AM

Issue with PBO PAI for User exit MM06E005

1186 Views

Hi SDNers,

I am working on screen exit for ME21N.

Iam using the user exit MM06E005.

I tried creating a new project for MM06E005 but it is already assigned to LO020 so continued with the same.

I am working on screen exit ie SAPMM06E 0101.

On a new tab has been added to the standard PO with the name 'Customer Data'.

On this i have a check box and a input field.

under the PBO of 0101 i have module Hide_fields and the following code has been wriiten.

loop at screen.
      if screen-name = 'ZSUP_EKCF-CFORMNO'.
        screen-input = 0.     
        modify screen.
      endif.
    endloop.

I requirement is I need to keep the checkbox and the input field disabled when the user enters the Tcode and open the create PO screen.

And then when the user enters a vendor number based a condition i need to enable both the fields.

Now Iam confused where would I write the code because i even the tried the function exit EXIT_SAPMM06E_006 (PBO) and EXIT_SAPMM06E_007 (PAI) for the same non of them are trigerring.

Please help me out with a solutions experts.

Regards,

Ranjith N