Hi All,
Steps involved in calling an external written Java program into UDF :
Step 1: Save .java and .class file into folder according to package name assigned in JAVA Program.
Step 2: Covert it into compressed zipped folder.
Step 3: Create imported archives Object in SAP PI.
Step 4: Import zip file with import archive option.
Step 5: Now go to message mapping, open Functions tab.
Step 6: Now on down left hand side, you will find archives Used, open this tab.
Step 7: Add the above created imported archive into this.
Step 8: And in import instructions add the package name, you have given in above used JAVA program.
I did all these steps successfully, but after I entered package name in import instructions(Step 8), when I activate the mapping, I got the below error.
has syntax errors: Java Area import, Line 7: package firstpackage does not exist
import firstpackage.*;
^
1 error
Please help me in this regard.