<?xml version="1.0" encoding="utf-8"?>
<ManualTopic ID="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_create_session_based_reports" xml:lang="en" UserLevel="Expert">
	<Header>
		<Title xmlns:HTML="http://www.w3.org/TR/REC-html40">To create session-based reports</Title>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>session-based reports</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>reports</Level2>
		</Keyword>
		<Keyword ContextSensitive="No"><Level1>Reporting</Level1>
			<Level2>
                                    Reporting Studio
                                 </Level2>
		</Keyword>
	</Header>
	<ProcedureSection><ProcIntro><Paragraph class="Default">To create session-based reports that are Report Viewer enabled, you must convert existing 4GL reports to XML report designs. Subsequently, you can enhance the report designs in the Infor Reporting Studio. For details, see the procedure steps.</Paragraph>
		</ProcIntro>
		<Steps><StepsIntro>To create a session-based report, complete the following steps:</StepsIntro>
			<Step><StepTitle>Convert the report to an XML report design</StepTitle>
				<Paragraph class="Default">Start the <GUIRef href="/baanerp/tt/adv/ttadv3241m000" role="session">Enable Reports for RPT Design (ttadv3241m000)</GUIRef> session. Enter the required information and click <GUIRef href="/baanerp/tt/adv/ttadv3241m000#exec.cont.process" role="command" Update="No">Convert</GUIRef>.</Paragraph>
				<Paragraph class="Default">For details, refer to the session help.</Paragraph>
				<Paragraph class="Default">The generated report designs are stored in the report sources folder and have a ".rptdesign" filename extension.</Paragraph>
				<Paragraph class="Default">Note: the following steps are optional. Only perform these steps if you want to customize the report design in Reporting Studio.</Paragraph>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="356" width="697" SRC="../images/nt_screen_rpt_create_session_based_reports1.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_rpt_create_session_based_reports1.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_rpt_create_session_based_reports1.gif" ID="IDAZK0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
			</Step>
			<Step><StepTitle>Transfer the report design to your client PC</StepTitle>
				<ProcedureList><ListIntro>Before you can edit a report design in Reporting Studio, you must transfer the report design to your client PC. To do this, complete the following steps:</ListIntro>
					<ListItem>Start the <GUIRef href="/baanerp/tt/adv/ttadv3530m000" role="session">Reports (ttadv3530m000)</GUIRef> session.</ListItem>
					<ListItem>Select the report and, on the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="/baanerp/tt/adv/ttadv3530m000#export.rpt.file" role="command" Update="No">Export RPT file...</GUIRef>. The <GUIRef href="" role="manual">Export/import file</GUIRef> dialog appears.</ListItem>
					<ListItem>In the <GUIRef href="" role="manual">Export to</GUIRef> field, enter the destination directory and file name. The default export destination is the ${BSE_TMP} directory on your client PC.</ListItem>
					<ListItem>To transfer the report design, click <GUIRef href="" role="manual">Continue</GUIRef>. The following message is displayed: <Code>Export file successfully processed</Code>. To close the message window, click <GUIRef href="" role="manual">OK</GUIRef>.</ListItem>
					<ListItem>Close the <GUIRef href="/baanerp/tt/adv/ttadv3530m000" role="session">Reports (ttadv3530m000)</GUIRef> session.</ListItem>
				</ProcedureList>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="464" width="692" SRC="../images/nt_screen_rpt_create_session_based_reports2.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_rpt_create_session_based_reports2.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_rpt_create_session_based_reports2.gif" ID="IDACL0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
			</Step>
			<Step><StepTitle>Start the Reporting Studio
                                    </StepTitle>
				<Paragraph class="Default">To start the Reporting Studio, run the <Code>eclipse.exe</Code> executable in the <Code>eclipse</Code> subdirectory in the Reporting Studio installation directory.</Paragraph>
				<Paragraph class="Default">For example, run <Code>C:\Infor\ERPLN\ReportingStudio\eclipse\eclipse.exe</Code>.</Paragraph>
			</Step>
			<Step><StepTitle>Import the report into a report project</StepTitle>
				<ProcedureList><ListIntro>To import the report, complete the following steps:</ListIntro>
					<ListItem><Paragraph class="Default">In the <GUIRef href="" role="manual">Navigator</GUIRef>, right-click the report project and, on the shortcut menu, click <GUIRef href="" role="manual">Import</GUIRef>. Alternatively, on the <GUIRef href="" role="manual">File</GUIRef> menu, click <GUIRef href="" role="manual">Import</GUIRef>. The <GUIRef href="" role="manual">Import</GUIRef> wizard's <GUIRef href="" role="manual">Select</GUIRef> dialog starts.</Paragraph>
						<Paragraph class="Default">
                                             Note If there is no report project, you must first create one. For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_create_report_project" role="manual">To create a report project</Link>.</Paragraph>
					</ListItem>
					<ListItem>In the <GUIRef href="" role="manual">Select an import source</GUIRef> pane, expand the <GUIRef href="" role="manual">General</GUIRef> folder and select <GUIRef href="" role="manual">File System</GUIRef>. Then click <GUIRef href="" role="manual">Next</GUIRef>. The <GUIRef href="" role="manual">File system</GUIRef> page appears.</ListItem>
					<ListItem><Paragraph class="Default">Specify the location where the report design you want to import is stored. To do this, click the <GUIRef href="" role="manual">Browse...</GUIRef> button next to the <GUIRef href="" role="manual">From directory</GUIRef> field. Note Select the directory specified during the check out/export of the report, such as the ${BSE_TMP} directory on your client PC.</Paragraph>
						<Paragraph class="Default">In the right-hand pane, the wizard displays all files from the selected directory. Report designs have a ".rptdesign" filename extension. Select the report design you want to import.</Paragraph>
					</ListItem>
					<ListItem><Paragraph class="Default">In the <GUIRef href="" role="manual">Into folder</GUIRef> field, specify the report project into which you want to import the report design. To select the appropriate project, click <GUIRef href="" role="manual">Browse...</GUIRef>.</Paragraph>
					</ListItem>
					<ListItem>Select <GUIRef href="" role="manual">Create selected folders only</GUIRef>.</ListItem>
					<ListItem><Paragraph class="Default">Click <GUIRef href="" role="manual">Finish</GUIRef>.</Paragraph>
						<Paragraph class="Default">The report design is now displayed in the <GUIRef href="" role="manual">Navigator</GUIRef>.</Paragraph>
					</ListItem>
				</ProcedureList>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="639" width="620" SRC="../images/nt_screen_rpt_create_session_based_reports3.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_rpt_create_session_based_reports3.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_rpt_create_session_based_reports3.gif" ID="IDALL0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Import a report design</FigCaption>
				</Figure>
			</Step>
			<Step><StepTitle>Open the report design</StepTitle>
				<Paragraph class="Default">To open the report design, go to the <GUIRef href="" role="manual">Navigator</GUIRef> and double-click the report design. Alternatively, select the report design and, on the shortcut menu, click <GUIRef href="" role="manual">Open</GUIRef>.</Paragraph>
				<Paragraph class="Default">The report layout is displayed in the editor area and report data is displayed in the <GUIRef href="" role="manual">Property Editor</GUIRef>.</Paragraph>
				<Figure space-and-orientation="indented-estimated"><FigIntro>See the following figure for an example.</FigIntro>
					<HTML:IMG height="672" width="693" SRC="../images/nt_screen_rpt_create_session_based_reports4.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_rpt_create_session_based_reports4.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_rpt_create_session_based_reports4.gif" ID="IDAUL0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
			</Step>
			<Step><StepTitle>Customize the report design</StepTitle>
				<Paragraph class="Default">Beautify the layout of the report. For example, you can add a graph or company logo.</Paragraph>
				<Paragraph class="Default">You can add charts and images through the <GUIRef href="" role="manual">Insert</GUIRef> menu, the report editor's shortcut menu, and the <GUIRef href="" role="manual">Palette</GUIRef>.</Paragraph>
				<Paragraph class="Default">When you select a component in the report layout, the component's properties are displayed in the <GUIRef href="" role="manual">Property Editor</GUIRef>. Here you can edit, for example, the font type, size and color.</Paragraph>
				<List><ListTitle>
                                          Important!
                                       </ListTitle>
					<ListItem>Only use Reporting Studio to beautify the layout of the report. For example, you can add a graph or a company logo.</ListItem>
					<ListItem>To change the structure of the report, for example to add layouts, input fields, or labels, use the classic report editor. For details, refer to <Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/to_edit_reports" role="manual">To edit reports</Link>.</ListItem>
				</List>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="671" width="693" SRC="../images/nt_screen_rpt_create_session_based_reports5.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_rpt_create_session_based_reports5.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_rpt_create_session_based_reports5.gif" ID="IDA3L0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/><FigCaption>Sample report layout with image</FigCaption>
				</Figure>
			</Step>
			<Step><StepTitle>Save and close the report</StepTitle>
				<Paragraph class="Default">Click <GUIRef href="" role="manual">Save</GUIRef>, and close the report layout in the editor area.</Paragraph>
			</Step>
			<Step><StepTitle>Upload the report design into the ERP LN data dictionary</StepTitle>
				<ProcedureList><ListIntro>To upload the report design into the data dictionary on the ERP LN server, complete the following steps:</ListIntro>
					<ListItem>Start the <GUIRef href="/baanerp/tt/adv/ttadv3530m000" role="session">Reports (ttadv3530m000)</GUIRef> session.</ListItem>
					<ListItem>Select the report concerned and, on the <GUIRef href="" role="menu">Specific</GUIRef> menu, click <GUIRef href="/baanerp/tt/adv/ttadv3530m000#import.rpt.file" role="command" Update="No">Import RPT file...</GUIRef>. The <GUIRef href="" role="manual">Export/import file</GUIRef> dialog appears.</ListItem>
					<ListItem>In the <GUIRef href="" role="manual">Import from</GUIRef> field, enter the directory and file name of the exported report design on your client PC.</ListItem>
					<ListItem><Paragraph class="Default">To import the report design, click <GUIRef href="" role="manual">Continue</GUIRef>. The following message appears:</Paragraph>
						<Paragraph class="Default"><Code>Import successfully processed</Code>.</Paragraph>
					</ListItem>
					<ListItem>To remove the message window, click <GUIRef href="" role="manual">OK</GUIRef>.</ListItem>
					<ListItem>Close the <GUIRef href="/baanerp/tt/adv/ttadv3530m000" role="session">Reports (ttadv3530m000)</GUIRef> session.</ListItem>
				</ProcedureList>
				<Figure space-and-orientation="indented-estimated"><HTML:IMG height="464" width="695" SRC="../images/nt_screen_rpt_create_session_based_reports6.gif" path="/enterpriseserver/tools/tt/enterprisestudio/onlinemanual" btb-count="1" btb-count2="1" btb-image-name="nt_screen_rpt_create_session_based_reports6.gif" btb-source-path="C:\SVN\docnl\Technology\EnterpriseServer~8.5\EnterpriseServer" btb-image-path="/enterpriseserver/tools/tt/enterprisestudio/images/nt_screen_rpt_create_session_based_reports6.gif" ID="IDAGM0AC" alt="[...]" xmlns:HTML="http://www.w3.org/TR/REC-html40"/></Figure>
			</Step>
		</Steps>
	</ProcedureSection>
	<Important><SectionTitle>
                                 Important!
                              </SectionTitle>
		<Paragraph class="Default">If you install a solution for a customized report, all changes made in Reporting Studio will be lost.</Paragraph>
	</Important>
	<RelatedTopics><SectionTitle>
                                 Related topics
                              </SectionTitle>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_create_report_viewer_device" role="manual">To create a Report Viewer device for session-based reports</Link>
		</RelTopic>
		<RelTopic><Link href="/baanerp/tt/EnterpriseStudio/onlinemanual/rpt_run_session_based_reports" role="manual">To run session-based reports</Link>
		</RelTopic>
	</RelatedTopics>
</ManualTopic>
