Converting IDoc Formats
10 Adapter for SAP R/3
To update a currently used IDoc format in a 5.x Formatter database:
1 Export only the original outbound format using the NNFie utility provided
with Formatter 5.x.
Example:
C:\sybase\bin>nnfie -e absen1.oc.5x.exp -m
SAP.OC.ABSEN1 -s nnfie
2 Load the outbound format for the new version of the IDoc into a temporary
5.6 database using the 3.9 SAP adapter (the example assumes a new
version of ABSEN was released - ABSEN2).
3 Export only the outbound format of the IDoc loaded in the previous step
using the NNFie utility provided Formatter 5.x.
Example:
C:\sybase\bin>nnfie -e absen2.oc.5x.exp -m
SAP.OC.ABSEN2 -s nnfie
4 Edit the configuration file for the conversion tool to indicate:
The names of the two format export files created in step 1 and step 3
of this procedure.
The name that you want to use for the converted format. (This name
is arbitrary.)
5 To run the conversion tool, type the command using the following:
Example:
sap39idoccnvtool -file=<name of config file>
The format export files and the configuration file used to load the 3.9
schema should be placed in the SAP-3_9/bin folder. The command must
be run from this same folder.
6 Inspect the log file produced by the conversion utility for errors.
7 Import the format created by the conversion utility into the target database
using the NNFie utility provided with Formatter 5.x.
Example:
C:\ConversionTests\>nnfie -i absen2.oc.conv.exp -g -
s nnfie
8 Test the format by using it as the target format for reformatting a test
message.