Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Transfering Data of materials from one plant to another

Former Member
0 Kudos

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.

5 REPLIES 5

Former Member
0 Kudos

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 ).

0 Kudos

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.

0 Kudos

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

0 Kudos

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

0 Kudos

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