Smart financial automation platform based on SAP system

By designing an intelligent financial automation platform based on the SAP system, we have achieved real-time acquisition, automatic accounting and intelligent inspection of financial data, solved the problem of low efficiency of traditional financial accounting, and improved work efficiency and data accuracy.

CN120689152APending Publication Date: 2025-09-23SHENZHEN NEW NANSHAN HLDG (GRP) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510591605.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-08
Publication Date
2025-09-23

AI Technical Summary

Technical Problem

Traditional financial accounting methods are inefficient, require a lot of manpower, and have low work efficiency at monthly and annual closings, and cannot meet the needs of modern financial management.

Method used

Design a smart financial automation platform based on SAP system, including operation module, appendix configuration module, voucher generation module and report checking module. Through information entry, conditional screening query, authority management, automatic accounting, intelligent inspection and early warning modules, it realizes real-time data acquisition, automatic accounting, intelligent inspection and abnormal warning.

Benefits of technology

It improves the efficiency and accuracy of financial data processing, reduces manpower requirements, reduces the time and error rate of manual accounting through automated accounting and intelligent inspection, and ensures timely processing and quality of data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120689152A_ABST
    Figure CN120689152A_ABST
Patent Text Reader

Abstract

The invention discloses a smart financial automation platform based on an SAP system. The smart financial automation platform comprises an operation module, an attached table configuration module, a voucher generation module, a report checking module and an authority management module. The operation module comprises an information input module, a condition screening query module and a data storage module; and the attached table configuration module comprises an attached table matching module, an attached table maintenance module and an attached table storage module. Real-time acquisition and accurate screening of data can be realized through the arranged operation module, in cooperation with the arrangement of the voucher generation module, the queried data can be subjected to automatic accounting to generate financial vouchers, the efficiency of the automatic accounting mode is obviously improved compared with manual processing, and in addition, in cooperation with the arrangement of the report checking module, the efficiency of the financial vouchers is greatly improved. According to the invention, the generated financial vouchers can be subjected to intelligent checking and account checking at regular intervals, and related personnel are notified by timely early warning when abnormity occurs, so that the intelligent degree and the working efficiency are improved, and the manpower is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of smart financial technology, and in particular to a smart financial automation platform based on the SAP system. Background Art

[0002] With the transformation of financial management, the concept of "management accounting guides financial sharing, and financial sharing supports management accounting" is proposed. Traditional financial accounting work is centrally transferred to the financial sharing center. The financial sharing center usually uses traditional manual accounting methods for accounting. The traditional manual accounting method has low accounting efficiency, requires a large amount of manpower for monthly and annual settlement, and has low work efficiency. Based on the above situation, this application proposes an intelligent financial automation platform based on the SAP system. Summary of the Invention

[0003] Based on the technical problems existing in the background technology, the present invention proposes an intelligent financial automation platform based on the SAP system.

[0004] The invention proposes a smart financial automation platform based on the SAP system, which includes an operation module, a schedule configuration module, a voucher generation module, a report checking module and a rights management module;

[0005] The operation module includes an information entry module, a condition screening and query module and a data storage module;

[0006] The schedule configuration module includes a schedule matching module, a schedule maintenance module and a schedule storage module;

[0007] The voucher generation module includes an automated accounting module and a voucher message centralized management module;

[0008] The report checking module includes an intelligent checking module and an early warning module.

[0009] Preferably, the information entry module is used to enter the company information to be queried, the financial account period and the financial business information, and the entered financial business information is stored by the data storage module;

[0010] The conditional screening query module queries any data of any company in any period according to the entered screening conditions. The expression used in the screening query is as follows:

[0011] Its date range: Date ≥ Start Date AND Date ≤ End Date;

[0012] Amount range: Amount ≥ Min Amount AND Amount ≤ Max Amount;

[0013] Status condition: Status = "Paid" or Status = "Unpaid" and Status ≠ "Cancelled";

[0014] For example, suppose you want to query all unpaid invoices for a company with dates between January 1, 2023, and December 31, 2023, and amounts between 1,000 and 5,000 yuan. The expression can be: Company = "ABC Corp" AND Status = "Unpaid" AND Date ≥ "2023-01-01" AND Date ≤ "2023-12-31" AND Amount ≥ 1,000 AND Amount ≤ 5,000.

[0015] Preferably, the authority management module is used to manage user authority, ensuring that different users have access to corresponding data and functions according to their roles and responsibilities, and that unauthorized personnel cannot operate;

[0016] When managing permissions for the entire platform, each user is assigned to a specific role. Each role has a set of permissions, such as administrator, financial personnel, and auditor. The relationship between roles and permissions is static, and users obtain corresponding permissions through their roles.

