惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Help Net Security
博客园 - Franky
GbyAI
GbyAI
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
爱范儿
爱范儿
IT之家
IT之家
酷 壳 – CoolShell
酷 壳 – CoolShell
aimingoo的专栏
aimingoo的专栏
博客园_首页
MongoDB | Blog
MongoDB | Blog
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Recent Announcements
Recent Announcements
Scott Helme
Scott Helme
有赞技术团队
有赞技术团队
M
MIT News - Artificial intelligence
C
CERT Recently Published Vulnerability Notes
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
Jina AI
Jina AI
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
L
LangChain Blog
L
LINUX DO - 最新话题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
H
Hacker News: Front Page
MyScale Blog
MyScale Blog
P
Palo Alto Networks Blog
G
Google Developers Blog
Google DeepMind News
Google DeepMind News
AI
AI
T
Troy Hunt's Blog
Microsoft Azure Blog
Microsoft Azure Blog
阮一峰的网络日志
阮一峰的网络日志
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Vercel News
Vercel News
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
S
Secure Thoughts
大猫的无限游戏
大猫的无限游戏
博客园 - 叶小钗
人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Apple Machine Learning Research
Apple Machine Learning Research
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 三生石上(FineUI控件)
S
Security @ Cisco Blogs
Cloudbric
Cloudbric
E
Exploit-DB.com RSS Feed
Attack and Defense Labs
Attack and Defense Labs

博客园 - 在天空滑翔

Material X does not have packaging material type and is therefore not a pack.mat. - 在天空滑翔 Why do people stay in a company PDF To Excel Converter - 在天空滑翔 备份文件,并且保留权限 SRM 一点笔记 HUM [ZT]如何实现打印输出到Adobe PDF格式文件 物料主数据中Valuation Class的确定过程 几个常用的MM报表T-Code LSMW one tip - 字段定义 scc4查看系统安装了多少个client variant configuration 被搁浅 最近学习 variant configuration Storage bin Plant相关的几个概念 SAP Best Practices 简要介绍 MMAM to change the material type for an existing material. [SAP]业务区域的帐确定 SD中几种特殊的财务处理概念
TCode: SGEN
在天空滑翔 · 2008-08-29 · via 博客园 - 在天空滑翔

在系统升级以后,运行每个t-code都特别慢,在itpub上问了下,需要运行一下Sgen来重新编译一下。
编译结束以后,似乎快了很多。

有如下几个功能可以用。
SGEN.JPG

全文帮助如下:

Information About the SAP Load Generator (SGEN)
Overview
You can use transaction SGEN to generate the ABAP loads of a number of programs, function groups, classes, and so on, as well as Business Server Page applications (BSP applications).

Before the generation is started, consecutive screens give you options regarding:

Task of the generation
Selection of generation set (= number of objects to be generated)
Use of servers for parallel generation
The generation is started on the Job Monitor screen. In addition, this screen gives you information about generation jobs that may have already run or are current such as, for example, predictions regarding the duration of the generation.

Note: If you want to regenerate loads, make sure that there is enough space available in the database. The space required can be several hundred MB. Generation over all components requires around 2 GB of free space.


Procedure
1.  Select Task of the Generation.
On the initial screen of transaction SGEN you can select the task that suits the purpose of the generation:

Generate all Objects of Selected Software Components
Choose this strategy if you want to generate the loads of all objects of certain software components. This may be the case, for example, if your system has been reinstalled. Here, the loads that are required for operation are not yet available and must be regenerated.
After selecting this task, the Selection by software components of generation set screen appears. Here you are able to restrict the amount of objects to be generated by selecting software components. Use the pushbutton to select the software components you require.
Regenerate After an SAP System Upgrade
After an upgrade, you have to regenerate the load of the ABAP objects in the system. Here, the following are required:
The runtime of the generation process in transaction SGEN must be as short as possible.
The storage space required by the ABAP loads in the database must not be too large.
The generation effort on the part of the user must be as small as possible.
The following generation set takes the above requirements into account. It consists of all objects with loads, which were available in your system before the upgrade (that is, objects that you already used before the upgrade), and all objects that were redelivered in the release interval between start release and target release of your upgrade. The names of the objects that were generated before the upgrade were stored in the REPLIST file in the current directory of your system during the upgrade (profile parameter DIR_HOME).
After selecting this task, the Selection by software components of generation set screen appears. In the standard setting, all software components are processed. Here you are able to restrict the amount of objects to be generated by selecting software components. Use the pushbutton to select the software components you require.
Regenerate the Objects of the Last Run
This task is suitable, for example, in the following cases:
The generation of objects of the generation set that was used in the previous run was terminated and you want to regenerate the remaining objects.
You want to regenerate all objects of the generation set that was used in the previous run.
After selecting this task, the following two options are available to you:
Resume
The generation set that was used in the previous run of transaction SGEN is used. Only those objects that were not generated in the previous run or whose generation was terminated due to a system error, are generated.
Regeneration:
All objects of the generation set used in the previous run of transaction SGEN are generated.
Regenerate Existing Loads
This task allows you to regenerate all ABAP loads and invalidated loads that exist in your system, and to generate loads for objects of a Support Package queue. The following options are available to you:
Generate all Objects with Existing Load
Only Generate Objects with Invalidated Load
The load of an object becomes invalidated if changes have been made to the object or to the objects used by this object, since the moment the load was generated. Examples of such objects are includes and tables. This may occur by importing a Support Package ( SPAM) or a kernel patch.
If you want to generate loads for objects of a Support Package queue, start the task after importing the queue. The task determines the generation set using the invalidated loads in the system. In contrast with the Generate objects of a transport request task, this task also takes into account ABAP loads that were invalidated by modified Dictionary objects.
After choosing this task, a screen appears which allows you to search for the name of the transport request using the selection button, or to specify it directly.
Generation of BSP Applications
This task enables you to generate BSP applications of selected software components.
Each Business Server Page is realized technically through an ABAP object class. When BSP applications are generated, these classes and their ABAP loads are generated. BSP applications are not included in the generation sets of the Generate All Objects of Selected Software Components, Regenerate After an SAP System Upgrade and Regenerate All Existing Loads tasks, since they are optional. You can use this task to deal with these.
After selecting this task, the Selection by software components of generation set screen appears. Here you can restrict the number of BSP applications to be generated by selecting software components. Use the pushbuttons to select the software components you require.
If you quit the generation of BSP applications before it has finished, or if the system terminates generation, the Regenerate the Objects of the Last Run task allows you to resume the generation.

2.  Select Server for Parallel Generation.
The generation is based on a parallelized method, where the generation set is divided into small subsets that are processed by parallel processes. Depending on resources, available servers are included in the parallel processing, whereby multiple parallel processes run on one server.

From the Selection of Server for Parallel Generation screen, you can select the servers that are to be used in the parallel processing. Note that loads depend on the machine type (MT) of a host. This means that it only makes sense to parallel process the generation set of servers of the same machine type.

The default selection orientates itself by the server to which it is logged on. It corresponds to your logon server and all servers on your system that have the same machine type. If you want to use the default selection, choose Continue.

If you want to exclude individual servers from the generation, or if you want to generate the load for a particular machine type that is different to that of the logon server, then use the pushbutton to select the corresponding servers and choose Continue.

Note: The parallel servers are depicted via the logon groups in transaction RZ12. For transaction SGEN, logon group 'parallel_generators' is created. Do not use this group for your own purposes, as transaction SGEN uses and continually redefines this group.

From the selection of the servers, the system starts to automatically define the generation set, and to store it on the database (DB table GENSETC). This may take several minutes.

Job Monitor Pushbutton