I am using BAPI_MATERIAL_SAVEDATA to create a material.
this BAPI is in a loop, internal table have 4 records with different material numbers and all other data is same.
data is for BASIC and SALEs views.
For fist record it is created data for basic and sales views
for second record it is created only basic view
for third record it is created data for basic and sales views
for fourth record it is created only basic view
Am i missing any thing to pass? why it is creating only basic view for second and fourth records?
i have debugged, data is same except material no for every loop.
i am using commit work and wait for every loop. also tried to use after completion of loop but no change in result
Please help me.
Thanks in advance.