[0017] Preferably, the schedule matching module is used to automatically identify different business scenarios based on the characteristics of the queried financial data and match appropriate schedule configurations based on the scenario characteristics. It is also used to define and manage calculation rules related to specific business scenarios to ensure the accuracy and consistency of data in different scenarios. It can also dynamically adjust and update schedule matching rules based on business changes or new requirements.

[0018] When the schedule matching module matches the appropriate schedule configuration according to the scene characteristics, the specific logical steps are as follows:

[0019] S101: First, analyze the queried financial data and extract key features. The data types of the key features include income, expenditure, and assets, and the time dimensions include year, quarter, month, and department or business unit.

[0020] S102: Use the Drools rule engine to perform pattern recognition on the features extracted in S101 to determine which business scenario the data belongs to. In the Drools rule engine, business rules are defined. These rules are written based on the characteristics of financial scenarios, such as pre-tax income calculation and expenditure calculation.

[0021] S103: Identify the most matching business scenario by comparing the extracted features with the business scenario information in the scenario library, and determine the most appropriate appendix based on the preset matching rules;

[0022] The appendix maintenance module provides a user-friendly interface to facilitate users to enter, modify and update appendix data, and performs real-time verification on the entered data to ensure the correctness of the data and supports the review process to improve data quality;

[0023] The appendix storage module supports the storage of multi-dimensional appendix data, facilitates complex multi-scenario calculations and analysis, and can regularly back up the appendix data to ensure data security.

[0024] Preferably, the automated accounting module utilizes automated calculation and accounting rules to automatically calculate and generate financial vouchers based on the queried data. The specific logical steps are as follows:

[0025] S201: The automated accounting module first automatically identifies the transaction type, such as sales, purchase, or expense reimbursement, based on the queried data information and using preset rules. For example, if the queried data description contains words such as "invoice" or "supplier," the automated accounting module will automatically classify such transactions as purchases.

[0026] S202: Based on the identified transaction type and built-in logic, the corresponding accounting entries are automatically calculated. The calculation method of the entries is as follows:

[0027] To standardize the withdrawal and use of safety production fees, operating parks that have been in operation for more than one year are required to accrue safety fees monthly based on the proportion of the previous year's operating income, and the fees are included in the special reserve - withdrawal amount. The actual safety fees incurred each month are also included in the special reserve - usage amount. At the end of each month, the system automatically verifies the safety fee accrual and actual usage. Based on exemption conditions, the difference between the usage and withdrawal amounts is determined to adjust the additional safety fee accrual. The next period will still determine whether to make additional accruals based on the accumulated balance of the special reserve account, and offset the previous month's accrual. This cycle continues until the end of December. The calculation is complex, the actual amount varies monthly, and there are exemption conditions. Built-in logic is used to determine the relationship between the accounts at the end and the beginning of the month.

[0028] S203: After the calculation is completed, financial vouchers are automatically generated and centrally managed through the voucher message centralized management module;

[0029] The credential message centralized management module is used to centrally manage all credential-generated messages and notifications to ensure timely delivery and processing of information.

[0030] Preferably, the voucher generation module compares the current amount A current and historical amount A previous , to determine whether it exceeds the preset adjustment threshold α, the specific generation steps are as follows:

[0031] S301. If | A current -Aprevious |>α·A previous , then calculate the adjustment amount C adjust =A current -A previous ;

[0032] S302. According to the adjustment amount C adjust Generate the corresponding debit or credit voucher:

[0033] If C adjust >0, generate a debit voucher with an amount of D debit =C adjust ,

[0034] If C adjust <0, generate a credit voucher with an amount of D credit =|C adjust |;

[0035] S303. Output the voucher symbol M through framing processing, which is expressed as:

[0036]

[0037] Where μ[D] is the sign function, H is a constant, and τ(k) is the time window function.

[0038] Preferably, the intelligent checking module is used to automatically check the generated financial vouchers at the monthly and annual closing time to identify potential errors and abnormal data;

[0039] The specific logical steps are as follows:

[0040] S401: Pre-build a rule library containing financial document and report review rules in the SAP system's intelligent financial automation platform. These rules include accounting standards, regulatory requirements, company policies, and best practices. The rule library includes data completeness, accuracy, classification correctness, and tax compliance.

[0041] S402: The generated financial voucher data is checked item by item using the self-checking software in the SAP system according to preset financial rules and standards. This includes comparing, validating, and filtering the data using the established rule base to quickly identify potential errors or outliers in the financial voucher report, such as abnormal fluctuations in amounts and items that differ significantly from historical data.

[0042] When the self-check software in the SAP system checks the generated financial voucher data item by item, the procedure used is as follows:

[0043] REPORT z_check_financial_documents.

