Hi Vag
In general, when you have grids that don't provide the options you need to find and/or insert rows, GUI scripting or a BAPI are alternatives.
So you can use GUI scripting with and IndexedIf on the field you want to lookup - whether partner number or type.
or
You can use a BAPI, which is a much better way, IMHO. BAPI_SALESORDER_CHANGE is the way to go. The downside, you have to use the German partner codes, like WE for ship to, etc.
FYI
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------