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

Actions

Hello,

I'm using the actions to print a report in complaints.

When this action is triggered and the reprot is printed, I would like to trigger a new action to change the status automatically to 'report printed'.

Any idea how I can do this?

Thanks in advance,

Regards,

Frédéric

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Aug 31, 2006 at 10:01 AM

    Hi,

    You can use FM CRM_ACTION_EXECUTE to trigger actions.

    Alternate, check standard program RSPPFPROCESS to trigger PPF actions.

    Thanks

    Kamal

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello,

      Thanks for the reply.

      Yes 'report printed' is a User Status.

      I know which function to use to change a user status.

      What I do not know is how to detect that my report is printed (action executed) and then automatically change the status.

      Regards,

      Frédéric

  • Posted on Aug 31, 2006 at 01:36 PM

    Hi Frederic,

    Instead of action triggering a report, trigger a BADI implementation for the action.

    Follow the following steps:

    1. Create a BADI implemetation for the definition EXEC_METHODCALL_PPF in SE19.

    2. Write the report code in that BADI implemetation.

    3. If you need to get some inputs from user as selection screen parameters use the function module 'POPUP_GET_VALUES'

    4. After doing everything just before setting the rp_status = 1(we set this to indicate the action was successful), call the function module to set the status.

    5. You now need to configure your action profiles, action definitions in SPRO.

    <b>Reward points if it helps.</b>

    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.