[0044] DATA:lt_documents TYPE TABLE OF bkpf,"Financial voucher table:

[0045] lt_errors TYPE TABLE OF string,"Error record:

[0046] lv_amount TYPE p DECIMALS2,"Amount:

[0047] lv_previous_amount TYPE p DECIMALS2. "Historical amount"

[0048] Select financial voucher data from the management library of the voucher message centralized management module

[0049] SELECT*INTO TABLE lt_documents FROM bkpf WHERE budat=sy-datum.

[0050] LOOP AT lt_documents INTO DATA(ls_document).

[0051] "Check amount fluctuations

[0052] lv_amount=ls_document-wrbtr.

[0053] "Suppose we have a function that can get historical amounts

[0054] CALL FUNCTION'Z_GET_PREVIOUS_AMOUNT'

[0055] EXPORTING

[0056] iv_document_type=ls_document-blart

[0057] iv_document_year=ls_document-gjahr

[0058] IMPORTING ev_previous_amount=lv_previous_amount.

[0059] "Compare current amount with historical amount

[0060] IF lv_amount>lv_previous_amount*1.2OR lv_amount <lv_previous_amount*0.8.

[0061] APPEND|Document{ls_document-belnr}has amount of fluctuation.|TO lt_errors.ENDIF.

[0062] "Other checking logic can be added here ENDLOOP."

[0063] Output error log

[0064] IF lt_errors IS NOT INITIAL.

[0065] LOOP AT lt_errors INTO DATA(lv_error).

[0066] WRITE: / lv_error.

[0067] ENDLOOP.

[0068] ELSE.

[0069] WRITE: / 'No errors found.'.

[0070] ENDIF.;

[0071] S403: When potential error anomalies are detected, the intelligent inspection module marks these errors and notifies relevant personnel through the early warning module for processing.

[0072] Preferably, the early warning module is used to promptly notify relevant personnel for processing when the intelligent inspection module detects data abnormalities or non-compliance with regulations. When an abnormality is detected, the relevant personnel are notified by email, text message, system message or telephone. The notification usually contains detailed information of the abnormality, such as data, time, etc., for quick response.

[0073] Compared with the existing technology, the beneficial effects of the present invention are:

[0074] The present invention can realize real-time acquisition and accurate screening of data through the setting of the running module, and in conjunction with the setting of the voucher generation module, it can automatically calculate and generate financial vouchers for the queried data. Its automatic calculation method has significantly improved efficiency compared with manual processing. In addition, in conjunction with the setting of the report inspection module, it can regularly perform intelligent inspection and verification of the generated financial vouchers, and promptly warn and notify relevant personnel when an abnormality occurs, thereby improving the degree of intelligence and work efficiency and reducing manpower. BRIEF DESCRIPTION OF THE DRAWINGS

[0075] Figure 1This is a system block diagram of a smart financial automation platform based on the SAP system proposed by the present invention;

[0076] Figure 2 This is a flow chart of an intelligent financial automation platform based on the SAP system proposed by the present invention. DETAILED DESCRIPTION

[0077] The present invention will be further explained below with reference to specific embodiments.

[0078] Example

[0079] Reference Figure 1-2 ,This embodiment proposes an intelligent financial automation platform based on the SAP system,,including an operation module, a schedule configuration module, a voucher generation module, a report checking module,,and a permission management module;

[0080] The permission management module is used to manage user permissions, ensuring that different users have access to corresponding data and functions according to their roles and responsibilities. Unauthorized personnel cannot operate.

[0081] When managing permissions for the entire platform, each user is assigned a specific role. Each role has a set of permissions, such as administrator, financial officer, and auditor. The relationship between roles and permissions is static, and users obtain corresponding permissions based on their roles.

[0082] The operation module includes information entry module, condition screening and query module and data storage module;

[0083] The information entry module is used to enter the company information, financial account period and financial business information to be queried, and the entered financial business information is stored through the data storage module;

[0084] The conditional filter query module queries any data of any company in any period based on the entered filter conditions. The expressions used in the filter query are as follows:

[0085] Its date range: Date ≥ Start Date AND Date ≤ End Date;

[0086] Amount range: Amount ≥ Min Amount AND Amount ≤ Max Amount;

[0087] Status condition: Status = "Paid" or Status = "Unpaid" and Status ≠ "Cancelled";

[0088] For example, suppose you want to query all unpaid invoices for a company with dates between January 1, 2023, and December 31, 2023, and amounts between 1,000 and 5,000 yuan. The expression can be: Company = "ABC Corp" AND Status = "Unpaid" AND Date ≥ "2023-01-01" AND Date ≤ "2023-12-31" AND Amount ≥ 1,000 AND Amount ≤ 5,000.

