10-05-2005 4:14 AM
Hi,
I want to transfer the materials of one plant to another plant.
is there any report like rfbide10 which is for customers for materials also.
if so plz help me.
Have a Lovely Day.
Thanks & Regards.
Waiting for response.
10-05-2005 5:44 AM
Hi Sree Ram,
First you will have to extract one plant data using RMDATGEN .
Change the plant value in this file with your own ABAP program .
Then use RMDATIND to upload material in another plant with the file created in step 2.
Check the program documentation on both program for more details.
Cheers.
( Dont forget to reward if answers helped ).
10-05-2005 9:16 AM
Hi Sanjay,
Thanku For helping.
I need to Get the All details of Materials along with Plant.
But the data is not Understanding.
Plz help me if u have any other Report.
Thanks & Regards.
With Cheers.
10-05-2005 9:29 AM
Hi Sree,
When you run report RMDATGEN with a material it will extract all the data of material .
The format of file will be similar to structures BGR00/ BMM00 / BMMH1 i.e. for batch input.
I am not sure what you mean by "Data is not understanding".
You can try create a test file in transaction SXDA / SXDA_TOOLS for material ( Object - BUS1001006 or just do an F4 and select Standard Material (. Specify a file and click on " Create file with data from test program" . After file is created , you can display it here only and see the structures in which data is extracted.
Check this for help on data transfer workbench ( SXDA).
http://help.sap.com//saphelp_470/helpdata/EN/3e/9e14f4fe0211d2a6240060087832f8/content.htm
Cheers
10-05-2005 9:39 AM
Hi Sree
I've just wroten a program to sole a problem as your, I can't get the code now, but the program is very easy if you use the BAPI:
BAPI_MATERIAL_GET_DETAIL and
BAPI_MATERIAL_SAVEDATA
By the first BAPI you get out all details of your material, by second one you insert these details to new plant.
Max
10-05-2005 9:56 AM
Be carefull with RMDATGEN, it is able to copy also all consumption data. You can also use function call MATERIAL_MAINTAIN_DARK. You have to think about configuration, BOMs and routings in the new plant also, which is not maintained neither by the BAPi nor from the function call.
Kind regards
Matthias Kabel