Create the script for a GL document with multiple currencies - Automate_Studio - 20.3

Automate Studio with Connect User Guide

Product type
Software
Portfolio
Integrate
Product family
Automate
Product
Automate > Automate Studio
Version
20.3
Language
English
Product name
Automate Studio
Title
Automate Studio with Connect User Guide
First publish date
2018
Last updated
2024-10-22
Published on
2024-10-22T07:54:52.852256

To use the /WINSHTLQ/POST_ACDOC_MULT_CURR RFM to post documents that contain multiple currencies, Automate Function Module version 11.3.0 or later must be installed on the SAP system and configured for the multiple-currency RFM.

  1. In Studio, click File, click New, click Direct, and click Create from BAPI.
  2. Log on to SAP, and click Create Script.
  3. In the Search/BAPI box, select RFM, and search for *WINSHTLQ*.
  4. Select the /WINSHTLQ/POST_ACDOC_MULT_CURR RFM, and click Create from Selected BAPI.

  5. In the workspace, select tables and fields that you want, including the currency type, currency key, and amount items for LOCAL, GROUP, and HARD in the ACCOUNTGL table.

    local curr type local currency local amt doccur group curr type group currency group amt doccur hard curr type hard currency hard amt doccur

  6. Map the script, using column-based or cell-based mapping. Be sure to map the currency fields, the RETURN-MESSAGE field, and the ExportOthers-CHECK_POST field.
  7. On the Run tab, or in the Excel Add-in, enter the header data.
  8. Enter the data for each line item, including the currency type, currency key, and amount.
  9. Add the loop identifiers in the Loop ID columns.
  10. Test. run, or publish the script.