‎2006 Aug 10 7:46 PM
Hi all. I have the next requeriment:
On a Z program, a user creates a relation between 2 material in 2 different plants, when the material on the 2nd plant doesn't exist must be created as a copy of the original material. For example:
Original MATNR --> MATERIAL01
Original WERKS --> IN55
Copy MATNR --> MATERIAL02
Copy WERKS --> IN25
In this case, the material MATERIAL02 doesn't exist in the IN25 Plant, so it must be created as a copy of the MATERIAL01.
This could be done manually on MM01 trx and adding the MATERIAL01 value as the reference material, but this needs to be done automatically, and the easiest way to do it is using BAPI.
Does anybody know a BAPI to do this??
Thanx.
Jesus
‎2006 Aug 10 7:48 PM
‎2006 Aug 10 7:48 PM
‎2006 Aug 10 7:49 PM
Thanx Rich, but the material MATERIAL01 already exist... so is there a way to get ALL THE DATA of this material into the tables used by the BAPI_MATERIAL_SAVEDATA?
Thanx.
Jesus
‎2006 Aug 10 8:06 PM