Skip to Content

Function Code error while enabling/disabling Check box

Hi,

I get an error because of a function code added to a check box in a screen. The requirement is to enable a field if the check box is ticked and disable it while its not. I created a function code for this.

When i execute the transaction and tick the check box, i get this error

Requested Function ABCD is not available here.

Note: I have not written any code in PAI or PBO yet and this is a customer exit enhancement on a standard transaction. This check box is mapped to dictionary structure.

Could anybody suggest on this?

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Oct 22, 2015 at 09:18 AM

    Usually those dynpros are subscreen, so don't manage the OK_CODE field, only main screen manages it. In your case, as you don't intercept the code, it is received in main dynpro PAI which raise an error.

    Trick: Manage sy-ucomm in subscreen PAI.

    Regards,

    Raymond

    Add comment
    10|10000 characters needed characters exceeded

    • Thankyou Raymond.

      But I have played around with the SY-UCOMM. It does not work.

      I forgot to mention that I am using IW51 transaction. Seems like there are other methods to manage the IW transactions which are different from normal transactions with respect to screens. I tried to maintain the Function Codes and Program name in T185F and T185* tables and this has finally worked.