common mistakes to avoid when building dynamic actions

Upload: sandy1412

Post on 07-Jan-2016

216 views

Category:

Documents


0 download

DESCRIPTION

Common Mistakes to Avoid When Building Dynamic Actions

TRANSCRIPT

Common Mistakes to Avoid When Building Dynamic ActionsWednesday, April 6th, 2011Having problems building the perfect Dynamic Action? Here are some hints to make them easier to create.Keep these simple rules in mind when working with Dynamic Actions:1. Ensure you have no typing errors. Your spelling must be exact, along with your field names.2. When using a date constant, use the date format YYYYMMDD (YYYY Year,MMMonth,DDDay).3. Enter all letters in upper caseALWAYS.4. Make sure to always enter leading zeroes or spaces.5. When numbering your Dynamic Actions, make sure to skip at least a couple of numbers between each sequential number so as to allow for additional lines to be added later.6. Remove any spaces between field names or variables within your statement. For example:

7. When creating consecutive OR statements, you must follow each statement by adding /X at the end, EVEN on the very last statement that is not going to be followed by an OR statement. For example:

8. When creating or editing data via a batch input session, keep in mind Dynamic Actions are bypassed and not processed during these activities.In batch input, you must specify the exact sequence of the screens. To ensure this is the case, you must have already programmed the dynamic action checks before you create the batch input session.Infotypes that usually only appear in the system as a result of a dynamic action should be updated by calling up the transaction separately.9. Use Excel to track and document Dynamic Action configuration. Always take a snapshot of current configuration BEFORE making changes. Excel is a great tool for building and reviewing detailed Dynamic Actions to ensure there is no typing or syntax errors before transferring your code into to SAP.