-
Getting started with Aico
- Logging into Aico for the First Time
- Creating your first journal
- Creating your first request
- Creating your first payment
- Creating your first Intercompany Invoice
- Working with Closing Tasks
-
Working with Journals
- An overview of Aico journals
- How to create a manual journal
- Create a journal by copying existing journals
- Import new journals from Excel
- How to import multiple journals from one Excel spreadsheet
- What are recurring journal entries?
- How to create Recurring Duplicate Journal entries
- How to create Recurring Allocation journal entries
- Create recurring journals with automatic reversals
- Reversing documents
- Import data to existing journals
- Working with Reconciliations
- Universal Settings
- Dashboards
- Closing Tasks
-
System Manager
-
Users and User Groups
- Overview of Users and User Groups
- Add user accounts
- Edit user account data
- Manage user groups
- Manage user roles
- Copying roles at the company level
- Copy user roles from individual users
- Create a user report
- Manage administrative user rights
- Super user mode
- Additional super user global admin rights
- User and User group export and import
- Value sets
- Currency Amount Groups
- Mail notifications
- Tax codes
- Maintenance
- Periods
- Companies
- Archiving
- Managing PDFs
-
Users and User Groups
-
Automation Manager
- Introducing Automation Manager
- Core Set Up
-
Task Templates
- Introducing task templates
- Creating task template details
- The Aico Document
- Aico document headers
- Preparer and Approver workflow settings
- Overriding parameters at a company level
- Master data export and import
- Set a custom schedule
- Dependent tasks in Aico
- How to use Smart tags in Aico
- How to add an attachment to a task template
- How to create a preparer start time
- Cross company dependent tasks
- Related link types
- Task Generation
- Companies
- Administrative tasks
-
Aico Announcements
-
Announcements
- NEW: Journal Entry Automation Deep Dive
- Aico Skills Lab: Journal Entry Configurations Tricks & Tips (Rescheduled)
- NEW: Aico Skills Lab Tips & tricks for Aico Journal Entries configuration
- NEW: Account Reconciliation Skills Lab Exclusively for Super Users!
- Public holiday dates 2024: Aico Support Unavailable.
- NEW: Software Release Presentation: Enhancing User Experience 24.1
- Public holiday dates 2023: Aico Support Unavailable.
- Release notes
- Maintenance Schedule
- Support Alerts
-
Announcements
- Aico Reviews
Aico supported SAP program guidelines
Modified on Tue, 15 Aug, 2023 at 10:04 AM
This article goes through some guidelines to enable SAP programs to run from Aico.
You can encounter SAP authorisation issues when running programs.
- Remember you will need personal authorisation rights to run a program and save the variant.
- You are very likely to have different rights in your SAP test versus production environments.
- In order to run the program from Aico, Aico's technical user will also need to have authorisation rights to run the program in both test and production.
If you have any questions regarding your own SAP environment, contact your own SAP support team.
This article covers:
- Running SAP in the background
- Program support setting
- Dynamic selections
- Spool format
- How to test if a program is Aico compatible
- Testing report execution
- Test that program is finished
- Testing the printout
- Special Cases
Running SAP in the background
It must be possible to run the SAP program in the background. If the program is only built to be run from the SAP GUI directly, it cannot be run from Aico.
For example, the FS10N program can only run from the SAP GUI. However, there are almost always alternative programs that can deliver the same output. In this example, S_ALR_87012277 will give you the same information as FS10N.
Program support setting
The program should support setting a standard (not selection) variant.
Aico’s smart tag functionality manipulates the SAP variant when the program is run. The program, therefore, should have the option to use a variant.
This is not always mandatory. Some programs can be executed in the background without variants using static values. But this varies case by case and would require you to investigate further.
Dynamic selections
Aico typically supports dynamic selections, although there are few cases when there have been problems.
Spool format
Spool format must be in the ABAP List, shown below.
Currently, Aico does not support the OTF format typically used for SAP invoice creation.
This is because Aico Z-function uses the standard SAP function modules:
RSPO_RETURN_ABAP_SPOOLJOB
RSPO_RETURN_ABAP_SPOOLJOB_RAW
How to test if a program is Aico compatible
You can test compatibility via the SAP GUI using T-code SE37, assuming Aico’s closing package is installed into your SAP system.
Testing report execution
Enter T-code SE37, then enter the Aico function module name /AICO/START_PRT_DYN_SEL and press the spanner button.
Enter the T-code or program name into the I_CODE field
Set the saved variant name into I_VARIANT
Finally, flag USE_RAW_FORMAT (introduced in newer versions of the functions).
Press execute.
If the background execution is successful, you will see E_JOBCOUNT and E_JOBNAME. If there are any errors, you will see those in the E_BAPIRET2 structure.
Test that program is finished
After the job is started, you can see from T-code SM37 it is running. When it is finished, the spool file will be created.
Testing the printout
After the background job is finished and the spool file is created, Aico uses the job number to retrieve the spool file and converts it into an Excel and/or PDF. You can test if this will work in Aico.
Go to SE37 and enter the Aico function module name /AICO/GET_PRINTOUT (Z_AICO_GET_PRINTOUT) and press the spanner button.
Enter the job count and job name. Press execute.
You will see PDF in XSTRING mode in the E_PDF parameter
The T_PRINTOUT table shows the spool output
The T_BAPIRET2 includes the Job log
Special Cases
It is possible to execute in the background some programs which do not create spool files. In these cases, Aico only returns the Job log.
Sometimes spool files contain strange characters which Aico does not recognise. These include less common languages or control characters from other systems. In these cases, some changes on the Aico side are needed. However, you can still test the functionality inside SAP. An error message will pop up in Aico. Please contact Aico Support at this point.
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article