Methods for replacing R&D investment accounts and processing material price differences in SAP system
By using SAP ABAP technology in the SAP system, the association between R&D trial production work orders and internal orders is enhanced, the amount of the material input difference is calculated, the problem of inaccurate R&D expense data in the SAP system is solved, and the automatic generation of account substitution and accounting vouchers is realized. Improved data accuracy and operational management analysis accuracy.
Patent Information
- Application Number
- CN202410932910.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-12
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2044-07-12
AI Technical Summary
The R&D expense data in the SAP system is inaccurate mainly because the difference between the standard price and the actual price is not processed correctly, resulting in incorrect R&D investment accounts and affecting the accuracy of accounting documents.
By using SAP ABAP technology in the SAP system, the front-end interface of R&D trial production work orders is enhanced, R&D internal order fields are added, and the relationships are recorded in the background table to generate a custom configuration table to realize the substitution of material input accounts and the standard price and actual price. Calculate the price difference amount and automatically generate accounting vouchers to ensure correct accounts and accurate data.
It achieves the accuracy of R&D investment subjects, reduces manual adjustments, improves data accuracy, reduces manual errors, generates business analysis data in real time, and facilitates statistics and summary of R&D projects.
Smart Images

Figure CN118505407B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of enterprise information management, and specifically relates to a method for replacing R&D investment subjects in a SAP system and processing the difference between the standard price and the actual price of standard price materials. Background Art
[0002] In the field of enterprise information management, the account for order material input in the SAP system is based on the valuation class of the material master data. The normal material account is different from the R&D account and needs to be replaced; the standard price of raw materials in the SAP system is a standard way to calculate the material price of the SAP system. At the end of the month, the standard material account restoration function can be used to restore the material price to the actual price. The difference between the standard price and the actual price is transferred to the material difference account to inventory goods, which will cause R&D investment to not go through the R&D account. When using the R&D trial production work order in the SAP system to make R&D investment, the material input account needs to be transferred to the R&D account, and the difference between the standard price and the actual price also needs to be entered into the R&D account. At present, the standard function of the system cannot handle this problem, resulting in inaccurate R&D expense data. Summary of the invention
[0003] The purpose of the present invention is to provide a method for replacing R&D investment subjects and processing material price differences in a SAP system, so as to solve the problem of inaccurate R&D expense data in the existing SAP system.
[0004] To achieve the above object, the present invention provides the following technical solutions:
[0005] The method of replacing R&D investment account and processing material price difference in SAP system is as follows:
[0006] Step 1: Determine the implementation method. For materials with standard prices, use the R&D trial production work order to calculate the input standard price amount, and use the R&D internal order to calculate the difference between the standard price and the actual price.
[0007] Step 2: Use SAP ABAP technology to enhance the screen display of the front-end interface of the R&D trial production work order, and add the R&D internal order field; add the corresponding record field INT_ORDER_FOR_ZP07 in the back-end table order header data PP order table AFKO; the AFKO table has the R&D trial production work order with the record field AUFNR and the R&D internal order with the record field INT_ORDER_FOR_ZP07, so that the R&D trial production work order and the R&D internal order can be associated;
[0008] Step 3: Add a custom configuration table to configure the relationship between the original material input account and the R&D account;
[0009] Step 4: Use SAP ABAP technology to replace the R&D material input account with the material input voucher generated when operating the R&D input step, and replace the R&D transfer-out account when settling the R&D trial production work order. Use the account of the configuration table in step 3.
[0010] Step 5: Get the difference between the actual price and the standard price. This is achieved using SAP ABAP technology. After running the material account, get the actual total amount and quantity of production material input from the MLDOC material account table, get the amount and quantity of material input from the R&D trial production work order, and calculate the difference between the standard price and the actual price that needs to be allocated to the R&D internal order associated in step 2 based on the material input quantity of the R&D trial production work order.
[0011] Step 6: Calculate the actual unit price of materials. Use SAP ABAP technology to calculate the actual unit price of materials by dividing the actual total amount of materials by the actual total quantity of materials according to the actual total amount of materials and the actual total quantity of materials retrieved in step 5.
[0012] Step 7: Calculate the standard unit price of materials. Use SAP ABAP technology to calculate the standard unit price of materials by dividing the material amount of the R&D trial production work order by the material quantity according to the material amount and material quantity of the R&D trial production work order retrieved in step 5.
[0013] Step 8: Calculate the difference in material input amount. Use SAP ABAP technology to automatically calculate the difference in material input amount. Subtract the standard unit price calculated in step 7 from the actual unit price calculated in step 6 to get the price difference. Multiply the price difference by the material input quantity of the R&D trial production work order in step 7. The result is the difference between the standard price and the actual price that needs to be allocated to the R&D internal order associated with the R&D trial production work order in step 2.
[0014] Step 9: Use SAP ABAP technology to develop a front-end ALV display interface to display R&D trial production work orders, R&D internal orders, input materials, actual total input amount, actual total input quantity, R&D trial production work order input amount, R&D trial production work order input quantity, and the difference between standard price and actual price;
[0015] Step 10: Replace the R&D account of the accounting document. Use SAP ABAP development technology to replace the R&D account. The logic for obtaining the replacement account uses the account of the table configured in step 3. The original account is obtained based on the material data and the auxiliary fields of the material. Then, go to step 3 to find the corresponding R&D account for replacement.
[0016] Step 11: Use SAP BAPI technology to call the SAP accounting voucher generation function, and automatically generate a voucher for the R&D expense difference based on the displayed data; fill in the voucher amount with the difference between the standard price and the actual price of the R&D internal order calculated in step 8; use the R&D account obtained in step 10 as the accounting voucher account for the difference amount; fill in the R&D internal order in the voucher order field; and use the fixed R&D transfer-out account as the counterparty account of the accounting voucher;
[0017] Step 12: The generated accounting voucher calls the voucher display function of SAP to automatically display the generated difference voucher details.
[0018] Preferably, the present invention uses SAP ABAP technology to develop R&D project reports. When obtaining report data, the data of R&D trial production work orders and R&D internal orders are unified on the R&D internal orders, and the association relationship between the R&D trial production work orders and the R&D internal orders in the AFKO table of step 2 is used.
[0019] Preferably, the present invention performs a difference voucher offset for documents with problems in obtaining the standard price and the actual price.
[0020] The present invention has the following beneficial effects:
[0021] 1. Step 2 of the present invention associates the R&D trial production work order with the R&D internal order, eliminating the need for offline manual matching and association, thereby increasing the accuracy of the data;
[0022] 2. The present invention replaces the subject of R&D input, so that the subject of accounting vouchers is correct, which solves the problem of incorrect subject. Financial personnel do not need to make manual adjustments, thus reducing the garbage data of accounting vouchers;
[0023] 3. The present invention automatically extracts the difference in the input materials of the R&D trial production work order, processes the difference between the standard price and the actual price of the R&D input materials, allocates the difference amount according to the actual quantity, and enters the R&D subject, reducing the problem of personnel performing difference statistics and manual adjustments, and making the R&D investment amount more accurate;
[0024] 4. Most of the voucher fields of the present invention are implemented by using configuration table comparison relationships, which reduces the error rate of manual entry;
[0025] 5. The present invention adopts the method of generating vouchers in real time according to the calculated difference data, so that the business analysis data of the SAP system can be generated in real time, reducing the error rate of manual input;
[0026] 6. The present invention develops a research and development project report that summarizes the data of research and development trial production work orders and internal research and development orders, making it convenient for users to count the number of research and development projects based on the projects. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 A flow chart for the development of the present invention;
[0028] Figure 2 Enhanced the screen display of the R&D trial production work order and R&D internal order for the present invention;
[0029] Figure 3 Enhance the field association order table AFKO for the R&D trial production work order and R&D internal order of the present invention;
[0030] Figure 4 It is a research and development trial production work order research and development subject replacement configuration table of the present invention;
[0031] Figure 5 The invention uses SAP ABAP technology to replace the research and development subjects of the research and development trial production work order;
[0032] Figure 6 The feeding subject of the present invention is successfully replaced by the research and development subject;
[0033] Figure 7 The R&D and trial production work order difference adjustment function developed by the present invention using SAP ABAP technology;
[0034] Figure 8 The invention uses SAP ABAP technology to develop and extract the material difference of the R&D trial production work order, and automatically generates a voucher based on the difference;
[0035] Fig. 9 The present invention uses SAP BAPI voucher creation technology to develop a difference voucher function that is automatically generated based on the difference;
[0036] Fig.10 The present invention uses SAP BAPI voucher reversal technology to automatically reverse the erroneous difference voucher function;
[0037] Fig.11 A table of expenditures for scientific research projects developed using SAP ABAP technology for this invention;
[0038] Fig.12 Expenditure table of scientific research projects developed using SAP ABAP technology for this invention (detailed items);
[0039] Fig.13 This is the standard table T030 for the original input materials used in the present invention. DETAILED DESCRIPTION
[0040] In order to clearly and completely describe the purpose and technical solution of the present invention, and to make the advantages clearer, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the embodiments described herein are only preferred embodiments of the present invention, rather than all embodiments, and are only used to explain the content of the present invention, and are not used to limit the content of the present invention. All other equivalent replacement embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0041] The method of replacing R&D investment account and processing material price difference in SAP system is as follows:
[0042] Step 1: Determine the implementation method. For materials with standard prices, use the R&D trial production work order to calculate the input standard price amount, and use the R&D internal order to calculate the difference between the standard price and the actual price.
[0043] Step 2: Use SAP ABAP technology to enhance the screen display of the front-end interface of the R&D trial production work order, and add the R&D internal order field; add the corresponding record field INT_ORDER_FOR_ZP07 in the order header data PP order table AFKO; the AFKO table records the R&D trial production work order (field AUFNR) and the R&D internal order (field INT_ORDER_FOR_ZP07), so that the R&D trial production work order and the R&D internal order can be associated;
[0044] Step 3: Add a custom configuration table to configure the relationship between the original material input account and the R&D account;
[0045] Step 4: Use SAP ABAP technology to replace the R&D material input account with the material input voucher generated when operating the R&D input step, and replace the R&D transfer-out account when settling the R&D trial production work order. Use the account of the configuration table in step 3.
[0046] Step 5: Get the difference between the actual price and the standard price. This is achieved using SAP ABAP technology. After running the material account, get the actual total amount and quantity of production material input from the MLDOC material account table, get the amount and quantity of material input from the R&D trial production work order, and calculate the difference between the standard price and the actual price that needs to be allocated to the R&D internal order associated in step 2 based on the material input quantity of the R&D trial production work order.
[0047] Step 6: Calculate the actual unit price of materials. Use SAP ABAP technology to calculate the actual unit price of materials by dividing the actual total amount of materials by the actual total quantity of materials according to the actual total amount of materials and the actual total quantity of materials retrieved in step 5.
[0048] Step 7: Calculate the standard unit price of materials. Use SAP ABAP technology to calculate the standard unit price of materials by dividing the material amount of the R&D trial production work order by the material quantity according to the material amount and material quantity of the R&D trial production work order retrieved in step 5.
[0049] Step 8: Calculate the difference in material input amount. Use SAP ABAP technology to automatically calculate the difference in material input amount. Subtract the standard unit price calculated in step 7 from the actual unit price calculated in step 6 to get the price difference. Multiply the price difference by the material input quantity of the R&D trial production work order in step 7. The result is the difference between the standard price and the actual price that needs to be allocated to the R&D internal order associated with the R&D trial production work order in step 2.
[0050] Step 9: Use SAP ABAP technology to develop a front-end ALV display interface to display R&D trial production work orders, R&D internal orders, input materials, actual total input amount, actual total input quantity, R&D trial production work order input amount, R&D trial production work order input quantity, and the difference between standard price and actual price;
[0051] Step 10: Replace the R&D account of the accounting document. Use SAP ABAP development technology to replace the R&D account. The logic for obtaining the replacement account uses the account of the table configured in step 3. The original account is obtained based on the material data and the auxiliary fields of the material. Then, go to step 3 to find the corresponding R&D account for replacement.
[0052] Step 11: Use SAP BAPI technology to call the SAP accounting voucher generation function, and automatically generate a voucher for the R&D expense difference based on the displayed data; fill in the voucher amount with the difference between the standard price and the actual price of the R&D internal order calculated in step 8; use the R&D account obtained in step 10 as the accounting voucher account for the difference amount; fill in the R&D internal order in the voucher order field; and use the fixed R&D transfer-out account as the counterparty account of the accounting voucher;
[0053] Step 12: The generated accounting voucher calls the voucher display function of SAP to automatically display the generated difference voucher details.
[0054] To further optimize the solution, use SAP ABAP technology to develop R&D project reports. When obtaining report data, the data of R&D trial production work orders and R&D internal orders are unified on the R&D internal orders. Use the association between the R&D trial production work orders and R&D internal orders in the AFKO table in step 2.
[0055] The solution has been further optimized to offset the difference in vouchers for documents with problems in obtaining the standard price and actual price, and the function of voucher offset has been added.
[0056] The method for processing the difference between the standard price and the actual price of the R&D investment account and the standard price material of the SAP system provided by the present invention realizes that when R&D investment is made, the account cost of the input material is entered into the R&D account, and the accounting voucher account of the difference between the standard price and the actual price uses the R&D account, so that the account entered by the R&D input material is correct, so as to facilitate future operations management analysis. The ABAP and BAPI technologies of SAP are used to enhance the association between internal orders and R&D trial production work orders, so that the account entered when the R&D trial production work order is input is the R&D account, and the actual price is calculated when the input material is the standard price, and the accounting voucher of the difference amount is automatically generated. The present invention has strong versatility and is applicable to the business of the entire group. In the future, it can be used as a reference in other companies using the SAP system.
Claims
1. The method for replacing R&D investment accounts and processing material price differences in the SAP system is characterized by: Here are the steps: Step 1: Determine the implementation method. For materials with standard prices, use the R&D trial production work order to calculate the input standard price amount, and use the R&D internal order to calculate the difference between the standard price and the actual price. Step 2: Use SAP ABAP technology to enhance the screen display of the front-end interface of the R&D trial production work order, and add the R&D internal order field; add the corresponding record field INT_ORDER_FOR_ZP07 in the order header data PP order table AFKO in the background table; the AFKO table has the R&D trial production work order with the record field AUFNR and the R&D internal order with the record field INT_ORDER_FOR_ZP07, so that the R&D trial production work order and the R&D internal order can be associated; Step 3: Add a custom configuration table to configure the relationship between the original material input account and the R&D account; Step 4: Use SAP ABAP technology to replace the R&D material input account with the material input voucher generated when operating the R&D input step, and replace the R&D transfer-out account when settling the R&D trial production work order. Use the account of the configuration table in step 3. Step 5: Get the difference between the actual price and the standard price. This is achieved using SAP ABAP technology. After running the material account, get the actual total amount and quantity of production material input from the MLDOC material account table, get the amount and quantity of material input from the R&D trial production work order, and calculate the difference between the standard price and the actual price that needs to be allocated to the R&D internal order associated in step 2 based on the material input quantity of the R&D trial production work order. Step 6: Calculate the actual unit price of materials. Use SAP ABAP technology to calculate the actual unit price of materials by dividing the actual total amount of materials by the actual total quantity of materials according to the actual total amount of materials and the actual total quantity of materials retrieved in step 5. Step 7: Calculate the standard unit price of materials. Use SAP ABAP technology to calculate the standard unit price of materials by dividing the material amount of the R&D trial production work order by the material quantity according to the material amount and material quantity of the R&D trial production work order retrieved in step 5. Step 8: Calculate the difference in material input amount. Use SAP ABAP technology to automatically calculate the difference in material input amount. Subtract the standard unit price calculated in step 7 from the actual unit price calculated in step 6 to get the price difference. Multiply the price difference by the material input quantity of the R&D trial production work order in step 7. The result is the difference between the standard price and the actual price that needs to be allocated to the R&D internal order associated with the R&D trial production work order in step 2. Step 9: Use SAP ABAP technology to develop a front-end ALV display interface to display R&D trial production work orders, R&D internal orders, input materials, actual total input amount, actual total input quantity, R&D trial production work order input amount, R&D trial production work order input quantity, and the difference between standard price and actual price; Step 10: Replace the R&D account of the accounting document. Use SAP ABAP development technology to replace the R&D account. The logic for obtaining the replacement account uses the account of the table configured in step 3. The original account is obtained based on the material data and the auxiliary fields of the material. Then, go to step 3 to find the corresponding R&D account for replacement. Step 11: Use SAP BAPI technology to call the SAP accounting voucher generation function, and automatically generate a voucher for the R&D expense difference based on the displayed data; fill in the voucher amount with the difference between the standard price and the actual price of the R&D internal order calculated in step 8; use the R&D account obtained in step 10 as the accounting voucher account for the difference amount; fill in the R&D internal order in the voucher order field; and use the fixed R&D transfer-out account as the counterparty account of the accounting voucher; Step 12: The generated accounting voucher calls the voucher display function of SAP to automatically display the generated difference voucher details.
2. The method for replacing R&D investment items and processing feed price differences in a SAP system according to claim 1, characterized in that: Use SAP ABAP technology to develop R&D project reports. When obtaining report data, the data of R&D trial production work orders and R&D internal orders are unified into the R&D internal orders. Use the association between the R&D trial production work orders and R&D internal orders in the AFKO table in step 2.
3. The method for replacing R&D investment items and processing feed price differences in a SAP system according to claim 1, characterized in that: For documents with problems in obtaining standard price and actual price, offset the difference voucher.
