Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
Begin of 2018 we have changed the license metric of SAP Application Interface Framework (AIF) from a named user based to a transaction based pricing model. I think that transaction based metric pretty much makes sense because it best reflects the value of the solution to our customers. The more messages monitored and processed through SAP AIF, the more valuable the solution for our customers.

Since then I have received many questions from customers and partners about the new license model. Also the fact that SAP AIF has become an integral part of the SAP S/4HANA technology both for on-premise and for cloud, led to some uncertainties around licensing.

So, let's try to shed some light into the license topic hopefully addressing most of your questions asked.

How is the metric defined?


The metric is Transactions. The number of transactions is counted per year.


What is a transaction?


A transaction corresponds to a message that is processed or monitored in SAP AIF.
In principle, a transaction corresponds to a single entry that is displayed in the SAP AIF monitor.
Technically speaking, the audit report counts all entries within all single index tables of SAP AIF. Note that for each interface a single index table exists, and each AIF message is recorded in the same.

Examples

  • Flat file (csv) for uploading business partner information with 1000 rows are split up into 1000 single entries, so this ends up at 1000 transactions.

  • IDoc package for stock transfer with 500 individual IDocs enters SAP AIF, so this ends up at 500 transactions.

  • A single sales order with 20 line items is processed via ABAP proxies, order is not split up into individual line items, so this ends up at 1 transaction.


How is SAP AIF sold?


SAP AIF is sold in blocks of one million transactions. There are three tiers defined whereas price per block goes down the higher the yearly transactional volume. The license material number for all tiers is 7020287.

  • Tier 1: up to 50 blocks, i.e., if you have a message volume of up to 50 Million per year

  • Tier 2: between 51 and 100 blocks

  • Tier 3: all above 100 blocks


In addition, as of March 2nd 2020, AIF is also available as SAP S/4HANA Cloud for Application Interface Framework, extended edition (fka Single Tenant Edition). This is a cloud offering for any medium and large customer covering the full scope of functionalities necessary to build a holistic system in the cloud with focus on S/4HANA innovation. The functionality is available in modular packages, which can be combined. Each package has a subscription price, which included licenses, enterprise support, infrastructure, and application management service. All packages follow the same commercial terms and have been created along the same commercialization model. It is licensed by the same transaction based metric and blocks of 1 Million transactions per year (license material ID 8008257).

For a concrete price tag per block and overall costs, please reach out to your account representative.


How do I know how many blocks are required?


You need to determine the number of transactions per year based on business transactions from past years or expected volume in future. Either you know roughly the number of business documents that you exchange during a specific time frame such as number of orders in your system generated per year. Or you may look into the respective message monitors. This depends on the technology used.

What about existing customers?


Although the old SAP AIF material codes have been removed from the price list, existing customers can buy under the “more of the same” principle.



This however does not apply to customers that have converted to the SAP S/4HANA Enterprise Management license as the user based licensing is obsolete in this scenario. Here, you need to buy under the new transaction based model. Usually, a conversion credit for your past purchase can be issued. In this case, please reach out to your account representative.

How is SAP AIF licensed in SAP Business Suite?


SAP AIF as stand-alone product for developing, processing and monitoring your interfaces:

  • SAP AIF is shipped as separate software components (AIF and AIFX)

  • For this usage, you need to purchase the full SAP AIF license

  • Starting from the following releases, a license check is carried out and eventually restricts the usage of AIF

    • AIF 3.0 SP04

    • AIF 4.0 SP00





  • In order to enable full AIF usage rights, the product SAP Application Interface Framework 1.0, extended edition (technical name: APPLIC INTERFACE FW EXT 01) needs to be installed in addition to the AIF component(s); contains AIFGEN software component


How is SAP AIF licensed in SAP S/4HANA?


SAP AIF as integral part of SAP S/4HANA:

  • AIF is shipped as part of the SAP S/4HANA core component (S4CORE/SAPSCORE)

  • Usage of SAP AIF as a supporting component for only processing and monitoring the AIF interfaces shipped with other SAP products is included in the respective product license, e.g., SAP Advanced Track and Trace for Pharmaceuticals, SAP S/4HANA Finance (fka SAP Simple Finance), SAP Document Compliance (aka eDocument framework), etc.

  • Beyond this scope, i.e., if customers develop, configure, or monitor interfaces in their own AIF namespace, they need to have an AIF license, and have the additional product SAP Application Interface Framework 1.0, extended edition with the software component AIFGEN installed



What about SAP S/4HANA Cloud?


