Chinaunix首页 | 论坛 | 博客
  • 博客访问: 190045
  • 博文数量: 98
  • 博客积分: 1435
  • 博客等级: 上尉
  • 技术积分: 1955
  • 用 户 组: 普通用户
  • 注册时间: 2008-11-04 15:01
文章分类

全部博文(98)

文章存档

2012年(1)

2011年(1)

2009年(95)

2008年(1)

我的朋友

分类: IT职场

2009-11-22 20:35:06

 

中录屏少不了,tcode代码为SHDB,但是每次录屏的时候,键盘和鼠标的操作对应在录制的BDC_OKCODE的含义是什么呢。

这里有一部分小结,可以帮助我们使用

OKCODE     Description
/nn          Function Key nn
/00          Enter
/8           F8,Continue or Execute
/11          F11,Post
%EX          Exit
BACK F3,Back Previous Screen
DLT          Delete
PICK         Double Click
SAVE         F11,Save
UPDA         SAVE
FCNP         新插入一行item(像BOM的item那种)

以下是帮我们理解

 SPAN { font-family: "BatangChe"; font-size: 12pt; color: #000000; background: #FFFFFF; } .L1S32 { color: #3399FF; } .L1S33 { color: #4DA619; } .L1S52 { color: #0000FF; }read dataset dataset into record.
if sy-subrc <> 0exitendif.

perform bdc_dynpro      using 'SAPMM06E' '0100'.
perform bdc_field       using 'BDC_CURSOR'
                              'EKKO-LIFNR'.
perform bdc_field       using 'BDC_OKCODE'
                              '=AB'.

perform bdc_field       using 'EKKO-LIFNR'
                              record-LIFNR_001.
perform bdc_field       using 'RM06E-BSART'
                              record-BSART_002.
perform bdc_field       using 'RM06E-BEDAT'
                              record-BEDAT_003.
perform bdc_field       using 'EKKO-EKORG'
                              record-EKORG_004.
perform bdc_field       using 'EKKO-EKGRP'
                              record-EKGRP_005.
perform bdc_field       using 'RM06E-LPEIN'
                              record-LPEIN_006.
perform bdc_field       using 'RM06E-WERKS'
                              record-WERKS_007.
perform bdc_dynpro      using 'SAPMM06E' '0120'.
perform bdc_field       using 'BDC_CURSOR'
                              'EKPO-LGORT(01)'.
perform bdc_field       using 'BDC_OKCODE'
                              '/00'.

perform bdc_field       using 'EKPO-EMATN(01)'
                              record-EMATN_01_008.
perform bdc_field       using 'EKPO-MENGE(01)'
                              record-MENGE_01_009.
perform bdc_field       using 'EKPO-LGORT(01)'
                              record-LGORT_01_010.
perform bdc_dynpro      using 'SAPMM06E' '0120'.
perform bdc_field       using 'BDC_CURSOR'
                              'RM06E-EBELP'.
perform bdc_field       using 'BDC_OKCODE'
                              '=BU'.

perform bdc_field       using 'RM06E-EBELP'
                              record-EBELP_011.
perform bdc_transaction using 'ME21'.

阅读(4072) | 评论(0) | 转发(1) |
给主人留下些什么吧!~~