Create a Mapping to Upload a Multiline Template from One Sheet
The steps below explain how to create a single sheet multiline upload mapping. This is useful when you would prefer to have your multiline uploads in a single sheet rather than separating the header information and the line item detail between sheets. In this example, the ID column is used in case there is identical header information in the FB50 transactions. It is not always necessary to use the ID column if your header information is unique.
- Follow the Create a Simple BDC Multiline Template Tutorial and make sure that you have a working FB50 Multiline template.
- Open the FB50 Excel file created above.
- Copy the line item columns from the second worksheet into the first worksheet between the header columns and the processed column.
- Fill the load file with data. In the first row, fill out the header information and the first line item. For the second row, fill out only the line item information for the second line item. Continue to fill out line item information for as many line items you have for the document. To post another document, fill out the header information and continue the process.
- Save and close the load file.
- Go to the Upload Mappings page.
- Click New Mapping to display the Upload Mapping wizard.
- Give the upload mapping a meaningful name and description.
- Add the FB50 multiline template that you created earlier.
- Add the Excel file that you just modified.
- Drag the Excel file from the Data Sources Panel to the Mapped To column.
- In the dialog Does your line item data exist in the same data source as your header data?, click Yes.
- The Same File Relationship Editor dialog is displayed. Check the fields that represent the header information. All the fields should be mapped in the Mapped To column in the Upload Mappings page.
- If any fields are not automatically mapped, expand the Data Source node to show the columns in the load file. Manually drag the column from the Data Source node over to the corresponding Mapped To field in the Upload Mappings page.
- When all the fields have been mapped, click Save.
- The new mapping is displayed at the top of the list of upload mappings in the Upload Mappings page. Select the mapping and click Upload.