In SAP S/4HANA Cloud, customers cannot maintain or develop their own AIF interfaces. The applications within SAP S/4HANA Cloud ship pre-delivered AIF interfaces. In the Fiori launchpad, the AIF monitoring can be accessed via the message dashboard. Hence, the usage of SAP AIF in SAP S/4HANA Cloud is included in the SAP S/4HANA Cloud product license.

How is AIF audited for licensing?


On an SAP S/4HANA system, we have transactions going through AIF from applications where SAP ships AIF interfaces such as Central Finance for instance which is included in the respective product license and we have additional transactions going through AIF from AIF interfaces that customers have maintained on their own. The challenge is how are the volumes separated with respect to license auditing? All AIF interfaces that SAP ships are actually shipped within namespaces starting with a /. If you create your own custom AIF interfaces, you can only do so within your own custom namespace, / is not allowed here. So, it's simple, the audit report only counts the number of transactions within custom namespaces, i.e., those not starting with a /.

I would also like to point you to the SAP note 2293938 - License Check for SAP Application Interface Framework. This note explains very well the licensing for the different usage of SAP AIF.
28 Comments
Joern_Habicht
Explorer
0 Kudos
"...Note that for each interface a single index table exists, and each AIF message is recorded in the same..."

...provided, that there is a SIDX-table. Using 'structured persistence' (AIF on ECC) and not XML-persistence, a SIDX-table seems not obligatory for an interface.

This is a bit confusing:

  • 'structured persistence' is the recommended persistence towards S4/HANA

  • those interfaces can be implemented without a single index table

  • how works the auditing then?


Or is the recommendation of structured persistence outdated?

Thx for your answer in advance.

Jörn
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Jörn,

regardless of the persistency, a single index table is always updated, if you haven't defined your own custom index table, the standard index table /AIF/STD_IDX_TBL is used and hence taken into account for the licensing auditing.

Alex
former_member41280
Discoverer
0 Kudos
Hi Alexander

 

In case of the initial load of data, let's say a customer just did a migration from ERP to S/4 and would like to fill his system with data from MDG system. In order to transfer the data one would have to use of course an interface, which will run over AIF. In this case, where the customer isnt' actually using the interface in a productive manner but rather for an initial load for data is the nr. of transactions still counted? I personally find it not that plausible as you don't actually benefit of the monitoring and pro-active alerting system of the AIF as the customer is already on the task of uploading the data. If one customer would habe, let's say 500K records, to see them as AIF transactions just because of an initial load, is a bit too much from my perspective.

What would be an alternative, could one use a custom Z Index Table for the initial load?

 

Also in general is actually typical that a customer uses a custom Index Table for an interface. Are those transactions also taken into account for licensing or only what is in /AIF/STD_IDX_TBL?

 

Thank you and best,

Ionut

 
former_member188001
Active Participant
0 Kudos
Thanks for the blog.

Quick question. If we have a custom Odata Service that we want to monitor in AIF for errors, will this also need license to be applied or it comes with the implementation?
jc_r2
Discoverer
0 Kudos
Hi Alexander,

Please inform if we need license for IDoc monitoring in AIF in S4 HANA?

We already use AIF to monitor accounting transactions as part of Central finance.

 

BR

Jay
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Jay,

as mentioned in my blog, even in S/4 you need an AIF license if you like to monitor an interface via AIF where SAP does not ship an AIF interface by default, so whenever you need to create your own AIF interface in your own AIF namespace, an AIF license is required.

Alex
jc_r2
Discoverer
0 Kudos
Hi Alex,

Thank you for clarifying. Will check further.

BR,

Jay
0 Kudos
Hi Thanks for the details so far.

We installed AIF3.0 in our ECC system, but while trying to modify the interfaces its prompting for License.

We have purchased license for a different landscape, could you please confirm, whether we can use the same here as well..?

How can we deploy the license ..Do we need AIFGEN..?

Your help is much appreciated. Now its a show stopper for us.
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
You can use the AIF license for multiple systems however you need to ensure that the overall number of messages across your landscape does not exceed the number of transactions that you have licensed

yes, AIFGEN needs to be installed

Alex
ThomasL
Explorer
0 Kudos
Hi Alexander,

Thanks for the good write-up.

Just to confirm that I understand it correctly:

If we have an external non-sap system communicating with an S/4 on-premise using a SAP standard interface like https://help.sap.com/viewer/19d48293097f4a2589433856b034dfa5/2020.002/en-US/fe62955cd8c34a489b0df6af... for which AIF must be activated (see chapter Message Monitoring and Error Handling), do we require an additional license?

