‎2006 Dec 29 10:29 AM
hello
Can anybody help me in creating a BDC from MM01 by material type
‎2006 Dec 29 10:33 AM
Hi
It is adviced to use BAPIs or LSMWs where applicable instead of BDCs.
Regards,
Raj
‎2006 Dec 29 10:39 AM
hai
ur right if its with only material type we can go with LSMW or BAPI.
But in my company the requirement is that we have do the recording and uploading by type wise and also view wise.
so how can i procced if this is the criteria
‎2006 Dec 29 10:38 AM
Hello,
Instead of BDC, you can used BAPI: BAPI_MATERIAL_SAVEDATA or MATERIAL_MAINTAIN_DARK
it is prederred to make a mass update by LSMW:
Object 0020 Material master
Method 0000
Program name RMDATIND
Program type D Direct input
Hope this helps,
Best Regards, Murugesh AS
‎2006 Dec 29 10:52 AM
but this method is not possible if we want to upload the data view wise for a perticular material type
‎2007 Jan 02 4:28 AM
Hi Vamshi
Bacause You are handling with Master Data it's advisable to do that with either LSMW or BAPI's.
For BAPI you can choose BAPI: BAPI_MATERIAL_SAVEDATA or MATERIAL_MAINTAIN_DARK for your requirement.
If you go for LSMW then you have to create Objects,Sub Objects,Strucure and mapping the Structires to SAP.
If you want for a Perticular Material or View Wise then you have to opt for BDC for Proper Recording and then you have to handle the views correctly.
If you let me know what are the Material Types yo are using and what are the corresponding views coming into the picture.,I can help you.
Regards,
Kumar
‎2007 Jan 02 4:32 AM
‎2007 Jan 02 4:34 AM
Hi,
Use the BAPI BAPI_MATERIAL_SAVEDATA instead of bdc..
Check this link for a sample program
http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
THanks,
Naren
‎2007 Jan 02 5:03 AM
Hi Vamsi,
You can make use of Standard DI programme RMDATIND using LSMW,
You can upload the data with MATERIAL TYPE (MTART) and dataview with A_VPSTA field,
like
The VPSTA field should contain the views that are specific to material type and create / extend Following are the codes for VPSTA
A Work Scheduling
B Accounting
C Classification
D MRP
E Purchasing
F PRT
G Costing
K Basic
L Storage
P Forecasting
Q Quality Management
S Warehouse Management
V Sales
X Plant Stocks
Z Storage location stocks
According to the material type you need to pass A_VPSTA field value.
For example :
Semifinished:
MTART: HALB
VPSTA: ABDGKLQV
Regards,
Sivaram Gadde.
‎2007 Jan 02 10:26 AM
Dear Vamshi,
Please refer to the following link:
http://www.sap-img.com/abap/upload-material-master-finish-goods.htm
Regards,
Abir
*******************************************
Please don't forget to award points *