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

Triggering action from a document with error

Hi

We have a requirement wherein, an action needs to be triggered from an item of a service contract, even when the mentioned line item has error in it (due to incompleteness procedure assigned at the item category level). This service contract document is generated automatically from a sales order. If anyone has worked on a similar requirement, please help.

Regards Ankit

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Dec 30, 2013 at 01:49 PM

    Hi Ankit,

    One possible solution:

    1. Define a action profile with your action
    2. Change the rule type of action determination to COD - Conditions using BAdIs. With this you will control your own developed conditions into BADIs EVAL_SCHEDCOND_PPF and EVAL_STARTCOND_PPF to manage schedule condition and start condition.
    3. Assign the correspondend badi as condition in Define Conditions
    4. Assign this action profile to your service contract
    5. Test it.

    Despite of the assigment of action profile is at header level, with these badis you can control the process.

    Best regards.


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 31, 2013 at 11:10 AM

    Hi Ankit,

    Status of item (or header) shouldn't prevent any action from being executed... is it?

    But what could happen is that your action is trying to do something forbidden until the corresponding document is error-free... resulting in error status of the action itself (which is obviously different from an action that is not executed at all).

    So may you please confirm the issue you're facing?

    Thanks a lot,

    Nicolas.

    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.