02-28-2006 10:43 AM
Hi,
The requirement is There are six different Types of Material Types.
Material Type: NonStock, Service, Spare Parts, Trading, Finished Product and NonValuated. (views are been given according to material types.)
1. Need to Upload the Materials for one Plant and then copy the same to all other plants.
2.Which extends materials to plants, Sales Area and Storage location (There will be a case where we need to extend only storagelocation within same Plant).
We have developed a program using the bapi Bapi_Material_savedata by passing HEADDATA,CLIENTDATA,CLIENTDATAX,PLANTDATA, PLANTDATAX,STORAGELOCATIONDATA , STORAGELOCATIONDATAX, VALUATIONDATA,VALUATIONDATAX , SALESDATA and SALESDATAX.
Only Marc table has been updated and there is no update made in MARD and MVKE tables.
Views selected are BASIC_VIEW ,PURCHASE_VIEW and ACCOUNT_VIEW.
Pls guide me in this regard .
- Priya
02-28-2006 11:06 AM
Hi,
Check this link for sample code and kindly reward points by clicking the star on the left of reply,if it helps.
http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
02-28-2006 11:04 AM
Hi,
Check this link for sample code and kindly reward points by clicking the star on the left of reply,if it helps.
http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
02-28-2006 11:06 AM
Hi,
Check this link for sample code and kindly reward points by clicking the star on the left of reply,if it helps.
http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm
02-28-2006 11:08 AM
hi jayanthi,
That doesnt have salesdata and storagelocation data.
- priya
02-28-2006 11:13 AM
Hi Priya,
Select the 'Sales_View' and 'Storage_View' i.e pass the values to HEADDATA by setting the flag for these views.
It is dependency need to be set at the header level so that it updates the record properly.
Hope this resolves your issue.
Thank you.
Regards,
Karuna.M