To select IDocs from a file, you must first configure an
IDoc definition file based on information on the SAP server.
You then specify, in the external service wizard,
the path to the file on your local system.
Before you begin
You must have created an IDoc definition file.
Note: If you
are using Discover IDoc From System, do not
complete the following steps. The IDoc definition file is needed only
if you are using Discover IDoc From File.
About this task
Specify the IDoc definition file that the
external service wizard uses
to discover the IDoc.
Procedure
- In the Find Objects in the Enterprise System window,
indicate which IDoc you want to work with.
- Expand ALE.
- Click Discover IDoc From File to
enable the filter button.
- Click the filter button.
Note: Instead of
using the filter button, you can expand
Discover IDoc From
File and select the IDoc definition file. You then skip
ahead to step
4.
- From the Filter Properties window,
specify the location of the IDoc definition file.
- Click Browse to navigate to the
IDoc definition file, or type the path to the file.
Figure 1. The Filter Properties for Discover IDoc From File window
- After you type or select the file, click OK.
- Select the IDoc or IDocs.
- Expand Discover IDoc From File (filtered).
The IDoc definition file is displayed.
- Click the IDoc definition file.
Figure 2. The Find Objects in the Enterprise System window
- Click the arrow button to add it to the Selected
objects list.
- In the Configuration
Parameters window, perform the following tasks:
- Optionally select the Use
SAP field names to generate attribute names. By default,
when the check box is not selected, field descriptions are used to
generate properties. If you choose to use SAP field names to generate
attribute names, two more check boxes are enabled:
- Select the Use SAP-original
casing for Control Record Business object attribute names check
box to generate attribute names in SAP original casing. If unchecked,
attribute names are generated using field names from SAP in camel-casing.
- Select the Use SAP-original
casing for Data Record Business object attribute names check
box to generate attribute names in SAP original casing. If unchecked,
attribute names are generated using field Name from SAP in camel-casing.
The following are the different possible combinations:
Table 1. | Scenario |
Use SAP field names to generate attribute names
(check-box) |
Use SAP-original casing Control Record business
object attribute names (check-box) |
Use SAP-original casing Data Record business
object attribute names (check-box) |
Control Record |
Data Record |
| 1 |
Checked |
Checked |
Checked |
Attribute names are generated using Field Name
from SAP (Original SAP casing) |
Attribute names are generated using Field Name
from SAP (Original SAP casing) |
| 2 |
Checked |
Checked |
Not checked |
Attribute names are generated using Field Name
from SAP (Original SAP casing) |
Attribute names are generated using Field Name
from SAP (Camel-casing) |
| 3 |
Checked |
Not checked |
Checked |
Attribute names are generated using Field Name
from SAP (Camel-casing) |
Attribute names are generated using Field Name
from SAP (Original SAP casing) |
| 4 |
Checked |
Not checked |
Not checked |
Attribute names are generated using Field Name
from SAP (Camel-casing) |
Attribute names are generated using Field Name
from SAP (Camel-casing) |
| 5 |
Not checked |
Not checked |
Not checked |
Attribute names are generated using Field Description
from SAP (Camel-casing) |
Attribute names are generated using Field Description
from SAP (Camel-casing) |
- If you want to have IDocs sent to a queue on the SAP server,
click Use qRFC to serialize outbound data with a queue,
and then select the queue from the Select the queue name list.
- In the IDoc release version field,
specify the SAP release number to identify the IDoc type you want
the external service wizard to
use for creating business objects.
- Click OK.
- Click Next.
Results
The
external service wizard has
returned an IDoc or a list of IDocs associated with the IDoc definition
file.
You see the Configure Composite Properties window.
What to do next
Optionally specify a namespace and
directory to which the generated business object will be stored and
indicate whether you want a business graph generated