CN106503162B - SAP platform based page dynamic generation method and system - Google Patents
SAP platform based page dynamic generation method and system Download PDFInfo
- Publication number
- CN106503162B CN106503162B CN201610928646.5A CN201610928646A CN106503162B CN 106503162 B CN106503162 B CN 106503162B CN 201610928646 A CN201610928646 A CN 201610928646A CN 106503162 B CN106503162 B CN 106503162B
- Authority
- CN
- China
- Prior art keywords
- page
- display
- configuration table
- field
- fields
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/957—Browsing optimisation, e.g. caching or content distillation
- G06F16/9577—Optimising the visualization of content, e.g. distillation of HTML documents
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Document Processing Apparatus (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a method and a system for dynamically generating a page based on an SAP platform, wherein the method comprises the following steps: performing page numbering on the created page, and creating a page element display configuration table in SAP; maintaining fields required to be displayed by a user and display mode information of the fields into a configuration table; and acquiring fields corresponding to the pages from the configuration table according to the page numbers required by the users, then arranging the field names according to the sequence of the display sequence numbers, and simultaneously combining the field names into a final display page according to the display type information in the configuration table. According to the method and the system, the configuration table is created in the SAP platform, the display fields required by the user are maintained in the configuration table, when the display page of the user needs to be adjusted, the display fields in the corresponding configuration table can be modified to be realized in the production system, the process from development of system adjustment codes to test of a sequencing system and then to transmission of the sequencing system is omitted, the labor cost and the time cost are saved, and the requirement on the real-time performance of the system is improved.
Description
Technical Field
The invention relates to the field of information processing, in particular to a method and a system for dynamically generating a page based on an SAP platform.
Background
SAP (systems applications and products in data processing) is a piece of software used for Enterprise resource planning, ERP, (enterprise resource planning) management.
The page development of the SAP system generally adopts a static development mode, that is, sections displayed in a page, fields displayed in a list and the like are all fixed, and when the page needs to be adjusted, developers generate patches after the development system modifies codes, and then install the patches to a production system. This maintenance method results in a large increase in labor costs (maintenance personnel costs) and implementation time lag (time to generate patch installation time), and also in poor reusability due to the static manner of the pages.
Disclosure of Invention
The invention aims to solve the problems and provides a method and a system for dynamically generating a page based on an SAP platform.
In order to achieve the purpose, the invention adopts the following technical scheme:
a page dynamic generation method based on an SAP platform comprises the following steps:
step 1, carrying out page numbering on the created page, and creating a page element display configuration table in SAP;
step 2, maintaining the fields required to be displayed by the user and the display mode information of the fields into a configuration table;
and 3, acquiring fields corresponding to the required page from the configuration table according to the number of the page required by the user, then arranging the field names according to the sequence of the display sequence numbers, and simultaneously combining the field names into a final display page according to the display type information in the configuration table and displaying the page.
The configuration table created in step 1 includes: page number, field name, display sequence number, whether a field is displayed, field display type, whether a field is editable, field F4 information.
In the step 2, the fields required to be displayed by the user and the display mode information of the fields are maintained in a configuration table and are realized by adopting the technology of Tcode: SM30 of SAP standard.
When the page needs to be adjusted, the configuration is implemented by modifying the configuration table corresponding to the page, which specifically includes: adding or deleting field names and their display modes, and modifying the sequence of field names.
And the display of the page in the step 3 is realized by a dynamic ALV technology.
A system of a dynamic page generation method based on an SAP platform comprises the following steps:
a device for performing page numbering on the created page and creating a page element display configuration table in SAP;
the device is used for maintaining the fields required to be displayed by the user and the display mode information of the fields into a configuration table;
the device is used for acquiring fields corresponding to the required pages from the configuration table according to the page numbers required by the users, then arranging the field names according to the sequence of the display sequence numbers, and simultaneously combining the field names into the final display pages according to the display type information in the configuration table, and the device is used for displaying the pages.
The configuration table includes: page number, field name, display sequence number, whether a field is displayed, field display type, whether a field is editable, field F4 information.
The device for maintaining the fields required to be displayed by the user and the display mode information of the fields in the configuration table is realized by adopting the technology of Tcode: SM30 of SAP standard.
Further comprising:
the apparatus for implementing configuration by modifying a configuration table corresponding to a page when the page needs to be adjusted specifically includes: means for adding or deleting field names and their display modes, means for modifying the ordering of the field names.
The device for displaying the page is realized by a dynamic ALV technology.
The invention has the beneficial effects that:
according to the method, the configuration table is created in the SAP platform, the display fields required by the user are maintained in the configuration table, when the display page of the user needs to be adjusted, the display fields in the corresponding configuration table can be modified to be realized in the production system, the process from development of system adjustment codes to test of a sequencing system and then transmission of the sequencing system to the production system is omitted, the labor cost and the time cost are saved, and the requirement on the real-time performance of the system is improved; meanwhile, due to the configurable type of the page, the flexibility of the page is increased, and the reusability of the page is improved.
Drawings
FIG. 1 is a flow chart of the method of the present invention;
the specific implementation mode is as follows:
the invention is further illustrated by the following examples in conjunction with the accompanying drawings:
the page dynamic generation method based on the SAP platform is shown in FIG. 1 and comprises the following steps:
step 1, carrying out page numbering on the created page, and creating a page element display configuration table by using Tcode SE11 in SAP, wherein the table comprises information such as page number, field name, display sequence number, whether the field is displayed, field display type (Checkbox, text and number), whether the field can be edited, F4 help of the field and the like, and the example is as follows:
and 2, analyzing the page requirement of the user, and maintaining the information such as the fields required to be displayed by the user, the display modes of the fields and the like into a configuration table through the Tcode: SM30 of the SAP standard. Examples are: the user purchases the page, the page number is page 1, where 2 fields need to be displayed: fields 1, fields 2, where Field1 is shown as an editable check box and Field2 is an editable input box with search help FUN1, the table above is maintained.
And 3, adopting the dynamic programming technology of SAP (service access point), when a user uses the page, acquiring each field corresponding to the page from the configuration table according to the page number, then arranging the field names according to the sequence of the display serial numbers, and simultaneously combining the field names into a final display page according to the information such as the display type and the like in the configuration table. Examples are: when a user executes a purchase page, the corresponding page number page 1 is obtained according to the page, then the display sequence and display mode information of Field1 and Field2 are obtained from a page configuration table, the display sequence and display mode of each Field are configured according to the Field cat attribute of the ALV, and finally the display method of the ALV is called to realize page display.
When the page needs to be adjusted, the configuration is implemented by modifying the configuration table corresponding to the page, which specifically includes: adding or deleting field names and their display modes, modifying the ordering of field names, etc.
A system of a dynamic page generation method based on an SAP platform comprises the following steps:
a device for performing page numbering on the created page and creating a page element display configuration table in SAP;
the device is used for maintaining the fields required to be displayed by the user and the display mode information of the fields into a configuration table;
the device is used for acquiring fields corresponding to the required pages from the configuration table according to the page numbers required by the users, then arranging the field names according to the sequence of the display sequence numbers, and simultaneously combining the field names into the final display pages according to the display type information in the configuration table, and the device is used for displaying the pages.
The configuration table includes: page number, field name, display sequence number, whether a field is displayed, field display type, whether a field is editable, field F4 information.
The device for maintaining the fields required to be displayed by the user and the display mode information of the fields in the configuration table is realized by adopting the technology of Tcode: SM30 of SAP standard.
Further comprising:
the apparatus for implementing configuration by modifying a configuration table corresponding to a page when the page needs to be adjusted specifically includes: means for adding or deleting field names and their display modes, means for modifying the ordering of the field names.
The device for displaying the page is realized by a dynamic ALV technology.
Although the embodiments of the present invention have been described with reference to the accompanying drawings, it is not intended to limit the scope of the present invention, and it should be understood by those skilled in the art that various modifications and variations can be made without inventive efforts by those skilled in the art based on the technical solution of the present invention.
Claims (8)
1. A page dynamic generation method based on SAP platform is characterized by comprising the following steps:
step 1, carrying out page numbering on the created page, and creating a page element display configuration table in SAP;
step 2, maintaining the fields required to be displayed by the user and the display mode information of the fields into a configuration table;
step 3, acquiring fields corresponding to the required page from the configuration table according to the number of the page required by the user, then arranging the field names according to the sequence of the display serial numbers, and simultaneously combining the field names into a final display page according to the display type information in the configuration table and displaying the page;
when the page needs to be adjusted, the configuration is implemented by modifying the configuration table corresponding to the page, which specifically includes: adding or deleting field names and their display modes, and modifying the sequence of field names.
2. The method for dynamically generating pages based on SAP platform as claimed in claim 1, wherein the configuration table created in step 1 includes: page number, field name, display sequence number, whether a field is displayed, field display type, whether a field is editable, field F4 information.
3. The method according to claim 1, wherein the fields required to be displayed by the user and the display mode information of the fields in step 2 are maintained in a configuration table and implemented by using SAP standard Tcode: SM30 technology.
4. The method as claimed in claim 1, wherein the page in step 3 is displayed by dynamic ALV technology.
5. A system for the SAP platform based page dynamic generation method of claim 1, comprising:
a device for performing page numbering on the created page and creating a page element display configuration table in SAP;
the device is used for maintaining the fields required to be displayed by the user and the display mode information of the fields into a configuration table;
the device is used for acquiring fields corresponding to the required page from the configuration table according to the page number required by the user, then arranging the field names according to the sequence of the display sequence number, and simultaneously combining the field names into a final display page according to the display type information in the configuration table;
the apparatus for implementing configuration by modifying a configuration table corresponding to a page when the page needs to be adjusted specifically includes: means for adding or deleting field names and their display modes, means for modifying the ordering of the field names.
6. The system of claim 5, wherein the configuration table comprises: page number, field name, display sequence number, whether a field is displayed, field display type, whether a field is editable, field F4 information.
7. The system according to claim 5, wherein the means for maintaining the fields and display mode information of the fields to be displayed by the user in the configuration table is implemented by using SAP standard Tcode: SM30 technology.
8. The system according to claim 5, wherein said means for displaying pages is implemented by dynamic ALV technology.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928646.5A CN106503162B (en) | 2016-10-31 | 2016-10-31 | SAP platform based page dynamic generation method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610928646.5A CN106503162B (en) | 2016-10-31 | 2016-10-31 | SAP platform based page dynamic generation method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106503162A CN106503162A (en) | 2017-03-15 |
CN106503162B true CN106503162B (en) | 2019-12-24 |
Family
ID=58318736
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610928646.5A Active CN106503162B (en) | 2016-10-31 | 2016-10-31 | SAP platform based page dynamic generation method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106503162B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239557B (en) * | 2017-06-08 | 2018-10-30 | 腾讯科技(深圳)有限公司 | A kind of webpage method for building up, electronic equipment and storage medium |
CN109358919B (en) * | 2018-08-20 | 2024-04-02 | 中国平安人寿保险股份有限公司 | Dynamic configuration method and device for universal page, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068808A (en) * | 2015-08-11 | 2015-11-18 | 国网技术学院 | Dynamic configuration method and system of rules on the basis of SAP (System Applications and Products) platform |
CN105404527A (en) * | 2015-09-24 | 2016-03-16 | 国网山东省电力公司 | Interface configuration method and system based on SAP (System Applications and Products in Data Processing) platform |
CN105404501A (en) * | 2015-09-24 | 2016-03-16 | 国网山东省电力公司 | Rule bank analysis method and system based on SAP (System Applications and Products in Data Processing) platform |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094769B (en) * | 2014-05-06 | 2018-07-13 | 北大方正集团有限公司 | The treating method and apparatus of user interface |
RU2595524C2 (en) * | 2014-09-29 | 2016-08-27 | Общество С Ограниченной Ответственностью "Яндекс" | Device and method for processing content of web resource in browser |
CN105373615B (en) * | 2015-11-24 | 2018-12-21 | 华讯方舟科技有限公司 | A kind of method and apparatus of page customization |
-
2016
- 2016-10-31 CN CN201610928646.5A patent/CN106503162B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105068808A (en) * | 2015-08-11 | 2015-11-18 | 国网技术学院 | Dynamic configuration method and system of rules on the basis of SAP (System Applications and Products) platform |
CN105404527A (en) * | 2015-09-24 | 2016-03-16 | 国网山东省电力公司 | Interface configuration method and system based on SAP (System Applications and Products in Data Processing) platform |
CN105404501A (en) * | 2015-09-24 | 2016-03-16 | 国网山东省电力公司 | Rule bank analysis method and system based on SAP (System Applications and Products in Data Processing) platform |
Also Published As
Publication number | Publication date |
---|---|
CN106503162A (en) | 2017-03-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107944481B (en) | Method and apparatus for generating information | |
US11758088B2 (en) | Method and apparatus for aligning paragraph and video | |
CN109359194B (en) | Method and apparatus for predicting information categories | |
CN109242934B (en) | Animation code generation method and equipment | |
CN109726094A (en) | The method and apparatus of pressure test | |
CN109558323B (en) | System, method and apparatus for debugging pages | |
CN101620636A (en) | Method and apparatus for displaying tabular data | |
US11244153B2 (en) | Method and apparatus for processing information | |
CN106557307B (en) | Service data processing method and system | |
CN113032257B (en) | Automated testing method, apparatus, computer system, and readable storage medium | |
CN107133044B (en) | Method and system for rapidly developing data maintenance type page | |
CN103309806A (en) | Device and method for fast developing and testing | |
US9063753B2 (en) | Scripting framework for business objects | |
CN105701182A (en) | Information pushing method and apparatus | |
CN106503162B (en) | SAP platform based page dynamic generation method and system | |
CN109379245A (en) | A kind of wifi report form generation method and system | |
CN107330087B (en) | Page file generation method and device | |
CN106250390B (en) | Method and device for automatically generating SQL step by step | |
CN109582580B (en) | System, method and apparatus for debugging pages | |
CN108536715B (en) | Preview page generation method, device, equipment and storage medium | |
CN116450723A (en) | Data extraction method, device, computer equipment and storage medium | |
CN113495498B (en) | Simulation method, simulator, device and medium for hardware device | |
CN115563942A (en) | Contract generation method and device, electronic equipment and computer readable medium | |
US10915295B2 (en) | Automated generation of audio daily activity overview powered by a database | |
US20210073837A1 (en) | A method and system for generating survey related data |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: Yinhe building, 2008 Xinluo street, high tech Industrial Development Zone, Jinan City, Shandong Province, 250098 Patentee after: Shandong luruan Digital Technology Co.,Ltd. Address before: 250001 5th floor, block B, Yinhe building, 2008 Xinluo street, high tech Zone, Jinan City, Shandong Province Patentee before: SHANDONG LUNENG SOFTWARE TECHNOLOGY Co.,Ltd. |
|
CP03 | Change of name, title or address |