ABAP性能优化

阅读更多
ABAP性能优化

1.使用二分法查询,提高查询内表数据速度
不推荐
Read table int_fligh with key airln = ‘LF’.
推荐
Read table int_fligh with key airln = ‘LF’ binary search.
2.两个内表添加使用批量增加代替逐行
不推荐
Loop at int_fligh1.
Append int_fligh1 to int_fligh2.
Endloop.
推荐
Append lines of int_fligh1 to int_fligh2.
3.使用FOR ALL Entries
不推荐
Loop at int_cntry. Select single * from zfligh into int_fligh where cntry = int_cntry-cntry. Append int_fligh. Endloop.
推荐
Select * from zfligh appending table int_fligh
For all entries in int_cntry
Where cntry = int_cntry-cntry.



一些缩写字母在SAP系统中用到的。。。
Note:

The abbreviations in the short text of this message can have the following values:
BA = batch
OR = order
PL = plant
PR = previous period
PU = purchasing document
RE = reservation
SL = storage location
VC = consignment stock from vendor in storage location
In addition, the short text may contain the following special stock indicators:
E = Open order quantity
K = Vendor consignment
M = Vendor returnable transport packaging
O = Vendor subcontracting component
P = Pipeline material
Q = project stock
V = Customer returnable packaging
W = Customer consignment
Y = Warehouse shipping unit

你可能感兴趣的:(VC++)