Or is this included in the "Preconfigured AIF interfaces ship in SAP S/4HANA" limited license?

 

Thanks in advance.

Br,

Thomas
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
Hi Thomas,

for this specific scenario, since an AIF interface is provided in an SAP namespace (/SDSLS), there is no additional AIF license required

Alex
ThomasL
Explorer
0 Kudos
Thanks for clearing this out. Keep up the good work.

 

Br,

Thomas
0 Kudos
HI Alexander , Thanks for putting all the info in one place. Have a question on below -

"Central Finance for instance which is included in the respective product license and we have additional transactions going through AIF from AIF interfaces that customers have maintained on their own. "

 

Does it mean for Central Finance in S4 , creating a custom namespace / interface , there is no additional license required. We are implementing CFIN system in S4 on Prem , but getting License error when configuring custom interface and system doesnt let us save. So just wanted to confirm if we need a license or not. Apprecaite your repsonse.

 

Thanks!
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
Hi Rini,

CFIN ships a number of AIF interfaces, those do not need an additional AIF license, the usage for those SAP delivered AIF interfaces is included in the CFIN license, for any other custom AIF interfaces even within a CFIN system an AIF license is required, so, yes, in your case an AIF license is required.

Alex
0 Kudos
Thanks Alexander for confirming
Liji_Mathew
Explorer
0 Kudos
 

Can someone tell me how to download AIF license from SAP market place and upload into S4 HANA 2021.

As per our SAP account manger we have purchased the AIF license, and we can accessed license from SAP market place.

Thanks

Liji
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos

you need to download Software Component AIFGEN, see https://launchpad.support.sap.com/#/notes/3071632

Alex

ulrich_hunn
Explorer
0 Kudos
Hi,
after four month of th year passed I am trying to determine the number of AIF-messages processed so far. Transaction /AIF/IFMON will show me the figures for the interfaces I am registered for - but not all interfaces/messages which have been processed.

Is there an elegant way to determine the # of messages for a time-span, in my case 2023-01-01 - 2023-04-30?

We have roughly 25 own (Z-*) index tables which make a manual determination time-consuming.

Thank you in advance.

 
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
Hi Ulrich,

yes, you can run the function module /AIF/AIF_AUDIT which is used for license auditing

Alex
ulrich_hunn
Explorer
0 Kudos
Hi Alex,

that worked smoothly - and gave us the information needed 👍

Thank you for the quick help. / Ulrich
0 Kudos
Hi Alex,

I have two questions related to AIF licensing :

  1. For any enhancement/modification to SAP delivered AIF interface do we need a license component (AIFGEN) in S/4 HANA ?

  2. Only for customer namespace creation , do we need a license ?


 

Best Regards,

Dilit
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Dilit,

if you can use variants for extending SAP delivered AIF interfaces, you do not need an AIF license, see my other blog about licensing at https://blogs.sap.com/2022/02/17/sap-delivered-aif-interfaces-vs-custom-aif-interfaces/

Alex

AI
Explorer
0 Kudos
Hi Alex - I can see a /TECH namespace in our AIF. Can we use this namespace, change the interface as in change SAP data structure, RAW data structure, change application engine etc and still be compliant with licensing? Obviously I will be using variants to define our own custom action. So I am still using sap delivered name space /TECH and interface WS_TECH but everything under this is custom. Am I still okay from licensing perspective?

Cheers, Arun
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
you can't change standard AIF interfaces in / namespaces, if you like to create a variant, you need to create your own namespace, own namespaces do not require an AIF license, own interfaces in own namespaces do

Alex
AI
Explorer
0 Kudos

Comment deleted. 

AI
Explorer
0 Kudos
Thanks Alex for the quick response, I am following instructions in oss note 2178382  to unlock the  sap delivered namespace. We intend to use /TECH, /MMPUR, /MMIM namespace and add serialization settings to them. Will unlocking a sap namespace mean we need a license? Apologies if this is confusing.
alex_bundschuh
Product and Topic Expert
Product and Topic Expert
0 Kudos
this is a Document Compliance related note, actually it's not allowed to change standard AIF interfaces

Alex
AI
Explorer
0 Kudos
Hi Alex - Is there a way we could add serialization on SAP delivered interfaces where one doesn't exist. /FINF(CFIN) has got serialization and works brilliantly for us but it doesn't exist for /MMPUR or /MMIM or /TECH.

Cheers, Arun