当前位置:网站首页>SAP value process & help request process-011
SAP value process & help request process-011
2022-06-22 16:22:00 【Boating in rainy days】
SAP Value process & Help request process -011
First , If you are interested in the screen flow logic and its application in SAP I know nothing about the use of , We recommend that you check out our dialog program tutorial
Now? , Let's study in detail POH and POV
Help request (POH) technological process : F1 help
- Whenever pressed F1 when , Will execute the specified data elements POH event .
- If there is no... In the process logic of the screen “HELP Process on request ” event , be ABAP The document for this field in the dictionary will be used as the basis and displayed . Even if you don't quit , No help will be displayed .
- To display the field help document , Must be in POH The following screen stream logic is encoded in the event :
PROCESS ON HELP-REQUEST
FIELD <f> [MODULE <mod>] WITH <num>
- If the field Documents with screen specific data elements , You can display it by specifying its number .
- Numbers It can be text or variables . Must be in the corresponding ABAP The variable is declared and filled in the program .
- Please note that ,FIELD Statement does not change the screen field Transfer the content of to “ Process help requests ” In the event ABAP Program . It just displays the help document . this is it .
Modules in ABAP Defined in the procedure , It's just like ordinary PAI The modules are the same . The processing logic of the module must ensure that sufficient help is displayed for the relevant fields . Instead of calling an extra screen with text fields , Instead, use one of the following function modules to display the appropriate SAPscript file
HELP_OBJECT_SHOW_FOR_FIELD
- This function module displays ABAP A data element document for any component of a structure or database table in a dictionary .
- Pass the name of the component and structure or table to the import parameter FIELD and TABLE.
HELP_OBJECT_SHOW
- Use this function module to display any SAPscript file .
- The document class must be ( for example ,TX For general text ,DE For data element documents ) And the document name are passed to the import parameter DOKCLASS and DOKNAME.
- For technical reasons , You must also type the row as TLINE The empty inner table of is passed to the function module tables Parameters .
Value processing (POV):F4
- When the user selects a possible entry (F4) When the function , The system will display the possible input values for the field ( value , Check list , Match code ), Provided they are stored by the developer .
- If the user calls “ Possible entries ”, The event process on the value request is always handled .
- To define the possible values of the fields on the screen , You need to stream logic on the screen POV Event defines the following :
PROCESS ON VALUE-REQUEST
FIELD field name MODULE module name
- For possible values , In the module defined above , Regular function modules should be used HELP_VALUES_GET_WITH_TABLE from ABAP Get possible values from the dictionary .
There are other functions that can also be used to enter help :
F4IF_FIELD_VALUE_REQUEST
- Dynamic invocation ABAP Dictionary input help .
- Can be ABAP The structure of the dictionary or the component name of the database table is passed to the import parameter TABNAME and FIELDNAME Function module in .
- The function module starts the... Of this component ABAP Dictionary input help . Read all relevant screen fields .
- If you specify import parameters DYNPPROG、DYNPNR and DYNPROFIELD, The user's selection will return to the corresponding field on the screen .
- If the table parameter is specified RETURN_TAB, The selected content will be returned to the table .
MODULE VALUE_CARRIER INPUT.
CALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
EXPORTING
TABNAME = 'DEMOF4HELP'
FIELDNAME = 'CARRIER1'
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD= 'CARRIER'.
ENDMODULE.
F4IF_INT_TABLE_VALUE_REQUEST
- This function module shows you in ABAP List of values created in the program .
- The value list is passed to the function module as a table parameter VALUE_TAB.
- If you specify import parameters DYNPPROG、DYNPNR and DYNPROFIELD, The user's selection will return to the corresponding field on the screen .
- If the table parameter is specified RETURN_TAB, The selected content will be returned to the table .
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
RETFIELD = 'CONNID'
DYNPPROG = PROGNAME
DYNPNR = DYNNUM
DYNPROFIELD = 'CONNECTION'
VALUE_ORG = 'S'
TABLES
VALUE_TAB = VALUES_TAB.
This is it. POH and POV The whole content of . If you have any questions , Please leave your comments .
Reference resources :https://www.guru99.com/process-on-value-help.html
边栏推荐
- SAP ABAP 对话框编程教程:中的模块池-09
- POD 类型
- SAP web service cannot log in to SOA management page with soamanager
- 全球首款AR隐形眼镜,元宇宙入口这次真的打开了?
- SAP abap 数据类型,操作符和编辑器-02
- ArcGIS JS之 4.23之IIS本地部署与问题解决
- Program substitution function
- 实现一个Container全局组件步骤(给还不会使用组件的新手一个思路,大佬绕道)
- Make the text template in pycharm project support jinjia2 syntax
- [Shanda conference] establishment of webrtc tools for multi person video call
猜你喜欢

知识管理在业务中的价值如何体现

SAP ABAP 子屏幕教程:在 SAP 中调用子屏幕-010

Conversion between numeric types and strings

Alibaba cloud middleware's open source past

The odoo system sets priorities for the views independently developed by the original model

Linux安装mysql

SAP ABAP 对话框编程教程:中的模块池-09

jmeter关联登录302类型的接口

Odoo local document function development record

Dear students, don't read the textbooks any more. Just read this one for the complexity of time
随机推荐
Bridging the gap between open source databases and database services
Alibaba cloud middleware's open source past
MySQL trigger
Reddit对LaMDA模型的探讨:并非无状态,采用双重过程,相比它编辑维基百科的方式,有没有感情并不重要
【小程序项目开发-- 京东商城】uni-app开发之配置tabBar & 窗口样式
4.字符串(倒序且大小写转换)
POD 类型
数睿数据受邀参与南通企业数字化转型研讨会
执行逻辑大同小异的实现类使用模板模式
Swift -- 保存打印日志到沙盒
4. string (reverse order and case conversion)
odoo系统对原有模型单独开发的视图设置优先级
Program substitution function
Wechat applet avatar pendant production
【小程序项目开发-- 京东商城】uni-app开发之轮播图
odoo本地文档功能开发记录
SAP ABAP 中的用户出口和客户出口-015
转:杰克·韦尔奇:战略就是要少点沉思,敏于行动
【山大会议】软件性能优化及bug修复
Make the text template in pycharm project support jinjia2 syntax