Open navigation

SAP Variants (Advanced)

Modified on Tue, 15 Aug 2023 at 10:33 AM

Info: Please note we are not SAP specialists. The examples given are from our SAP environment, but yours might differ. If you have any questions relating to your SAP environment, please contact your SAP Support Team.

The previous article talked about how to set up a variant in SAP that can be read by the SAP program task type in Aico.

This article will focus on more advanced topics and some special case behaviour that we have experienced in SAP.

Asset History sheet special handling. 

KSU5, KEU5, KSV5 assessment cycle programs. 

Maximum No. of Hits.

Asset History sheet special handling. 

We have seen some unique behaviour in the Asset history sheet report (S_ALR_87011990) which is commonly used by Aico customers. 

Report date: SAP sets a default date in the Report date value of the last day of the current year, which can cause some problems when Aico is trying to run this program. It is recommended that this field is set to Save field without values.

SO_DEAKT (Deactivation date): is a (usually hidden) field in which SAP sets an unexpected value and this again should be set to Save without values to ensure that this is cleared before Aico runs the program.

GL Account Balances Report S_ALR_87012301: 

This program does not seem to run correctly if you set a user-defined layout in the variant, but it is fine if you select a shared layout. In the image below the lower layout does not work.

KSU5, KEU5, KSV5 assessment cycle programs. 

We have found that you need to call up the full program name for these assessment cycle programs rather than use the T-codes for Aico to be able to run these.




The way you set these up is to go into your SAP and run T-code SE38.

There you enter the program name, RKGALKSU5 for example, and set the Variants radio button, then press Execute.

You can then enter parameters (1) and save a variant (2), as seen below.

When you then get to Aico you call the program name RKGALKSU5 etc. and set the variant that you saved in the same way as you do with a T-code. You can then use Aico smart tags etc. in the normal way.

Maximum No. of Hits

You will find this parameter in a few SAP reports.

Aico does not like this parameter when you set a value over 999. SAP seems to add a dot in the middle of the number and Aico then no longer recognises this as a number. Our advice here is to leave this empty in the SAP variant and rely on your other settings to return a reasonable number of results.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select atleast one of the reasons

Feedback sent

We appreciate your effort and will try to fix the article