SAP资料批量上传

To start creating a BDC just follow these steps below.

1. Execute TCODE SHDB. Click On “New Recording”.

06092010-shdb-01

2. Now just name the recording as ZR_QS21, the tcode name is QS21 to create Master inspection Characteristic, of course you can enter any other tcode that you want to record, after that click on the “Start Recording” button.

06092010-shdb-02

3. Now you will be entering the recording mode to record transaction Qs21, as you can see on the picture below, you will be taken into this specified tcode.

06092010-shdb-03

4. Now just create the MIC as usual, because this is not a tutorial on how to create an MIC, then I will skip the creation process. After you’ve done creating the MIC, you will see this screen below.

BDC is a collection of screens to process the transaction, as you can see there are several screens used to create the MIC. Just double click on the each screen name to see the screen layout.

06092010-shdb-04

5. Don’t forget to click on the “SAVE” button to save the BDC.

06092010-shdb-05

6. Now to use the BDC in ABAP, we need to transfer this BDC into an ABAP Program.

7. Execute tcode SHDB again, and locate the BDC we’ve just created. ZR_QS21 and click on the “Program” icon on the tool bar.

06092010-shdb-06

8. Now enter the ABAP program name for this BDC, and then choose “Transfer from recording” from the Field Contents block. Click OK or enter to continue.

06092010-shdb-07

9. Type in the program title name and click on the “Source Code” button and press enter.

06092010-shdb-08

10. Now you can see the BDC code has been successfully transferred into you ABAP program.

06092010-shdb-10

Usually you will need to modify the program by adding a code to get the flat file and then convert it into an internal table and then you pass the internal table data using this BDC program code that will save it into SAP tables.

转载于:https://www.cnblogs.com/aBaoRong/archive/2011/12/07/2278769.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值