3、……ENDLOOP.不推荐推荐降低CPU负载尽量避免使用MOVE-CORRESPONDING和INTOCORRESPONDINGFIELDSOF.CORRESPONDING语句在系统内部存在隐式操作:1,检查元素名称匹配;2,检查元素类型匹配;3,元素类型转换;SELECT * INTO CORRESPONDINGFIELDS OF TABLE itab FROM vbakWHERE vbeln = p_vbeln.LOOPATitab1INTOwa.MOVE-CORRESPONDING wa to itab2.APP
4、ENDitab2.ENDLOOP.SELECTvbelnposnr INTO TABLE itabFROM vbakWHERE vbeln= p_vbeln.Itab2=itab1.SELECT vbelnasfld1posnr asfld2INTO TABLEitab FROM vbakWHEREvbeln = p_vbeln.LOOPATitab1INTOwa.Itab2-fld1=wa-matnr.Itab2-fld2=wa-meinsAPPENDitab2.ENDLOOP.不推荐推荐推荐降低CPU负载使用SOR