Start condition of an Action (Actions in Transaction)

Could anyone tell me how to make an action dependent on another action. That is, the second action should be trigerred only when the first action was performed sucessfully.
thanks in advance
J

Hi Ark,
Two solutions I can suggest :
1. Use Method Call for first Action definition to send email. While after sending
    email, inside this method you can trigger next action
    Or
    You can also tell from this method to set certain user status (for example
    from user status = Sending Email to user status = Email sent)
    Then use this user status condition in your next Action Definition (if user
    status  = Email Sent)
2. You enhance the business object, for example business object order
    BUS2000115, you add one attribute to keep value of certain Action Definition
    status (additional Method also will be needed here to search and store that
    Action Definition status to your new attribute).
    Then, you use this new enhance business object in ACTION  Condition - object
    type. You can enhance business object use tcode SW01
Hope this could help.
Gun.

Similar Messages

  • What is Start Condition is Actions

    Hi Gurus
    What is Start Condition in Actions?
    Thanks
    Mahi

    Hi Mahesh,
    An Action is only started when you define a Start Condition for that Action. And also that start condition gets triggered for that Action that Activity will start.
    Below is complete example that will help you to understand this scenarios better.
    You create a transaction, for example, a contract, or a marketing object, for example, a marketing campaign. The processing of actions can be structured in three segments:
    Planning Actions
    Starting Actions
    Monitoring Actions
    Planning Actions
    The system uses the action profile assigned to the transaction type to check which actions are possible for the transaction. If you are working in CRM Marketing, you have assigned an action profile to a marketing object in the Marketing Planner beforehand.
    The system checks if the schedule conditions are fulfilled, and for which actions. The following takes place when the schedule conditions are fulfilled:
    The system enters actions with the indicator Schedule Automatically into the action list in the transaction document or marketing object. They are active.
    You can manually add (schedule) other actions from the profile. They appear in the input help in the action list. They are inactive.
    You can schedule actions with the indicator Display in Toolbar using the application toolbar of the document. They are also inactive. There is further information in processing actions using the application toolbar.
    It is only possible to start scheduled actions.
    Starting Actions
    When the start conditions are fulfilled, or if no start conditions have been defined, the system triggers the action at the processing time defined in Customizing.
    The following possibilities are available for starting:
    starting automatically
    The system triggers the action automatically when the start condition for a scheduled action is fulfilled.
    starting manually via the action list
    You have to have selected the indicator Execute in Dialog in the action definition for this function.
    You start the action from the action list using the symbol Execute Action.
    starting manually via the application toolbar for sales transactions, and via the Object Services toolbar for marketing objects
    You have to have defined the indicator Display in Toolbar and the processing time as Immediate in the action definition for this function.
    You start the action using the Actions pushbutton in the application toolbar for sales transactions and in the Object Services toolbar
    When starting the action the system uses the processing medium (method or Smart Form or workflow) preset in Customizing.
    Monitoring Actions
    On the Actions tab page in the transaction document, you can continually monitor which actions are planned or have already been started and executed. There is further information under action list.
    You can change condition and processing parameters for start conditions in the action list for actions which have been flagged in Customizing as Changeable in Dialog .
    You can monitor and start actions of several transaction documents or marketing objects using the action monitor. There is further information under action monitor.
    For complete information on Action Management have a look at the following link:
    http://help.sap.com/saphelp_crm50/helpdata/en/54/238e39e1ba3541e10000000a11402f/frameset.htm
    Thanks and Regards,
    Samantak.
    Rewards points for useful answers.

  • Action with start condition always triggers

    Functionality required: "when its 4 days from the actual date an
    Audit is to take place an e-mail should be triggered to the
    audit attendees"
    I have created a new date rule (4 days before - reminder) and
    added this date rule to the date profile 000000000003.  I am
    using this date profile in my actions and have set a new start
    condition to trigger an e-mail alert when "todays date" = my new
    date rule.  I have set up scheduled conditions which are met.
    when i create transactions which meet both the scheduled and
    start conditions (from my perspective) the action is getting
    triggered to send the e-mail reminder.  My new date rule is as
    follows:
    <?xml version="1.0"?>
    <TimeRule>
       <TimeRuleSource>
          <ruleline>
             <AssignTimeExp displaytype="AssignTime">
                <VarTimeExp displayType="VarTime"
                                   name="RESULT"
                               position='B'>
                  <VarObjectExp displaytype="VarObject"
                                    name="SYSTEM"/>
                </VarTimeExp>
                <MoveTimeExp displaytype="MoveTime" direction="-">
                   <VarTimeExp displayType="VarTime"
                                      name="ORDERACTUAL"
                                      position="B">
                     <VarObjectExp displaytype="VarObject"
                                    name="SYSTEM"/>
                   </VarTimeExp>
                   <ConstDuraExp displaytype="ConstDura"
                                    duration="4" timeunit="DAY">
                      <VarObjectExp displaytype="VarObject"
                                    name="SYSTEM"/>
                   </ConstDuraExp>
                </MoveTimeExp>
             </AssignTimeExp>
          </ruleline>
       </TimeRuleSource>
    When i test it using various dates it seems to work as expected, it returms false when it should fail and true when it should suceed  When tested from within the date rule for the FROM and TO date for todays dates i get the following:
    Deadlines
    Appointment Type RESULT
    From SA 10.02.2007 14:27:52 GMTUK
    From
    Appointment Type ORDERACTUAL
    From WE 14.02.2007 14:27:52
    To WE 14.02.2007 14:27:52
    Duration
    Reference Objects
    SYSTEM GMTUK CL_TIMECALENDAR_SIMPLE
    In my start condition i am testing for my date rule (4 days
    before - reminder) = todays date. 
    Can anyone explain why my start condition is always being triggered
    Thanks in advance
    Ed

    Hello Easwar Ram,
    Thanks for your reply.
    No, I didn't create an Action Profile. I use standard profile: /SCWM/TU (Shipping & Receiving - Transportation Unit).
    I only have created a new Action Definition, Schedule and Start Conditions for this Definition. All work correctly with the exception of the button 'Start Condition Parameter'.
    I don't know why the button appears because I didn't define a Condition Parameter for the Start Condition. And when I click on this button I get an error in standard SAP code:
    1) li_bor_object ?= l_context->appl.
    2) ls_bor_handle = li_bor_object->get_bor_object( ip_objtype = l_objtype ).
    L_context->appl has value '' in the debugger. After line 1 the value of the li_bor_object is '' therefore line 2 terminates the transaction with error.
    Maybe this occurs because the Action Profile uses a Persistent Class for Object Type instead of a Business Object Repository?

  • ABAP coding in defining start condition for action.

    Hi Everybody,
    Can anyone tell me if ABAP coding is possible for giving condition for action? If yes, where? Is it in condition editor? I have 3 validations to be done:- 1) Filter service contract (transaction type USC), 2) Filter the active contracts, 3) Filter contracts which doesn't have billing cycle in current month.
    So, do you think these validations can be done in start condition of action? First two validations are static in nature and thus can be done. But, how about the last condition?
    Please help.
    Regards,
    Sanj.

    Hi Sanj
    I would do this.
    1. The transaction type cannot be changed, therfore I will set this up in the scheduling condition.
    2. Active contracts. Depends on teh definiton of active. If it is based on some status then I will use scheduling condition.
    3. use one of the dates in the date profile to determine if the billing date is in the current month or not.
    See if this helps.
    Thanks

  • Process an action even if the start condition is no longer fulfilled?

    System: SAP CRM 5.0
    Background
    Using an action in the action profile we want to be able to send a reminder to the person responsible for a service transaction at a specific date. The person responsible should himself be able to maintain the date at which he should receive the reminder. Therefore we have added a new date type, ‘zreminder_date’, in the date profile where it is possible to manually enter the date at which the reminder should be sent.
    The actions are processed using a selection report which is run in a batch-job each night. The action has a start condition: zreminder_date = Today’s Date, i.e. the reminder should be sent when the reminder date equals today’s date.
    Problem
    As long as the batch-job is run each day we have not encountered any problems. However, if for any reason the batch-job is cancelled and can only be run the next day we don’t know how to process actions where the start condition is no longer fulfilled. Can we for example force actions for specific dates to be processed afterwards?

    Hi Lisa,
    Actually My requirement is also similar to your process.
    I have to send a reminder mail to particular manager one month before contract end date.
    For ex: Contract start date: toda's date,
                Contract end date : startdate+12 months
                reminder date: one month befroe end date.
    so I have to send reminder mail.
    My problem is I don't know how to set the process in background.
    I have takn the condition : reminder date= Today's date.
    For time being I have tested the similar scenarion :
    start date: toda's date
    end date : start date+2 days.
    reminder date: end date- one day
    that means If I create the contract today ,my mail should trigger tomorrow.
    But I couldn't send the mail .
    please help me how to put this process in background .
    My id is:  [email protected]
    Thanks

  • Start Condition for CRM Actions

    Hi,
    we have a requirement to create the follow up document (complaint) in CRM for the Return orders created in ECC system and not for the return orders created in CRM system. We have configured an action for the same and the follow up document is getting created for the Return orders from ECC and CRM also. There is parameter called LOGICAL_SYSTEM in header, using this we can identify the document source system. How can we make use of this LOGICAL_SYSTEM parameter in start condition as this not part of the standard container?
    Any helpful answers will be highly appreciated.
    Thanks,
    Rajinikanth

    Hello,
    Everything is explained in the following OSS notes:
    Note 502389 - Actions: Using additional attributes for conditions
    Note 896175 - FAQ: Customizing
    Regards,
    Nicolas.

  • Changing the catalog profile when creating a QN FROM ACTION BOX in transaction QM02

    Hi All,
    When I create a quality notification from the action box in transaction QM02, the catalog profile is fetched from the material master. I want this changed so that the catalog profile is
    always copied from the QN being preocessed in QM02. (current QN)
    I am not able to locate the code where the catalog profile for the new QN(QN being created) is fetched from the material master.
    If I change the catalog profile in the material master, it works, but that is not a solution for me.
    Need the exact point where I can pass in a different catalog code.
    Also, I do not see the new QN number anywhere while debugging.
    PS: The QN is being created from the action box in transaction QM02 and not from transaction QM01.
    Thanks.

    Hi All,
    When I create a quality notification from the action box in transaction QM02, the catalog profile is fetched from the material master. I want this changed so that the catalog profile is
    always copied from the QN being preocessed in QM02. (current QN)
    I am not able to locate the code where the catalog profile for the new QN(QN being created) is fetched from the material master.
    If I change the catalog profile in the material master, it works, but that is not a solution for me.
    Need the exact point where I can pass in a different catalog code.
    Also, I do not see the new QN number anywhere while debugging.
    PS: The QN is being created from the action box in transaction QM02 and not from transaction QM01.
    Thanks.

  • R12 : Disable "Create accounting" action in AR Transactions

    Hi,
    I would like to disable the Create accounting" action in AR Transactions for a responsibility.
    Could somebody help me please?
    Thank you
    Tiana

    Hi Tiana;
    What is your EBS version. Please check below:
    http://oraclefinancial.wordpress.com/2010/11/02/how-to-disable-create-online-accounting-in-payables/
    http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/disable-create-accounting-check-box-3340367 << u may need form costumizaiton
    Regard
    Helios

  • Actions profile for Transaction.

    Hi Experts,
    Please share the best practice doc for actions determination for transaction (lead).
    how to create the action profle
    Thanks in advance
    Prajith P

    Take a look at the following blog which gives you full step by step guide on how to customize new actions: http://wiki.sdn.sap.com/wiki/display/CRM/Actionprofilesin+SAP-CRM.
    Regards.

  • What is the difference between action and workflow? How do I decide that I need an action in a transaction and not a workflow and vice versa?

    Dear Experts,
    I have few doubts and request your expert inputs to clarify my doubts.
    What is the difference between action and workflow? How do I decide that I need an action in a transaction and not a workflow and vice versa?
    Your earliest response is highly appreciated.
    Thanks,
    SMTP

    Hi SMTP,
    First of all, as I mentioned action is nothing but an executable work item which is designed in the workflow itself. In other words, Workflow is like your OOPS class. At run time, workflow instances are created just like objects of classes. Now, the steps designed in the workflow are called TASKS and the instances of tasks are called WORKITEMS. Now, the work items where any user action is required are called executable work items. ANd the work items where no user action is required (for example, sending an email in background) are called non-executable work items.
    Whether to go with development of workflow or not depends upon your business scenario. If your requirement is only to send an email and you find any BAdi or exit where in you can write your logic then there is no need of creating a workflow. If there is a defined business process with defined users and time lines, then you can go with the development of workflows.
    Rest, the below link will help you in understanding basic concepts of workflow :
    Why use SAP Workflow? | Insight Consulting Partners
    Regards,
    Richa

  • G/L account in start conditions of a workflow

    Hi SRM gurus,
    is is possible to check the G/L account in a start condition of a workflow? Can not find it.
    Example: Company 1234 and TotalValue >= 1000 and G/L account=777777 --> Then WS10000129 "One Step approval of shopping cart" should be initiated?
    Would be great if that works!
    Thanks and best regards,
    Henning

    Hi
    As per standard one step WF..GL account is not built as criteria. You have have your own custom code for this. Thanks
    Piece of logic from standard WF task
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Workflow WS10000129    No default currency
      Event Shopping cart created
       (  " Einkaufen von Employee
         &EC Requirement Coverage Request.TotalValue& < 100,000.00
         and    &EC Requirement Coverage Request.RFQ Follow-On Doc.& u2260 X
         and    &EC Requirement Coverage Request.TotalValue& u2265 1,000.00
         and    &EC Requirement Coverage Request.Requester User.Activity Group& NE SAP_BBP_STAL_MANAGER 
         and    &EC Requirement Coverage Request.Unlimited& u2260 X
         and    &EC Requirement Coverage Request.Spending Limit& NX 
         and    &EC Requirement Coverage Request.UserBudgetDefined& NX 
         and    &EC Requirement Coverage Request.Exists w.out Price& u2260 X
      ) " Einkaufen von Employee
      or    (  " Einkaufen von Manager
         &EC Requirement Coverage Request.Requester User.Activity Group& CE SAP_BBP_STAL_MANAGER
         and    &EC Requirement Coverage Request.RFQ Follow-On Doc.& u2260 X
         and    &EC Requirement Coverage Request.TotalValue& u2265 500,000.00
         and    &EC Requirement Coverage Request.Unlimited& u2260 X
         and    &EC Requirement Coverage Request.Spending Limit& NX 
         and    &EC Requirement Coverage Request.UserBudgetDefined& NX 
         and    &EC Requirement Coverage Request.Exists w.out Price& u2260 X
      ) " Einkaufen von Manager
      or    &EC Requirement Coverage Request.RFQ Follow-On Doc.& u2260 X
      and    &EC Requirement Coverage Request.Unlimited& = X
      or    (  " Einkaufsbudget Scenario
         &EC Requirement Coverage Request.UserBudgetDefined& EX 
         and    &EC Requirement Coverage Request.RFQ Follow-On Doc.& u2260 X
         and    &EC Requirement Coverage Request.UserBudgetSpent& > &EC Requirement Coverage Request. UserBudgetDefined&
         and    &EC Requirement Coverage Request.Unlimited& u2260 X
         and    &EC Requirement Coverage Request.Exists w.out Price& u2260 X
      ) " Einkaufsbudget Scenario
    True 
       Start workflow:  One Step approval of shopping cart
    False 
       No action
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Rgds
    Kiran

  • How to restrict the job start conditions (only "Immediate" type) ?

    Hi,
    We allow our users to schedule and execute in background mode transactions (example IP19, IW38). We gave them for that authorizations (object S_BTCH_JOB with LIST, PROT, RELE and SHOW - objetct S_PROGRAM with BTCSUBMIT).
    We would like that users can schedule and execute their jobs only with the u201CImmediateu201D job start condition (in the Start Time screen for the type of start condition : Immediate, Date/Time, After job, After event, or At operation mode).
    Another solution: prohibit the scheduling and the execution background job in a certain time interval ...
    How can restrict the job start conditions ?
    Thank you.
    Patrice.

    Hi Jan,
    Yes, sa38 makes it possible indeed to execute in background into immediate mode a job but
    the user have to know the name of the program to be carried out ...
    The user knows only the name of these transactions trade. For example, IW38.
    In the menu of this transaction, SAP gives the possibility to execute in background :
    Program --> Execute in Background --> display of Start Time screen for the type of start condition :
    Immediate, Date/Time, After job, After event, or At operation mode).
    It is at this time there that we want that the user can only choose the "immediate" mode.
    We must thus prohibit the other choices (Date/Time, After job, After event, or At operation mode) ... and
    and we don't know how to restrict these other options in this screen "Start Time screen for the type of start condition".
    Thank you.
    By.

  • Execute program in background - Start Condition Pop up

    Hey there,
    When navigating the menu from the initial screen of any report, Program --> Execute in Background, im getting a start condition popup similar to the one when changing the start condition of a job in transaction sm37.
    Once I confirm the Background Print Parameters when navigating the menu to execute the report in background, im getting the following popup - Screenshot of pop - http://imgur.com/O9X0q.jpg
    This has arisen since the latest implementation of the latest SPIs.
    There is a requirement now to suppress this pop-up. How can one achieve this?
    Thanks!

    Hey,
    Before it just got released and sat there and would execute at 11pm the evening or something like that Or until the user manually changed it thru sm37 and executed it.
    Had a look at the SAP Portal already no luck yet. But I'll have to keep looking.
    Cheers

  • Workflow not triggered for BP when start condition's field is set by BADI

    Hi guys,
    I have created a workflow and given the start Event "Changed" of object BUS1006. In this I have given a start condition which triggers this event when a particular field on transaction BP is populated.
    Now the problem is that when I myself explicitly populate the field and press save the workflow is triggered fine, but when I populate that field automatically in a Save BADI (BUPA_GENERAL_UPDATE), the workflow is not triggered. Tcode swel just returns the msg that Start condition returns 'FALSE' for object.
    Can someone please help me in this or let me know where I can find its cause in system.
    Any help would be really appreciated.
    Regards,
    Shaili

    If this is just one field, create your own custom event and code launching it when saving BP with your field changed.
    Maybe event Changed is executed only for changes in GUI.
    If you program your own one you will have 100% control of it.
    Regards
    Radek

  • Configure Start conditions based on ibase\ and Customer Fields ??

    Dear friends,
    We have enchanced transaction types(document types) using Easy enchancement workbench (EEWB). Therefore we have a new tab(customer screen) in all the transaction types we use !!.
    This tab has customer fields in it...
    Now the requirement we have here is that we have to send Emails based on these customer fields and ibase and component.
    How can i create start conditions based on the customer fields and ibase which are not present in object type BUS2000116(default) which is currently reffered while i create start conditions.
    I know that i can create new object type(using swo1) and let it be have inherited supertype as BUS2000116 and then inside the new object type i can have my attributes( ibase and those customer fields) inside the new created object.
    Is there any way of incalculating the customer fields and ibase \component in BUS2000116 ( by default it does not have these) ???
    Assuming that i created new object type, how do i make use of this type while i am configuring conditions.
    Any help would certainly be rewarded.

    hi again,
    Can anybody take some time out and guide me plz...

Maybe you are looking for

  • Express doesn't give right IP address.

    Hi I've set up my AX BS to extend my main Airport wireless network. When I connect my Mac directly to Airport it's allocated an IP 192.168.0.2 and all works fine. However, when I select the AX BS I get allocated 169.254.165.174 and so can't connect t

  • Offline Data Chaching Problem in SMP 3.0 Android Native

      Hi All,                    I am working on Offline features of SMP 3.0 Android, Saving data in Cache and syncing with backend when network available. Once I close all activities and login in online mode the Cache getting cleared and no data availab

  • Revert a bad sync

    i just added another computer to my firefox sync account, and i'm almost certain i chose "replace all data on this computer with my sync data". but my sync data ended up being replaced by the data on the new computer (basically nothing). it might be

  • Cannot create FileVault

    I'm attempting to encrypt my home folder via the Security preference panel. However, just as things are about to get started (I've already dismissed the warning about this process taking a long time to complete) I get the following alert saying it ca

  • SIMBL Error after updating to 10.4.3

    After updating to 10.4.3 I now get the following error message after starting Safari for the first time" Safari 2.0.2 (v416.12) has not been tested with the plugin (null) (null) (v1.0). As a precaution, it has not been loaded. Please contact the plug