前往小程序,Get更优阅读体验!
立即前往
首页
学习
活动
专区
工具
TVP
发布
社区首页 >专栏 >KO01 Internal Order Screen Enhancement

KO01 Internal Order Screen Enhancement

原创
作者头像
里格朗
修改2020-10-15 17:56:28
1.1K0
修改2020-10-15 17:56:28
举报
文章被收录于专栏:SAP PP

屏幕样式:

在图中红框部位增加字段“电子邮件”

l屏幕输入条件说明:

2.输出报表:

3.程序处理逻辑

1)Create structure CI_AUFK and add two fields which we want to add, we added one fields ZMAIL. Once we create above structure, we need to activate this structure CI_AUFK and also re-activate Database view COAS (Order Master for Controlling) & AUFKV (Transfer structure for orders)

2)Go to Transaction Code CMOD and Create Enhancement Project and add Enhancement ‘COOPA003(User-Defined Fields in the Order Master).

3)Click on Component tab as shown in above screen to check all the available components.Here, we can see Include table CI_AUFK, This is a structure, and we need to create this structure using Transaction Code SE11.

4)Go to transaction SE80, and copy few objects of function group ‘KOXM. To function group’ XAUF’.

4.Object Type

Source(Function Group KOXM)

Target(Function Group XAUF)

Dynpro

SAPLKOXM 0100

SAPLXAUF 0100

Include

LKOXMTOP

ZXAUFTOP

Include

LKOXMF04

ZXAUFU04

Include

LKOXMF05

ZXAUFU05

Once we copied the entire above object, we need to activate thesame.

ZXAUFTOP注释或者删除不用的代码

ZXAUFU04:判断屏幕输出

* write imported data in global structures

MOVE-CORRESPONDING I_AUFK TO GLOBAL_AUFK.

MOVE-CORRESPONDING I_KAUF TO GLOBAL_KAUF.

* decide wich subscreen is to be displayed

IF ( GLOBAL_KAUF-PAR_LAYOU <> 'ABCD' ) AND

( GLOBAL_AUFK-AUART <> '1234' ).

SUBSCREEN = '0100'.

ELSE.

SUBSCREEN = SPACE.

ENDIF.

ZXAUFU05:ZMAIL字段赋值 C_USER_CI_AUFK-ZMAIL = GLOBAL_AUFK-ZMAIL。

Copy 0100屏幕程序

修改符合自定义的的字段逻辑

PROCESS BEFORE OUTPUT. * initialize subscreen MODULE d0100_init. PROCESS AFTER INPUT. * check input values * CHAIN. * FIELD GLOBAL_AUFK-ZZMATNR. * MODULE GLOBAL_AUFK-ZZMATNR ON CHAIN-REQUEST. * ENDCHAIN. * * CHAIN. * FIELD GLOBAL_AUFK-ZZKUNNR. * MODULE GLOBAL_AUFK-ZZKUNNR ON CHAIN-REQUEST. * ENDCHAIN. CHAIN. FIELD global_aufk-zmail. MODULE global_aufk-zmail ON CHAIN-REQUEST. ENDCHAIN.

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

原创声明:本文系作者授权腾讯云开发者社区发表,未经许可,不得转载。

如有侵权,请联系 cloudcommunity@tencent.com 删除。

评论
登录后参与评论
0 条评论
热度
最新
推荐阅读
相关产品与服务
腾讯云 BI
腾讯云 BI(Business Intelligence,BI)提供从数据源接入、数据建模到数据可视化分析全流程的BI能力,帮助经营者快速获取决策数据依据。系统采用敏捷自助式设计,使用者仅需通过简单拖拽即可完成原本复杂的报表开发过程,并支持报表的分享、推送等企业协作场景。
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档