Hi Manju,
Please use the material for conversion exit ( it should be 18 chars)
Text name : Material + plant + batch
text ID : VERM
Text Object: CHARGE
can you try!
Please check the piece of code from standard Msc2n! how to update the text:
Include : LCHRGI02
PERFORM create_new_text.
txhead_str-tdspras = dfbatch-spras.
CALL FUNCTION 'INIT_TEXT'
EXPORTING
id = txhead_str-tdid
language = txhead_str-tdspras
name = txhead_str-tdname
object = txhead_str-tdobject
IMPORTING
header = thead
TABLES
lines = txt_lines
EXCEPTIONS
OTHERS = 99.
IF NOT sy-subrc IS INITIAL.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno "#EC *
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
CLEAR txt_lines.
txt_inlines-tdformat = '*'.
txt_inlines-tdline = dfbatch-kztxt.
APPEND txt_inlines TO txt_inlines.
APPEND txt_inlines TO txt_lines.
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
header = thead
IMPORTING
function = txt_funct
newheader = thead
TABLES
lines = txt_lines
EXCEPTIONS
OTHERS = 99.