首页 > 其他分享 >关于ABAP的变量声明规范

关于ABAP的变量声明规范

时间:2023-02-10 11:11:05浏览次数:40  
标签:变量 声明 eg global local field ABAP IV parameter

数据定义(data definitions):

     type类型(variable type) :  TY_

    全局变量(global variable): GV_

    局部变量(local variable ): LV_

    全局工作区(global work area):GS_

    本地工作区(local work area): LS_

    全局内表(global internal table):GT_

    局部内表(local internal table ): LT_

指针(field symbols):

    本地结构(local structure field Symbol):<LFS_*>

    全局结构(global structure field Symbol):<GFS_*>

功能模块(Function Module):

    输入参数(importing-parameter):IV_       eg: IV_MATERIAL

    输出参数(exporting-parameter): EV_   

    changing-parameter                  :CV_

    表   (tables)                              :T_*     eg:T_MATERIAL

类     (Class)                     :

    输入参数(importing-parameter):IV_       eg: IV_MATERIAL

    输出参数(exporting-parameter): EV_   

    changing-parameter                  :CV_

    结果(RESULT)                        : RV_

    异常(EXCEPTIONS)                :ZCX_       eg: ZCX_ERROR

Parameter                                      : P_*

Select-Options                                :  S_*

Range Field                                    : R_*

Interface                                       : ZIF_*           

标签:变量,声明,eg,global,local,field,ABAP,IV,parameter
From: https://www.cnblogs.com/and1/p/17108241.html

相关文章