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相关推荐
- SAP ABAP实用技巧介绍系列之 使用XSLT替换xml中指定node的value
Created by Jerry Wang, last modified on Jun 30, 2014 用于测试的xml: <catalog> <cd> <title& ...
- SAP ABAP实用技巧介绍系列之Debug XSLT transformation
Created by Jerry Wang, last modified on Jun 06, 2014 使用tcode STRANS打开待debug的transformation, 点击Debugg ...
- SAP ABAP实用技巧介绍系列之 获得webservice的schema node
Created by Jerry Wang, last modified on Jul 23, 2014 webservice WSDL URL: https://:44324/sap/bc/srt/ ...
- SAP ABAP实用技巧介绍系列之 ABAP内存管理学习
Created by Jerry Wang, last modified on May 26, 2014 使用如下report 测试ABAP memory: REPORT ztest_export. ...
- SAP ABAP实用技巧介绍系列之 使用simple transformation的mapping功能
Created by Jerry Wang, last modified on Jun 25, 2014 Simple transformation如下: 当node VALTO_DATE的value ...
- SAP ABAP实用技巧介绍系列之 ABAP XSLT 定义变量
Created by Jerry Wang, last modified on Jul 01, 2014 下面的xslt 片段定义了两个变量: header变量的内容为一系列html tab,而col ...
- SAP ABAP实用技巧介绍系列之反模式:一些低效的ABAP内表操作
Created by Jerry Wang, last modified on Jun 15, 2015 Why is this message raised? From SAP help, we k ...
- SAP ABAP实用技巧介绍系列之将unicode字符转换成中文
Created by Jerry Wang, last modified on May 29, 2014 输入unicode格式的字符: 输出是转换之后的对应中文字符: 代码如下. class_con ...
- SAP ABAP实用技巧介绍系列之could not create BAdI implementation
Created by Jerry Wang, last modified on Apr 03, 2014 当试图为一个mark成SAP internal use的BAdI definition创建一个 ...
最新文章
- 2018-2019-1 20165214 《信息安全系统设计基础》第六周学习总结
- 日志服务Flink Connector《支持Exactly Once》
- 一起学设计模式 - 责任链模式
- zynq7000 clk 设备树时钟对照表
- 【栈】【856. 括号的分数】【中等】(需回顾)
- 微信官方回应iOS 13.2频繁杀后台问题:建议先不升级
- mysql更换主键遇到的一个问题
- B VUE系列 三:vuex,vue全局变量管理和状态更新的利器
- mysql php sdk_PHP连接MySQL数据库
- android录音工具,推荐四款十分好用的安卓录音应用
- 从阿里一面谈面试需要准备什么
- 课表插件timetable
- LaTex 数学之运算符
- 再谈windows下创建特殊文件夹
- imgui-创建窗口
- 电商平台是如何赚钱的?
- java设计建议植物大战僵尸_基于Java的游戏设计之植物大战僵尸
- 曲线拟合最小二乘法优缺点_对最小二乘法拟合曲线的简单说明
- Spring - 装配bean
- pdf 卖肯锡_《麦肯锡分析》.pdf