前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >flag no_redetermination and change mode

flag no_redetermination and change mode

作者头像
Jerry Wang
发布2019-07-18 14:53:50
3360
发布2019-07-18 14:53:50
举报
知识共享许可协议
知识共享许可协议

版权声明:署名,允许他人基于本文进行创作,且必须基于与原先许可协议相同的许可协议分发本文 (Creative Commons

Created by Jerry Wang, last modified on Feb 16, 2015

Even a text object is selected for text determination execution, ( it means it is picked to execute subroutine determine_text ), however it does not mean that the real determination process will be executed:

clipboard1
clipboard1

The real logic ( subroutine copy_text ) will only be executed if flag no_redetermination = abap_false ( it means redetermination is necessary ).

clipboard2
clipboard2

There are two kinds of logics to determine the flag no_redetermination: switch and change mode.

Change mode

This flag is by default marked as true, which means the text determination must NOT be executed by default when CRM_ORDER_MAINTAIN is called.

clipboard3
clipboard3

The flag will remain its value if the MODE field in internal table it_comstruc_fieldtab is NOT equal to A.

It means for change mode B, the text determination must NOT be called.

clipboard4
clipboard4

So the question is, when and where the change mode A or B is filled?

the Opportunity guid is searched against database table, it hit, it means change mode = update ( B ), or else creation ( A ).

clipboard5
clipboard5
本文参与 腾讯云自媒体分享计划,分享自作者个人站点/博客。
原始发表:2019年07月17日,如有侵权请联系 cloudcommunity@tencent.com 删除

本文分享自 作者个人站点/博客 前往查看

如有侵权,请联系 cloudcommunity@tencent.com 删除。

本文参与 腾讯云自媒体分享计划  ,欢迎热爱写作的你一起参与!

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
目录
  • Created by Jerry Wang, last modified on Feb 16, 2015
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档