07-26-2007 9:23 PM
can any one let me know how to load the data for one field (bktxt) to the mkpf table.
do i need to use move or update or insert or modify command,
when i tried to use the modify , it is going to create another record with that field, but i need to load the data for the existing records.
07-26-2007 9:31 PM
Example:
DATA message_wa TYPE t100.
message_wa-sprsl = 'EN'.
message_wa-arbgb = 'MYMSGCLASS'.
message_wa-msgnr = '100'.
message_wa-text = 'Some new message ...'.
MODIFY t100 FROM message_wa.
Rgds,
Naren
Message was edited by:
Naren Someneni
07-26-2007 9:29 PM
hi,
data : wa like mkpf.
select single * from mkpf into wa where ....
if sy-subrc eq 0.
wa-bktxt = value.
modify mkpf from wa.
endif.
07-26-2007 9:31 PM
Example:
DATA message_wa TYPE t100.
message_wa-sprsl = 'EN'.
message_wa-arbgb = 'MYMSGCLASS'.
message_wa-msgnr = '100'.
message_wa-text = 'Some new message ...'.
MODIFY t100 FROM message_wa.
Rgds,
Naren
Message was edited by:
Naren Someneni