2006 Jun 16 7:06 AM
Hi all,
My requirement is to create a 5000 material in 88 warehouses 103 plants and 400 storage locations with all views.So, I am using the bapi BAPI_MATERIAL_SAVEREPLICA to create and extend the material to all plants and storage locations.
My problem is that it is taking around 75 seconds to create one material and when i try to create morethan 25 materials it is showing a dialog box that contains log could not keep in the memory queue and throwing me out of SAP.For creating one material it is giving around 2200 lines of messages in returnmessages structure .So, Please suggest me how to improve the performance reduce the number of messages and a solution for log could not keep in the memory queue.
thanking you in advance.
Regards ,
Pavan
2006 Jun 16 7:22 AM
Hi,
Try to schedule the program in Background mode, thru job scheduling .
Regards,
Raghav
2006 Jun 16 7:37 AM
Hi Raghavendra,
Even in back ground it is not executing if the no. of materials is more than 25.
Regards,
Pavan
2006 Jun 16 8:23 AM
2006 Jun 16 9:51 AM
Hi Raghavendra,
Thanks for your answer.
BAPI_MATERIAL_SAVEDATA is used to create one material at a time but i need to create more than 5000 materials so, this will become a big performance issue.
Regards,
Pavan
2006 Jun 16 9:57 AM
Hi,
You can call the BAPI <b>BAPI_MATERIAL_SAVEDATA</b> in side the loop. frist upload the file to Application server,and then get them to itab and then loop at itab call the BAPI
and try to schedule the Background job to upload the Material master.
this way you can reduce the load.
Regards
vijay
2006 Jun 16 10:11 AM
Hi,
You can get the contents to the material in the internal table and use BAPI_MATERIAL_SAVEDATA in a loop. Surely this shall be very time consuming process n shall have performance issues.
Thus, the program should be run as background program and should be scheduled in night time when the load on the server is minimum.
Regards,
Tanveer.
<b>Please mark helpful answers</b>
2006 Jun 16 7:25 AM