create subsequent tasks with action profile

Upload: loribe

Post on 01-Jun-2018

217 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/9/2019 Create Subsequent Tasks With Action Profile

    1/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 1/10

    Getting Started Newsletters Store

    Products Services & Support About SCN Downloads

    Industries Training & Education Partnership Developer Center

    Lines of Business University Alliances Events & Webinars Innovation

    Log On Join UsHi, Guest Search the Community

    Activity Communications Actions

    Browse

    0 Tweet

    created by Marcio Debize on Jun 24, 2013 9:15 PM, last modified by Marcio Debize on Jun 26, 2013 12:13 AM

    How to define actions:

    Step 1 - Define action profile and action type for this profile;

    Step 2 - Define schedule and start conditions - adjust action profiles (if necessary) ;

    Step 3 - Assign the action profile to transaction type or item categories and/or use the conditiontechinique for action profile determiantion .

    USE

    Create a task using action when the status of opportunity is in process

    Step by Step Procedure

    Step 1 - Define action profile and action type for this profile;

    Define Action Profile:

    Define Action type:

    Create subsequent tasks with Action Profile Version 2

    http://scn.sap.com/community/uachttp://scn.sap.com/community/newslettershttp://scn.sap.com/actionshttp://scn.sap.com/contenthttp://www.sapstore.com/http://scn.sap.com/community/downloadshttp://scn.sap.com/docs/login.jspahttp://scn.sap.com/activityhttp://scn.sap.com/community/uachttp://scn.sap.com/communicationshttp://scn.sap.com/servlet/JiveServlet/showImage/235897/01.pnghttp://scn.sap.com/community/getting-startedhttp://scn.sap.com/welcomehttp://scn.sap.com/login.jspahttp://scn.sap.com/people/marcio.debizehttp://scn.sap.com/community/developer-centerhttp://scn.sap.com/people/marcio.debize
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    2/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 2/10

    Set action

    Perform the required settings for the action.

    In the field processing time you can set when an action whose start condition has been met is started.

    If necessary, also select the following fields:

    Schedule automatically - the action is automatically displayed on the Actions tab page after theschedule condition is met.

    Display in toolbar - the action is displayed as a symbol in the document toolbar, and the user canschedule it from there.

    Changeable in dialog - the user can change the condition parameters and processing parameters of the action.

    Executable in dialog - the user can manually trigger the action on the Actions tab page.

    The field help for the individual options provide you with detailed explanations.

    Set partner determination

    The settings for partner determination are only necessary if the action is to be found depending on thebusiness partner. Above all, this makes sense for processing with print, fax or e-mail. The output is sentto the corresponding business partner(s).

    If you do not want to make any partner dependent settings, choose Enter .

    http://scn.sap.com/servlet/JiveServlet/showImage/235947/03.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235946/02.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    3/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 3/10

    PPF: Partner Function

    Use

    Partner determination is performed for partner dependent actions. The partner function entered is compared tohe function of the document partner and an action is only generated if the partner functions agree.

    Example:

    The partner function AG (sold-to party);

    Dependencie

    The partner function is entered is only used for partner determination if you have selected the partner

    dependent action definition in Customizing.

    Select action processing

    Processing determines what the action should do. There are the following possibilites:

    Send smart forms using print, fax or e-mail;

    Call any method;

    Start a workflow.

    Select a processing type with the input help.

    http://scn.sap.com/docs/DOC-43216/SAPEVENT:DOCU_LINK/DS:GLOS.3526BF13AFAB52B9E10000009B38F974http://scn.sap.com/servlet/JiveServlet/showImage/235952/04.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    4/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 4/10

    Set processing method

    Make the necessary settings for the processing selected.

    Method (Business Add-In that is called);

    Description (describing text of the Business Add-In);

    Determine processing parameter (parameters that are transferred to the processing method).

    Method:

    A. COPY_DOCUMENT -> Generate Subsequent Document (Copy)

    1) Process Parametrer - using transaction type2) Create a container element ande set the next trasaction type;

    http://scn.sap.com/servlet/JiveServlet/showImage/235948/05.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235954/06.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    5/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 5/10

    Create an element for copy_document

    Reference table

    For the following elements you can specify the data type reference by defining an ABAP Dictionary field:

    Key fields

    Attributes

    Results

    ParametersContainer elements

    In this case, you have selected the indicator Dictionary as the data type reference.

    Specify the table, the view or the structure of the data type reference here.

    Reference field

    To specify a field from a database table as a data type reference , specify a field from the table, view or structure. This applies to the following elements:

    Key field

    Attribute

    Result

    Parameter

    http://scn.sap.com/docs/DOC-43216/sapevent:DOCU_LINK/DS:GLOS.3526B0B8AFAB52B9E10000009B38F974http://scn.sap.com/servlet/JiveServlet/showImage/235959/08.pnghttp://scn.sap.com/docs/DOC-43216/sapevent:DOCU_LINK/DS:GLOS.3526B0B8AFAB52B9E10000009B38F974http://scn.sap.com/docs/DOC-43216/sapevent:DOCU_LINK/DS:DE.SWC_REFTPDhttp://scn.sap.com/servlet/JiveServlet/showImage/235958/07.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    6/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 6/10

    Container element

    See also : indicator Dict. Field

    Properties

    ABAP Dictionary Reference:

    1 - Parameter is imported in method

    Indicator meaning that the method requires this parameter as input.

    2 - Mandatory element

    Indicator meaning that this attribute must always have a value.

    This may be useful if an evaluation is performed using this attribute within the workflow.

    Initial Value Set inicial value for parameters of the method COPY_DOCUMENT: E.g.: Set a trasaction type Z001

    http://scn.sap.com/servlet/JiveServlet/showImage/235960/09.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235964/10.pnghttp://scn.sap.com/docs/DOC-43216/sapevent:DOCU_LINK/DS:DE.SWC_REFTPD
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    7/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 7/10

    http://scn.sap.com/servlet/JiveServlet/showImage/235966/12.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235965/11.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    8/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 8/10

    How to create a condition:

    1 - Schedule Condition

    The schedule condition decides whether an action should be scheduled for processing. An action istherefore only generated if the schedule condition is met.

    Select an existing schedule condition using the input help or create a new one.

    2 - Start Condition

    The start condition is checked before the action is executed. The action is only executed if the startcondition is satisfied.

    Select an existing start condition using the value help or create a new one.

    2.1- Optimization RuleThe optimization rule is a date rule and returns a date from when the action is relevant. No attempt toprocess the action is made until this date has arrived.

    2.2 - Customize Define Conditions.

    http://scn.sap.com/servlet/JiveServlet/showImage/235971/14.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235970/13.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    9/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    http://scn.sap.com/docs/DOC-43216 9/10

    When you save the action needs Identify of Status of opportunity in process. This is an inicial conditionwhen this conditions is Ok, so create a task.

    http://scn.sap.com/servlet/JiveServlet/showImage/235972/15.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235977/17.pnghttp://scn.sap.com/servlet/JiveServlet/showImage/235976/16.png
  • 8/9/2019 Create Subsequent Tasks With Action Profile

    10/10

    3/2/2015 Create subsequent tasks with Action Profile | SCN

    h d

    Follow SCNSite Index Contact Us SAP Help PortalPrivacy Terms of Use Legal Disclosur e Copyr ight

    Average User Rating

    (1 rating)

    0 Tweet

    Result is task Z001 is create. *Dont forget to assign the Action profile at trasaction type.

    1489 ViewsTopics: customer_relationship_management Industries: banking , insurance Tags: sap , crm , webclientui , sapcrm , webclient ,

    opportunity , service , sap_crm , crm_7.0 , bp

    2 Comments

    Like (1)

    Gustavo Busch Jun 25, 2013 2:34 PM

    Perfect job, very good tutorial.Step by step gives us a very easy understanding.Congratulations.

    Like (0)

    Marcio Debize Jun 26, 2013 12:11 AM

    http://help.sap.com/saphelp_470/helpdata/en/40/f437392780225fe10000000a114084/frameset.htm

    http://scn.sap.com/community/crm/tags#/?tags=servicehttp://bit.ly/SCNLnIhttp://scn.sap.com/community/crm/tags#/?tags=opportunityhttp://scn.sap.com/community/crm/tags#/?tags=sap_crmhttp://help.sap.com/http://scn.sap.com/community/crm/tags#/?tags=customer_relationship_managementhttp://scn.sap.com/people/marcio.debizehttp://bit.ly/SCNyouThttp://www.sap.com/corporate-en/our-company/legal/impressum.epxhttp://bit.ly/SCNTwRhttp://scn.sap.com/community/crm/tags#/?tags=crm_7.0http://scn.sap.com/community/crm/tags#/?tags=crmhttp://scn.sap.com/docs/DOC-19361http://scn.sap.com/community/crm/tags#/?tags=webclientuihttp://www.sdn.sap.com/irj/scn/policy?view=PPhttp://scn.sap.com/community/crm/tags#/?tags=bphttp://scn.sap.com/community/crm/tags#/?tags=bankinghttp://scn.sap.com/people/gustavo.buschhttp://bit.ly/SCNFBhttp://scn.sap.com/community/crm/tags#/?tags=sapcrmhttp://scn.sap.com/community/crm/tags#/?tags=insurancehttp://spr.ly/SCNgoogleplushttp://www.sdn.sap.com/irj/scn/policyhttp://scn.sap.com/servlet/JiveServlet/showImage/235978/18.pnghttp://scn.sap.com/docs/DOC-18476http://help.sap.com/saphelp_470/helpdata/en/40/f437392780225fe10000000a114084/frameset.htmhttp://www.sap.com/corporate-en/our-company/legal/copyright/index.epxhttp://scn.sap.com/community/crm/tags#/?tags=saphttp://scn.sap.com/community/crm/tags#/?tags=webclient