Before configuring the HDR module, configure the following
connector-specific property:
Property
Name |
Default
Value |
Value
Needed |
Modules |
Extension |
BAPI |
To generate a business object in the HDR module:
- Start the SAP ODA.
- Start the business object designer.
- In the business object designer, choose File > New. The
wizard starts.
- Select Configure Discovery:
- Enter the host address for the machine where Discovery is
running.
- Choose Add Host.
- Choose OK.
- In Step 3 of the wizard, expand the Dynamic Definitions.
- Expand HDR.
- Right-click Search by Name.... Choose Search for Items.
- Type kna1. Choose OK.
- Highlight kna1. Choose Next.
- Choose Next.
- Choose OK.
- In Notification, choose No.
- Select "Open new business object definition to a separate
window". Choose Finish.
- Save the new business object to the Repository directory.
To set up the HDR module for testing, use Port Connector:
- Copy the SAP configuration file. Rename the copied file
portconnector.cfg.
- Open portconnector.cfg in Connector Configurator.
- Change the following properties in the Standard tab:
- ApplicationName to PortConnector
- DELIVERYQUEUE to REQUESTQUEUE
- REQUESTQUEUE to RESPONSEQUEUE
- Save changes.
- Open sapconnector.cfg.
- Change REQUESTQUEUE to
SYNCHRONOUSREQUESTQUEUE.
- Save the change.
To test the BAPI module:
- Open Test Connector.
- In Business Object Type, select SAP_kna1. Choose
Create.
- In Enter Name, type new object. Choose OK.
- Change the verb to Retrieve.
- Populate customer_number_KUNNR with an existing SAP
customer number. The number must be 10 digits long, for example:
0000000001.
- Choose Request > Send.
- Check the log file for a success message.
