Application Development and Automation 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: 
Read only

Error in batch input through a job (mm01)

Former Member
0 Likes
428

Hi,

I have a problem with a batch input on MM01.

I want to extend material for a new center and I do it through a batch input. If I execute this batch input with F8 and in mode = 'N', it ends ok.

The problem is when I run this program with a job, the material is not added to the new center.

Can anyone help me?

Thanks,

Liliana.

Hi,

I have a problem with a batch input on MM01.

I want to extend material for a new center and I do it through a batch input. If I execute this batch input with F8 and in mode = 'N', it ends ok.

The problem is when I run this program with a job, the material is not added to the new center.

Can anyone help me?

Thanks,

Liliana.

1 REPLY 1
Read only

Former Member
0 Likes
362

Hi,

Try using BAPI BAPI_MATERIAL_SAVEDATA...

Check this link for a sample code..

http://www.sap-img.com/abap/bapi-to-copy-materials-from-one-plant-to-another.htm

Thanks,

Naren