CRM Document builder fill-in status fillin
Sent: Wednesday, June 26, 2013 1:57 PM
I click “accept” button:
[外链图片转存失败(img-JUeQuBLW-1563588282729)(https://user-images.githubusercontent.com/5669954/32685822-0beba4e4-c6d4-11e7-88b9-811b50da4e1d.png)]
The code sets status as hard code “F”. I don’t understand this since the accepted status only has three valid values: P, X and space:
[外链图片转存失败(img-SaQO0sBb-1563588282730)(https://user-images.githubusercontent.com/5669954/32685823-0c220908-c6d4-11e7-9fe1-af70d11c93c4.png)]
As a result, the UI will always regard it as not complete since ‘F’ <> ‘X’.
answer
Its is an error. The idea was to have different accept options in the application.
The ‘finish with default’ button on the dialog screen should only accept all variables that are marked as ‘D’ and the ‘finish with default’ button on the document summary should only set the variables to accepted that are marked as ‘F’.
METHOD /ipro/if_action~finish_with_defaults.
CHECK mv_mode EQ gc_mode_update OR
mv_mode EQ gc_mode_review_update OR
mv_mode EQ gc_mode_create.
CHECK mo_current_varroot IS BOUND.
mo_current_varroot->/ipro/if_docb_variable~set_accepted( ).
IF piv_fillins_only IS INITIAL.
mo_current_varroot->/ipro/if_docb_variable~set_accepted( 'D' ). " dialog variables only
ELSE.
mo_current_varroot->/ipro/if_docb_variable~set_accepted( 'F' ). " Fill-in variables only
ENDIF.
ENDMETHOD.
The variable logic needs to be enhanced to check the visibility and depending on that you can set the mv_accepted to ‘X’ or ‘ ‘.
F or D should only be used for the check logic but not as value.
METHOD /ipro/if_docb_variable~set_accepted.
IF me->mv_valid EQ gc_true.
me->mv_accepted = piv_accepted.
me->set_changed( ).
ENDIF.
ENDMETHOD.
相关文章
- [AWS] Create MySQL database in RDS and connect from local / EC2
- [Bash] Read and Use JSON in Bash with jq
- [Functional Programming + React] Provide a reasonable default value for mapStateToProps in case initial state is undefined
- [Python] Use Static Typing in Python 3.6
- [React Native] Reduce Long Import Statements in React Native with Absolute Imports
- [Angular] Lazy Load Images in Angular
- ALTER TABLE causes auto_increment resequencing, resulting in duplicate entry ’1′ for key
- How to create and consume web service in CRM
- How is CRM order status modelling in HANA studio
- Account Hierarchy in SAP CRM and C4C
- why changes on Object in CRM system could not be replicated
- Product settype acts as a very important role in CRM WebClient UI architecture
- Inbound process in CRM
- Initial download entry point data in CRM side
- Step by step to do initial download in CRM system
- SAP CRM WebClient UI Date time format in BSP UI
- deletion in request load scenario
- why guid used in SAP CRM
- Render CRM Survey in Mobile
- How to create and consume web service in CRM
- How is account image maintained in CRM rendered in Fiori
- CRM batch product check logic in one order line item
- jQuery.ready in CRM Fiori Opportunity Application
- 成功解决WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python
- GaussDB(DWS) NOT IN优化技术解密:排他分析场景400倍性能提升
- recording just for inquiry in the future
- 【SQL开发实战技巧】系列(十二):三问(如何对字符串字母去重后按字母顺序排列字符串?如何识别哪些字符串中包含数字?如何将分隔数据转换为多值IN列表?)
- Lucene in action 笔记 term vector——针对特定field建立的词频向量空间,不存!不会!影响搜索,其作用是告诉我们搜索结果是“如何”匹配的,用以提供高亮、计算相似度,在VSM模型中评分计算
- uni-app的报错提示:Error in nextTick: “TypeError: Right-hand side of ‘instanceof‘ is not an object“
- FindSubCluster Error in `[.data.frame`(object[[graph.name]], sub.cell, sub.cell) : 选择了未定义的列