用于測試的xml:
Empire Burlesque
Bob Dylan
USA
Columbia
10.90
1985
Hide your heart
Bonnie Tyler
UK
CBS Records
9.90
1988
line 16 定義一個local variable,其值為比對的title 節點的value
line 18: call ABAP method ZCL_TOOL=>GET_NEW_CC_ID.
line 19: 将local variable的value傳入method 輸入參數IV_OLD_CC_OD
line 20: ABAP method的returning參數RV_NEW_CC_ID的内容assign到新的local variable lv_new_cc_id
line 23: 将local variable的value輸出
ABAP method的signature及實作:
輸出: