‎2009 Mar 30 3:07 PM
Hi All ,
I am trying to delete a material ,am using the FM BAPI_MATERIAL_DELETE ,,its giving me a pop up ,taking me to MM06 ...how can i avoid it ?? i mean how can i set all this in background ??
Is there any other function that can delete a material ..
Pls suggest
Regards ,
Hemanth.
‎2009 Mar 30 3:16 PM
‎2009 Mar 30 10:31 PM
Hi .
I have gone through the previous posts .My question is whether we can avoid the pop up of MM06 transaction while using the bapi .
It should happen in the background .Can we have any method to do it ??
One more question ,I manually flagged a material for deletion in MM06 ,but when am trying to create material wid the same material ,its still allowing ..why is it so ??
A material which is flagged for deletion should not allow us to create it again?? or how do we check whether a material is flagged for deletion.
Warm regards
Hemanth.
‎2009 Mar 30 10:48 PM
Hemanth,
I was looking into the BAPI. I think it will not be possible to call it in background. In the call transaction there is no display parameter has been given. So, I think it will be always in display more. i.e. some manual intervention is always required.
Kuntal
‎2009 Mar 31 5:21 AM
HI Kuntal ,
Yeah ,manual intervention is needed .But my requirement is ,i have excel which has 1000's of records ,i have to mark all of them for deletion .
Whats the alternative solution for this ??
Regards
Hemanth
‎2009 May 08 1:05 AM
Try using; BAPI_MATERIAL_SAVEDATA
Set CLIENTDATA-DEL_FLAG = X and CLIENTDATAX-DEL_FALG = X