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

MM01 Batch Input in Background problem

Former Member
0 Likes
1,185

Hi:

I have a problem with a Batch input for MM01 in background. I have developed an Abap with a BI. If we execute the program online, in mode A, there is no problem, BI works properly, but if we want to execute it in background, we have no errors messages, but materials are not loaded. The same if we execute it in mode E or N.

Do you know which could be the cause?

Thanks in advance for your response.

Regards.

8 REPLIES 8
Read only

Former Member
0 Likes
1,036

I would suggest you try once to debug the background job. There could be many reason why material did not loaded.

Read only

0 Likes
1,036

Hi:

I cannot solve this problem.

Please, any idea?

Thank's

Read only

kesavadas_thekkillath
Active Contributor
0 Likes
1,036

in shdb while recording mark the check box :Simulate background mode".I remember this solution proposed here for similar kind of problem. But i had never tried this.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,036

Maybe the time has come to use BAPI_MATERIAL_SAVEDATA ?

Regards,

Raymond

Read only

Former Member
0 Likes
1,036

Hi Mario,

I think you should go to transaction sm35 and process the session that you have created.Then see the log for any errors.

Regards,

Shraddha

Read only

former_member201275
Active Contributor
0 Likes
1,036

This may help:

http://aq33.com/development-programming/Articles018018.html

If not, can you please paste the dump you are getting.

Regards,

Warren.

Read only

0 Likes
1,036

Hi:

Thank you very much for your help. But the problem is next. We get no dump or error message. The programs seems to work ok, but no material is created in 'N' mode. In mode 'A' works properly. We have R/3 Release 4.6C.

Best regards.

Read only

0 Likes
1,036

I think you will struggle to get MM01 working in background mode because of the Text lines.

Can you not use direct input RMDATIND, or Idocs?

Or you can try BAPIS:

BAPI_MATERIAL_SAVEDATA

or MATERIAL_MAINTAIN_DARK