To create a test file:
- Go to WebSphere InterChange Server Connector Tools (transaction
YXR1).
- Select Test g Test Program.
- Perform a Quick Retrieve for the required business object:
- Enter the name of an output file.
- Select either an IDoc Retrieve or a Dynamic Retrieve.
- Enter the business object's name and object key.
- If you selected an IDoc Retrieve, enter the IDoc Type, enter
Y_XR_IDOC_HANDLER in the Method 1 field, and enter the
name of your Retrieve function module in the Method 2 field.
- If you selected a Dynamic Retrieve, enter
Y_XR_DYNAMIC_RETRIEVE in the Method 1 field.
- Click execute to save the test business object in the output
file you specified.
- Edit the test file in any text editor. You must:
- Modify the verb application specific information to point to
your ABAP handler See "Business
object data routing to ABAP handlers" for the syntax. For
example,:function1:function2.
- Verify that the appropriate attribute on the parent is marked
isKey.
- Add input values for the attributes, as required.
