CN105404527B - Interface allocation method and system based on SAP platform - Google Patents

Interface allocation method and system based on SAP platform Download PDF

Info

Publication number
CN105404527B
CN105404527B CN201510617998.4A CN201510617998A CN105404527B CN 105404527 B CN105404527 B CN 105404527B CN 201510617998 A CN201510617998 A CN 201510617998A CN 105404527 B CN105404527 B CN 105404527B
Authority
CN
China
Prior art keywords
interface
literary name
name section
rule
transmission
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510617998.4A
Other languages
Chinese (zh)
Other versions
CN105404527A (en
Inventor
段可莹
蒋东燃
张弘信
靳占新
程翔
魏升吉
胡兴旺
董斌
李玉华
田兵
王勇
王玉家
曲晓白
石鑫磊
邢宏伟
王立峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Shandong Electric Power Co Ltd
Shandong Luruan Digital Technology Co Ltd
Original Assignee
State Grid Shandong Electric Power Co Ltd
Shandong Luneng Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by State Grid Shandong Electric Power Co Ltd, Shandong Luneng Software Technology Co Ltd filed Critical State Grid Shandong Electric Power Co Ltd
Priority to CN201510617998.4A priority Critical patent/CN105404527B/en
Publication of CN105404527A publication Critical patent/CN105404527A/en
Application granted granted Critical
Publication of CN105404527B publication Critical patent/CN105404527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of interface allocation methods based on SAP platform, it include: to transfer all possible interface transmission literary name sections changed in SAP interface transmission table, it extracts interface and transmits literary name section transformation rule, and interface transmission literary name section transformation rule is stored in rule cache area;The interface transmission literary name section transformation rule in respectively above-mentioned rule cache area lays down a regulation number, and determines the interface transmission literary name section under each rule numbers;Interface allocation list is established in SAP platform, and rule numbers and corresponding interface transmission literary name section are transferred in interface allocation list, is configured to final interface.The invention has the advantages that: when system interface needs to adjust, as long as modifying the field condition in corresponding allocation list can realize in production system, it eliminates from development system adjustment code and is tested the process transmitted again to production system to sequencing system, human cost and time cost are saved, the requirement of system real time is improved.

Description

Interface allocation method and system based on SAP platform
Technical field
The present invention relates to computer information processing field more particularly to a kind of interface allocation method based on SAP platform and System.
Background technique
SAP (systems applications and products in data processing) is a for looking forward to The software of industry resource planning ERP (enterprise resource planning) management.
During traditional SAP interface exploitation, developer needs a large amount of codings carried out, and redundant code is more, generation Code is readable lower, and the O&M difficulty after online implementing is high.When encountering interface rules adjustment, developer's modification is generallyd use Patch is generated after code, then the mode of installation patch to production system.But in the case where interface rules frequently adjust, on A large amount of manpower can be wasted by stating maintenance mode, increase maintenance cost;Simultaneously as generating patch and installing the time of patch, sternly The real-time of ghost image acoustic system.
Summary of the invention
The purpose of the present invention is to solve the above-mentioned problems, proposes a kind of interface allocation method based on SAP platform And interface field transformation rule is passed through tool maintenance into allocation list by system, this method and system, when interface rules are changed, is only needed Interface field transformation rule options is configured by tool, the adjustment of interface can be completed, avoid the numerous of manual amendment's code It is trivial, have the advantages that real-time is good and easy to operate.
To achieve the goals above, the present invention adopts the following technical scheme:
A kind of interface allocation method based on SAP platform, comprising the following steps:
Step 1: reading SAP platform with total interface when carrying out information exchange to method, system and transmit table, transfer SAP interface It transmits all possible interfaces changed in table and transmits literary name sections, extract interface and transmit literary name section transformation rule, and by the interface It transmits literary name section transformation rule and is stored in rule cache area;
Step 2: being respectively that the interface transmission literary name section transformation rule in above-mentioned rule cache area lays down a regulation number, and determination Interface under each rule numbers transmits literary name section;
Step 3: establishing interface allocation list in SAP platform, transfer in each interface transmission table of above-mentioned rule cache area Rule numbers and its corresponding interface transmission literary name section safeguard accessing port allocation list;
Step 4: according to SAP platform and the difference to method, system transmission data, transferring rule in the interface allocation list Number and corresponding interface transmit literary name section, and different interface adjustment fields is combined, final interface is configured to.
The interface allocation list include: interface transmission table name, interface transmission table information type, interface transmission literary name section, Rule numbers, interface transmit literary name section transformation rule.
Interface transmission literary name section maintenance accessing port allocation list is used to the Tcode:SM30 work of SAP platform in the step 3 Tool is realized.
When SAP platform is with method, system coffret is adjusted, literary name section is transmitted by adjusting interface in interface allocation list Built-up sequence, the interface transmission literary name section in modification interface allocation list or to increase new interface transmission table information type real It is existing.
A kind of system of the interface allocation method based on SAP platform, comprising:
For reading the unit of total interface transmission table of the SAP platform with to method, system progress information exchange when, for adjusting The unit for taking all possible interface transmission literary name sections changed in SAP interface transmission table, turns for extracting interface transmission literary name section Rule is changed, and interface transmission literary name section transformation rule is stored in the unit in rule cache area;
Interface transmission literary name section transformation rule for being respectively above-mentioned rule cache area lays down a regulation number, and determines often The unit of interface transmission literary name section under one rule numbers;
For establishing the unit of interface configuration allocation list in SAP platform, for each interface to be transmitted to the rule in table The then unit of number and its corresponding interface transmission literary name section maintenance accessing port allocation list;
For transferring regular volume in the interface allocation list according to SAP platform and the difference to method, system transmission data Number and the unit of corresponding interface transmission literary name section be configured to final for different interface adjustment fields to be combined The unit of interface.
The interface allocation list include: interface transmission table name, interface transmission table information type, interface transmission literary name section, Rule numbers, interface transmit literary name section transformation rule.
It is described for by each interface transmission table rule numbers and its corresponding interface transmission literary name section safeguard into The unit of interface allocation list uses the Tcode:SM30 tool of SAP platform.
The system also includes: for adjusting in interface allocation list when SAP platform is with method, system coffret is adjusted Interface transmits the unit of the built-up sequence of literary name section, modifies unit and increase that the interface in interface allocation list transmits literary name section The unit of new interface transmission table information type.
The beneficial effects of the present invention are:
The present invention by SAP platform create interface allocation list, by the interface being easily adjusted transmission literary name section safeguard into In allocation list, when system interface needs to adjust, as long as modifying the field in corresponding interface allocation list or increasing new connect Port transmission table can be realized in production system, eliminated and tested again from development system adjustment code to sequencing system to production The process of system transmission, saves human cost and time cost, improves the requirement of system real time;Simultaneously because interface Configurability increases the flexibility ratio of system, improves the reusability of interface transmission literary name section transformation rule.
Detailed description of the invention
Fig. 1 is the method for the present invention flow chart;
Fig. 2 is SAP platform and the interface frame that PSFT system carries out data transmission.
Specific embodiment:
The present invention will be further described with embodiment with reference to the accompanying drawing:
When SAP platform is with information exchange is carried out to method, system, internal data is sent to by SAP platform by interface transmission table Middle table, to method, system therefrom between table obtain needed for data, middle table can regard that a temporarily storage transmission data are faced as When database;SAP platform interior data are when being sent to middle table, according to the difference of transmission data, it is possible to can be by multiple Interface transmission table is transmitted, and when SAP platform interior data type changes, is easy to reality by the method that interface configures The adjustment of existing interface eliminates the Complicated Flow of repetition modification code.
Interface allocation method based on SAP platform is as shown in Figure 1, comprising the following steps:
Step 1: reading SAP platform with total interface when carrying out information exchange to method, system and transmit table, transfer SAP interface It transmits all possible interfaces changed in table and transmits literary name sections, extract interface and transmit literary name section transformation rule, and by the interface It transmits literary name section transformation rule and is stored in rule cache area;
Step 2: being respectively that the interface transmission literary name section transformation rule in above-mentioned rule cache area lays down a regulation number, and determination Interface under each rule numbers transmits literary name section;
Step 3: establishing interface allocation list in SAP platform, connect each using the Tcode:SM30 tool of SAP platform Rule numbers and its corresponding interface transmission literary name section in port transmission table safeguard accessing port allocation list;
Interface allocation list includes: interface transmission table name, interface transmission table information type, interface transmission literary name section, rule The information such as number, interface transmission literary name section transformation rule.
Step 4: according to SAP platform and the difference to method, system transmission data, transferring rule in the interface allocation list Number and corresponding interface transmit literary name section, and different interface adjustment fields is combined, final interface is configured to.
When SAP platform is with method, system coffret is adjusted, literary name section is transmitted by adjusting interface in interface allocation list Built-up sequence, the interface transmission literary name section in modification interface allocation list or to increase new interface transmission table information type real It is existing, dynamic coding is realized by technologies such as dynamic sql, field-symbol.
The interface frame that Fig. 2 show SAP platform and PSFT system carries out data transmission.SAP platform will using transmission table Data transmission to middle table, PSFT system is fetched in middle table;SAP platform is transferred not according to the difference of data content With transmission table carry out data transmission, when data content changes, SAP platform extracting rule buffer area it is corresponding Interface transmits literary name section transformation rule and its corresponding interface transmits literary name section, is reconfigured in interface allocation list, or Person increases new interface transmission literary name section in interface allocation list, can transmit the data to meet interface transmission table.
In other embodiments, when interface configures, it is also necessary in view of the monitoring to interface, to find in time SAP plateform system and there is a problem of to method, system or potential and remind or alarm in real time;
Specifically interface monitoring method includes:
Step (1): the interface allocation list that SAP platform needs to monitor is read;
1) SAP system is monitored, and sets threshold values, the early warning when exceeding given threshold;
2) PEOPLESOFT interface is monitored: the transmitting situation of peoplesoft system and ERP system interface;
3) XI interface is monitored: whether the transmitting that a. monitors interface is normal, the transmitting including master data and voucher; Whether the queue for b. monitoring transmitting is unimpeded;
4) for the monitoring of goods and materials interface;
5) for the monitoring of e-commerce platform interface.
It include: archive log directory space use state, SAP locking list for the particular content that SAP system is monitored After (mutual exclusion) state, SAP Number Range (Serial Number Range) state, SAP buffer state, SAP foreground process state, SAP Platform process status, SAP UPDATE process status, SAP print progress state, SAP print queue, SAP DB Backup state, The waiting list of SAP background job queue and state, XI.
Step (2): it is configured monitored in SAP platform according to the importance information of each monitoring point in step (1) The monitoring grade of the interface of SAP platform;
Step (3): configuration monitoring Role Users group sets different monitoring according to the difference of the monitoring content of step (1) Role Users group;Monitoring Role Users group includes goods and materials interface role user group and e-commerce Role Users group, goods and materials interface Role Users group has the permission of monitoring goods and materials interface, and e-commerce Role Users group has the supervision authority of e-commerce.
Step (4): the role relation of configuration monitoring content responsible person corresponding with monitoring: according to the permission grade of user account Not, user account is assigned in corresponding monitoring Role Users group;One monitoring Role Users group includes multiple user accounts;
Step (5): it is given in step (1) according to step (3) and step (4) and respectively monitors allocation of items Role Users group;
Step (6): it configures each monitored item purpose warning data: different early warning is carried out according to the monitoring grade of monitoring content The configuration of mode, while according to the difference of time interval, configure the frequency of early warning;
Alarm mode includes: that SMS prompting, OA mail reminder, the pending prompting of portal and ERP workbench are reminded;It is described The frequency of early warning is divided into weekly, daily paper and monthly magazine and mentions report immediately.
Step (7): to the particular content for respectively monitoring project configuration monitoring in step (1);The particular content packet of the monitoring Include monitoring grade, alarm mode and pilot switch;
Step (8): the early warning information of appearance and solution are stored to knowledge base;
Step (9): relevant prompt or early warning letter are sent according to the monitoring grade of step (2) to the information monitored Cease the correspondence account distributed under Role Users group;
Step (10): to monitoring information that is having already appeared and settled, but repeating, monitoring system according to Keyword in this detection information, the related monitoring information stored before inquiry from knowledge base and solution, and will solution Certainly schemes show is to operation user, as offer solution suggestion.
Knowledge base is used to store the processing solution to the problem of history, first when being collected into new exception monitoring information The record of similar problems that history once occurred and solution at that time are first searched according to keyword in knowledge base, conduct is provided Solution suggestion.
A kind of system of the interface allocation method based on SAP platform, comprising:
For reading the unit of total interface transmission table of the SAP platform with to method, system progress information exchange when, for adjusting The unit for taking all possible interface transmission literary name sections changed in SAP interface transmission table, turns for extracting interface transmission literary name section Rule is changed, and interface transmission literary name section transformation rule is stored in the unit in rule cache area;
Interface transmission literary name section transformation rule for being respectively above-mentioned rule cache area lays down a regulation number, and determines often The unit of interface transmission literary name section under one rule numbers;
For establishing the unit of interface allocation list in SAP platform, compiled for each interface to be transmitted the rule in table Number and its corresponding interface transmission literary name section maintenance accessing port allocation list unit;
For transferring regular volume in the interface allocation list according to SAP platform and the difference to method, system transmission data Number and the unit of corresponding interface transmission literary name section be configured to final for different interface adjustment fields to be combined The unit of interface.
The interface allocation list include: interface transmission table name, interface transmission table information type, interface transmission literary name section, Rule numbers, interface transmit literary name section transformation rule.
It is described for by each interface transmission table rule numbers and its corresponding interface transmission literary name section safeguard into The unit of interface allocation list uses the Tcode:SM30 tool of SAP platform.
The system also includes: for adjusting in interface allocation list when SAP platform is with method, system coffret is adjusted Interface transmits the unit of the built-up sequence of literary name section, modifies unit and increase that the interface in interface allocation list transmits literary name section The unit of new interface transmission table information type.
And the unit for realizing interface monitoring.
Above-mentioned, although the foregoing specific embodiments of the present invention is described with reference to the accompanying drawings, not protects model to the present invention The limitation enclosed, those skilled in the art should understand that, based on the technical solutions of the present invention, those skilled in the art are not Need to make the creative labor the various modifications or changes that can be made still within protection scope of the present invention.

