Skip to Content
Former Member
Jun 13, 2006 at 08:25 PM

How to capture the ok-code from xd01 to my program


Hi All,

I have a big problem. I have created a t-code zxd01 and my program zsapmf02d. In my t-code, in my first screen it looks like xd01 first screen and extra some custom fields.

In my first screen it has buttons, if they click on "create" button on 1st screen i am calling "Call transaction xd01 and skip first screen". Its calling xd01 2nd screen and remaining things xd01 functionality. but when user presses any ok-code, its coming back to my program. I don't want do this thing for some ok-codes like "enter". How to do this? I am thinking if i capture the ok-code from xd01 and when its coming back to my progarm, i can tell it behave differently.

How to capture it? Is there any userexits to capture the ok-code, from there using export and import?

Its a high priority issue. Please help me.