I want to create retail material Generic(MM41) with any method, preferably bapi. material should be assigned internally. I tried with 'BAPI_MATERIAL_MAINTAINDATA_RT'.
but this bapi require material no is mandatory.
Plz suggest solution if any body having code plz send.
plz try to give code, i am new to abap, plz help.