SAP BLOG SAP Central Finance & using AIF effectively

SAP Blog

Kayıtlı Üye
Katılım
22 Ara 2017
Mesajlar
1,925
Tepki puanı
7
Puanları
6
Screenshot_1.png


Application Interface Framework (AIF) is an important and mandatory component when you are working with SAP Central Finance. The data flow from source system to target system passes a stage where the dashboard of successful and failed messages is visible.

For SAP Central Finance the name space is = /FINCF

20-1.png


To start with the process first the AIF content needs to be extracted

21-1.png


After this system will add the sub interfaces in transaction /AIF/IFMON (like below)

22-2.png


To view this, you need to have access to view AIF messages. Your user needs to be added in AIF RECIPIENT table

Enter the name of the user and create a new entry for the following:

  • Namespace: /FINCF
  • Recipient for Alert: CFIN_RECIPIENT
  • Message Type: Application Error or Technical Error
  • Select the Include on Overview Screen checkbox

23-1.png


AIF is very performance heavy application so ensure in your set up the parameters are controlled by you.

AIF is triggered via enablers (/AIF/CL_ENABLER_XML > > TRANSFER_TO_AIF method)

24-1.png


If in this case if 1 message is transferred via AIF then AIF will not wait for 19 messages and it will create a job for 1 message. Job will be created for RUN and RUN creates the child job (PACKAGE). So if you are sending 800 messages one by one then you are asking AIF to create 800*2 =1600 background jobs. This can be huge for system performance. This issue can be avoided by doing this set up correctly and using other options to execute AIF RUN.

25-1.png


Automation in AIF

Once SAP Central Finance goes live AIF is the daily job for the users (depending on how organization is structured) who are monitoring AIF. So its also important to think forward and rather someone manually looking at errors, coordinating with relevant teams like master data, IT, Functional etc so automation can be plugged in to make process simpler/faster as every month you need to have AIF clean as much as possible.

Some examples are below but its more dependent on project/customer.

  1. Custom hints

26.png


27.png


2. Classification of messages by system/Company code/Controlling area

28.png


3. Classification of messages by Message type

29.png


4. Upload Assignments of AIF Error Message Numbers to Error Categories.

In AIF, users can use recipient setting to define which user is responsible for which data message. AIF has introduced several customizing tables to let users define message categories and message assignments. With the functionality users can define the responsible person with message categories for FI interfaces. If the list with message categories is quite long, it is very cumbersome to maintain the assignments.

With this enhancement, you can now upload the assignments of AIF messages to message categories from a file. Specifically, you can update the AIF message category assignments in batches to save time.

Steps

  1. Go to transaction – /AIF/MANAGE_MSGC_ASN

30.png


2. Generate Template

31.png


3. Prepare Template

32.png
4. Upload Template

33.png


5. Loaded

34.png


Fiori Apps are also available for AIF

Screenshot_2.png


Screenshot_3.png


Standard Roles available for AIF

RoleDescription
/AIF/ALLAIF All authorizations
/AIF/ARC_CREATEArchiving Creator
/AIF/ARC_DISPLAYDisplay Archive
/AIF/ARC_RELOADReload Archive
/AIF/CORRECT_DATARun Correction Report
/AIF/CUST_CHANGEChange Customizing
/AIF/CUST_DISPLAYDisplay Customizing
/AIF/DATA_CHANGE_LOGDisplay data change log
/AIF/ERRHDL_CHANGEChange data in Error handling
/AIF/ERRHDL_CHANGE_EMCChange data in Error handling in Emergency Correction
/AIF/ERRHDL_DISPLAYDisplay data in Error handling
/AIF/ERRHDL_DISPLAY_EMCDisplay data in Error handling in Emergency Correction
/AIF/LOG_DISPLAYDisplay Interface Logs
/AIF/MESSAGE_NOTIFICATIONMessage Notification
/AIF/MSG_STAT_SNAP_SHOTMessage statistic snapshot
/AIF/PERFORMANCE_ANALYSISRun AIF Performance Analyser
/AIF/PROCESS_INBProcess Inbound Message
/AIF/PROCESS_OUTBProcess Outbound Message
/AIF/PROCESS_RESRestart Message
/AIF/SWITCH_FRAMEWORKAIF Switch Framework
/AIF/TEST_TOOLRun AIF Test Tool
/AIF/VMAP_CHANGEChange Value Mapping
SAP_AIF_ADMINAIF Administrator
SAP_AIF_ALLAIF All Authorizations
SAP_AIF_ARCHITECTAIF Architect
SAP_AIF_AUDITORAIF Auditor
SAP_AIF_DATA_PROT_OAIF Data Security Officer
SAP_AIF_DEVELOPERAIF Developer
SAP_AIF_POWER_USERAIF Power User
SAP_AIF_PROCESSINGAIF Processing
SAP_AIF_TEST_TEMPLAIF Test Template (Non-Productive)
SAP_AIF_USERAIF Business User

There are many tips & tricks for using AIF and minimising performance issues. I will try to compile more on this topic and try to have a subsequent blog.

Hope you enjoy reading this and use it in your projects.

Okumaya devam et...
 
Üst