[0089] The schedule configuration module includes a schedule matching module, a schedule maintenance module and a schedule storage module;

[0090] The schedule matching module automatically identifies different business scenarios based on the characteristics of the queried financial data and matches appropriate schedule configurations based on the scenario characteristics. It also defines and manages calculation rules related to specific business scenarios to ensure data accuracy and consistency across different scenarios. Schedule matching rules can also be dynamically adjusted and updated based on business changes or new requirements.

[0091] When the schedule matching module matches the appropriate schedule configuration according to the scene characteristics, the specific logical steps are as follows:

[0092] S101: First, analyze the queried financial data and extract key features. The data types of the key features include income, expenditure, and assets, and the time dimensions include year, quarter, month, and department or business unit.

[0093] The target financial data is classified by features and desensitized financial data packages are constructed based on different feature categories, including the following analysis steps:

[0094] Step S111: extracting data features A of the target financial data before data desensitization and the corresponding desensitization purpose B from before to after data desensitization;

[0095] Get the desensitization process Q for the desensitization purpose corresponding to the i-th data feature i ,

[0096] Q i ={(x i1 →y i1 ),(x i2 →y i2 ),…(x ik →y ik )}

[0097] k represents the total number of desensitization factors included in the desensitization process for the i-th data feature corresponding to the desensitization purpose; where (x i1 →y i1 ),(x i2 →yi2 ),…(x ik →y ik ) represents the relationship between the 1st, .., kth link in the desensitization process under the desensitization purpose corresponding to the i-th data feature, x ik represents the desensitization factor of the k-th link relationship pair, y ik represents the desensitization means corresponding to the desensitization factor in the k-th link relationship pair;

[0098] Step S112: Using the i-th data feature A i The corresponding target financial data is the root node, and the corresponding data feature A is constructed i Desensitization purpose B i And desensitization process Q i The desensitized financial data packet E of the child node i , E i ={A i →(B i ,Q i )};

[0099] The purpose of constructing a masked financial data package is to quickly extract detailed information related to masking when analyzing financial data with different data characteristics, as well as to directly compare and analyze data with different masking purposes under the same data characteristics;

[0100] The purpose of desensitization is to reflect that in the process of financial data management, different financial data have different desensitization requirements. For example, sensitive object identification technology is used for field data in designated database tables, and protocol parsing technology is used for mainstream database communication protocols.

[0101] When the desensitization change rate is greater than or equal to the desensitization change rate threshold, obtaining the data operation mode R corresponding to the second operation event and the second desensitization purpose corresponding to the target financial data after the second operation event;

[0102] Extract the desensitization process corresponding to the second desensitization purpose and mark it as the second desensitization process;

[0103] When the second desensitization purpose is unique, the second desensitization process is compared with the first desensitization process corresponding to the first desensitization purpose to generate a desensitization difference set P. i ;

[0104] P=Q i+1 -(Q i+1 ∩Q i )={(x (i+1)1 →y (i+1)1 ),(x (i+1)2 →y (i+1)2 ),…(x (i+1)

[0105] k →y(i+1)k )}-[{(x i1 →y i1 ),(x i2 →y i2 ),…(x ik →y ik )}∩{(x (i+1)1 →y (i+1)1 ),(x (i+1)2 →y (i+1)2 ),…(x (i+1)k →y (i+1)k )}];

[0106] where Q i+1 Indicates the desensitization process corresponding to the i+1th desensitization purpose;

[0107] When the second desensitization purpose is not unique, the second desensitization process is sequentially compared with the first desensitization process to generate a desensitization difference set group P; the desensitization difference set group P includes the first, second, ..., d desensitization difference sets;

[0108] Then, the data operation mode corresponding to the second operation event record of the desensitized difference set P1 or the desensitized difference set group P is used as the first factor affecting the data pair, and the desensitized difference set P1 or the desensitized difference set group P is used as the second factor affecting the data pair, to construct the influencing data pair G of the second execution operation event, G = [R, P], thereby improving processing efficiency, avoiding excessive analysis time that provides hackers with potential intrusion nodes, and enhancing the security of the financial system;

[0109] S102: Use the Drools rule engine to perform pattern recognition on the features extracted in S101 to determine which business scenario the data belongs to. In the Drools rule engine, business rules are defined. These rules are written based on the characteristics of financial scenarios, such as pre-tax income calculation and expenditure calculation.

[0110] S103: Identify the most matching business scenario by comparing the extracted features with the business scenario information in the scenario library, and determine the most appropriate appendix based on the preset matching rules;

[0111] The Schedule Maintenance module provides a user-friendly interface for users to enter, modify and update schedule data. It also performs real-time verification on the entered data to ensure data accuracy and supports the review process to improve data quality.

