Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A



Can anyone tell me something about OK_CODE Field in screen elements.

Thanks and Regards

- Richa Verma



OK_CODE Field is a 20 Char field which is not displayed on the screen

User actions that trigger the PAI event also place the corresponding code into this field, where it is passed to the program.

Assign a name to this field and also declare it (type C ) in the top include of the ABAP program to use it for a particular screen.

reward pts. if useful.


- Rishika bawa.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question