‎2010 Dec 20 11:07 AM
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.
‎2010 Dec 20 11:13 AM
I would suggest you try once to debug the background job. There could be many reason why material did not loaded.
‎2011 Jan 14 9:59 AM
‎2011 Jan 14 10:06 AM
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.
‎2011 Jan 14 10:12 AM
‎2011 Jan 17 11:38 AM
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
‎2011 Jan 17 11:41 AM
This may help:
http://aq33.com/development-programming/Articles018018.html
If not, can you please paste the dump you are getting.
Regards,
Warren.
‎2011 Jan 17 2:41 PM
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.
‎2011 Jan 17 4:51 PM
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