How To Use Function 'F4_FILENAME' and 'KD_GET_FILENAME_ON_F4'
来源:互联网 发布:财经数据接口 编辑:程序博客网 时间:2024/06/05 03:49
*-----------------------------------------------------------------------
*
* Company XXX Company Limited
*
* ProgrameName: ZZW_FUT_F4_FILENAME
*
* Author: Lilo.Zhu
*
* Date: 08/08/2007
*
* Description: Study SAP In Program How To Use Function 'F4_FILENAME'
* When User Click 'Save In' Button, A Pop-up Window will
* appear to allow you choice local PC Drive and Filename.
*
*-----------------------------------------------------------------------
REPORT ZZW_FUT_F4_FILENAME .
Tables: SSCRFIELDS.
*-----------------------------------------------------------------------
* Function 'F4_FILENAME'
*-----------------------------------------------------------------------
Selection-Screen Begin Of Block B1 With Frame Title Text-001.
Parameters: P_File Like RLGRAP-FileName
Modif ID M1 Default 'C:/Data/SAP.XLS'.
Selection-Screen PushButton /33(10) Text-002 User-Command F4CLICK.
Selection-Screen End Of Block B1.
*-----------------------------------------------------------------------
* Function 'KD_GET_FILENAME_ON_F4'
*-----------------------------------------------------------------------
Selection-Screen Begin Of Block B2 With Frame Title Text-003.
Parameters: P_File_1 Like RLGRAP-FileName Memory ID M2.
Selection-Screen End Of Block B2.
At Selection-Screen.
IF SSCRFIELDS-Ucomm EQ 'F4CLICK'.
Call Function 'F4_FILENAME'
Exporting
Program_Name = SYST-CPROG
DYNPRO_NUMBER = SYST-DYNNR
FIELD_NAME = ''
IMPORTING
FILE_NAME = P_File.
ENDIF.
At Selection-Screen On Value-Request For P_File_1.
Call Function 'KD_GET_FILENAME_ON_F4'
Exporting
Mask = '*.xls'
Static = 'X'
Changing
File_Name = P_File_1.
- How To Use Function 'F4_FILENAME' and 'KD_GET_FILENAME_ON_F4'
- How To Use Function 'GUI_RUN'
- ABAP--How to use Number Ranges' Function?
- ABAP--How to use Number Ranges' Function?
- ABAP--How to use Number Ranges' Function?
- How to use Oracle Dump Function
- How to use the function of assembly.
- How to install and use doxygen
- How to Create and Use the DLL
- standard exception and how to use
- How to use 'SetItemData()' and 'GetItemData()'?
- How to use the CONVERSION_EXIT_PARVW_INPUT and CONVERSION_EXIT_PARVW_OUTPUT
- How To Choose and Use Strong Passwords
- how to config and use apt-get
- What and How to use JSF
- How to use NSString and NSMutableString
- How to use appreciation and lie
- How to use calltree and Graphviz/CodeViz
- Linux Shell
- Zend_Cache_Core 注解
- Zend_Cache_Backend_File 注解
- struts源码分析:commons-logging
- Visual Studio 2005版本纵览
- How To Use Function 'F4_FILENAME' and 'KD_GET_FILENAME_ON_F4'
- Cookie--c#.net深入研究实例
- Run-Time Check Failure #0错误
- ASP.NET2.0中如何写登录验证码[普通版,已测试成功]
- 在无线J2ME设备上实现http传输
- 利用C++语言设计可扩展线程池
- SQL Server 2000启动1069错误解决方法
- Visual C++多线程DAO处理
- 在ODBC中应用DDX和RFX