[0112] The appendix storage module supports the storage of multi-dimensional appendix data, facilitating complex multi-scenario calculations and analysis, and can regularly back up appendix data to ensure data security.

[0113] The voucher generation module includes an automated accounting module and a voucher message centralized management module;

[0114] The automated accounting module uses automated calculations and accounting rules to automatically calculate and generate financial vouchers based on the queried data. The specific logical steps are as follows:

[0115] S201: The automated accounting module first automatically identifies the transaction type, such as sales, purchase, or expense reimbursement, based on the queried data information and using preset rules. For example, if the queried data description contains words such as "invoice" or "supplier," the automated accounting module will automatically classify such transactions as purchases.

[0116] S202: Based on the identified transaction type and built-in logic, the corresponding accounting entries are automatically calculated. The calculation method of the entries is as follows:

[0117] To standardize the allocation and use of safety production fees, operating parks that have been in operation for more than one year are required to accrue safety fees monthly based on a percentage of the previous year's operating revenue. These fees are included in the special reserve - withdrawal amount. Actual monthly safety fee incurred is also included in the special reserve - usage amount. At the end of each month, the system automatically verifies the safety fee accrual against actual usage. Based on exemption conditions, the system adjusts the additional safety fee provision based on the difference between usage and withdrawal amounts. The next period will determine whether additional accruals should be made based on the accumulated balance in the special reserve account, offsetting the previous month's accrual. This cycle continues until the end of December. The calculation is complex, actual amounts fluctuate monthly, and include exemption conditions. Built-in logic is required to determine the relationship between month-end and month-beginning accounts.

[0118] 1. Provision of safety fees:

[0119] ① Requirements for calculating production safety fees:

[0120] Safety production fees should be accrued monthly, debiting the "Main business cost - storage / transportation / loading and unloading business cost - safety fee" account and crediting the "Special reserve" account - different main business costs are distinguished by cost center

[0121] ② Company type determination

[0122] 1. For projects under construction and the headquarters management company, expenditures shall be recorded based on actual expenditures and no special reserves shall be set aside;

[0123] 2. For parks that have been in operation for less than one year, actual expenses shall be recorded and no special reserves shall be set aside; (Company type shall be modified annually);

[0124] 3. Parks that have been in operation for more than one year, i.e. operating companies, shall set aside special reserves as required

[0125] ③. Accrual standard (ratio):

[0126] 1. Parks that have been in operation for more than one year:

[0127] (1) If the operating income of the previous year does not exceed RMB 10 million, 1% shall be deducted;

[0128] (2) 0.5% of the portion of the previous year's operating income exceeding RMB 10 million but not exceeding RMB 100 million;

[0129] (3) 0.2% of the portion of the previous year's operating income exceeding RMB 100 million but not exceeding RMB 1 billion;

[0130] (4) For the portion of the previous year’s operating income that exceeds RMB 1 billion, a deduction of 0.1% will be made.

[0131] 2. Adjustment of security fees:

[0132] ①Amount calculation

[0133] 1. If the balance carried forward from the previous year + the amount withdrawn this year >= the amount used this year, it is a normal situation and no action is required;

[0134] 2. If the balance carried over from the previous year + the amount withdrawn this year is less than the amount used this year, it means that the actual safety fees incurred exceed the accrued standard, and additional safety fees need to be accrued based on the difference.

[0135] ②Company type verification

[0136] 1. For projects under construction and the headquarters management company, expenditures shall be recorded based on actual expenditures and no special reserves shall be set aside;

[0137] 2. For parks that have been in operation for less than one year, actual expenses shall be recorded and no special reserves shall be set aside; (Company type shall be modified annually);

[0138] 3. For parks that have been in operation for more than one year, i.e. operating companies, special reserves shall be set aside as required ③ for additional safety fees:

[0139] For example, an operating company had operating revenue of 10 million last year, a safety fee ratio of 1%, and a monthly safety fee accrual of 100,000. However, at the end of the month, the actual safety fee incurred was 90,000 according to the exemption conditions. The system generates accrual and adjustment vouchers with one click, eliminating the need for manual judgment and operation by the financial department. The specific accounting entries are as follows:

[0140] ① Provision of safety fee:

[0141] Debit: Security fee 100,000;

[0142] Credit: Special reserve_withdrawal amount 100,000;

[0143] ② Adjustment of safety fee:

[0144] Debit: Special reserve_withdrawal amount 100,000 (red ink);

[0145] Security fee: 90,000 yuan;

[0146] Loan: Security fee 100,000 (red ink);

[0147] Special reserve_withdrawal amount 90,000.

[0148] S203: After the calculation is completed, financial vouchers are automatically generated and centrally managed through the voucher message centralized management module;

