当前位置:网站首页>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
边栏推荐
- Lecture 6 of slam Lecture 14 -- nonlinear optimization
- 数睿数据受邀参与南通企业数字化转型研讨会
- SAP ABAP internal tables: create, read, populate, copy and delete-06
- Uni develops wechat applet to customize automatic camera detection (portrait + ID card)
- Opensql and native sql-05 in SAP ABAP the purpose of this tutorial is not to teach you SQL or database concepts
- 【山大会议】软件性能优化及bug修复
- Simulation of stack and queue
- 坚持更新博客的动力是什么
- SAP abap 数据类型,操作符和编辑器-02
- SAP ABAP data dictionary tutorial se11: tables, locked objects, views, and structures-03
猜你喜欢

浙江创投圈的“半壁江山”,还得是国资

Lecture 6 of slam Lecture 14 -- nonlinear optimization

过气剧本杀,被露营“复活”

jmeter关联登录302类型的接口

Static assertion static_ assert

SAP ABAP 内部表:创建、读取、填充、复制和删除-06
![[Shanda conference] application setting module](/img/1e/1665234715b365614a753355274ced.png)
[Shanda conference] application setting module

SAP ABAP BAPI-016

Program substitution function

Make the text template in pycharm project support jinjia2 syntax
随机推荐
【山大会议】项目引入 Redux
Ironsource Luna offers a limited time discount for Apple search ads and enjoys 3 months of free service upon registration
Luogu p2466 [sdoi2008] Sue's small ball solution
【小程序项目开发-- 京东商城】uni-app开发之分包配置
Adding an unknown type of MCU to jflash
Batch export excel zip using zipfile, openpyxl and flask
Runtime——探索类,对象,分类本质
转:杰克·韦尔奇:战略就是要少点沉思,敏于行动
【山大会议】注册页的编写
Rosbag use command
SAP教程中的ALV报告 - ABAP列表查看器-012
3. abstract class (shape)
MySQL trigger
SAP 脚本教程:SE71、SE78、SCC1、VF03、SO10-013
SAP web service 无法使用 SOAMANAGER 登陆到SOA管理页面
数睿数据深度 | 关于软件自主可控,源代码向左,无代码向右
SAP ABAP data dictionary tutorial se11: tables, locked objects, views, and structures-03
Focus on creating a net red product. The xinjietu x70s is newly launched, starting from 87900
【山大会议】使用TypeScript为项目进行重构
Swift -- 保存打印日志到沙盒