Claims (4)

1. a kind of interface allocation method based on SAP platform, characterized in that the following steps are included:
Step 1: reading SAP platform with total interface when carrying out information exchange to method, system and transmit table, transfer the transmission of SAP interface All possible interfaces changed transmit literary name section in table, extract interface and transmit literary name section transformation rule, and the interface is transmitted Literary name section transformation rule is stored in rule cache area;
Step 2: being respectively that the interface transmission literary name section transformation rule in above-mentioned rule cache area lays down a regulation number, and determines each Interface under a rule numbers transmits literary name section;
Step 3: establishing interface allocation list in SAP platform, transfer the rule in each interface transmission table of above-mentioned rule cache area Then number and its corresponding interface transmission literary name section safeguard accessing port allocation list;
Step 4: according to SAP platform and the difference to method, system transmission data, transferring rule numbers in the interface allocation list And corresponding interface transmits literary name section, and different interface adjustment fields is combined, final interface is configured to;
The interface allocation list includes: interface transmission table name, interface transmission table information type, interface transmission literary name section, rule Number, interface transmit literary name section transformation rule;
It is in the step 3 that interface transmission literary name section maintenance accessing port allocation list is real using the Tcode:SM30 tool of SAP platform It is existing.
2. a kind of interface allocation method based on SAP platform as described in claim 1, characterized in that in SAP platform and other side When system coffret adjusts, by adjusting the built-up sequence of interface transmission literary name section, modification interface configuration in interface allocation list Interface in table, which transmits literary name section or increases new interface transmission table information type, to be realized.
3. a kind of system of the interface allocation method as described in claim 1 based on SAP platform, characterized in that include:
For reading the unit of total interface transmission table of the SAP platform with to method, system progress information exchange when, for transferring SAP Interface transmits the unit of all possible interface transmission literary name sections changed in table, for extracting interface transmission literary name section conversion rule Then, and by interface transmission literary name section transformation rule it is stored in the unit in rule cache area;
Interface transmission literary name section transformation rule for being respectively above-mentioned rule cache area lays down a regulation number, and determination each The unit of interface transmission literary name section under rule numbers;
For establishing the unit of interface allocation list in SAP platform, for by each interface transmit table in rule numbers and The unit of its corresponding interface transmission literary name section maintenance accessing port allocation list;
For according to SAP platform with to method, system transmission data difference, transferred in the interface allocation list rule numbers and The unit of corresponding interface transmission literary name section is configured to final interface for different interface adjustment fields to be combined Unit;
The interface allocation list includes: interface transmission table name, interface transmission table information type, interface transmission literary name section, rule Number, interface transmit literary name section transformation rule;
Rule numbers and its corresponding interface the transmission literary name section for being used to transmit each interface in table safeguards accessing port The unit of allocation list uses the Tcode:SM30 tool of SAP platform.
4. the system of the interface allocation method as claimed in claim 3 based on SAP platform, characterized in that further include: it is used for When SAP platform is with method, system coffret is adjusted, the list of the built-up sequence of interface transmission literary name section in interface allocation list is adjusted The unit of interface transmission literary name section in member, modification interface allocation list and the list for increasing new interface transmission table information type Member.
CN201510617998.4A 2015-09-24 2015-09-24 Interface allocation method and system based on SAP platform Active CN105404527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510617998.4A CN105404527B (en) 2015-09-24 2015-09-24 Interface allocation method and system based on SAP platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510617998.4A CN105404527B (en) 2015-09-24 2015-09-24 Interface allocation method and system based on SAP platform

