JD Edwards E-text Templates
JD Edwards usually interacts with many other systems through TXT or CSV files. This template allows you to build without having to modify the code of the UBE, which might be useful in some cases. Web services are a popular topic today, and might take over plain files in the near future. For now however, we still rely on them for various things.
Let’s take a look at how to use E-text templates. E-text templates work by converting the XML output from JDE into a plain file using a BI Publisher template, which is an RTF file with special characteristics (not your usual RTF template). In the sample folder that comes with BI Publisher desktop, you will find a sample of this template, which looks like the picture below.
As you can see, the first part of the template is a definition of the file along with setup parameters. You can do a lot of setup here, but for now just leave it as is. If you work with BI Publisher, this will make more sense to you as all the fields are mapped in a table using the XML tags. Operations and functions can also be used.
E-text Templates – Step 1
To test E-text templates, you will need to use template viewer that comes with the BI Publisher desktop installation.
RFT Template – Step 2
You need an XML file as a data source. The sample folder also has an XML file you can use to test. Load the XML in the data side and the RFT in the template side, change the output format to E-text, and click Start Processing.
Process Conclusion – Step 3
You will get a plain file based on your settings. When running on the server, this process is transparent for the user. They can simply open the job and get the text file they need. You can do several things here, like change the extension of the file (.txt, .dat) the delimiter (, | “) and the character set (Unicode, UTF etc.)
Pros and Cons of E-Text Templates
As you can see, this is a very powerful tool for creating text files. However, there are some limitations you have to keep in mind:
- The amount of data to be exported can’t be huge, as it is processed by the BI Publisher server and can easily exceed the memory if you are working with big tables like F0911. There are some ways to extend the memory, but since this affects the system globally, your CNC team may not be too happy!
- The file will be placed in the print queue folder, so if you need to move it to a specific folder, this might not be the best solution.
- There are some standard reports where E-text templates are used, but they are likely localized and therefore not installed.