Create Service order using code.

hi Kranthi, I have done whatever u told.

I added the InventDimId in SMAServiceorderlineTable and also added the above two lines in my code.But till now only the header part is updated, line part remains blank. what should i do now. please advice me.

Thanks