Introduction to Winshuttle Journal Entry > Add custom scripts to Journal Entry
Add custom scripts to Journal Entry
In addition to the default templates that are included with Winshuttle Journal Entry, you can create custom templates based on Winshuttle Transaction scripts and BAPIs. You can add custom scripts for both Journal Entry with Connect and Journal Entry with Central.
Important: Nested loops are not supported in Journal Entry.
Tips for importing Transaction scripts
- Test the Transaction script thoroughly before you import it into Journal Entry.
- If you need to add, delete, or change a field, make the update first in Transaction and test it.
- If you are updating an existing script, first delete the old script in Journal Entry and then import the updated script from Transaction.
- Do not map multiple fields to the same cell or column in Transaction (for example, posting date and document date). Journal Entry requires a separate cell or column for each field.
- Use the same mapping for a field in Journal Entry and Transaction.
Add a custom Journal Entry script
- In Journal Entry, on the Options menu, click Add Custom Script.
- In the Select Business Process drop-down menu, choose General Ledger, Accounts Payable, Accounts Receivable, Accrual/Deferral, or BAPI.
- In the Select Mode drop-down menu, choose Simple Post, COPA Post (for General Ledger), or Multi Company Post.
Note: For BAPI, select only Simple Post. For Accounts Payable and Accounts Receivable, do not select Multi Company Post.
- Browse to select a Transaction or BAPI script. Both are .txr files.
- Specify the t-code name and description.
Note: Choose a definition that will help you identify this script.
- Specify how Runners complete a data file:
- Post
- Park
- Save as Completed
- Post and Park
- Post and Save as Completed
Save as Completed is similar to Park, but it requires the document to be balanced.
- Click Next.
- Select fields for the Document Value, the Posting Date, and the Is Debit/Credit Indicator.
Important: You can specify that fields that are mandatory for your SAP system, but you will not be able to change the settings later. The other option is to use the Required Field check box that appears in the template customization settings.
- Specify the Default Debit Indicator (e.g., S or Debit) and the Default Credit Indicator (e.g., H or Credit).
- Click Finish.
- In Winshuttle Journal Entry, click Customize New Template, click the business process for which the custom script was added, and click the new script.
- Create a custom template for the script.