Você está na página 1de 1

Sample of a Real Custom ABAP Code

Optimization Candidate for “Minimize the number of data transfers”

• Report ZXXX_BOOKBILL
LOOP AT lt_bill INTO ls_bill.

MOVE ls_bill-bill_num TO ls_zbbnbill-bill_num_key.

MOVE ls_bill-bill_line TO ls_zbbnbill-bill_line_key.

MOVE-CORRESPONDING ls_bill TO ls_zbbnbill.

CLEAR ls_zbbnbill-burdened_cost.

MODIFY ztable1 FROM ls_zbbnbill.

ENDLOOP.

Accessing DB 70000
times.

© 2013 SAP AG or an SAP affiliate company. All rights reserved. 9