漫谈SRM主数据迁移及同步(3. 供应商主数据篇)
供应商主数据又称为External business partner. 可以通过ECC传输的方法,也可以直接在SRM端创建.
准备工作:
1. Upload payment terms (in SRM)
Report BBP_UPLOAD_PAYMENT_TERMS
其实就是以下两张表的转换
T052--->BBP_PAYTERM
T052U-->BBP_PAYTERM_TEXT
可以通过SLG1查看LOG
2. Create VendorOrganization Root T-code: PPOCV_BBP (PPOSV_BBP for display)
3. Set up Business Partner number ranges for external numbering T-code: BUCF
Here you sould define an external number range which corresponds to the R/3 numbers. You may want to have more than one external range in order to replicate all vendors.
4. For each replication run, you can download the vendors which correspond to the external number range / grouping which is
marked as 'standard external'. (此步骤针对字母数字结合的ext. number range如0001000000 - COPZZZZZZZ,参考119714 2010)
做完以上准备工作,我们就可以导入起始供应商主数据了
T-code: BBPGETVD (BBPUPDVD for change vendor)
BBPGETVD BBP_VENDOR_GET_DATA_JOB
BBPUPDVD BBP_VENDOR_UPDATE_DATA_JOB
同样的,可以通过SLG1查看LOG
Q:如果有多个后台ECC系统,且多数供应商主数据相同的话,该怎么办呢?
下面说说如何同步供应商主数据
1. 配置
Create New Suppliers Too: 如果选了,则在ECC端创建的新的供应商也会被同步到SRM.反之如不选,则即使新建的供应商也不会同步过来
Assign SAP-ERP Numbers Only: 表示ECC与SRM使用相同的供应商主数据号
2. ECC端也要做相应设置(还是在SRM里做)
做完以上设置后,可以排同步程序了
用SM36排后台作业 Report:BBP_VENDOR_SYNC
***可以通过表BBP_VDSYNC_CUST查看最近一次同步
***通过表BBP_NEWVD_LOG或T-code BBP_SNEW_SYNCVD可以查看指定时间段里新增的供应商
Q: 怎样的同步频率才是最好的呢?
另外,如果供应商主数据中有自开发字段需要传输到SRM,可以使用BAdI BPP_GET_VMDATA_CF实现
Advanced:
So, you will have to replicate your vendors separately for each number range:
-Select the correct grouping each time by marking 'Ext.Std Grping' and then run BBPGETVD for the vendors to be assigned to this grouping.
As standard, the customized settings for the number ranges would have to be changed for each run of BBPGETVD and BBP_VENDOR_SYNC.
If you run the update or synchronization in combination with a BADI, the intervals could be taken into account.
The BADI is BBP_TRANSDATA_PREP
The methods are:
- Method: PREPARE_REPLICATION_DATA (intitial download)
- Method: PREPARE_UPDATE_DATA (update)
Import data is stored in CT_LFA1 should be copied to an internal table. There the required intervals can be determined.
TIPS:
Table:
VENMAP
BUT000
OSS notes
1313972- BBPGETVD: Backend system latest release not recognized
1329426 - Vendor not in PPOMV_BBP after multiple vendor