码迷,mamicode.com
首页 > 其他好文 > 详细

Implementing Screen Exit for the transaction CO01

时间:2015-02-26 13:32:01      阅读:154      评论:0      收藏:0      [点我收藏+]

标签:implementing screen

Requirement:

Add new Tab to transaction CO01(Creation production order) and store the values in standard Include CI_AUFK which will get appended to Production order header table AUFK. 

Solution:

Create a project in CMOD with enhancement PPCO0012.

技术分享

Go to components Double click on screen exit SAPLCOKO1 it will take you to

The screen number 0100 program name SAPLXCO1. 

技术分享

Design your screen as per the requirement in screen layout. 

技术分享

For PBO use the function module EXIT_SAPLCOKO1_001

技术分享


For PAI use the function module EXIT_SAPLCOKO1_002 

技术分享


Now in order to declare the screen fields globally

Goto function group XC01 in SE80, declare in the include ZXCO1TOP

技术分享


Use the E_COCI_AUFK exporting parameter to append the values to Structure CI_AUFK, which will get saved in AUFK when the production Order gets saved.

Create the Custom field in the structure CI_AUFK.


技术分享


Create the production order using the transaction CO01. 

技术分享


Custom tabs appears as follows


技术分享

Now when you create the production order the value entered in the custom field gets saved along with the production order data in AUFK table.

 







Implementing Screen Exit for the transaction CO01

标签:implementing screen

原文地址:http://blog.csdn.net/champaignwolf/article/details/43951611

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!