05-20-2009 11:27 AM
Hi,
I want to create new materials with multiple plants & sales organizations.
I am having material description & other details.
I am using BAPI_MATERIAL_SAVEDATA for this purpose.
I want to create multiple plants against one material descriprion & multiple sales organizations against one material descriprion.
One material should be generated for one material description with multiple plants/Sorg's.
How to do it using above BAPI!
Note: It is not extending already existing material with multiple plants & sales organizations.
Thanks in advance.
Thanks,
Deep.
05-20-2009 12:30 PM
Hi,
You can always add only one plant/SO combination during a single BAPI call. So does the standard transaction works as well.
The short text is available in the general data of the Material Master. It is not dependent on the plant or sales data. We can maintain multiple Short texts in different languages.
While creating a Material, we can always assign to one plant and one sales organization at one particular time. Once the material is created, additional plants and Sales Organizations can be created/added to the Material.
Regards,
Yogesh
05-20-2009 12:26 PM
Hello
Pass that material number with the other plant and its corressponding storage location it should be extended to that plant also.
For any other issues kindly revert back.
Avishek
05-20-2009 12:30 PM
Hi,
You can always add only one plant/SO combination during a single BAPI call. So does the standard transaction works as well.
The short text is available in the general data of the Material Master. It is not dependent on the plant or sales data. We can maintain multiple Short texts in different languages.
While creating a Material, we can always assign to one plant and one sales organization at one particular time. Once the material is created, additional plants and Sales Organizations can be created/added to the Material.
Regards,
Yogesh
05-20-2009 12:40 PM
Hi,
With in input file loop
1. I will select generated mat no from BAPI_MATERIAL_GETINTNUMBER based on ind.typ & mat.type.
2. Then i will pass this material no in the first loop to BAPI_MATERIAL_SAVEDATA with one plant & in the next loop next plant till next material created.
In this way i can append multiple plants to same material in creation mode(first time itself).
I hope same applies to multiple sales organizations against generated materiial.
Thanks,
Deep.