Dear Sir,
Thank you for your reply.
I did Recording and also i have written program in this way only, But my main concern is that i am using a z table ZTC_DOC and from that table the value of FKNUM should come. Field name in our Z table is SCHNUM and that number should automatically come in VI02 and process as Shipment cost document -> r->select line item -> Display Item details-> Settlement -> Tick on transfer ->SAVE.
Regards
Jai