Introduction
The purpose
of this document is to provide basic information about ExcelToCI, and
assistance with troubleshooting problems when using ExcelToCI. Although there
are no prerequisites to using ExcelToCI it is very helpful to have an
understanding of Component Interface (CI) technology. For additional information on CIs and
ExcelToCI see the PeopleTools Component Interface PeopleBooks. You may also notice that the spreadsheet
screenshots are not all identical, and may look different from your
spreadsheet. The reason for this is that
the document was developed and updated over multiple PeopleTools releases.
Some things
to remember:
- Not all CIs are suitable for
ExcelToCI.
- The SOAPTOCI Peoplecode sets the
CI properties in the same order in which they appear in Application
Designer. This will be a problem in
cases where properties need to be set out of sequence in order for
Peoplecode validations to work correctly.
- Avoid using large complex CIs. However, if you elect to use them, send
them in smaller chunks to avoid running into problems such as timeouts,
and to improve the application server throughput.
- Ensure that you use a copy of the
ExcelToCI workbook found in <PS_HOME>\excel for the PeopleTools
release you’re on. Also, make sure
you don’t open multiple Excel workbooks at the same time, either multiple
ExcelToCI workbooks or a combination of ExcelToCI workbooks and other
Excel workbooks to avoid seeing strange behavior. Note the following about the Excel
spreadsheet (and macro file).
a. PT 8.49 - ExcelToCI2007.xlsm - Both the
spreadsheet and macro are in a single file. This file was released in the PT 8.49.30 or PT
8.49.31 PeopleTools patch.
b. PT 8.50 and later - Both ExcelToCI2007.xlsm
and RelLangMcro.xla (macro file) are used.
Before opening the ExcelToCI spreadsheet, copy both files to the Excel
client machine’s test/working directory to avoid errors.
NOTE: The following
sections cover some of the available topics, not everything. See the ExcelToCI
documentation in the PeopleSoft Component Interface PeopleTools PeopleBooks – PeopleSoft PeopleTools 8.53 PeopleBook >
PeopleSoft Component Interfaces > Using the Excel To Component Interface
Utility)
Tool
Basics
Connection Page
Web
Server machine name: Provide the web server machine name. If you
created auth token domain, then include it in the name. The name should match the PIA URL server
name (use the same name as when logging into PIA via the browser), port and
site name, and you should be able to log into PIA using the web server, port
and site name used here.
Protocol: Default is http. If you want to use https, ensure that the SSL
certificates are properly installed, including any required client
certificates. One way of testing whether
SSL is properly installed is to open a browser and try logging into PeopleSoft
using the https port. If the
certificates are invalid, you will usually get a pop up message indicating
possible problems with the certificates. However, if you clicked Ok to continue in
spite of the questionable certificates, you won’t see this popup on subsequent
attempts to log into PeopleSoft.
NOTE: The default SSL setting (In WebLogic
the setting is “Two Way Client Cert Behavior”, and the default setting is 'Client Certs Not Requested') is supported. If client cert setting is “Client certs
requested, but not required” or more stringent, uploads from Excel will not
work.
HTTP/HTTPS
Port: Provide the web server’s port number. The default http port is 80. The default https
port is 443. Even though these are the
standard defaults, verify that the port number is correct in the case where the
port number does not appear in the PIA login URL because your system
administrator can set up the environment such that even though the port number
is resolved without it being specified when logging into PIA the port number might
not be 80 or 443.
Portal: The name of the portal you are using. EMPLOYEE
is the default portal shipped with PeopleSoft.
PeopleSoft
Site Name: The PeopleSoft site name that you entered when
you installed the PeopleSoft Internet Architecture. The default is ps. The site name can be determined from the PIA
browser URL, as it is the second field after the port number in the URL. In
sample below it is E910G21U. Also remember this field is case sensitive.
http://sla.us.oracle.com:8200/psp/E910G21U/EMPLOYEE/HRMS/h/?tab=DEFAULT
Node: The PeopleSoft default local node name. The default is PT_LOCAL. To determine the default local node name, log
into PIA and navigate to PeopleTools > Integration Broker > Node
Definitions. Then press the search button
without providing any search criteria. The
default local node will have a 1 in the Local Node column and a “Y” in the
Default Local Node column.
Language
Code: The code for the language that the data is
submitted to the database in and the template is created in. If no language code is specified, the base
language is used.
Chunking
Factor: The number of rows of data to be transmitted
to the database at one time. The default
is 40. If the CIs being used are large
and/or have much Peoplecode, a smaller value will probably result in better
throughput by the application server. Testing
will help determine a suitable value.
Error
Threshold: The total number of errors that are permitted
before submission to the database ceases. When the error threshold is exceeded, an error
message appears and submission to the database stops. You should specify a valid number instead of
leaving it blank.
Submit
Blanks As Input: This option is available in PT 8.51 and
later. When this option is set to Yes
and a character input field selected for input contains only blank spaces, the
field will be included for submission instead of being ignored. This option is set to No by default, for
backwards compatibility. If full-width blank
space Unicode characters are entered as an input value in ExcelToCI, (this is
achieved by using an encoding that supports such Unicode characters) the field
will be submitted, the blanks will be sent, and the value will not be trimmed
before it is saved to the database. If
regular ASCII blank spaces (also known as half-width characters) are entered as
a value for a character field, the field will be submitted, but the value will
be trimmed, so an empty string will be saved. In essence, the field value will be cleared.
Optional
Keys: This option is
available in PT 8.53.03 and later, and in PT 8.52.15 and later. This option is provided for use by Oracle
Applications development, not for customer use.
Use the default value of No.
Action: The value for the Action field is populated by
the system when the component interface is retrieved from the database. However, you can change the populated value by
selecting it from the Action drop-down list.
The types of
actions available are based on the structure of the component interface. The
different actions are:
Create:
If the component interface has create
keys. Use this mode when new keys are
being added at level 0.
Update: Use this mode if you are adding new children
to an existing parent (e.g. inserting new rows into existing collections).
UpdateData: This mode is used to update specific non-key
values that already exist but need to be updated. The system uses the keys to locate the row,
and when a match is found, the row is updated with new data. If a key match is not found by the system, it
displays an error message indicating which collection was missing a key match.
NOTE
on effective dated processing: When inserting effective
dated collection rows remember the following. First, “History” is included in
the data set. This means that both
historic data (in the past), and future data are included in the existing
collection data. Secondly, the data
used to initially populate the new row is copied forward from the existing row
at index 1. This means that if the
existing Level 1 collection row at index 1 has child collections containing
data, those child collection rows are copied forward to the new Level 1 row’s
children, but with the effective date of the new row. The reason this behavior is present is due to
the following settings in the Peoplecode processing the request.
1.
History
– The GetHistoryItems and EditHistoryItems flags are set to “True” in the
PeopleCode processing the data. This
means that both historic data (in the past) and future data are included in the
data set. This would be similar to
Correction Mode when using the online component.
2. Index passed to InsertItem() and
Item() methods - The index passed to the method being used (InsertItem or Item)
is always 1. This means that the data
used to initially populate the new row will be taken from the existing row at
index 1, even if the existing row is a future dated row. For EFFDT (effective dated data), if you want
to insert at other indexes, see the two solutions below for more information on
how this can be accomplished.
Doc ID 973020.1 E-ExcelToCI - Can the Default Values of the newly
inserted EFFDT Row be Copied forward from a Row other than Row 1?
Doc ID 1270589.1 E-ExcelToCI: EFFSEQ Key Is Not Being Used to
Determine Insert Index using EFFDT Data
Template Page
New
Template: Use this button to download and create a new
template based on a component interface.
Select
Input Cell: Use this button to select fields to be included
on the Input page. The selected cells
will have a pink background (as shown above).
Include
For Submission: Use this button to include a single property
to be included on the Staging and Submission sheet. Properties that use default values from the
template must be included for submission. Cells that are included for submission
generally are properties that contain default values or properties that you
would like to see in the structure of the Staging and Submission sheet. Properties that are included for submission
are highlighted in blue. Determine which
fields you want to supply. Then enter
the value into each of these fields on the Template page. These properties and values will show up on
the Staging & Submission page, not the Data Input page.
Insert New
Child: Use this button to Copy the selected row to be
inserted as a new child. This creates
multiple occurrences of the same record type. For example, if the selected row has a
template identifier of 100, a new row is inserted that also has an identifier
of 100 and is an exact duplicate of the selected row. If you want to upload multiple collection
rows, see the next section, Handling Multiple Child Collection Rows.
Note. Use Insert New Child when multiple children must be
submitted under the same parent record. Multiple
children should not be created at identifier 000.
Handling Multiple Child Collection Rows
Simple scenario
The following table lists common errors and error messages and their possible resolutions.
Error Message | Possible Resolution |
---|
Component not correctly registered | Reinstall Visual Basic 6.0 SP5: Run-Time Redistribution Pack found on the Microsoft download site. |
ActiveX component not correctly registered (Error 336) | Reinstall Visual Basic 6.0 SP5: Run-Time Redistribution Pack found at the Microsoft downloads website. |
Error Number: -2147024770 Description: Automation error. The specified module could not be found. | Perform the following steps: Open Windows Explorer. Navigate to c:\winnt\system32 directory and locate msxml6.dll. Right-click the DLL and select Register COM Server. The message DLLRegisterServer in c:\winnt\system32\msxml6.dll succeeded. will appear. Click OK.
|
Error Number: 429 Description: ActiveX component can't create object. | Perform the following steps: Open Windows Explorer. Navigate to c:\winnt\system32 directory and locate msxml4.dll. Right-click the DLL and select Register COM Server. The message DLLRegisterServer in c:\winnt\system32\msxml6.dll succeeded. will appear. Click OK.
|
Error Number -214722099 Description: Automation error in the dll. | Perform the following steps: Location and open the file ExcelToCI2007.xlsm. Press Alt + F11 to open the Microsoft Visual Basic Editor. Select . Deselect anything that begins with Microsoft XML. Browse for c:\winnt\system32msxml6.dll and click OK. Select that version of msxml and click OK. Click Save.
|
Not Authorized (90,6) | The user who is trying to access the component interface from ExcelToCI does not have access to the component interface. Please provide access using PeopleTools Security. |