如何使用代码创建SAP CRM Service Request subject-阿里云开发者社区

开发者社区> jerrywangsap> 正文

如何使用代码创建SAP CRM Service Request subject

简介: 如何使用代码创建SAP CRM Service Request subject
+关注继续查看

In my project I need to create new service request by code with its subject data filled.

As a result I need to figure out how to fill the required data by calling function module CRM_ORDER_MAINTAIN. I share my code here in case you have the same requirement.


image.png


First of all you should already have a well-maintained Categorization Schema in Service Operation Work center:


image.png


In Application Areas assignment block, this schema must have corresponding combination of Transaction type and Catalog Category maintained.


image.png


In my example above, “Service Request / Defect Locations/Object Parts” just represents the following customizing:


image.png



Just specify the schema ID and category ID you would like to fill for the created Service Request:


image.png



We only need to specify a single category ID in our code, and all its parent node in the schema tree could automatically be filled as expected by WebUI.


image.png


Source code:

image.pngimage.pngimage.png

版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。

相关文章
检查HTTP 的 Digest 认证代码示例-JSP
检查HTTP 的 Digest  认证. since http1.1 代码如下所示:(此代码还不完善, RFC2617算法未实现).
756 0
一步步在SAP Cloud Platform上创建HANA实例并使用
一步步在SAP Cloud Platform上创建HANA实例并使用
7 0
+关注
2628
文章
0
问答
来源圈子
更多
+ 订阅
文章排行榜
最热
最新
相关电子书
更多
《2021云上架构与运维峰会演讲合集》
立即下载
《零基础CSS入门教程》
立即下载
《零基础HTML入门教程》
立即下载