...
- Check out or update the sap2java Eclipse project. If needed, refer to the iJAG FAQ for instructions on checking out an Eclipse project.
- In the sap2java project, open package src/com/sap/bapi/mapper. Right-click on class, testSAP2Java, and select "Run As..." from the context menu.
- Create a new Java Application run profile for testSAP2Java or open its previously created profile, then select the "Arguments" tab.
- In the "Program arguments" text area, add the following lines:
-
Code Block workspace_location ... target source code directory (wrapped in double-quotes), e.g., "$\{workspace_loc\}/myproject/src"
package_name ... package into which the generated classes will be written, e.g., edu.mit.myproject.proxy
*rfc_name ... name of the RFC for which Java data object classes will be generated, e.g., Z_UT_MY_RFC
- Click the "Run" button. The requested Java data object classes are generated. You may need to refresh your project to see the change.
...