‎2008 Jul 17 1:20 PM
Hi All,
I am creating the retail material and updating the same through the BAPI BAPI_MATERIAL_MAINTAINDATA_RT. Now my issue is i need to extend the created material for 300 plants (stores). So will you guys please let me know is they any BAPI which will extend the material for the remaining stores.
With warm regards,
Santosh
‎2008 Oct 13 10:03 AM
For Extending the material which is already created can be done using BDC programming.
Create a BDC recording program with the material to be extended .
Have a flat file in the presentation or Application server.
After declaring the internal tables and the necessary work areas, loop the internal table, inside which pass the plant details through work area in the place of recording value.
EX: wa_itab-werks.
‎2008 Oct 13 4:49 PM
Hi
You can use RMDATIND direct input program to extend the material. If you know LSMW it's very easy. Check for the documentation of RMDATIND report in the selection screen.
Regards,
Rudra
‎2008 Oct 13 4:53 PM
HI,
you can use BADI: ARTMAS_BAPI_EXTEND
use moethod: MODIFY_BAPI_DATA to add more plant/storagelocation intems.