Add text in GDTXVC Media object with the "rtf" formatting string as prefix

I am trying to store text in Media objects (F00165) in GDTXVC field using a business function (B0500047). The problem I am running into is that it writes the text but does not add the special characters like below:

({\rtf1\ansi\ansicpg1252\deff0\deflang1033{\fonttbl{\f0\fswiss\fprq2\fcharset0 Arial;}}
{\colortbl ;\red0\green0\blue0;}
\viewkind4\uc1\pard\cf1\f0\fs24

I need this added with the text as other outside programs which read from this field are looking for the text in a specific position.

JDE Version that I am using is ERP 8.0 on DB2 database.
 
Top