Skip to Content
author's profile photo Former Member
Former Member

CATS WebDynpro - transform an action in sy-ucomm?

Hi All,

I want to know how to determine what button is pushed in the WebDynpro when the processing is in de exit code of EXIT_SAPLCATS_006 (ZXCATU05).

Coming from FPM_OVP_COMPONENT view PAGE_HEADER method ONACTIONACTION

Is the pushed button (action) passed on to the backend processing in any way and how can I determine the action when the
processing is in the code of ZXCATU05?

Can anyone tell me how to solve this

regards

Michiel

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 02, 2014 at 10:16 AM

    Found the answer.

    Add in the exit ZXCATU05 the following code

    data lo_fpm type REF TO if_fpm.

    * Get FPM instance

    lo_fpm = cl_fpm_factory=>get_instance( ).


    in the instance lo_fpm MO_CURRENT_EVENT contains MV_EVENT_ID that tells you what you are doing.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 15, 2013 at 07:53 PM

    Hi Veenemans,

    Just check the Proces_Event method of the component in the component controller. In this method you will find the Button Event ID.

    Regards.

    Nishant

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.