Publications (2)

Publication Number Publication Date
CN105404527A CN105404527A (en) 2016-03-16
CN105404527B true CN105404527B (en) 2019-05-28

Family

ID=55470027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510617998.4A Active CN105404527B (en) 2015-09-24 2015-09-24 Interface allocation method and system based on SAP platform

Country Status (1)

Country Link
CN (1) CN105404527B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106503162B (en) * 2016-10-31 2019-12-24 山东鲁能软件技术有限公司 SAP platform based page dynamic generation method and system
CN108076125A (en) * 2016-11-11 2018-05-25 北京京东尚科信息技术有限公司 Interface allocation method and system
CN108268253B (en) * 2017-05-05 2020-01-03 平安科技(深圳)有限公司 Interface code generation method and terminal equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034703A (en) * 2012-12-10 2013-04-10 江西省电力公司信息通信分公司 Method for data exchange among multiple systems based on rule configuration
CN103914526A (en) * 2014-03-27 2014-07-09 神华集团有限责任公司 Interface method and interface device for SAP ERP (enterprise resource planning) system and ORACLE ERP system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9477728B2 (en) * 2013-08-09 2016-10-25 Oracle International Corporation Handling of errors in data transferred from a source application to a target application of an enterprise resource planning (ERP) system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034703A (en) * 2012-12-10 2013-04-10 江西省电力公司信息通信分公司 Method for data exchange among multiple systems based on rule configuration
CN103914526A (en) * 2014-03-27 2014-07-09 神华集团有限责任公司 Interface method and interface device for SAP ERP (enterprise resource planning) system and ORACLE ERP system