[0149] The credential message centralized management module is used to centrally manage all credential-generated messages and notifications to ensure timely delivery and processing of information.

[0150] The voucher generation module compares the current amount A current and historical amount A previous , to determine whether it exceeds the preset adjustment threshold α, the specific generation steps are as follows:

[0151] S301. If | A current -A previous |>α·A previous , then calculate the adjustment amount C adjust =A current -A previous ;

[0152] S302. According to the adjustment amount C adjust Generate the corresponding debit or credit voucher:

[0153] If C adjust >0, generate a debit voucher with an amount of D debit =C adjust ,

[0154] If C adjust <0, generate a credit voucher with an amount of D credit =|C adjust |;

[0155] S303. Output the voucher symbol M through framing processing, which is expressed as:

[0156]

[0157] Where μ[D] is the sign function, H is a constant, and τ(k) is the time window function.

[0158]

[0159] The report inspection module includes an intelligent inspection module and an early warning module;

[0160] The intelligent check module is used to automatically check the generated financial vouchers at the end of the month and year, and identify potential errors and abnormal data;

[0161] The specific logical steps are as follows:

[0162] S401: Pre-build a rule library containing financial document and report review rules in the SAP system's intelligent financial automation platform. These rules include accounting standards, regulatory requirements, company policies, and best practices. The rule library includes data completeness, accuracy, classification correctness, and tax compliance.

[0163] S402: The generated financial voucher data is checked item by item using the self-checking software in the SAP system according to preset financial rules and standards. This includes comparing, validating, and filtering the data using the established rule base to quickly identify potential errors or outliers in the financial voucher report, such as abnormal fluctuations in amounts and items that differ significantly from historical data.

[0164] When the self-check software in the SAP system checks the generated financial voucher data item by item, the procedure used is as follows:

[0165] REPORT z_check_financial_documents.

[0166] DATA:lt_documents TYPE TABLE OF bkpf,"Financial voucher table:

[0167] lt_errors TYPE TABLE OF string,"Error record:

[0168] lv_amount TYPE p DECIMALS2,"Amount:

[0169] lv_previous_amount TYPE p DECIMALS2. "Historical amount"

[0170] Select financial voucher data from the management library of the voucher message centralized management module

[0171] SELECT*INTO TABLE lt_documents FROM bkpf WHERE budat=sy-datum.

[0172] LOOP AT lt_documents INTO DATA(ls_document).

[0173] "Check amount fluctuations

[0174] lv_amount=ls_document-wrbtr.

[0175] "Suppose we have a function that can get historical amounts

[0176] CALL FUNCTION'Z_GET_PREVIOUS_AMOUNT'

[0177] EXPORTING

[0178] iv_document_type=ls_document-blart

[0179] iv_document_year=ls_document-gjahr

[0180] IMPORTING ev_previous_amount=lv_previous_amount.

[0181] "Compare current amount with historical amount

[0182] IF lv_amount>lv_previous_amount*1.2OR lv_amount <lv_previous_amount*0.8.

[0183] APPEND|Document{ls_document-belnr}has amount of fluctuation.|TO lt_errors.ENDIF.

[0184] "Other checking logic can be added here ENDLOOP."

[0185] Output error log

[0186] IF lt_errors IS NOT INITIAL.

[0187] LOOP AT lt_errors INTO DATA(lv_error).

[0188] WRITE: / lv_error.

[0189] ENDLOOP.

[0190] ELSE.

[0191] WRITE: / 'No errors found.'.

[0192] ENDIF.;

[0193] S403: When potential errors and anomalies are detected, the intelligent inspection module marks these errors and notifies relevant personnel through the early warning module for processing;

[0194] The early warning module is used to promptly notify relevant personnel for processing when the intelligent inspection module detects data anomalies or non-compliance with regulations. When an anomaly is detected, the relevant personnel are notified by email, SMS, system message or phone call. The notification usually contains detailed information about the anomaly, such as data, time, etc., for quick response.

[0195] This embodiment can realize real-time acquisition and accurate screening of data through the setting of the running module, and in conjunction with the setting of the voucher generation module, it can automatically calculate and generate financial vouchers for the queried data. Its automatic calculation method is significantly more efficient than manual processing. In addition, in conjunction with the setting of the report inspection module, it can regularly perform intelligent inspection and verification of the generated financial vouchers, and promptly warn and notify relevant personnel when an abnormality occurs, thereby improving the degree of intelligence and work efficiency and reducing manpower.

