Professional Documents
Culture Documents
NER Copy:
Contact Person
Kishore Sakthi Kumar
kishoresakthi.kumar@lntinfotech.com
As developer its trouble to copy NERs(as you dont have one) and I know many might have a
solution of their choice to overcome this problem but here is my 2 cents Take a case of 1000
lines of code and you just need to copy them without changing data structures then follow the
steps below. You do it as quick within few mins.
Copy From
Object: N550001
Description: Test NER
Function Name: TestFunctionNER
Function Description: Test Function NER
Copy To
Object : N550001A
Description: Test NER Copy
Function Name: TestFunctionNERCopy
Function Description: Test Function NER Copy
Note: We are about change XML files for this process so be very cautious.
1) Take .par file of the NER which you would like to copy using Save option in OMW. I am
taking an example of N550001.c which has D550001 as Data structures.
2) You can locate file BSFN_N550001_60_99.par in your machine from the saved location.
Rename BSFN_N550001_60_99.par to BSFN_N550001_60_99.zip
3) Here are the list of files you can see include, source, F9860.xml, F9861.xml, F9862.xml,
F9863.xml, manifest.xml, specs.zip
4) Now open F9860.xml in notepad search for N550001 and change the name to your new NER
name (I will name my copy as N550001A) N550001A. Also change <col name="SIMD">Test
NER</col> to <col name="SIMD">Test NER Copy</col> (name of new copied NER) and save
it.
5) Now open F9861.xml in notepad search for N550001 and change the name to your new NER
name (I will name my copy as N550001A) N550001A and save it.
6) Now open F9862.xml in notepad search for N550001 and change the name to your new NER
name (I will name my copy as N550001A) N550001A. Now change the function name and
description for the NER <col name="SIFCTNM">TestFunctionNER</col> to <col
name="SIFCTNM">TestFunctionNERCopy</col> and <col name="SIMD">Test Function NER
</col> to <col name="SIMD">Test Function NER Copy</col>. Also you will have event rule
key like this <col name="SIEVSK">1421b8ac-068b-43e7-ab3e-a9d1225842ed</col>
change a character of this key, I always choose 3 character from last which is 2 for me in
this case and modifying the value to 5 <col name="SIEVSK">1421b8ac-068b-43e7-ab3ea9d1225845ed</col> and save it
7) Now open F9863.xml (if you see any xml tags then) in notepad search for N550001 and
change the name to your new NER name (I will name my copy as N550001A) N550001A and
save it.
8) Now open manifest.xml in notepad and it looks like this below
<manifest sar="0" name="BSFN_N550001" type="60" release="E900" hosttype="99"
aggregate="" description="Test NER" documentation="" typedescription=""
hosttypedescription="">
- <filelist>
<file id="include\N550001.h" filename="include\N550001.h" />
<file id="source\N550001.c" filename="source\N550001.c" />
13) Open BUSFUNC folder, you can see TestFunctionNER.xml, rename the file as
TestFunctionNERCopy.xml. Open the TestFunctionNERCopy.xml search for N550001 and
change the name to your new NER name (I will name my copy as N550001A) N550001A.
Search for szFcnName=" TestFunctionNER" and change it to szFcnName="
TestFunctionNERCopy" and save it.
15) Below steps are very important and follow it as mentioned, else you might not get results.
16) Select the two folders BUSFUNC and GBRSPEC and right click to create .zip file. Rename
the .zip as specs.zip. Copy the specs.zip to location where you have rest of files as per step
11.
17) Now select all the changed files include, source, F9860.xml, F9861.xml, F9862.xml,
F9863.xml, manifest.xml, specs.zip and right click to create .zip file. Rename the .zip as
BSFN_N550001A_60_99.par
18) Now in OMW create an object NER with N550001A and description as Test NER Copy. Using
OMW Restore option, take the BSFN_N550001A_60_99.par from your local workstation.
19) Now you can open NER in the Business Function Design Aid to see the copied NER now.