当前位置:网站首页>How to add F4 Value Help trial version to the input parameters of the report in the ABAP report
How to add F4 Value Help trial version to the input parameters of the report in the ABAP report
2022-08-08 18:42:00 【Wang Zixi】
零基础 ABAP 学习教程系列文章的目录
ABAP 基础知识
一个 15 年 SAP ABAP Shared by the developer SAPGUI Some personalization settings and practical tips
如何使用 saplink Install what's available on other sites ABAP 程序
ABAP How to add input parameters to the report in the report F4 Value Help
更多文章正在写作中
Office 专题
ALV 开发专题
更多文章正在写作中
Articles prior to this tutorial,用 ABAP 读取本地文本文件内容,We have already learned how to read local files into ABAP 服务器,The files we used at the time contained 1 2 3 4
This simple content does not involve character encoding,And the file path is also hardcoded C:\temp\1.txt
.
In this step, we make enhancements on this basis.
首先,我们使用 PARAMETERS
关键字,定义一个 ABAP Input parameters for the report,名称为 path,类型为 string,Used to specify which local file we want to put,上传到 ABAP 服务器.这个 path 参数,It stores the absolute path of the local file to be uploaded in the operating system.用 OBLIGATORY
修饰,Means required parameters,必须维护,否则 ABAP 程序不能继续执行.
从易用性上来说,Let the user enter the absolute path to the file character by character,实在不是一个好的选择,So we intend to give Path Add a parameter Value Help,在 SAPGUI 环境里,This input is aided by using shortcut keys F4 触发,Therefore, it is often called F4 Value Help.
Follow this step to enhance the performance of the report:
可以看到 PATH The right part of the input box for the parameter,已经多出一个 Value Help 的图标了.单击这个图标,或者使用 F4 快捷键,can pop up Windows The operating system's file selection dialog is gone:
选择一个文件后,该文件的绝对路径,自动更新到 PATH parameter input box:
直接执行,You can print out the absolute path and the file PATH 参数值.
我们在事物码 SE38 里,Click this button on the toolbar:
下面是具体的实现步骤.
This step will continue to be introduced later ABAP The report uploads a local file to ABAP More tricks for servers.
边栏推荐
- 传音控股:目前公司手机产品暂无明确计划进入中国市场
- AtCoder Regular Contest 145
- Azure Neural TTS 持续上新,助力企业开拓小语种市场
- CF1716D(“按顺序“的完全背包)
- 数据压缩和归档(三)、tarfile
- Excuse me, during the mongoshake synchronization process in the shake database, src_mongo hangs up, will the synchronization service not exit?
- 【Promise.allSettled】手写Promise.allSettled方法
- Shell编程之循环语句与函数
- openEuler资源利用率提升之道02:典型应用下的效果
- 3D游戏建模教程:游戏角色制作——赏金猎人,超逼真
猜你喜欢
随机推荐
DHCP服务初探
mysql5.7安装教程(附下载链接)
文件传输-FTP使用简介
企业“数字化转型”成功的2个必备条件!
CF1716D(“按顺序“的完全背包)
智文最终版本
为啥程序员下班后只关显示器从不关电脑?看看各大网站的答案~
内核实战教程第1期|数据库系统概述,带你走近 OceanBase 研发环境!
uva1432
响应式pbootcms模板电脑维修类网站
Go-Excelize API源码阅读(四)——Save()
第4讲:SQL语句之DDL类型的数据库定义语言
全栈开发可能需要的环境及工具
We want to replace the RDS database and upgrade from sqlserver 2016 web to 2017 enterprise cluster version, with expert consultation
高维前缀和和子集dp(状压dp的一种)
HCIP第十三天作业——综合实验
2021年9月电子学会图形化二级编程题解析含答案:画正多边形
PX4模块设计之十九:Replay模块
MogDB学习笔记-从0开始
数据库系统:第一章绪论