[0196] In this embodiment, when in use, the authority management module can be used to restrict the operation of the entire platform. Personnel without authority cannot operate. During use, authorized personnel can enter the data conditions to be queried through the information entry module, which include the company information to be queried, the financial account period, and the financial business information. After entering the information, the condition screening module will query the corresponding financial data according to the entered screening conditions. At the same time, the appendix matching module automatically identifies different business scenarios based on the characteristics of the queried financial data, and matches the appropriate appendix configuration according to the scenario characteristics. Staff can regularly check and update the appendix data through the appendix maintenance module. By automatically querying data by entering screening conditions, real-time data acquisition and accurate screening can be achieved.

[0197] At the same time, the automated accounting module uses automated calculation and accounting rules to automatically calculate and generate financial vouchers based on the queried financial data. The generated financial vouchers are centrally managed and stored through the voucher message centralized management module. After completing all the vouchers, users can use the intelligent inspection module to check and verify the financial vouchers at the end of the month and year, identify potential errors and abnormal data, and notify the relevant personnel of the identified error information via email, text messages, system messages or telephone calls, so that the personnel can be informed and dealt with in time. The method of automatically calculating and generating financial vouchers for the queried financial data is significantly more efficient than the manual accounting method in the existing technology, and is combined with intelligent inspection and verification and timely warning when abnormalities occur, thereby improving the level of intelligence and reducing manpower.

[0198] For example, before using the platform, a company primarily relied on manual checks, which led to issues such as oversight and inefficient checkout. Specifically, they had to verify the completion of each company's monthly checkouts through offline ledgers, manually identifying missed items; they had to query account balance sheets to screen for abnormal balance fluctuations; and the workload of verifying internal transactions and cash flow data was substantial, making accuracy difficult to ensure.

[0199] After the platform was introduced, the system's built-in inspection logic enabled one-click scanning for checkout risk points, pinpointing issues through red, yellow, and green light indicators, significantly improving checkout efficiency and data quality. The application process is as follows: The inspection function can be activated at any time during the monthly checkout period to identify risks in real time; issues are quickly addressed using red, yellow, and green light status indicators; and before generating reports, all inspection items are checked to ensure there are no red light warnings, ensuring data reliability.

[0200] The above description is only a preferred specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with the technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solution and inventive concept of the present invention, should be covered by the scope of protection of the present invention.

Claims

1. An intelligent financial automation platform based on SAP system, characterized by: It includes operation module, schedule configuration module, voucher generation module, report checking module and authority management module; The operation module includes an information entry module, a condition screening and query module and a data storage module; The schedule configuration module includes a schedule matching module, a schedule maintenance module and a schedule storage module; The voucher generation module includes an automated accounting module and a voucher message centralized management module; The report checking module includes an intelligent checking module and an early warning module.

2. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The information entry module is used to enter the company information to be queried, the financial account period and the financial business information, and the entered financial business information is stored by the data storage module; The conditional screening query module queries any data of any company in any period according to the entered screening conditions. The expression used in the screening query is as follows: Its date range: Date ≥ Start Date AND Date ≤ End Date; Amount range: Amount ≥ Min Amount AND Amount ≤ Max Amount; Status condition: Status = "Paid" or Status = "Unpaid" and Status ≠ "Cancelled".

3. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The authority management module is used to manage user authority, ensuring that different users have access to corresponding data and functions according to their roles and responsibilities, and that unauthorized personnel cannot operate; When managing permissions for the entire platform, each user is assigned to a specific role. Each role has a set of permissions. The relationship between roles and permissions is static, and users obtain corresponding permissions through their roles.

4. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The schedule matching module is used to automatically identify different business scenarios based on the characteristics of the queried financial data and match appropriate schedule configurations based on the scenario characteristics. It is also used to define and manage calculation rules related to specific business scenarios to ensure the accuracy and consistency of data in different scenarios. It can also dynamically adjust and update schedule matching rules based on business changes or new requirements; When the schedule matching module matches the appropriate schedule configuration according to the scene characteristics, the specific logical steps are as follows: S101: First, analyze the queried financial data and extract key features. The data types of the key features include income, expenditure, and assets, and the time dimensions include year, quarter, month, and department or business unit. S102: Using the Drools rule engine, perform pattern recognition on the features extracted in S101 to determine which business scenario the data belongs to. In the Drools rule engine, business rules are defined. These rules are written based on the characteristics of the financial scenario. S103: Identify the most matching business scenario by comparing the extracted features with the business scenario information in the scenario library, and determine the most appropriate appendix based on the preset matching rules; The appendix maintenance module provides a user-friendly interface to facilitate users to enter, modify and update appendix data, and performs real-time verification on the entered data to ensure the correctness of the data and supports the review process to improve data quality; The appendix storage module supports the storage of multi-dimensional appendix data, facilitates complex multi-scenario calculations and analysis, and can regularly back up the appendix data to ensure data security.

5. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The automated accounting module uses automated calculations and accounting rules to automatically calculate and generate financial vouchers based on the queried data. The specific logical steps are as follows: S201: The automated accounting module first automatically identifies the transaction type based on the queried data information using preset rules. If the queried data description contains the words "invoice" or "supplier," the automated accounting module automatically classifies the transaction as a purchase type. S202: Based on the identified transaction type and built-in logic, the corresponding accounting entries are automatically calculated. The calculation method of the entries is as follows: To standardize the withdrawal and use of safety production fees, operating parks that have been in operation for more than one year are required to accrue safety fees monthly based on the proportion of the previous year's operating income, and the fees are included in the special reserve - withdrawal amount. The actual safety fees incurred each month are also included in the special reserve - usage amount. At the end of each month, the system automatically verifies the safety fee accrual and actual usage. Based on exemption conditions, the difference between the usage and withdrawal amounts is determined to adjust the additional safety fee accrual. The next period will still determine whether to make additional accruals based on the accumulated balance of the special reserve account, and offset the previous month's accrual. This cycle continues until the end of December. The calculation is complex, the actual amount varies monthly, and there are exemption conditions. Built-in logic is used to determine the relationship between the accounts at the end and the beginning of the month. S203: After the calculation is completed, financial vouchers are automatically generated and centrally managed through the voucher message centralized management module; The credential message centralized management module is used to centrally manage all credential-generated messages and notifications to ensure timely delivery and processing of information.

6. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The voucher generation module compares the current amount A current With historical amount A previous , to determine whether it exceeds the preset adjustment threshold α, the specific generation steps are as follows: S301. If | A current -A previous |>α·A previous , then calculate the adjustment amount C adjust =A current -A previous ; S302. According to the adjustment amount C adjust Generate the corresponding debit or credit voucher: If C adjust >0, generate a debit voucher with an amount of D debit =C adjust , If C adjust <0, generate a credit voucher with an amount of D credit =|C adjust |; S303. Output the voucher symbol M through framing processing, which is expressed as: Where μ[D] is the sign function, H is a constant, and τ(k) is the time window function.

7. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The intelligent checking module is used to automatically check the generated financial vouchers at the end of the month and year, and identify potential errors and abnormal data; The specific logical steps are as follows: S401: Pre-build a rule library containing financial document and report review rules in the SAP system's intelligent financial automation platform. These rules include accounting standards, regulatory requirements, company policies, and best practices. The rule library includes data completeness, accuracy, classification correctness, and tax compliance. S402: The generated financial voucher data is checked item by item using the self-checking software in the SAP system according to the preset financial rules and standards. This includes comparing, verifying, and filtering the data using the established rule base to quickly identify potential errors or abnormal values ​​in the financial voucher report. When the self-check software in the SAP system checks the generated financial voucher data item by item, the procedure used is as follows: REPORT z_check_financial_documents. DATA:lt_documents TYPE TABLE OF bkpf,"Financial voucher table: lt_errors TYPE TABLE OF string,"Error record: lv_amount TYPE p DECIMALS2,"Amount: lv_previous_amount TYPE p DECIMALS2. "Historical amount" Select financial voucher data from the management library of the voucher message centralized management module SELECT*INTO TABLE lt_documents FROM bkpf WHERE budat=sy-datum. LOOP AT lt_documents INTO DATA(ls_document). "Check amount fluctuations lv_amount=ls_document-wrbtr. "Suppose we have a function that can get historical amounts CALL FUNCTION'Z_GET_PREVIOUS_AMOUNT' EXPORTING iv_document_type=ls_document-blart iv_document_year=ls_document-gjahr IMPORTING ev_previous_amount=lv_previous_amount. "Compare current amount with historical amount IF lv_amount>lv_previous_amount*1.2OR lv_amount <lv_previous_amount*0.

8. APPEND|Document{ls_document-belnr}has amount of fluctuation.|TO lt_errors.ENDIF. "Other checking logic can be added here ENDLOOP." Output error log IF lt_errors IS NOT INITIAL. LOOP AT lt_errors INTO DATA(lv_error). WRITE: / lv_error. ENDLOOP. ELSE. WRITE: / 'No errors found.'. ENDIF.; S403: When potential error anomalies are detected, the intelligent inspection module marks these errors and notifies relevant personnel through the early warning module for processing.

8. The intelligent financial automation platform based on the SAP system according to claim 1, characterized in that: The early warning module is used to promptly notify relevant personnel for processing when the intelligent inspection module detects data anomalies or non-compliance with regulations. When an anomaly is detected, the relevant personnel are notified by email, text message, system message or phone call. The notification usually contains detailed information about the anomaly for quick response.