Also Published As

Publication number Publication date
CN105404527A (en) 2016-03-16

Similar Documents

Publication Publication Date Title
CN106296378B (en) XBRL-based intelligent financial cloud platform system, construction method and service implementation method
US20170279840A1 (en) Automated event id field analysis on heterogeneous logs
CN105894159A (en) Implementation method of cross-domain and cross-platform user unified management system
CN105404527B (en) Interface allocation method and system based on SAP platform
CN101976316B (en) Information access authority control method
CN101950296B (en) Cloud data audit method and system
WO2006014442A3 (en) Multiple computer system supporting a private constant-dollar financial product
WO2008151925A3 (en) Managing computer resources in a distributed computing system
CN109274557A (en) Intelligent CMDB management and cloud host monitor method under a kind of cloud environment
CN104091130A (en) Authority control method for enterprise data management platform
CN102946411A (en) Network synchronization system
CN114218218A (en) Data processing method, device and equipment based on data warehouse and storage medium
CN107016475B (en) Method and device for electric commerce worksheet system platformization
CN109460299B (en) Distributed parallel multi-source social network data acquisition system and method
JP2007503051A5 (en)
CN103617298A (en) Data connecting method and data connector
CN102314631B (en) The event processing apparatus of manufacturing execution system
CN102571777A (en) Data acquisition device and data acquisition method
CN102541563A (en) Method and system for generating monitoring interfaces
CN105468684A (en) Sensitive word filtering system and communication method thereof
CN103873564A (en) Method for realizing SignalR duplex communication under balanced load condition of multiple servers
CN106487593A (en) A kind of screen method of invalid network management alarm
Prakash et al. A requirements driven approach to data warehouse consolidation
CN105095507A (en) DB2 database migration method, device and system
CN104217358A (en) Directional data acquisition and extended application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder

Address after: 250001 No. two, No. 150, Shizhong Road, Shizhong District, Shandong, Ji'nan

Patentee after: STATE GRID SHANDONG ELECTRIC POWER Co.

Patentee after: Shandong luruan Digital Technology Co.,Ltd.

Address before: 250001 No. two, No. 150, Shizhong Road, Shizhong District, Shandong, Ji'nan

Patentee before: STATE GRID SHANDONG ELECTRIC POWER Co.

Patentee before: SHANDONG LUNENG SOFTWARE TECHNOLOGY Co.,Ltd.

CP01 Change in the name or title of a patent holder