SAP ABAP实用技巧介绍系列之 在xslt里call ABAP method
生活随笔
收集整理的這篇文章主要介紹了
SAP ABAP实用技巧介绍系列之 在xslt里call ABAP method
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
Created by Jerry Wang, last modified on Jul 02, 2014
用于測試的xml:
<catalog> <cd> <title>Empire Burlesque</title> <artist>Bob Dylan</artist> <country>USA</country> <company>Columbia</company> <price>10.90</price> <year>1985</year> </cd> <cd> <title>Hide your heart</title> <artist>Bonnie Tyler</artist> <country>UK</country> <company>CBS Records</company> <price>9.90</price> <year>1988</year> </cd> </catalog>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及實現:
輸出:
總結
以上是生活随笔為你收集整理的SAP ABAP实用技巧介绍系列之 在xslt里call ABAP method的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: Cpu指令重排_cpu的指令集(CPUC
- 下一篇: SAP ABAP实用技巧介绍系列之 te